Linear Programming (LINDO Output) (Assignment Question 2 and 3)
Linear Programming (LINDO Output) (Assignment Question 2 and 3)
Linear Programming (LINDO Output) (Assignment Question 2 and 3)
1. CAT produces two models of heavy equipment – earthmoving equipment E2ZP and forestry
equipment F5ZM intended for the construction and lumber industries respectively. Both
models are produced in the same departments and with the same equipment. As per the
marketing department, the company will be able to sell as many models as it can produce in
the next month.
The company can make a profit of $5000 on each E2ZP that is sold and $4000 on each
F5ZM. Furthermore, each product is put through the machining operations in two
departments A and B which have a monthly capacity of 150 hours and 160 hours
respectively. Each E2ZP uses 10 hours of machining in department A and 20 hours in
department B whereas each F5ZM uses 15 hours in department A and 10 hours in
department B.
In order for the management to honor an agreement with the union, the total labor hours used
in next month’s testing of finished products cannot fall more than 10% below an arbitrated
goal of 150 hours. This testing is performed in a third department and has nothing to do with
the activities in departments A and B. Each E2ZP is given 30 hours of testing and each
F5ZM is given 10 hours.
In order to maintain the current market position, top management has decreed the operating
policy that it is necessary to build at least one F5ZM for every three E2ZP’s produced.
Lastly, a major customer has ordered a total of at least five E2ZP’s and F5ZM’s (in any
combination whatever) for next month, and so at least that many must be produced.
MAX 5000E+4000F
SUBJECT TO
1
OBJECTIVE FUNCTION VALUE
1) 50500.00
VARIABLE VALUE REDUCED COST
E 4.5000 0.0000
F 7.0000 0.0000
1. Quality Air Conditioning manufactures three home air conditioners: an economy model, a
standard model, and a deluxe model. The profits per unit are Rs 63, Rs 95 and Rs 135 respectively.
The production requirements per unit are as follows:
2
Model Number of Fans Number of Cooling Manufacturing
Coils Time (Hours)
Economy 1 1 8
Standard 1 2 12
Deluxe 1 4 14
For the coming production period, the company has 200 fan motors, 320 cooling coils and
2400 hours of manufacturing time available. The linear programming model for problem and
computer solution is as follows:
MAX 63 E + 95 S + 135 D
Subject to
2) 1 E + 1 S +1 D <= 200 (fan motors)
3) 1 E +2 S + 4 D <= 320 (cooling coils)
4) 8 E +12 S +14 D <= 2400 (manufacturing time)
E≥0, S≥0, F≥0
End
OBJECTIVE FUNCTION VALUE
1) 16440.00
VARIABLE VALUE REDUCED COST
E 80.00 0.00
S 120.00 0.00
D 0.00 24.00
3
OBJ COEFFICIENT RANGES
VARIABLE CURRENT ALLOWABLE ALLOWABLE
COEF INCREASE DECREASE
E 63.00 12.00 25.5
S 95.00 31.00 8.0
D 135.00 24.00 INFINITY
RIGHT HAND SIDE RANGES
ROW CURRENT ALLOWABLE ALLOWABLE
RHS INCREASE DECREASE
2) 200.00 80.00 40.00
3) 320.00 80.00 120.00
4) 2400.00 INFINITY 320.00
2. Ballco manufactures large softballs, regular softballs and hardballs. Each type of ball requires
time in three departments: cutting, sewing and packaging as shown in following table:
Cutting Time Sewing Time Packaging Time
Regular Softballs 15 15 3
Large Softballs 10 15 4
Hardballs 8 4 2
4
Because of marketing consideration, at least 1000 regular softballs must be produced. Each
regular softball can be sold for Rs3, each large softball can be sold for Rs5 and each hardball can
be sold for Rs.4. There are 18,000 minutes of cutting time, 18,000 minutes of sewing time, and
9000 minutes of packaging time available. Ballco wishes to maximize sales revenue. If we define
RS = number of regular softballs produced
LS = number of large softballs produced
HB = number of hardballs produced
Then appropriate LP is
Max Z = 3RS + 5LS + 4HB
Subject to
15RS + 10LS + 8HB ≤18,000 (Cutting constraint)
15RS + 15LS + 4HB ≤18,000 (Sewing constraint)
3RS + 4LS + 2HB ≤ 9,000 (Packaging constraint)
RS ≥1,000 (Demand constraint)
RS, LS, HB ≥ 0
MAX 3 RS + 5 LS + 4 HB
SUBJECT TO
2) 15 RS + 10 LS + 8 HB <= 18000
3) 15 RS + 15 LS + 4 HB <= 18000
4) 3 RS + 4 LS + 2 HB <= 9000
5) RS >= 1000
END
OBJECTIVE FUNCTION VALUE
1) 4500.000
3. Ken and Larry, Inc., supplies its ice cream parlors with three flavors of ice cream –
chocolate, vanilla and banana. Because of extremely hot weather and a high demand for its
products, the company has run short of its supply of ingredients: milk, sugar and cream.
Hence, they will not be able to fill all the orders received from their retail outlets, the ice-
cream parlors. Owing to these circumstances, the company has decided to choose the amount
of each flavor to produce that will maximize total profit, given the constraints on supply of
the basic ingredients.
The chocolate, vanilla and banana flavors generate, respectively, $1, $0.9 and $0.95 of profit
per gallon sold. The company has only 200 gallons of milk, 150 pounds of sugar and 60
gallons of cream left in its inventory. The linear programming formulation for this problem is
shown below.
Subject to
Milk: 0.45C + 0.5V + 0.4B 200 gallons
Sugar: 0.5C + 0.4V + 0.4B 150 pounds
Cream: 0.1C + 0.15V + 0.2B 60 gallons
C, V, B 0
6
OBJECTIVE FUNCTION VALUE
1) 341.2500
NO. ITERATIONS= 3