9.2.12 - model set region; # 1 2 3 (i) set warehouse;...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 model set region set warehouse param maxshipping_lim param fixedcost {j in warehouse} param demand {i in region} param Cost {i in region, j in warehouse} param M param warehouse1_lim param warehouse2_lim var openwarehouse {j in warehouse} binary var product {i in region, j in warehouse} minimize Costs: sum{i in region, j in warehouse} product [i,j]*Cost[i,j] + sum{j in warehouse} fixedcost[j]*openwarehouse[j] subject to demanded {i in region}: sum{j in warehouse} product[i,j] >= demand[i] subject to maxship {j in warehouse}: sum{i in region}product[i,j] <= maxshipping_lim subject to restrict1: openwarehouse['NewYork'] - openwarehouse['LosAngeles'] <= 0 subject to restrict2: sum {j in warehouse} openwarehouse[j] <= warehouse1_lim subject to restrict3: openwarehouse['LosAngeles'] + openwarehouse['Atlanta'] >= warehouse2_lim subject to nonnegativity {i in region, j in warehouse}: product[i,j] >= 0 data set region := 1 2 3 set warehouse := NewYork LosAngeles Chicago Atlanta param: fixedcost :=
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/25/2010 for the course IEOR 162 taught by Professor Zhang during the Fall '07 term at University of California, Berkeley.

Page1 / 4

9.2.12 - model set region; # 1 2 3 (i) set warehouse;...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online