Simplex Algorithm Flashcards

1
Q

Formulating a problem

A

Form as a table

Add a slack variable and make them equal to the maximum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Tableau

A

Basic Variable | Variables | Slack Variables | Value | Row Ops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Setting up the initial tableau

A

Rewrite the maximise P = … as P - … = 0

Write in the coefficients of every variable/slack variable in the columns and P in the basic variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Solving the problem

A

Identify the most negative value in the profit equation and label as your pivot
Calculate value/pivot for each row and choose the smallest positive value
Divide the entire row by the pivot and write the variable of the pivot in that rows basic variable box
Add/subtract multiples of that row from others so the pivot column contains a 0
Repeat until there are no negatives in the pivot row

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Simplex answers

A

Where a variable has one 1 and the others 0, it takes the value of the output of the row with a 1
Where a variable has more than 1 non-zero, it is 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Setting up equations

A

When the sign is <= add a slack variable and set the sign to =
When the sign is >= subtract a surplus variable, add an artificial variable and set the sign to =

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Two-step simplex set up

A
  1. Change your inequalities to equations
  2. Minimise a1 + a2 + … so maximise I = -a1 - a2 - …
  3. Rearrange the inequalities in terms of -a1, -a1… and substitute in
  4. Rearrange the I equation so it is equal to a number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Two-step simplex tables

A
  1. Carry out the simplex regularly with the I row
  2. If at the end I = 0, it is possible, delete the artificial columns as they are 0 and the I row and use simplex for the Profit function
  3. If I is not equal to 0, then the artificial variables are non-zero and it can’t be solved
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Surplus variable definition

A

The amount by which a solution exceeds the minimum value of a quantity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Big M Method

A

Let M represent an arbitrarily large number
1. Set up each constraint by adding slack, surplus, artificial variables
2. Subtract M(a1+a2+…) from the objective
3. Rearrange to equal a number and group each coefficient
4. Solve as you would a regular simplex problem
Can be solved in a calculator by using M as 1000 e.g

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Big M minimise

A

Add M(a1+a2+…) instead of subtracting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Simplex minimise P

A

Maximise Q = -P

How well did you know this?
1
Not at all
2
3
4
5
Perfectly