9.2.12 - param param param param p param n_city; n_region;...

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: param param param param p param n_city; n_region; fixed_cost {i in 1..n_city}; units {j in 1..n_region}; var_cost {i in 1..n_city, j in 1..n_region}; var x {i in 1..n_city, j in 1..n_region}; v var y {i in 1..n_city} binary; minimize total_cost: sum{i in 1..n_city} fixed_cost[i]*y[i] + sum{i in 1..n_city, j in 1..n_region} var_cost[i,j]*x[i,j]; s subject to forcing_con {i in 1..n_city}: sum{j in 1..n_region} x[i,j] <= 100*y[i]; s subject to units_con {j in 1..n_region}: sum{i in 1..n_city} x[i,j] >= units[j]; subject subject subject subject to to to to restrict_1: y[1] <= y[2]; restrict_2: sum{i in 1..n_city} y[i] <= 2; restrict_3: y[2] + y[4] >= 1; restrict_4 {i in 1..n_city, j in 1..n_region}: x[i,j]>=0; ...
View Full Document

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

Ask a homework question - tutors are online