MPL Model Library
Nonlinear Objective 2, Example 13.2-3, Hillier and Lieberman
{ Exmpl13.2-3_NonlinearObjective2.mpl }
{ Hillier and Lieberman, Introduction to Operations Research, 7th ed. }
{ Chapter 13.2, Example 3, Nonlinear objective, Size: 3x2, Page 661 }
TITLE
WyndorGlass;
OPTIONS
ModelType=Nonlinear
INDEX
product := (Door, Window);
plant := 1..3;
DATA
TimeAvail[plant] := (4, 12, 18);
ProdTime[plant, product] := (1, 0,
0, 2,
3, 2);
VARIABLES
Produce[product] -> Prod;
MODEL
MAX TotalProfit = 54 Produce[Door] - 9*Produce[Door]^2
+ 78 Produce[Window] - 13 Produce[Window]^2;
SUBJECT TO
TimeCapacity[plant] -> TimeCap:
SUM(product: ProdTime * Produce) <= TimeAvail;
END
Return to MPL Model Library