0% found this document useful (0 votes)
36 views13 pages

Formul

Uploaded by

brahim.safa2018
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views13 pages

Formul

Uploaded by

brahim.safa2018
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

IE 311 - Operations Research I

Spring 2005
Solved Exercises on LP Modeling
1. [Problem 3 on page 64 in the 3rd edition of the textbook] Leary chemical manufactures three chemicals: A, B, and C. These
chemicals are produced via two production processes: 1 and 2. Running process 1 for an hour costs $4 and yields 3 units of A,
1 of B and 1 of C. Running process 2 for an hour costs $1 and produces 1 unit of A and one unit of B. To meet customer
De

demands, at least 10 units of A, 5 of B and 3 units of C must be produced daily. Graphically determine a daily production plan
that minimizes the cost of meeting Leary Chemical’s daily demands.
liv

Answer:
er

Three types of chemicals are produced: A, B, and C. There are two types of processes (machines) available for production.
A
ed

A
Process1 B Process 2
B
C
to

Process Cost per Output


hour (units of chemical)
yo

A B C
ub

1 4 3 1 1
2 1 1 1 0
Daily Demand 10 5 3
yh

A. Decision Variables: X 1 = Number of hours of process 1 used


ttp

X 2 = Number of hours of process 2 used


://t

B. Constraints:
bs

For chemical A: 3 X1 + X 2 ≥ 10 (I)


re

For chemical B: X1 + X 2 ≥ 5 (II)


X1 ≥ 3
so

For chemical C: (III)


X1, X 2 ≥ 0
ur

Non-negativity constraints:
ce

C. Objective function:
s.w

Z = Cost of meeting daily demands for chemicals = Cost of operating process 1 and 2
ix.

Minimize Z = 4 X1 + X 2
c
om

( I ) ( I I I )
/tb

X 2
s

Feasible Region
re

( I I ) 10
so
u rce

5
s

B Z
A
X 1
3 5
Point X1 X2 Z
A 5 0 (4) (5) + 0 = 20
B 3 2 (4) (3) + 2 = 14 Minimum

Point B is the optimal point. Processes 1 and 2 should be used 3 hours and 2 hours, respectively.
De

2. [Problem 6 on page 64 in the 3rd edition of the textbook] Farmer Jane owns 45 acres of land. She is going to plant each with
liv

wheat or corn. Each acre planted with wheat yields $200 profit; each with corn yields $300 profit. The labor and fertilizer used
for each acre are given in the table below. One hundred workers and 120 tons of fertilizer are available. Use linear
er

programming to determine how Jane maximizes profits from her land.


ed

Crop
to

Wheat Corn
Labor 3 worke rs 2 workers
yo

Fertilizer 2 tons 4 tons


Answer:
ub

A. Decision Variables: W = acres of land planted with wheat


C = acres of land planted with corn
yh

B. Constraints:
ttp

1) Total acres of land used must equal to the land she owns.
C + W = 45
://t

2) Maximum number of workers to be used is 100.


3W + 2C ≤ 100
bs

3) Maximum tons of fertilizer is 120 tons.


2W + 4C ≤ 120
re

3) Non-negativity
so

W ,C ≥ 0
ur

C. Objective function:
ce

Maximize Z = 300C + 200W


s.w

3. [Problem 3 on page 73 in the 3rd edition of the textbook] Peg and Al Fundy have a limited food budget, so Peg is trying to feed
ix.

the family as cheaply as possible. However, she still wants to make sure her fa mily members meet their daily nutritional
requirements. Peg can buy two foods. Food 1 sells for $7 per pound and, each pound contains 3 units of vitamin A and 1 units
c

of vitamin C. Food 2 sells for $1 per pound, and each pound contains 1 unit of each vitamin. Each day, the family needs at
om

least 12 units of vitamin A and 6 units of vitamin C.


(a) Verify that Peg should purchase 12 units of food 2 each day and thus oversatisfy the vitamin C requirement by 6 units.
/tb

(b) Al has put his foot down and demanded that Peg fulfill the family’s daily nutritional requirement exactly by obtaining
precisely 12 units of vitamin A and 6 units of vitamin C. The optimal solution to new problem will involve ingesting less
s

vitamin C, but it will be more expensive. Why?


re

Answer:
(a) A. Decision Variables: X 1 = pounds of food 1 purchased
so

X 2 = pounds of food 2 purchased


u

B. Constraints:
rce

1) Vitamin A requirement
3 X1 + X 2 ≥ 12
s

2) Vitamin C requirement
X1 + X 2 ≥ 6

3) Non-negativity
X 1, X 2 ≥ 0
C. Objective function:

Minimize Z = 7 X1 + X 2
(I)

X2
De

(II) 12 C

Point ( X1, X2 ) Z
liv

A (6,0) 42
er

Feasible Region
B (3,3) 24
ed

6
C (0,12) 12
to

Z
B
yo

A
X1
ub

4 6
yh
ttp

Minimum is 12, so Peg should purchase 12 units of food 2 each day. From second constraint, X1 + X 2 = 0 + 12 > 6 .
Thus, vitamin C requirement is over satisfied by 12-6 = 6 units.
://t

(b) The new problem becomes:


bs

Z = 7 X1 + X 2
re

Minimize
3 X 1 + X 2 = 12
so

s.t.
X1 + X 2 = 6
ur

X1 , X 2 ≥ 0
ce

X1 = 3 X 2 = 3 . Then Z * = 24
s.w

* *
From the graph, it is obvious that the optimal solution is at point B. That is, and
which is greater than 12 (i.e. it will be more expensive).
ix.

4. [Problem 5 on page 76 in the 3rd edition of the textbook] Each day, workers at the Gotham City Police Depart ment work two
c

6-hour shift chosen from 12 a.m. to 6 a.m., 6 a.m. to 12 p.m., 12 p.m. to 6 p.m., and 6 p.m. to 12 a.m. The number of workers
om

are needed during each shift are shown at table below. Workers whose two shifts are consecutive are paid $12 per hour;
workers whose shifts are not consecutive are paid $18 per hour. Formulate an LP that can be used to minimize the cost of
/tb

meeting the daily work-force demands of the Gotham City Police Department.
s

Shift Workers Needed


re

12 A.M. to 6 A.M 15
so

6 A.M. to 12 P.M. 5
12 P.M. to 6 P.M. 12
u

6 P.M. to 12 A.M. 6
rce

Answer:
Let us give numbers to the shifts as below:
s

Shifts
1 2 3 4

12 A.M. 6 A.M. 12P.M. 6P.M. 12 A.M.


A. Decision Variables: X i = # of workers whose two shifts are consecutive and start at shift i (i = 1,2 ,3, 4)
X j = # of workers whose two shifts are not consecutive and start at shift j ( j = 1,2 )
B. Constraints:
1) Total # of workers in shift 1 is equal to 15.
X 4 + X 1 + Y1 = 15
De

2) Total # of workers in shift 2 is equal to 5.


X 1 + X 2 + Y2 = 5
liv

3) Total # of workers in shift 3 is equal to 12.


X 2 + X 3 + Y1 = 12
er

4) Total # of workers in shift 4 is equal to 6.


ed

X 3 + X 4 + Y2 = 6
5) Non-negativity
to

Xi ≥ 0 for i = 1,2,3, 4
yo

Y j ≥ 0 for j = 1,2
ub

C. Objective function:
Minimize Z = 12 ( X 1 + X 2 + X 3 + X 4 ) + 18 (Y1 + Y2 )
yh

5. [Problem 5 on page 91 in the 3rd edition of the textbook] Chandler Oil Company has 5,000 barrels of oil 1 and 10,000 barrels
ttp

of oil 2. The company sells two products: gasoline and heating oil. Both products are produced by combining oil 1 and oil 2.
The quality level of each oil is as follows: oil 1, 10; oil 2, 5. Gasoline must have an average quality level of at least 8 and
://t

heating oil, at least 6. Demand for each product must be created by advertising. Each dollar spent advertising gasoline creates
bs

5 barrels of demand and each spent on heating oil creates 10 barrels of demand. Gasoline is sold for $25 per barrel, heating oil
for $20. Formulate an LP to help Chandler maximize profit. Assume that no oil of either type can be purchased.
re

Answer:
Let us draw the input-output diagram for the production process, and tabulate the given data.
so

Outputs
ur

Inputs
ce

Gasoline
Oil1 Production
s.w

Oil2 Process
Heatingoil
ix.
c

Minimum Demand
om

Oil On hand Inventory Quality Sales Price


Product Average (barrels per $ spent
Type (Barrels) Level ($ per barrel)
Quality Level for advertising)
/tb

1 5,000 10 Gasoline 8 5 25
s

2 10,000 5 Heating oil 6 10 20


re
so

A. Decision Variables: X i , j = barrels of oil i used to make product j ( i =1 is oil 1, i = 2 is oil 2, j =1 is gasoline,
u

j =2 is heating oil)
rce

a j = dollar spent advertising product j ( j = 1,2 )


s

B. Constraints:
1) The barrels of each oil used to make products must not exceed its on hand inventory level.
X1,1 + X1,2 ≤ 5,000 (for oil type 1)
X 2,1 + X 2 , 2 ≤ 10,000 (for oil type 2)
2) The minimum average quality level of each product must be satisfied.
10 X 1,1 + 5 X 2,1 Total Quality of oil used for gasoline
≥8 è ≥ 8 è 2 X 1 ,1 − 3 X 2 ,1 ≥ 0
X 1,1 + X 2,1 Total amount of gasoline produced
10 X 1, 2 + 5 X 2, 2
≥ 6 è 4 X 1, 2 − X 2 , 2 ≥ 0
X 1 ,2 + X 2 , 2
3) Production of each product must be equal to the demand created by advertising.
X 1 ,1 + X 2 ,1 = 5a1
De

(for gasoline)
X 1 ,2 + X 2 , 2 = 10a2 (for heating oil)
liv

4) Non-negativity
X i, j ≥ 0 i = 1,2 ; j = 1,2
er

for
ed

C. Objective function:

Z = Total sales revenue from gasoline + Total s ales revenue from eating oil – Total advertising cost
to

Maximize Z = 25 ( X 1,1 + X 2 ,1 ) + 20 ( X 1, 2 + X 2 , 2 ) − a1 − a 2
yo
ub

6. [Problem 11 on page 92 in the 3rd edition of the textbook] Eli Daisy produces the drug Rozac from four chemicals. Today they
must produce 1,000 lb of drug. The three active ingredients in Rozac are A , B, and C. By weight, at least 8% of Rozac must
yh

consist of A, at least 4% of B, and at least 2% of C. The cost per pound of each chemical and the amount of each ingredient in
1 lb of each chemical are given in table below. It is necessary that at least 100 lb of chemical 2 be used. Formulate an LP
ttp

whose solution would determine the cheapest way of producing today’s batch of Rozac.
://t

Chemical Cost per lb A B C


1 $8 0.03 0.02 0.01
bs

2 $10 0.06 0.04 0.01


3 $11 0.10 0.03 0.04
re

4 $14 0.12 0.09 0.04


Answer:
so

A. Decision Variables: A = pounds (lb) of ingredient A used


ur

B = pounds of ingredient B used


C = pounds of ingredient C used
ce

X i = pounds of chemical i used (i = 1,2,3,4)


s.w

B. Constraints:
1) Minimum ingredient A requirement for the drug (in weight)
A ≥ (0 .08 )(1,000 )
ix.

2) Minimum ingredient B requirement for the drug (in weight)


c

B ≥ (0 .04 )(1,000 )
om

3) Minimum ingredient C requirement for the drug (in weight)


C ≥ (0 .02 )(1,000 )
/tb

4) 100 lbs of chemical 2 should be used


s

X 2 ≥ 100
re

5) Chemical content
so

X 1 = 0.03 A + 0.02 B + 0.01C


X 2 = 0.06 A + 0.04 B + 0.01C
u
rce

X 3 = 0.10 A + 0.03 B + 0.04C


X 4 = 0.12 A + 0.09B + 0.04C
s

6) Non-negativity
A, B, C ≥ 0
X i ≥ 0 for i = 1,2,3, 4
C. Objective function:

Minimize Z = 8 X 1 + 10X 2 + 11 X 3 + 14X 4


7. [Problem 5 on page 104 in the 3rd edition of the textbook] During the next two months, General Cars must meet (on time) the
following dema nd for trucks and cars: month 1 – 400 trucks, 800 cars; month 2 – 300 trucks, 300 cars. During each month, at
most 1000 vehicles can be produced. Each truck uses 2 tons of steel, and each car uses 1 ton of steel. During month 1, steel
cost $400 per ton; during month 2, steel costs $600 per ton. At most 1500 tons of steel may be purchased at each month (steel
may only be used during the month in which it is purchased). At the beginning of month 1, 100 trucks and 200 cars are in
inventory. At the end of each month, a holding cost of $150 per vehicle is assessed. Each car gets 20 mpg and each truck gets
10 mpg. During each month, the vehicles produced by the company must average at least 16 mpg. Formulate an LP to meet
the demand and mileage requirements at minimum cost (include steel costs and holding costs).
De

Answer:
Let us draw the input-output diagram for the production process, and tabulate the given data.
liv
er

steel for steel for steel for steel for


trucks cars trucks cars
ed
to

trucks in trucks in
100 trucks inventory inventory
Month 1 Month 2
yo

cars in
200 cars cars in
inventory
inventory
ub
yh

400 trucks 800 cars 300 trucks 300 cars

CUSTOMER CUSTOMER
ttp

Monthly Demand Steel Re quirement


://t

Inventory on hand
Vehicle Month 1 Month 2 (ton/vehicle)
bs

Truck 400 300 2 100


Car 800 300 1 200
re

Max # of vehicles that can be produced 1,000 1,000


Steel cost ($/ton) 400 600
so

Max amount of steel that can be purchased (ton) 1,500 1,500


ur

Inventory holding cost ($/vehicle) 150 150


ce

A. Decision Variables: S i = Steel bought during month i (i = 1,2 )


s.w

T i = trucks produced during month i (i = 1,2 )


IT i = trucks in inventory at the end of month i (i = 1,2 )
ix.

IC i = cars in inventory at the end of month i (i = 1,2)


c om

B. Constraints:
1) Maximum amount of steel that can be purchased in each month is limited
S1 ≤ 1,500
/tb

S 2 ≤ 1,500
s re

2) Steel used to produce vehicles in each month must be less than the amount of steel purchased in each month
2T1 + C1 ≤ S1
so

2T2 + C 2 ≤ S 2
u

3) Maximum number of vehicles produced in each month must be less than 1,000
rce

T1 + C 1 ≤ 1,000
T2 + C 2 ≤ 1,000
s

4) Inventory balance constraints


For trucks 100 + T1 = 400 + IT1 è T1 − IT1 = 300
IT1 + T1 = 300 + IT2 è IT1 + T2 + IT2 = 300
For cars 200 + C1 = 800 + IC1 è C1 − IC1 = 600
IC 2 + C 2 = 300 + IC 2 è IC 2 + C 2 − IC 2 = 300
5) Average mpg
20C1 + 10T1
≥ 16 è 4C1 − 6T1 ≥ 0
C1 + T1

20C 2 + 10T2
≥ 16 è 4C 2 − 6T2 ≥ 0
C 2 + T2
De

C. Objective function:
Z = Total Cost = Cost of steel + Inventory holding costs
liv

Minimize Z = 400S1 + 600S 2 + 150IT1 + 150IT 2 + 150IC1 + 150IC 2


er
ed

8. [Problem 44 on page 119 in the 3rd edition of the textbook] A paper recycling plant process box board, tissue, paper,
to

newsprint, and book paper in to pulp that can be used to produce three grades of recycled paper (grades 1, 2, and 3). The prices
per ton and pulp contents of the four inputs are shown in below table. Two methods, de-inking and asphalt dispersion, can be
yo

used to produce the four inputs into pulp. It costs $20 to de-ink a ton of any input. The process of de-inking removes 10% of
the input’s pulp, leaving 90% of the original pulp. It costs $15 to apply asphalt dispersion to a ton of material. The asphalt
ub

dispersion removes 20% of the input’s pulp. At most 3,000 tons of input can be run through the asphalt dispersion process or
de-inking process. Grade 1 paper can only be produced with newsprint or book paper pulp; grade 2 paper, only with book
paper, tissue paper, or box board pulp; and grade 3 paper, only with newsprint, tissue paper, or box board pulp. To meet its
yh

current demands, company needs 500 tons of pulp for grade 1 paper, 500 tons of pulp for grade 2 paper, and 600 tons of pulp
for grade 3 paper. Formulate an LP to minimize the cost of meeting the demands for pulp.
ttp

Answer:
Let us tabulate the given data.
://t

Item Cost Pulp content


bs

Box board $5 15%


Tissue paper $6 20%
re

Newsprint $8 30%
so

Book paper $10 40%


ur

Method of Pulp Production


ce

De-inking Asphalt Dispersion


Cost($/tons of input) 20 15
s.w

% of input that is converted in to pulp 90 80


Max amount of input that can be processed 3,000 3,000
ix.
c

Pulp type can be used Required amount of


om

pulp for satisfying


Product Box board Tissue Paper Newsprint Book Paper
demand
Grade 1 X X 500
/tb

Grade 2 X X X 500
s

Grade 3 X X X 600
re
so

A. Decision Variables: I i = tons of input (raw material) i purchased ( i = 1, box board; i = 2, tissue paper; i = 3,
u

newsprint; i = 4, book paper)


rce

Di = tons of input i sent through de- inking


Ai = tons of input i sent through asphalt dispersion
s

Pi = tons of type i pulp produced


U i , j = tons of type i pulp used for grade j paper ( j = 1, grade 1 paper; j = 2, grade 2
paper; j = 3, grade 3 paper)
B. Constraints:
1) Tons of each input sent through de- inking and asphalt dispersion processes can not exceed the purchased
amount
D1 + A1 ≤ I 1
D2 + A2 ≤ I 2
D3 + A3 ≤ I 3
D4 + A4 ≤ I 4 è (Total amount of book paper processed <= amount of book paper purchased)
De

2) Total amount of each pulp type must equal to its corresponding amount of purchase
(0.15)( 0.90) D1 + ( 0.15)(0.80) A1 = P1
liv

(Amount of box board pulp obtained by de- inking + amount of box board obtained by asphalt
er

dispersion = total amount of box board pulp)


ed

(0.20)(0.90) D 2 + (0.20)( 0.80) A2 = P2


(0.30)( 0.90 ) D3 + (0.30)( 0.80 ) A3 = P3
to

(0.40)(0.90) D 4 + (0.40)( 0.80) A4 = P4


yo

3) Maximum amount of input that can be processed by each method of pulp production is limited.
ub

D1 + D 2 + D3 + D 4 ≤ 3,000 è For de- inking


yh

A1 + A2 + A3 + A4 ≤ 3,000 èFor asphalt dispersion


ttp

4) Inventory balance constraints


U 1, 2 + U 1 ,3 ≤ P1
://t

è For box board pulp


(Total amount of box board pulp used for product 2 and 3)
bs

U 2, 2 + U 2, 3 ≤ P2 è For tissue paper pulp


re

U 3,1 + U 3, 3 ≤ P3 è For newsprint pulp


so

U 4 ,1 + U 4 , 2 ≤ P4 è For book print pulp


ur

5) Demand for each product (paper type) must be satisfied


ce

U 3,1 + U 4,1 ≥ 500 è For grade 1 paper


s.w

U 1, 2 + U 2 , 2 + U 4 , 2 ≥ 500 è For grade 2 paper


U 1, 3 + U 2, 3 + U 3, 3 ≥ 500 è For grade 3 paper
ix.
c

6) All variables are non negative


om

I i , Di , Ai , Pi ≥ 0 for i = 1,2 ,3, 4


U i , j ≥ 0 for i = 1,2 ,3, 4 ; j = 1,2,3
/tb
s

C. Objective function:
re

Z = 5I 1 + 6I 2 + 8I 3 + 10 I 4 + 20 D1 + 20 D 2 + 20 D 3 + 20 D4 + 15 A1 + 15 A2 + 15 A3 + 15 A4
so

Minimize
urce

9. [Problem 3 on page 110 in the 3rd edition of the textbook] The IRS has determined that during each of the next twelve months
they will need the number of super computers given in table below. To meet these requirements the IRS rents supercomputers
s

for a period of one, two, or three months. It costs $100 to rent a supercomputer for one month, $180 for two months, and $250
for three mo nths. At the beginning of month 1 the IRS has no supercomputers. Determine the rental plan that meets the next
twelve months’ requirements at minimum cost. Note: you may assume that fractional rentals are okay. Thus if your solution
says rent 140.6 computers for one month you can round this up or down without having much effect on total cost.

Month 1 2 3 4 5 6 7 8 9 10 11 12
Requirement 800 1,000 600 500 1,200 400 800 600 400 500 800 600
Answer:
A. Decision Variables: X m , p = the # of supercomputers rented at the beginning of month m for p number of periods
B. Constraints:
X 1 ,1 + X 1, 2 + X 1, 3 ≥ 800
( X 1, 2 + X 1,3 ) + ( X 2 ,1 + X 2 , 2 + X 2 , 3 ) ≥ 1,000
De

X 1 ,3 + ( X 2 , 2 + X 2, 3 ) + ( X 3,1 + X 3 , 2 + X 3 ,3 ) ≥ 600
X 2, 3 + ( X 3, 2 + X 3,3 ) + ( X 4,1 + X 4, 2 + X 4,3 ) ≥ 500
liv

X 3 ,3 + ( X 4 , 2 + X 4, 3 ) + ( X 5 ,1 + X 5 , 2 + X 5 ,3 ) ≥ 1,200
er

X 4 , 3 + ( X 5 , 2 + X 5 , 3 ) + ( X 6,1 + X 6 , 2 + X 6 , 3 ) ≥ 400
ed

X 5 , 3 + ( X 6 , 2 + X 6 , 3 ) + ( X 7 ,1 + X 7 ,2 + X 7 , 3 ) ≥ 800
to

X 6, 3 + ( X 7, 2 + X 7,3 ) + ( X 8,1 + X 8, 2 + X 8,3 ) ≥ 600


yo

X 7 , 3 + ( X 8 , 2 + X 8 ,3 ) + ( X 9 ,1 + X 9 ,2 + X 9 ,3 ) ≥ 400
X 8 ,3 + ( X 9 ,2 + X 9 ,3 ) + ( X 10 ,1 + X 10 , 2 + X 10 ,3 ) ≥ 500
ub

X 9, 3 + ( X 10 , 2 + X 10 ,3 ) + ( X 11,1 + X 11, 2 ) ≥ 800


yh

( X 10, 3 ) + ( X 11, 2 ) + ( X 12 ,1 ) ≥ 600


ttp

C. Objective function:
://t

Minimize
bs

Z = 100( X 1,1 + X 2,1 + X 3,1 + X 4,1 + X 5,1 + X 6 ,1 + X 7 ,1 + X 8,1 + X 9,1 + X 10,1 + X 11,1 + X 12 ,1 ) +
180( X 1,2 + X 2,2 + X 3,2 + X 4 ,2 + X 5,2 + X 6 ,2 + X 7, 2 + X 8, 2 + X 9 ,2 + X 10 ,2 + X 11,2 ) +
re
so

250( X 1,3 + X 2,3 + X 3,3 + X 4 ,3 + X 5,3 + X 6,3 + X 7,3 + X 8 ,3 + X 9,3 + X 10 ,3 )


ur
ce

10. [Problem 48 on page 120 in the 3rd edition of the textbook] Bank 24 is open 24 hours per day. Tellers work two consecutive 6-
hour shifts and are paid $10 per hour. The possible shifts are as follows: midnight – 6 a.m., 6 a.m. – noon, noon – 6 p.m., 6
s.w

p.m. – midnight. During each shift, the following numbers of customers enter the bank: midnight – 6 a.m.,100; 6 a.m. – noon,
200; noon – 6 p.m., 300; 6 p.m. – midnight, 200. Each teller can serve up to 50 customers per shift. To model customer a cost
ix.

for customer impatience, we assume that any customer who is present at the end of a shift “costs” the bank $5. We assume that
by midnight of each day, all customers must be served, so each day’s midnight – 6a.m. shift begins with zero customers in the
c

bank. Formulate an LP that can be used to minimize the sum of the bank’s labor and customer impatience costs.
om

Answer:
/tb

# of customers
entering the bank
Shift ( i )
s

Period in shift (i)


re

1 midnight – 6 A.M.
2 6 A.M. – noon
so

3 noon – 6 P.M. # of customers


# of customers
unserved and
u

4 6 P.M. – midnight left unserved in i


to be served in
shift (i -1)
rce

shift (i+1)
s

# of customers
served in shift ( i )

A. Decision Variables: X i = # of tellers beginning work on shift i


Yi = # of customers unserved in shift i and to be served in the next shift
100 200 300 200

Y1 Y2 Y3
1 2 3 4
De
liv

50(X1+X4 ) 50(X1+X2 ) 50(X 2+X3 ) 50(X3 +X4 )


er

B. Constraints:
ed

50 X 1 + 50 X 4 + Y1 = 100
50 X 1 + 50 X 2 + Y2 = 200 + Y1
to

50 X 2 + 50 X 3 + Y3 = 300 + Y2
yo

50 X 3 + 50 X 4 = 100 + Y3
ub

Xi ≥ 0 and Yi ≥ 0 for i = 1,2,3, 4


yh

C. Objective function:
ttp

Minimize Z = 60 X 1 + 60 X 2 + 60 X 3 + 60 X 4 + 5Y1 + 5Y2 + 5Y3


://t
bs

11. Linear programming models are used by many Wall Street firms to select a desirable bond portfolio. The following is a
simplified version of such model. Solodrex is considering investing in four bonds: $1,000,000 is available for investment. The
re

expected annual return, the worst-case annual return on each bond, and the duration of each bond are given in the following
table.
so

Bond Expected return Worst-case return Duration


1 13% 6% 3
ur

2 8% 8% 4
ce

3 12% 10% 7
4 14% 9% 9
s.w

The duration of a bond is measure of the bond’s sensitivity to interest rates. Solodex wants to maximize the expected return
ix.

from its bond investments, subject to the following restrictions:


1. The worst-case return of the bond portfolio must be at least 8%.
c

2. The average duration of the portfolio must be at most 6. For example a portfolio that invested $ 600,000 in bond 1
om

and $400,000 in bond 4 would have an average duration of [(600,000) (3) + (400,000) (9)] / 1,000,000 = 5.4.
3. Because of the diversification requirements, at most 40% of the total amount invested can be invested in a single
bond.
/tb

Formulate an LP model to help Solodex tom achieve its objective.


s

Answer:
X i = the amount of money invested in bond i , for (i = 1,2,3,4)
re

A. Decision Variables:
so

B. Constraints:
1) 0.06 X 1 + 0.08 X 2 + 0.1X 3 + 0.09 X 4 ≥ (0.08)(1,000 ,000 )
u
rce

3X1 + 4 X 2 + 7X 3 + 9 X4
2) ≤6
s

1,000 ,000

3) X 1 ≤ ( 0.40)(1,000,000)
X 2 ≤ (0.40)(1,000,000)
X 3 ≤ (0.40 )(1,000 ,000 )
X 4 ≤ (0.40)(1,000,000)
easy
4) X i ≥ 0 for i = 1,2 ,3, 4

C. Objective function:

Maximize Z = 0.13 X 1 + 0.08 X 2 + 0.12 X 3 + 0.14 X 4


De

12. An automobile company is planning its fall advertising campaign to unveil the new models for the coming year. The
marketing department has assembled the following data.
liv

Viewers/spot
er

Medium Cost/spot (in millions)


ed

All viewers Youth


TV-Prime time $100,000 6 2.5 >=5
TV-Nonprime time $78,000 4 1.5 >=4
to

Radio $40,000 2.5 1 6


Newspapers and magazines $20,000 1 0.4 9
yo

no more 12million 30million


The company would like to limit their TV advertising expenses to $3 million and buy at least five prime time spots and at least
ub

four nonprime time spots. They would like to buy a minimum of 6 radio advertising units, and at least 9 advertising units in
newspaper and magazines. They also want make sure that their message reaches at least 30 million youth viewers. It is
yh

required to devise an advertising campaign costing no more than $12 million that reaches as many viewers as possible, subject
to these constraints. Ignoring any integer requirements of the variables, formulate this as a Linear Programming model.
Answer:
ttp

A. Decision Variables: X 1 = # of prime time TV spots


://t

X 2 = # of nonprime time TV spots


bs

X 3 = # of radio advertising units


X 4 = # of newspapers and magazines advertising units
re
so

B. Constraints:
1) TV advertising cost must be less than 3 million
ur

100,000X 1 + 78,000X 2 ≤ 3,000,000


ce

2) Minimum required number of each advertising units


s.w

X1 ≥ 5
X2 ≥ 4
ix.

X3 ≥ 6
c

X4 ≥ 9
om
/tb

3) Total # of youth viewers must be greater than 30 million


2.5 X 1 + 1.5 X 2 + X 3 + 0.4 X 4 ≥ 30
s re

4) Total advertising campaign budget limit


so

100 ,000 X 1 + 78,000 X 2 + 40,000 X 3 + 20,000 X 4 ≤ 12,000 ,000


u rce

5) Non negativity constraints


X i ≥ 0 for i = 1,2 ,3, 4
s

C. Objective function:

Z = the number of all viewers


Maximize Z = 6 X 1 + 4 X 2 + 2.5 X 3 + X 4
13. A farm family owns 125 acres of land and has $40,000 in found available for investment. Its members can produce a total of
3,500 person-hours worth of labor during the winter months (mid-September to mid-May) and 4,000 person-hours during the
summer. If any of these person-hours are not needed to farmer family, younger members of family will use their capacity to
work on a neighboring farm for $5/hour during the winter months and $6/hours during the summer. Cash income may be
obtained from three crops and two types of livestock: diary cows and lying hens. No investment founds are needed for corps.
However, each cow will require an investment outlay of $1,200, and each hen will cost $9.
De

Each cow will require 1.5 acres of land, 100 person-hours of work during the winter months, and other 50 person-hours during
the summer. Each cow will produce a net annual cash income of $1,000 for the family. The corresponding figures for each hen
liv

are: no acreage, 0.6 person-hours during the winter, 0.3 more person-hours during the summer, and an annual net cash income
of $5. The chicken house can accommodate a maximu m of 3,000 hens, and the size of the barn limits the herd to a maximum
er

32 cows.
ed

Estimated person-hours and income per acre planted in each of the three corps are as folows
to

Crop Soybeans Corn Oats


Winter person-hours 20 35 10
yo

Summer person-hours 50 75 40
Net annual cash income ($) 600 900 450
ub

The family wishes to determine how much acreage should be planted in each of the corps and how many cows and hens
yh

should be kept to maximize its net cash income. Formulate the Linear Programming model for this problem.
Answer:
ttp

A. Decision Variables: LS = Amount of acres allocated for soybean production


L c = Amount of acres allocated for corn production
://t

L o = Amount of acres allocated for oat production


bs

C = # of cows purchased
re

H = # of hens purchased
W = Excess person-hours in the winter
so

S = Excess person-hours in the summer


ur

B. Constraints:
ce

1) Total land allocated for crop production and cows limited by the available land of 125 acres
LS + Lc + Lo + 1.5C ≤ 125
s.w

2) Total cost of purchasing cows and hens must be less than $40,000
ix.

1,200 C + 9 H ≤ 40 ,000
com

3) Limitations on the size of barn and chicken house


C ≤ 32
/tb

H ≤ 3,000
s

4) Labor limitations
re

20 LS + 35 L c + 10 L o + 100 C + 0.6 H + W = 3,500 è For winters


so

50 L S + 75 Lc + 40 Lo + 150 C + 0.9H + S = 4,000 è For summers


u rce

4) Non negativity constraints


LS , Lc , Lo , C, H ,W , S ≥ 0
s

C. Objective function:

Z = total of crop income, income from animals, and income from neighbor farm
Maximize Z = 600 L S + 900 Lc + 450 Lo + 1,000 C + 5H + 5W + 6S
14. An investor has money-making activities A and B available at the beginning of each of the next five years (call them years 1 to
5). Each dollar invested in A at the beginning of a year returns $1.40 (a profit of $0.40) two years later (in time for immediate
reinvestment). Each dollar invested in B at the beginning of a year returns $1.70 three years later. In addition, money-making
activities C and D will each be available at one time in the future. Each dollar invested in C at the beginning of year 2 returns
$1.90 at the end of year 5. Each dollar invested in D at the beginning of year 5 returns $1.30 at the end of year 5.

The investor begins with $60,000 and wishes to know which plan maximizes the amount of money that can be accumulated by
the beginning of year 6. Formulate an LP model for this problem.
Answer:
De

A. Decision Variables: At = Amount of money invested to A in year t (t = 1,2,3,4)


Bt = Amount of money invested to B in year t (t = 1, 2,3)
liv

C 2 = Amount of money invested to C in year 2


er

D5 = Amount of money invested to C in year 2


ed

Rt = Amount of money not invested in year t (t = 1,2,3,4)


to

B. Constraints:
yo

1) Equalities of years
A1 + B1 + R1 = 60,000 èYear 1
ub

A2 + B2 + R2 = R1 èYear 2
(Amount of money invested in year 2 +amount of money not invested in year 2 = amount of money left
yh

from year 1)
A3 + B3 + R3 = 1.4 A1 + R 2 èYear 3
ttp

A4 + R 4 = 1.4 A2 + 1.7B1 + R3 èYear 4


://t

D5 = 1.4 A3 + 1.7 B 2 + R4 èYear 5


bs

4) Non negativity constraints


re

At ≥ 0 for t = 1, 2,3,4
so

Bt ≥ 0 for t = 1,2 ,3
C2 ≥ 0
ur

D5 ≥ 0
ce

Rt ≥ 0 for t = 1, 2,3,4
s.w

C. Objective function:
ix.

Z = Amount of money accumulated by the beginning of year 6


com

Maximize Z = 1.9C2 + 1.7 B3 + 1.4 A4 + 1.3D5


/tb
s re
so
u rce
s

You might also like