Dewright_Co



   {  Exmpl_7.5-1_GoalProgramming.mpl  }

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

   {  Chapter 7.5,  Example 1,  Goal Programming,  Size: 3x7,  Supplement to Chapter 7  }

TITLE
   GoalProgramming;

INDEX
   product := 1..3;
   factor  := (Profit, Employment, Investment);
   deviation := ("Over", "Under");

DATA
   Goal[factor] :=  (125, 40, 55);

   PenaltyWeight[deviation, factor] := (0, 2, 3,
                                        5, 4, 0);

   UnitContrib[factor, product] :=

      (12,  9, 15,
        5,  3,  4,
        5,  7,  8);



DECISION VARIABLES
   ProdRate[product];
   Amount[factor, deviation] WHERE (PenaltyWeight > 0);

MODEL

   MIN WeightedSum = SUM(deviation, factor: PenaltyWeight * Amount);

SUBJECT TO

   Calc[factor] :

        SUM(product: ProdRate * UnitContrib)
     =
        Goal + Amount[deviation:="Over"] - Amount[deviation:="Under"];

END


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