Fertilizer



   {  Exmpl2.1_Fertilizer.mpl  }

   {  Murty, Operations Research, Deterministic Optimization Models  }

   {  Chapter 2,  Example 2.1,  Product-mix,  Size: 2x3,  Page 23  }


TITLE
    Fertilizer;

INDEX
    fertilizer :=  (Hi_ph, Lo_ph);
    material   :=  (RM1, RM2, RM3);

DATA
    NetProfit[fertilizer]           :=  (15, 10);
    RawMatReq[fertilizer, material] :=  (2, 1, 1,
                                     1, 1, 0);
    RawMatAvail[material]       :=  (1500, 1200, 500);

VARIABLE
    Produce[fertilizer];

MODEL
    Max TotalProfit = SUM(fertilizer: NetProfit * Produce);

SUBJECT TO
    Requirement[material]:
        SUM(fertilizer:  RawMatReq * Produce) <= RawMatAvail;

END



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