Transportation Simplex Flashcards

1
Q

Simplex

A

Slack variables start as basic variables

Constraints should be <=
Objective should be Max (if Min just negate)

Top row is the objective function ( Z-objective=0)
Not optimized until there are negative coefficients
left column are the basic variables
The basic variable should have their column as an identity (1 in the row they are placed, 0 everywhere else)
RHS is the value of the basic variables

Entering variable most negative, Leaving variable Min Ratio Test (positive RHS, divide by coef, take min -> first to reach feasible region boundary)

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

Nonbasic/basic variables

A
Nonbasic = forced to 0
basic = can be anything above or equal to 0
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

number of basic variables

A

There will be m+n constraints
m demands and n supplies

For which we have m+n-1 basic variables

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

ui / vj

A

ui dual variable corresponding to the supply constraints

vj dual variable corresponding to the demand constraints

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

Initial Basic Feasible Solution: Northwest Corner Rule

A

Start at the cell which is in the upper left corner.

Write assigned supply in the cells; draw a path

Assign the most supply you can to this cell
if demand satisfied and there is still supply go to the next cell in the row (can delete previous column) and try to also give it as much supply.
if supply runs out but still demand delete row and go one cell down.
If supply and demand runs out at the same time, go one cell down and give 0 (degenerate)

You’re done when all supply and demand has been given

This method doesn’t pay attention to cost

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

Setting up transportation table

A

Rows are souces/supplies
Columns are destinations/demands

RHS you see the supply available for each source
bottom row see overall demand of destination
Table coefficients are the costs

next to supply column have a column ui (dual variable supply constraint)
under the demand row have a row vj (dual variable demand constraint)

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

Steps transportation simplex

A
  1. Northwest Corner Rule: Initial Basic Feasible Solution

2. Fill the values of the nonbasic variables + entering variable

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

Fill the values of the nonbasic variables + entering variable

A

After doing the Northwest Corner Rule
We have an initial BFS, but we don’t know the potential values of the nonbasic

the potential values = cij - ui - vj

we know cij but ui and vj are unknown.
Set one row to have ui = 0 (choose the one with the most basic variables)
then we can solve the vj for the basic variables of that row
then can solve the next ui and we repeat the process until finding all ui and vj

This way we can compute the values of all non basic. The entering variable is the one with the most negative value.

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

Leaving variable

A

From the entering variable we do a chain reaction (represents how the change spreads, what we add and remove.)
Start your path from the entering variable with + coefficient, every time you meet a basic variable need to alternate +/- and turn. Once the path join back the staring point: cycle.
Look at the variables with a - sign, take the min value (not its cost but the flow assign), can break ties. The entering variable takes the value of the leaving (then deduct or add this value to the rest of the chain). If 0 degenerate.
Update weights
continue until there are no more - and thus no entering variable.

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