Introduction to the Simplex Algorithm
What is the simplex algorithm?
- The simplex algorithm is an alternative to the graphical method for solving linear programming problems
- It is particularly useful when there are more than 2 decision variables as these cannot be drawn graphically (Not very easily at least!)
- Essentially the simplex algorithm works by considering each vertex of the basic feasible region in turn until an optimal solution is found
- Initially the simplex algorithm can only be applied to an LP problem that has a basic feasible solution
- For problems where the basic feasible region contains the origin, the basic feasible solution is the origin
- In practical situations though, this is often not realistic
- For example, the number of chairs and tables made by a furniture manufacturer trying to maximise their profit
- if they make no chairs and no tables, they won't make any profit!
- but the origin would satisfy all constraints if it is in the feasible region
- In practical situations though, this is often not realistic
- For problems where the basic feasible region does not contain the origin the algorithm is adapted such that a basic feasible solution is found first
- then the simplex algorithm can be applied as usual
- For problems where the basic feasible region contains the origin, the basic feasible solution is the origin