MPL Model Library MPL Model Library Wyndor Glass Company, Example 3.1-1, Hillier and Lieberman { Exmpl_3.1-1_WyndorGlass.mpl } { Hillier and Lieberman, Introduction to Operations Research, 7th ed. } { Chapter 3.1, Example 1, Product-mix, Size: 2x3, Page 25 } TITLE WyndorGlass; INDEX product := (Door, Window); plant := 1..3; DATA TimeAvail[plant] := (4, 12, 18); ProdTime[plant, product] := (1, 0, 0, 2, 3, 2); Profit[product] := (3.00, 5.00); VARIABLES Produce[product] -> Prod; MODEL MAX TotalProfit = SUM(product: Profit * Produce); SUBJECT TO TimeCapacity[plant] -> TimeCap: SUM(product: ProdTime * Produce) <= TimeAvail; END