linear programming Flashcards
what is a non-basic variable
value of variable = 0,
if variable is not basic it is non-basic
determining a basic variable
variable has value =/= 0
in tableau and its column has only one non-zero row
what is the pivot
the value of the point in the table moved to,
row (number) column (variable) : value
finding pivot
> the most negative coefficient in the top row,
increasing this variable has the most effect on P
then which constraint is met first–> lowest +ve
simplex algo
1) find pivot
2) eliminate the variable from each row except pivot
3) evaluate tableau, if -ve in top row then optimum has not been met and repeat.
when to use simplex
3 or more basic variables
use of slack variables
to change inequalities to equalities
minimising a function P
maximise Q such that Q=-P
stopping condition for simplex
top row is all positive coeff
objective line
line such that P= ax +by is satisfied
rearrange into y= then move up and down for diff P and to find max/ min soln
tour of verticies
sub each vertex into the maximal/minimal function P to find optimum