How do you formulate a Linear Programming question involving simplex?
To implement the simplex algorithm, the inequalities must be transformed into equations using slack variables. The slack variables must then also be incuded in the non-negativity constraint.
Which constraint remains as an inequality?
The non-negativity constraint
What are slack variables?
Variables representing the amount of slack between an actual quantity and the maximum possible value of the quantity. They are added to the constraints to change them from an inequality to equations.
When can the simplex tableau method be used?
Explain how the simplex tableau method works:
What is a basic feasible solution?
A solution where all the constraints are satisfied, but is a non-optimal solutions
Explain how to perform the simplex tableau method to maximise an objective function:
How do you know when you have achieved an optimal solution?
When all the numbers in the objective row are non-negative
What does it mean when all θ values are negative or 0 (i.e there are no positive θ values)?
No optimal solution can be found, this is because geometrically it relates to an unbounded region
Explain how to perform the simplex tableau method to minimise an objective function:
When do you have to use the 2-stage simplex method?
If one or more of the constraints is a greater than constraint (i.e x + 3y ≥ 10), then 2 stage simplex must be used
In two-stage simplex, how do you convert the constraints to equations?
In two-stage simplex, why must you subtract the slack variable and add the artifical variable rather than just adding a slack variable as you would in one-stage simplex?
If you simply added a slack variable, it would mean that the slack variable must be negative to change the inequality into an equation. This is not possible as all slack variables ≥ 0. Therefore by subtracting the slack variable and adding an artificial variable, you avoid this problem
What is the two-stage simplex method for problems that include ≥ constraints?
What is important to consider when calculating θ values?
You do NOT calculate θ values for an objective function (both P or I)
When do you have to use the Big-M simplex method?
It is interchangeable with the 2-stage simplex method:
If one or more of the constraints is a greater than constraint (i.e x + 3y ≥ 10), then Big-M (or 2 stage simplex) must be used
In Big-M simplex, how do you convert the constraints to equations?
Same as 2 stage simplex:
* For any “less than” constraints (i.e x + 3y ≤ 10), you convert them into equations as you would with one-stage simplex - by adding a slack variable. For example: “x + 3y ≤ 10” would become “x + 3y + s = 10”
* For any “greater than” constraints (i.e x + 3y ≥ 10), you must subtract a slack variable (s) and add an artificial variable (a). For example: “x + 3y ≥ 10” would become “x + 3y - s + a = 10”
What is the Big-M simplex method for problems that include ≥ constraints?
What must you do if you are minimising a problem using Big-M?