Optimization Techniques L1
Optimization Techniques L1
Constraints
In most situations, only certain values of the decision
variables are possible. These restrictions on the decision
variable values are called constraints.
Non-negativity constraints.
MATH F212 Rakhee BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
A Simple Maximization Problem
Raw material, M1 6 4 24
Raw material, M2 1 2 6
Profit per ton ($1000) 5 4
A market survey indicates that, the daily demand for
interior paint cannot exceed that of exterior paint by
more than 1 ton. Also, the maximum daily demand of
interior paint is 2 tons.
Reddy Mikks want to determine the optimum (best)
produced of exterior and interior paints that maximizes the
total daily profit.
Example 1: A Maximization Problem
• LP Formulation
s.t. x1 < 6
2x1 + 3x2 < 19
x1 + x2 < 8
x1, x2 > 0
Example 1: Graphical Solution
• Constraint #1 Graphed
x2
8
7
6
x1 < 6
5
4
3
2 (6, 0)
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
• Constraint #2 Graphed
x
x2
8 (0, 6 1/3)
7
6
5
4 2x1 + 3x2 < 19
3
2 (9 1/2, 0)
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
• Constraint
x2 #3 Graphed
(0, 8)
8
7 x1 + x2 < 8
6
5
4
3
2
(8, 0)
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
x2
• Combined-Constraint Graph
x1 + x2 < 8
8
7
6 x1 < 6
5
4
3 2x1 + 3x2 < 19
2
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
• Feasible Solution Region
x
x2
8
7
6
5
4
3
Feasible
2 Region
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
• Objective Function Line
x2
8
7
(0, 5)
6 Objective Function
5 5x11 + 7x22 = 35
4
3
2
(7, 0)
1
x1
1 2 3 4 5 6 7 8 9 10
Example 1: Graphical Solution
• Optimal Solution
x2
Objective Function
8 5x11 + 7x22 = 46
7
Optimal Solution
6
(x11 = 5, x22 = 3)
5
4
3
2
1
x1
1 2 3 4 5 6 7 8 9 10
Graphical Solution to a 2-Variable LP
Consider the following LPP
Maximize Z = 3x1 + 2x2
2 x1 + x2 ≤ 100
x1 + x2 ≤ 80
x1 ≤ 40
x1 ≥ 0; x2 ≥ 0
100
From figure, we
see that the set finishing constraint Feasible Region
of points D
80
satisfying the
constraints is demand constraint
bounded by the
60 G
five sided
polygon
z = 100
DGFEH. Any
40
carpentry constraint
point on or in
the interior of
this polygon (the
20
F
shade area) is z = 180
z = 60
in the feasible E A C
region. H
10 20 40 50 60 80 X1
Graphical Solution to a 2-Variable LP
100
solution, graph a finishing constraint Feasible Region
line on which the
D
points have the
80
same z-value. In a demand constraint
max problem, such
a line is called an 60 G
carpentry constraint
this is called the
isocost line. The
figure shows the
20
F
isoprofit lines for z z = 180
100
intersecting finishing constraint Feasible Region
(touching) the
D
feasible region
80
indicates the demand constraint
optimal solution
60
for the LP. G
Optimal solution
occurs at point G z = 100
40
carpentry constraint
(x1 = 20, x2 = 60,
z = 180).
20
F
z = 180
z = 60
E A C
H
10 20 40 50 60 80 X1
Convex sets, Extreme Points, and LP
A B
C D
(a) (b) (c) (d)
• The manager of an oil refinery must decide on the
optimum minimum of two possible blending processes
of which the input and output for each production run
are as follows
Input Output