Maximal Logo MPL Model Library


Nonlinear Constraint, Example 13.2-1, Hillier and Lieberman


 
 
   {  Exmpl13.2-1_NonlinearConstraint.mpl  }

   {  Hillier and Lieberman, Introduction to Operations Research, 7th ed.  }

   {  Example Chapter 13.2,  Nonlinear constraint,  Size: 2x2,  Page 659  }

TITLE
    WyndorGlass;

OPTIONS
    ModelType=Nonlinear

INDEX
    product :=  (Door, Window);

DATA
    TimeAvail  := 4; 

    ProdTime[product] := (1, 0);

    Profit[product]   := (3, 5);

VARIABLES                            
    Produce[product] -> "";

MODEL

    MAX TotalProfit = SUM(product: Profit * Produce);

SUBJECT TO

    TimeCapacity -> TimeCap:

        SUM(product: ProdTime * Produce) <= TimeAvail;

    NLConstr:
       
        9 Produce[Door]^2 + 5 Produce[Window]^2 <= 216;

END


Return to MPL Model Library