Beruflich Dokumente
Kultur Dokumente
Objective function
Maximize F = 2X + 4Y
subject to:
X+Y≤5
Constraints Quantity of
2X - 3Y ≤ 10 resources
X,Y ≥ 0
Decision variables
Example 1:
Cutting 2 1 104
Finishing 1 2 76
Subject to:
2X + Y ≤ 104
X + 2Y ≤ 76
X,Y ≥ 0.
Subject to:
3X + Y ≤ 30,000
X ≤ 8,000
Y ≤ 12,000
X,Y ≥ 0.
the problem.
Type of Chemicals Chemicals Minimum
chemical reqd/unit of reqd/unit of requirement
liquid prod. dry prod. of chemicals
A 5 1 10
B 2 2 12
C 1 4 12
Subject to:
5X + Y ≥ 10
2X + 2Y ≥ 12
X + 4Y ≥ 12
X,Y ≥ 0.
decision variables.
Example 1:
Maximize Z = 3X + 5Y
Subject to:
X ≤4
2Y ≤ 12
X =4
3X + 2Y ≤ 18
Y=6
X,Y ≥ 0.
3X + 2Y = 18
12
10
3X X=4
+2
Y=
8 18 (2,6)
Y=6
6
0
0 2 4 6 8
Example 2:
problem.
Tons of raw materials per Max daily
ton. availability
Exterior Interior (tons)
Paints Paints
M1 6 4 24
M2 1 2 6
Profit per ton 5 4
(Rs 1000)
A market survey restricts the maximum daily
Maximize Z = 5X + 4Y
Subject to:
6X + 4Y ≤ 24
X + 2Y ≤ 6
-X + Y ≤ 1
Y≤2 X,Y ≥ 0.
7
6
3X +2Y=12
-X +Y=1
5
3 (3,1.5)
Y=2
2
1 X +2Y=6
0
-2 -1 0 1 2 3 4 5 6 7
Example 3:
optimum solution.
Min Z = 30X + 90Y
Subject to:
X + Y ≥ 800
0.09X + 0.6Y ≥ (X +Y)0.3
0.02X +0.06Y ≤ (X +Y)0.05
X,Y ≥ 0
X No. of kgs of Corn
Y No. of kgs. of Soybean
Min Z = 30X + 90Y Min Z = 30X + 90Y
Subject to: Subject to:
X + Y ≥ 800 X + Y ≥ 800
0.21X – 0.3Y ≤ 0 7X – 10Y ≤ 0
0.03X – 0.01Y ≥ 0 3X – Y ≥ 0
X,Y ≥ 0 X,Y ≥ 0
1000
3X-Y=0
900
800
7X-10Y=0
700
600
500
400
300
200
100
X+Y=800
0
0 200 400 600 800 1000 1200
Home Work
Question 1:
Subject to:
X,Y ≥ 0.
Question 2: Question 3:
X+Y ≤5 -X + 6Y ≥ 24
X - 2Y ≤ 2 2X - Y ≤ 7
X,Y ≥ 0. X + 8Y ≤ 80
X,Y ≥ 0.
Unbounded Solution
In some LP models, the values of the variables maybe
Maximize Z = 2X + 3Y
Subject to:
-2X + Y ≤ 1
X - 2Y ≤ 3
X+Y ≥2
X,Y ≥ 0.
8
Unbounded
7
Solution
6
0
-3 -2 -1 0 1 2 3 4 5 6
-1
-2
-3