Optimization Techniques L1 PDF
Optimization Techniques L1 PDF
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
• 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
x
#2 Graphed
2
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
1
(8, 0)
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
x
Solution Region
2
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 5x1 + 7x2 = 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 5x1 + 7x2 = 46
7
6
Optimal Solution
(x1 = 5, x2 = 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
B
From figure, we
see that the set finishing constraint Feasible Region
of points D
80
satisfying the
constraints is demand constraint
bounded by the
five sided 60 G
polygon
z = 100
DGFEH. Any
40
carpentry constraint
point on or in
the interior of
this polygon (the
20
F
z = 180
shade area) is
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
B
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
B
80
indicates the demand constraint
optimal solution
for the LP. 60 G
Optimal solution
z = 100
occurs at point G
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