Better Products Company
{ Exmpl8.3-2b_BetterProdCo.mpl }
{ Hillier and Lieberman, Introduction to Operations Research, 9th ed. }
{ Chapter 8.3, Example 2b, Assignment, Size 10x25, Page 339 }
TITLE
BetterProdCo_Option2;
INDEX
plant := (p1a, p1b, p2a, p2b, p3);
product := 1..5;
DATA
M := 99999;
Cost[plant, product] := (820, 810, 840, 960, 0,
820, 810, 840, 960, 0,
800, 870, M, 920, 0,
800, 870, M, 920, 0,
740, 900, 810, 840, M);
BINARY VARIABLE
Assign[plant, product] -> x;
MODEL
MIN TotalCost = SUM(plant, product: Cost * Assign);
SUBJECT TO
Assignee[plant] : SUM(product: Assign) = 1;
Task[product] : SUM(plant: Assign) = 1;
END
Back To Top
|
Maximal Home Page
|
List of Models |
Previous Page
|
Next Page