Depot Location
{ Exmpl10.3-1_DepotLoacation.mpl }
{ Applications of Optimization with Xpress-MP }
{ Chapter 10.3, DepotLoacation, Size: 24x156, Page 197 }
TITLE
DepotLoacation;
INDEX
depot := 1..12;
cust := 1..12;
DATA
M := 10000;
Cost[depot,cust] := (100, 80, 50, 50, 60,100,120, 90, 60, 70, 65,110,
120, 90, 60, 70, 65,110,140,110, 80, 80, 75,130,
140,110, 80, 80, 75,130,160,125,100,100, 80,150,
160,125,100,100, 80,150,190,150,130, M, M, M,
190,150,130, M, M, M,200,180,150, M, M, M,
200,180,150, M, M, M,100, 80, 50, 50, 60,100,
100, 80, 50, 50, 60,100,120 90, 60, 70, 65,110,
120, 90, 60, 70, 65,110,140,110, 80, 80, 75,130,
140,110, 80, 80, 75,130,160,125,100,100, 80,150,
160,125,100,100, 80,150,190,150,130, M, M, M,
190,150,130, M, M, M,200,180,150, M, M, M,
200,180,150, M, M, M,100, 80, 50, 50, 60,100);
Cfix[depot] := 10 * (350,900,1000,400,300,900,900,300,400,1000,900,350);
Cap[depot] := (300,250,100,180,275,300,200,220,270,250,230,180);
Dem[cust] := (120, 80, 75,100,110,100, 90, 60, 30,150, 95,120);
VARIABLE
Fflow[depot,cust];
Build[depot];
MODEL
MIN TotalCosts = SUM(depot,cust: Cost * Fflow) + SUM(depot: Cfix * Build);
SUBJECT TO
SatisfyDemand[cust] -> SDEM:
SUM(depot: Fflow) = 1;
DepotCapacities[depot] -> DCAP:
SUM(cust: Dem * Fflow) <= Cap * Build;
BOUNDS
Fflow <= 1;
BINARY
Build;
END
Back To Top
|
Maximal Home Page
|
List of Models |
Previous Page
|
Next Page