Understanding the Basics of the Graphical Method in Linear Programming • SLM (Self Learning Material) for MBA
Source: slm.mba
#LinearProgramming #GraphicalMethod #Optimization #OperationsResearch
Have you ever wondered how businesses decide the perfect mix of products to manufacture, or how logistics companies determine the most efficient delivery routes? The answer often lies in linear programming, and one of the most intuitive ways to understand this powerful optimization technique is through the graphical method. This visual approach transforms complex mathematical problems into clear, understandable diagrams that reveal optimal solutions at a glance.
Table of Contents
- What is the graphical method in linear programming?
- Converting constraints into graphical representations
- From inequalities to equations
- Determining the feasible side
- Understanding feasible regions and convex sets
- Defining the feasible region
- Properties of convex sets
- Extreme points and optimal solutions
- What are extreme points?
- Finding optimal solutions graphically
- Special cases and considerations
- Practical applications and limitations
What is the graphical method in linear programming?
The graphical method is a visual technique used to solve linear programming problems with two decision variables. Think of it as creating a map where each constraint becomes a boundary line, and the optimal solution sits at a specific corner of the region where all constraints overlap. This method works exceptionally well for problems involving two variables because we can easily plot them on a standard x-y coordinate system.
Consider a simple example: a bakery wants to maximize profit by deciding how many chocolate cakes and vanilla cakes to bake daily. The graphical method would help visualize the constraints like available flour, sugar, and oven time, ultimately pointing to the exact combination that yields maximum profit.
Converting constraints into graphical representations
The magic of the graphical method begins with transforming mathematical inequalities into visual boundaries. Every constraint in a linear programming problem represents a limitation or requirement that must be satisfied. When we plot these constraints on a graph, they become straight lines that divide the coordinate plane into different regions.
From inequalities to equations
To plot a constraint graphically, we first convert the inequality into an equation by replacing the inequality sign with an equals sign. For instance, if we have a constraint like 2x + 3y ≤ 12, we first plot the line 2x + 3y = 12. This line represents the boundary of our constraint.
To draw this line, we need at least two points. The easiest approach is to find the x-intercept and y-intercept:
Finding the x-intercept: Set y = 0 and solve for x. In our example, 2x + 3(0) = 12, so x = 6. The x-intercept is (6, 0).
Finding the y-intercept: Set x = 0 and solve for y. Here, 2(0) + 3y = 12, so y = 4. The y-intercept is (0, 4).
Once we have these two points, we can draw a straight line connecting them. The next step is determining which side of the line satisfies our original inequality.
Determining the feasible side
After plotting the boundary line, we need to identify which side represents the feasible region for that constraint. A simple test point method works perfectly here. Choose any point not on the line (the origin (0,0) is often convenient if it’s not on the line) and substitute its coordinates into the original inequality.
If the inequality holds true, then the side containing the test point is feasible. If not, the opposite side is feasible. We typically shade the feasible side or use arrows to indicate the direction of feasibility.
Understanding feasible regions and convex sets
The feasible region is where the real excitement happens in linear programming. It’s the area on our graph where all constraints are simultaneously satisfied, representing all possible solutions that meet our problem’s requirements.
Defining the feasible region
When we plot multiple constraints on the same graph, their intersection creates the feasible region. This region contains every combination of decision variables that satisfies all constraints simultaneously. Think of it as the “sweet spot” where all your business limitations and requirements are met.
For example, if our bakery has constraints on flour availability, oven capacity, and minimum production requirements, the feasible region would show all possible combinations of chocolate and vanilla cakes that respect these limitations.
Properties of convex sets
The feasible region in linear programming problems always forms what mathematicians call a “ convex set.” A convex set has a special property: if you take any two points within the set and draw a straight line between them, every point on that line also belongs to the set.
Why does this matter? Convex sets have predictable shapes – they’re typically polygons with no “indentations” or “caves.” This property is crucial because it guarantees that our optimal solution will always be found at one of the corners (vertices) of this polygon, never somewhere in the middle of an edge or inside the region.
Bounded vs. unbounded regions: Sometimes our feasible region extends infinitely in one or more directions, creating an unbounded region. While this might seem problematic, it often still leads to optimal solutions, especially when we’re maximizing profits or minimizing costs with appropriate constraints.
Extreme points and optimal solutions
Here’s where the graphical method reveals its true power: the optimal solution to any linear programming problem always occurs at an extreme point (corner) of the feasible region. This fundamental principle, known as the corner point theorem, makes solving linear programming problems surprisingly straightforward.
What are extreme points?
Extreme points are the corners or vertices of the feasible region where two or more constraint lines intersect. These points represent unique combinations of decision variables that sit exactly on the boundary of multiple constraints simultaneously.
In our bakery example, an extreme point might represent producing exactly the maximum number of chocolate cakes allowed by flour constraints while also hitting the exact limit of oven capacity. These corner points are special because they represent the most “extreme” feasible solutions – you can’t move in any direction from these points without either violating a constraint or moving away from optimality.
Finding optimal solutions graphically
To find the optimal solution using the graphical method, we follow a systematic approach:
Step 1: Identify all extreme points by finding the coordinates where constraint lines intersect within the feasible region.
Step 2: Evaluate the objective function at each extreme point by substituting the coordinates into our objective function (whether we’re maximizing profit or minimizing cost).
Step 3: Compare the results to identify which extreme point gives us the best value for our objective function.
Alternatively, we can use the iso-profit (or iso-cost) line method. We plot lines representing constant values of our objective function and gradually move these lines in the direction of improvement until we reach the last point in the feasible region that the line touches. This point is our optimal solution.
Special cases and considerations
The graphical method also helps us identify special situations that can occur in linear programming:
Multiple optimal solutions: When the objective function line is parallel to a constraint boundary, we might have infinite optimal solutions along an entire edge of the feasible region.
Unbounded solutions: If the feasible region extends infinitely in the direction of improvement, we might have an unbounded solution, indicating that our problem formulation needs revision.
Infeasible problems: Sometimes constraints contradict each other, creating no feasible region at all. The graphical method makes this immediately apparent when constraint lines don’t create any overlapping area.
Practical applications and limitations
The graphical method shines in educational settings and small-scale problems where visualization aids understanding. It’s particularly valuable for:
Problem verification: Even when using computer software for larger problems, sketching a quick graph can help verify that your constraints make sense and that your solution is reasonable.
Sensitivity analysis: You can easily see how changing a constraint affects the feasible region and potentially the optimal solution.
Communication tool: Graphs make it easier to explain optimization results to stakeholders who might not understand complex mathematical formulations.
However, the graphical method has clear limitations. It only works effectively for problems with two decision variables. Once you have three or more variables, visualization becomes impractical, and you’ll need to rely on algebraic methods like the simplex algorithm.
What do you think? How might the visual nature of the graphical method change the way businesses approach optimization problems? Can you think of real-world scenarios where being able to “see” the constraints and optimal solution would be particularly valuable for decision-making?
How useful was this post?
Click on a star to rate it!
Average rating 0 / 5. Vote count: 0
No votes so far! Be the first to rate this post.
Comments
Leave a Reply
Operations Research
1 Operations Research-An Overview
- Introduction
- History of O.R.
- Approach, Techniques and Tools
- Phases and Processes of O.R. Study
- Typical Applications of O.R.
- Limitations of Operations Research
- Models in Operations Research
- O.R. in the Real World
2 Linear Programming- Formulation and Graphical Method
- Introduction
- General Formulation of Linear Programming Problem
- Optimisation Models
- Basics of Graphic Method
- Important Steps to Draw the Graph
- Multiple, Unbounded Solution, and Infeasible Problems
- Solving Linear Programming Graphically Using Computer
- Application of Linear Programming in Business and Industry
3 Linear Programming-Simplex Method
- Principle of Simplex Method
- Computational Aspect of Simplex Method
- Simplex Method with Several Decision Variables
- Two Phase and M-method
- Multiple Solution, Unbounded Solution and Infeasible Problem
- Sensitivity Analysis
- Dual Linear Programming Problem
4 Transportation Problem
- Basic Feasible Solution of a Transportation Problem
- Modified Distribution Method
- Stepping Stone Method
- Unbalanced Transportation Problem
- Degenerate Transportation Problem
- Transhipment Problem
- Maximisation in a Transportation Problem
5 Assignment Problem
- Solution of the Assignment Problem
- Unbalanced Assignment Problem
- Problem with Some Infeasible Assignments
- Maximization in an Assignment Problem
- Crew Assignment Problem
6 Application of Excel Solver to Solve LPP
7 Goal Programming
- Concepts of Goal Programming
- Goal Programming Model Formulation
- Graphical Method of Goal Programming
- The Simplex Method of Goal Programming
- Using Excel Solver to Solve Goal Programming Models
- Application Areas of Goal Programming
8 Integer Programming
- Introduction
- Some Integer Programming Formulation Techniques
- Binary Representation of General Integer Variables
- Unimodularity
- Cutting Plane Method
- Branch and Bound Method
- Solver Solution
9 Dynamic Programming
- Introduction
- Dynamic Programming Methodology: An Example
- Definitions and Notations
- Dynamic Programming Applications
10 Non-Linear Programming
- Introduction
- Solution of a Non-Linear Programming Problem
- Convex and Concave Functions
- Kuhn-Tucker Conditions for Constrained Optimisation
- Quadratic Programming
- Separable Programming
- NLP Models with Solver
11 Introduction to game theory and its Applications
- Introduction
- Definitions and Explanation of Some Important Terms
- Saddle Points
- Dominance
- Mixed Strategies: Games Without Saddle Points
- 2xn Games
- Exploiting an Opponent’s Mistakes
12 Monte Carlo Simulation
- Reasons for using simulation
- Monte Carlo simulation
- Limitations of simulation
- Steps in the simulation process
- Some practical applications of simulation
- Two typical examples of hand-computed simulation
- Computer simulation
13 Queueing Models