Upper Bound
{ Exmpl7.3-1_UpBound.mpl }
{ Hillier and Lieberman, Introduction to Operations Research, 9th ed. }
{ Chapter 7.3, Example 1, Upper Bound, Size: 2x3, Page 286 }
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
Back To Top
|
Maximal Home Page
|
List of Models |
Previous Page
|
Next Page