Nonlinear Constraint



   {  Exmpl12.2-1_NonlinearConstraint.mpl  }

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

   {  Example Chapter 12.2,  Nonlinear constraint,  Size: 2x2,  Page 542  }

TITLE
    WyndorGlass;

OPTIONS
    ModelType=3

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




Back To Top | Maximal Home Page | List of Models | Previous Page | Next Page