top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S6-SA1-0566

What is Sensitivity Analysis in Linear Programming (basic introduction)?

Grade Level:

Class 10

AI/ML, Physics, Biotechnology, Space Technology, Chemistry, Engineering, Medicine

Definition
What is it?

Sensitivity Analysis in Linear Programming helps us understand how the best solution (optimal solution) changes if there are small changes in the input values, like costs or available resources. It tells us how 'sensitive' our solution is to these changes without having to solve the entire problem again. It's like checking if your exam score changes a lot if one question's marks are adjusted a little.

Simple Example
Quick Example

Imagine you are running a small snack shop selling samosas and pakoras. You know how many of each you can make with your ingredients and how much profit each gives. Sensitivity analysis would tell you: if the cost of potatoes (an ingredient) goes up by 5 rupees, will your plan to make samosas and pakoras still give you the most profit, or should you change your production mix?

Worked Example
Step-by-Step

Let's say a factory makes two types of toys, A and B. Toy A gives a profit of Rs 10, and Toy B gives a profit of Rs 15. The factory has constraints on machine time. Let's assume the current optimal solution is to make 100 units of Toy A and 50 units of Toy B for maximum profit.

---1. **Identify the change:** Suppose the profit from Toy A increases from Rs 10 to Rs 12.
---2. **The Question:** Will making 100 units of Toy A and 50 units of Toy B still be the best plan, or should the factory change its production?
---3. **Using Sensitivity Analysis (conceptually):** We would look at the 'allowable increase' for the profit of Toy A. If the new profit (Rs 12) is within this allowable increase, the optimal production mix (100 A, 50 B) remains the same, even though the total profit will increase.
---4. **Result:** If the 'allowable increase' for Toy A's profit was, say, Rs 3, then increasing the profit by Rs 2 (from 10 to 12) is within this limit. So, the factory should still make 100 A and 50 B.
---5. **Conclusion:** The optimal solution (the quantities of toys A and B to produce) remains the same, but the total profit will increase because Toy A now gives more profit.

Why It Matters

Understanding sensitivity analysis helps engineers design better systems, allows doctors to optimize treatment plans, and enables scientists to predict outcomes in experiments. It's crucial for decision-making in fields like AI/ML, where model parameters change, and in space technology, for optimizing rocket fuel usage. Many careers, from data scientists to operations managers, use this to make smart choices.

Common Mistakes

MISTAKE: Thinking sensitivity analysis tells you the new optimal solution directly. | CORRECTION: Sensitivity analysis tells you IF the current optimal solution remains valid, and by how much the objective function (like profit) changes. It doesn't tell you the new quantities to produce if the optimal solution changes.

MISTAKE: Confusing sensitivity analysis with re-solving the entire Linear Programming problem. | CORRECTION: Sensitivity analysis is a shortcut! It helps you understand changes without re-running all calculations, making it much faster for small adjustments.

MISTAKE: Believing that any change in input will always keep the optimal solution the same. | CORRECTION: The optimal solution remains the same only if the changes in input values (like costs or resource availability) are within specific 'allowable' ranges. Beyond these ranges, the optimal solution might change.

Practice Questions
Try It Yourself

QUESTION: If the profit of a product in a Linear Programming problem increases, what does sensitivity analysis primarily help you determine about the optimal production plan? | ANSWER: Whether the current optimal production plan (quantities of products) will remain the same.

QUESTION: A company finds its optimal production plan yields a profit of Rs 50,000. Sensitivity analysis shows that the 'allowable increase' for the cost of raw material X is Rs 5. If the cost of raw material X increases by Rs 3, will the optimal production plan change? | ANSWER: No, the optimal production plan will not change because the increase of Rs 3 is within the allowable increase of Rs 5.

QUESTION: A small tiffin service optimizes its menu for maximum profit. It currently makes 100 rotis and 50 bowls of dal. If the cost of wheat (for rotis) goes up by a small amount, and sensitivity analysis indicates this change is within the 'allowable range' for wheat cost, what can you say about the number of rotis and dal bowls they should make? What about their total profit? | ANSWER: The number of rotis (100) and dal bowls (50) to make will remain the same. However, the total profit will decrease because the cost of wheat has gone up.

MCQ
Quick Quiz

What is the main purpose of Sensitivity Analysis in Linear Programming?

To find a completely new optimal solution for any change.

To check how the optimal solution reacts to small changes in input values.

To simplify complex calculations by removing variables.

To always increase the total profit of a business.

The Correct Answer Is:

B

Sensitivity analysis helps us understand how 'sensitive' our existing best solution is to small changes in the problem's inputs, like costs or available resources, without re-solving everything. It doesn't always find a new solution or remove variables.

Real World Connection
In the Real World

Imagine a logistics company like Delhivery or Ecom Express that delivers packages across India. They use Linear Programming to find the most efficient routes and vehicle loading. Sensitivity analysis helps them quickly adapt if fuel prices change slightly, or if a particular road is temporarily closed. They can see if their existing delivery plan is still the best, or if they need to reroute, without having to recalculate every single delivery path from scratch.

Key Vocabulary
Key Terms

OPTIMAL SOLUTION: The best possible solution to a problem, like maximum profit or minimum cost. | LINEAR PROGRAMMING: A mathematical method to find the best outcome in a model whose requirements are represented by linear relationships. | CONSTRAINTS: Limitations or restrictions, like limited raw materials or machine hours. | OBJECTIVE FUNCTION: The mathematical equation that represents what you want to maximize (like profit) or minimize (like cost). | ALLOWABLE RANGE: The range within which an input value can change without altering the optimal solution's structure.

What's Next
What to Learn Next

Next, you can explore specific techniques within Sensitivity Analysis, like understanding 'shadow prices' or 'reduced costs'. These concepts will show you how much you'd be willing to pay for an extra unit of a resource, building directly on what you've learned about how solutions react to changes.

bottom of page