MPL Model Library MPL Model Library Better Products Company, Example 8.3-2b, Hillier and Lieberman { Exmpl_8.3-2b_BetterProdCo.mpl } { Hillier and Lieberman, Introduction to Operations Research, 7th ed. } { Chapter 8.3, Example 2b, Assignment, Size 10x25, Page 386 } TITLE BetterProdCo_Option2; INDEX plant := (p1a, p1b, p2a, p2b, p3); product := 1..5; DATA M := 99999; Cost[plant, product] := (820, 810, 840, 960, 0, 820, 810, 840, 960, 0, 800, 870, M, 920, 0, 800, 870, M, 920, 0, 740, 900, 810, 840, M); BINARY VARIABLE Assign[plant, product] -> x; MODEL MIN TotalCost = SUM(plant, product: Cost * Assign); SUBJECT TO Assignee[plant] : SUM(product: Assign) = 1; Task[product] : SUM(plant: Assign) = 1; END Return to MPL Model Library