Steel Production
{ Exmpl1.4-2_ProdPlanning.mpl }
{ AMPL A Modeling Language for Mathematical Programming, 2nd Edition }
{ Chapter 1.4, Production Planning, Size: 1x3, Page 14 }
TITLE
ProductionPlanning2;
INDEX
product := (bands, coils,plate);
DATA
ProdRate[product] := (200, 140, 160);
Profit[product] := (25, 30, 29);
ProdCapacity[product] := (6000, 4000, 3500);
AvailHours := 40;
VARIABLE
Produce[product];
MODEL
MAX TotalProfit = SUM(product: Produce * Profit);
SUBJECT TO
Time: SUM(product: Produce / ProdRate) <= AvailHours;
BOUNDS
ProdLimit: Produce <= ProdCapacity;
END
Back To Top
|
Maximal Home Page
|
List of Models |
Previous Page
|
Next Page