transp3 - var Trans{LINKS>= 0 units to be shipped v...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
set ORIG; # origins set DEST; # destinations s set LINKS within {ORIG,DEST}; s param supply {ORIG} >= 0; # amounts available at origins param demand {DEST} >= 0; # amounts required at destinations p check: sum {i in ORIG} supply[i] = sum {j in DEST} demand[j]; param cost {LINKS} >= 0; # shipment costs per unit
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: var Trans {LINKS} >= 0; # units to be shipped v minimize Total_Cost: sum {(i,j) in LINKS} cost[i,j] * Trans[i,j]; subject to Supply {i in ORIG}: sum {(i,j) in LINKS} Trans[i,j] = supply[i]; subject to Demand {j in DEST}: sum {(i,j) in LINKS} Trans[i,j] = demand[j];...
View Full Document

This note was uploaded on 11/29/2011 for the course ORIE 5900 taught by Professor Caggiano during the Fall '11 term at Cornell.

Ask a homework question - tutors are online