Graphic Method Exercises in Linear Programming
Graphic Method Exercises in Linear Programming
OPERATIONS RESEARCH
MEMBERS:
Diana Guerrero
Paola Sarchi
SEVENTH "B"
Tulcán – Ecuador
TOPIC: Exercises and problems of the graphic method
OBJECTIVES
GENERAL OBJECTIVE
SPECIFIC OBJECTIVES
JUSTIFICATION
THEORETICAL FRAMEWORK
DIET FORMULATION
2 x +2y ≥ 16
4x+ y ≥ 20 Restrictions
X ;y≥0
X Y 2 x +2y ≥ 16
0 4
2y ≥ 16−2x
8 0
y ≥ 1 6 −2 x/2
y ≥ 8 −x
4x+ y ≥ 20
X Y
0 20 y ≥ 2 0 −4x
5 0
A
ZBF
B
-30 -20 -10
C
-10
-20
-30
REPLACEMENT
20 - 4x = 8 - x Y=8-X
-4x+x= -20+8 Y = 8-4
-3x = -12 Y=4
x = -12 / -3
X=4
DECISION MAKING:
Nutrients in fertilizers
How many bags should the farmer buy to minimize costs and meet his needs?
nutrient requirements?
2 x +2y ≥ 80
6x+ 2y ≥ 120
4x+12y ≥ 240 Restrictions
X ;y≥0
X Y 2 x +2y ≥ 80
0 40
2y ≥ 80−2 x
40 0
y ≥ 8 0 −2 x/2
40−
≥yx
6x+ 2y ≥ 120
X Y
2y ≥ 120−6x 0 60
y ≥ 120−6x/2 20 0
y ≥ 6 0 −3x
4x+12y ≥ 240
X Y
0 20 12y ≥ 240 -4x
60 0 y≥240 -4x/12
y ≥ 2 0 −4 /12x
BZBF
20
C
D
-60 -40 -20 20
-20
-40
-60
REPLACEMENT 40 - x = 60 - 3x Y = 40 - X
-x + 3x = 60 - 40 Y = 40 - 10 40 - x = 20 - 4/12x Y = 40 - X
2x = 20 Y = 30 -x + 4/12x = 20 - 40 Y = 40-30
x = 10 -12x + 4x = 240 - 480 Y = 10
-8x = -240
X =-240/-8 x = 30
REPLACEMENT
DECISION MAKING:
MINERAL EXTRACTION
A company extracts minerals from a mine, the number of pounds of the minerals
The amounts that can be extracted from each ton of mines 1 and 2 are given in the table.
next, along with the costs per ton of the mines:
MINA 1 MINA 2
MINERAL A 100 lb 200 lb
MINERAL B 200 pounds 50 Lb
COST PER 50 dollars 60 dollars
TON
If the company must produce at least 300 lb of A and 2500 lb of B, how many
Tons from each mine must be processed with the aim of minimizing the cost?
What is the minimum cost?
If the company must produce at least 3000 lb of A and 2500 lb of B, how many
Tons from each mine must be processed with the aim of minimizing costs?
What is the minimum cost?
100x+200y ≥ 300 0
200x+50y ≥ 2500 Restrictions
X ;y≥0
X Y 100x+200y ≥ 3000
0 15
200y ≥ 3000−100x
30 0
y ≥ 3000−100x /200
y ≥ 1 5 −0.5x
200x+50y ≥ 2500
X Y
0 50 50y ≥ 2500−200x
y ≥ 5 0 −4x 12.5 0
REPLACEMENT
15-0.5x = 50-4x Y = 50 - 4X
4x = 60 - 40 Y = 50-4(10)
2x = 20 Y = 50 - 40
x = 10 Y = 10
ZBF
B
-60 -40 -20 C
-20
-40
-60
DECISION MAKING:
10 tons from mine I and 10 tons from mine II must be processed for
having a minimum cost of $1100
COST OF CONSTRUCTION
X Y 10x+ 4y ≥ 100
0 25
4y ≥ 100−10x
10 0
y≥100−10x /4
y ≥ 2 5 −5/ 2 x
20 times+30y ≥ 420
X Y
0 14 30y ≥ 420−20x
23.3 0
y≥420−20x /30
y ≥ 1 4 −2/ 3x
ZBF
10 B
-10
-20
-30
REPLACEMENT
A freight company handles shipments for two companies A and B, located in the
same city. Company A sends boxes that weigh 3 Kg and have a volume of
2 feet3Company B sends 1-foot boxes 3weighing 5kg each. Both A
Like B, they send to the same destination. The transportation cost per box of A is
$0.75 and B's is $0.50. The freight company has a truck with 2400
pies3of space for cargo and a maximum capacity of 9200 kg. On a journey,
develop a program to find out how many boxes of each company need to be transported
this truck so that the freight company receives maximum income.
Kg Feet
Table Volume Utility
Company A 3 2 0.75
Company B 5 1 0.50
Availability 9200 2400
Maximize
Z =0.75x+0.50y
Subject to:
1) 3x+5y ≤ 9200
2) 2 x + y≤2400
8)
7) 9)
1
Y 0
16)
14) 15)
12
X 0
18)
17) 19)
24
Y 0
Zone
Factibl
e
20)
21)
38) Z ( A )=¿ 0
39)
40) Z ( B ) =0.75 ( 0 ) +0.50 ( 1840 )
41) Z ( B )=920
42)
43) Z ( C ) =0.75 ( 400 ) +0.50 ( 1600 )
44) Z ( C ) =1100
46) z ( D ) =900
47)
48)
49) Decision Making: Company A must transport 400 boxes for the
Company A receives an income of $300 and company B owes.
transport 1600 boxes in order to receive an income of 800 and in this way
the company can achieve a maximum profit of 1100 USD.
50) The company Producto Natural is considering developing a new snack.
low in fat. It will be a mixture of two types of cereals, each of the
which has different characteristics of fiber, fat, and proteins. The
The following table shows these nutrition characteristics for one ounce of
each type of cereal.
51)
52)
53) FIBER FAT 58)PROTEIN
DIETETICS 57)(GRAMS) S
55 (GRAMS) 59)(GRAMS)
60)A 61)2 62)2 63)4
64)B 65) 1.5 66)3 67)3
68
69) The nutritional requirements of Natural Product demand that each ounce
the new food contains at least 1.7g of protein. The cost of the
Cereal A is $0.020 per ounce and the cost of Cereal B is $0.025 per ounce.
Natural Product wishes to determine how much of each cereal is needed for
to produce 1 ounce of the new food product at the lowest possible cost.
Formulate a linear programming model for this situation.
70)
Minimize
72) FIBER FAT PROTEIN 79) COS
DIET 76)(GRAM NAS TOS
ICA OS 78)(GRAM
74)(GRAM OS
OS)
A 81)2 82)2 83)4 84)0.02
0
85)B 86)1.5 87)3 88)3 89)0.02
8
Available 91)1.7 92)2.8 93)3.6 94)
reality
95)
96) Z =0.020x+0.025y
Subject to:
1) 2 x +1.5y ≥ 1.7
2) 2 x +3y ≤ 2.8
99)
1) 2 x +1.5y ≥ 1.7 0.
Y 0 18)
2) 17) 19)
1.5y ≥ 1.7−2 x 10) 1.
Y 0
3)
y=1.13−1.33x 11) 2 x +3y ≤ 2.8 20)
3y ≤ 2.8−2 x
12)
6) 21) 4x+3y ≤ 3.6
4) 5) 13)
y=0.93−0.66x 3y ≤ 3.6−4x
1. 22)
X 0
23)
7) 8) 9) 14) 15) 16) y=1.2−1.33x
X 0 0.
24)
26)
27) The company P & T manufactures and sells products. This company obtains
a profit of $120 for each unit sold of its product1, and
$40 for each unit of your product 2. The requirements in terms of
working hours for the manufacturing of these products in the three
production departments are listed in summary in the
next table. The supervisors of these departments have estimated
What will the following work hour availabilities be during the
next month: 800 hours in department 1, 600 hours in the
department 2 and 2000 hours in department 3. Assuming that the
company you are interested in maximizing profits, you develop the
corresponding linear programming model.
Subject to:
1) x+ 2y ≤ 800
2) x+ 3y ≤ 600
3) 2 x +3y ≤ 2000
89) Z ( A )=¿ 0
90)
91) Z ( B ) =120 ( 0 ) +40 ( 200 )
92) Z ( B )=8000
93)
94) Z ( C ) =120 ( 800 ) +40 ( 0 )
95) Z ( C ) =96000
96)
97)
Decision Making: To maximize profits, the company must
To produce 800 products results in a profit of 96,000.
dollars.
99)
100) As part of a quality improvement initiative, the
T & P employees complete a three training program.
days in team work and a two-day training program in
problem solving. The quality improvement manager has
It is requested that this year, at least 8 training programs be offered.
in teamwork and at least 10 in training in solution of
problems. Additionally, the executive level management has specified
At least 25 training programs should be offered in this.
period. T & P employs an advisor to deliver the programs of
Training. M During the following year, the advisor has 84 days of time.
training available. Each job training program in
The equipment costs $1000 and each training program on solution of
problems cost $800. Formulate a linear programming model that
can be used to determine the number of training programs
about teamwork and the number of training programs on
problem-solving solutions that must be offered to minimize total cost.
101)
102) 103) ASE 104) ADM 105) COS
SOR INISTRAD TO
OR
106) Work 107) 8 108) 12.5 109) 1000
garlic in
Team
110) Solution 111) 10 112) 12.5 113) 800
tion of
problems
114) Disp 115) 84 116) 1 117)
availability
118)
119)
120) Z =1000x+800y
121)
2) 12.5x+12.5y ≥1
123)
1) 8x+10y ≥ 84
10y ≥ 84−8x
2)
3) y=8.4−0.8x
4)
7)
5) 6)
10
X 0
9)
8) 10)
8.
Y 0
11) 12.5x+12.y≥1
12.5y ≥ 1−12.5x
12)
1
y= –x
13) 12.5
16)
14) 15)
0.
X 0
18)
17) 19)
0.
Y 0
20)
21)
22)
23)
Zone
Factibl
e
24)
25)
26) Z =1000x+800y
28) Z ( A)=6688
29) Z (B) = 1000(0) + 800(5)
30) Z ( B )=4000
31)
Decision making: To minimize the total cost, 0 must be given.
training programs for teamwork and 5 programs of
problem-solving training. Giving us a total cost of 4000
dollars.
33)
34)
35) GRAPHICAL METHOD PROBLEMS APPLIED TO TRADE
EXTERIOR
36)
We have 210,000 euros to invest in the stock market. They recommend us
two types of shares. Type A, which yield 10%, and type B, which
they yield 8%. We decided to invest a maximum of 130,000 euros in those of the type
And at least 60,000 in type B. We also want the
Investment in type A should be less than double the investment in B.
What should be the distribution of the investment to achieve the maximum
annual interest?
Solution
It's a linear programming problem.
We call the amount we invested in type A stocks.
We are now calling the amount we invested in type B shares.
40)
41) Inversion 43) Render
on lie
Type A 45)X 46)0.1x
Type B 48) Y 49) 0.08y
50)
51)210000 0.1x + 0.08y
52)
53) Conditions that must be met (restrictions):
54)
55)
56)
57) R1
58) R2
59) R3
60) R4
61)
62) We draw the auxiliary lines associated with the constraints to achieve
the feasible region (set of points that meet those conditions).
63)
64) r1 r2 (parallel to OY ) r3 (parallel to OX) r4
65)X 66)y 67) 68)x 69) 70) 71) 72)y 73) 74)x 75)y
y x
76)0 77)2 78) 79)1 80) 81) 82) 83)6 84) 85)0 86)0
1 3 0 0 0
0 0 0
0 0 0
0 0 0
0 0
87)2 88)0 89) 90) 91) 92) 93) 94) 95) 96)13 97)6
1 00 5
0 00 0
0 0
0 0
0
98)
99) The feasible region is the one shaded in yellow, with vertices A, B, C, D, and E.
100)
101
102) A (0, 60000), B (120000, 60000), C(130000, 65000), D(130000,
80000) and E(0, 210000)
103) The objective function is;
104 F(x, y) = 0.1x + 0.08y
105) If we draw the curve F(x, y) = 0 (in red) and shift it, we can
graphically check that the furthest vertex is D, and therefore it is
the optimal solution.
106) Check it analytically (that is, to verify that the value
The maximum of the objective function, F, is reached at vertex D.
107)
108)
109) In a bakery, two types of cakes are made for
market them in Colombia: Viennese and Real. Each Viennese tart needs
a quarter of filling for every kg of cake and produces a profit of
250 pts, while a Royal cake needs half a kg. of filling for
Each kg of cake produces 400 pesetas of profit. In the pastry shop,
They can make up to 150 kg of cake and 50 kg of filling daily.
although due to machinery problems they cannot make more than 125 cakes
of each type. How many Viennese cakes and how many Royal cakes should they sell at
133) We consider the auxiliary lines to the constraints and draw the
feasible region
134) For 0.25x + 0.50y = 50, or x + 2y = 200
135) 136)
X Y
137) 138)
0 1
139) 140)
2 0
141)
142) For x + y = 150
143)
144) 145)
x Y
146) 147)
0 1
148) 149)
1 0
150)
151) The other two are parallel to the axes.
152) On the OY axis x=125
154) And the other constraints (x and y greater than or equal to zero) indicate that
The solutions must be in the first quadrant.
155) We have colored the feasible region yellow:
156)
157)
158) Let's find the vertices:
159)
160) The O(0,0), the A(125, 0) and the D(0, 100) are located directly
(they are the intersections with the coordinate axes)
161) It is observed that the restriction and it is redundant (that is, 'unnecessary')
180)
181) It is graphically evident that the solution is the point (100, 50), since it is
195) If there are negative indicators, the column it is located in is the one that
Value appears but negative in this column you pivot.
196) Divide each positive entrance above it lines her among dotted of the
column, choose the value but small that you call pivoting.
197) Mark the entrance column pivot that corresponds to the quotient
but small of the previous step, this is the pivot entry of the variable that
Alone it is that this to the left of the line pivots.
199 On the left side of this chart, the variable that it replaces is the
variable that comes out.
200)
201)
202)
203) CONCLUSIONS
205) RECOMMENDATIONS
206
207)
208)
209) LINKOGRAPHY
[Link]/[Link]
[Link]/~ricardo/io/[Link]
[Link]
210)
211)