MPL Model Library MPL Model Library Upper Bound, Example 7.3-1, Hillier and Lieberman { Exmpl_7.3-1_UpperBound.mpl } { Hillier and Lieberman, Introduction to Operations Research, 7th ed. } { Chapter 7.3, Example 1, Upper Bound Technique, Size: 2x3, Page 319 } TITLE Upper_Bound; INDEX activity1 := (Activity1,Activity2,Activity3); constraint1 := (Constraint1,Constraint2); DATA ResourceAvail[constraint1] := (12,4); ResourceUse[constraint1, activity1] := (4,1,0, -2,0,1); UnitProfit[activity1] := (2,1,2); UpperBound1[activity1] := (4,15,6); VARIABLES Produce[activity1] -> Prod; MODEL MAX TotalProfit = SUM(activity1: UnitProfit * Produce); SUBJECT TO TimeCapacity[constraint1] -> TimeCap: SUM(activity1: ResourceUse * Produce) <= ResourceAvail; BOUNDS Produce <= UpperBound1; END Return to MPL Model Library