Linear Programming-Transportation Simplex

  • Thread starter Thread starter tobinator250
  • Start date Start date
  • Tags Tags
    Linear
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
tobinator250
Messages
7
Reaction score
0
I don't know if I've posted this in the right place but I thought I'd give it a go anyway.

Homework Statement


See Attatchment


Homework Equations





The Attempt at a Solution



So for part a) max z:150X11+350X12+300X13+100X21+500X22+400X23

s.t. X11+X12+X13≤40
X21+X22+X23≤90
X11+X21≥30
X12+X22≥40
X13+X23≥60

For (b) eliminate first constraint and label constraints: u2,v1,v2,v3

Then solve for us and vs and i get u1=0 u2=100 v1=0 v2=400 and v3=300

Then c*12=50 so not optimal

(c) Enter X12 into basis create loop etc. but that give new solution as X12=40, X21=30 and X23=60. But then when you go through us and vs again to test for optimality, you've got 5 variables to solve for and only four equations so I'm stuck. Help please!
 

Attachments

Physics news on Phys.org
tobinator250 said:
I don't know if I've posted this in the right place but I thought I'd give it a go anyway.

Homework Statement


See Attatchment


Homework Equations





The Attempt at a Solution



So for part a) max z:150X11+350X12+300X13+100X21+500X22+400X23

s.t. X11+X12+X13≤40
X21+X22+X23≤90
X11+X21≥30
X12+X22≥40
X13+X23≥60

For (b) eliminate first constraint and label constraints: u2,v1,v2,v3

Then solve for us and vs and i get u1=0 u2=100 v1=0 v2=400 and v3=300

Then c*12=50 so not optimal

(c) Enter X12 into basis create loop etc. but that give new solution as X12=40, X21=30 and X23=60. But then when you go through us and vs again to test for optimality, you've got 5 variables to solve for and only four equations so I'm stuck. Help please!

Your new solution is not basic; you need a basis, and since two previously-basic variables were driven to zero simultaneously, you need to drop one and keep the other at level 0; that is, your new basic solution will be degenerate. Either x13 or x22 should drop out of the basis, leaving the other one in at zero value. One of these choices will lead to optimality. Try one, and if it does not work, then try the other.

RGV
 
Thanks a lot :)