MPL Model Library MPL Model Library Nonlinear Objective, Example 13.2-2, Hillier and Lieberman { Exmpl13.2-2_NonlinearObjective.mpl } { Hillier and Lieberman, Introduction to Operations Research, 7th ed. } { Chapter 3.2, Example 2, Nonlinear objective, Size: 3x2, Page 659 } 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 = 126 Produce[Door] - 9*Produce[Door]^2 + 182 Produce[Window] - 13 Produce[Window]^2; SUBJECT TO TimeCapacity[plant] -> TimeCap: SUM(product: ProdTime * Produce) <= TimeAvail; END Return to MPL Model Library