Beruflich Dokumente
Kultur Dokumente
Manufacturing Company
Manufacturing Company
TIME AVAILABLE
TYPE OF MACHINE
(IN MACHINE-HOURS PER WEEK)
Milling machine 500
Lathe 350
Grinding machine 150
Milling machine 9 3 5
Lathe 5 4 0
Grinding machine 3 0 3
The sales department indicates that potential sales of products 1 and 2 exceed
the maximum production rate and that potential sales of product 3 are 20 units
per week. The unit profit would be $50, $20 and $25, for products 1, 2 and 3,
respectively. The objective is to determine how many of each type of product
the company must produce to maximize profit.
SOLUTION
1. Variable declaration
X1 = Quantity of product 1 to be manufactured per week
2. Target function
3. Restrictions
LINGO PROGRAM
VARIABLES:
X1 = Quantity of product 1 to be manufactured per week
X2 = Quantity of product 2 to be manufactured per week
X3 = Quantity of product 3 to be produced weekly;
!OBJECTIVE FUNCTION;
MAX = 50*X1 + 20*X2 + 25*X3
RESTRICTIONS;