OT CLG Notes
OT CLG Notes
1
Optimization Techniques
Reference Books
• "Engineering Optimization - Theory and Practice"
S.S. Rao - John Wiley and Sons Inc.
• CO1 - Identify the types of optimization problems and appl y the calculus
method to single variable
• Module 2 Linear Programming Problem (LPP) –
6
Optimization Techniques
Basic Concepts
Basic Concepts
Introduction
• Optimization is the act of obtaining the best result under given circumstances.
• Optimization can be defined as the process of finding the conditions that give
the maximum or minimum value of a function. f(x)
Basic Concepts
X=
Basic Concepts
Design Constraints
• The restrictions that must be satisfied to produce an acceptable design are
collectively called design constraints.
• With multiple objectives there arises a possibility of conflict, and one simple
way to handle the problem is to construct an overall objective function as a
linear combination of the conflicting multiple objective functions.
Basic Concepts
Classification of Optimization Problems
1) Based on Number of Objective Functions –
i) Single Objective Function
Find X which minimizes f(X)
Subject to the constraints
gi(X) ≤ 0, i = 1, 2,….,m
ii) Multi-Objective Function
Find X which minimizes f1(X), f2(X),_ _ _ fk(X)
Subject to the constraints
gi (X) ≤ 0, i = 1, 2,….,m
Where f1, f2,_ _ _ fk denote the objective functions to be minimized
simultaneously.
Basic Concepts
2) Based on Constraints
i) Existence of Constraints
a) With Constraints – Constraint Optimization
b) Without Constraints – Unconstraint Optimization
ii) Discrete
a) Binary (0 or 1)
b) Integer (Any whole number without fraction)
c) Discrete sets (Example – Screw threads – cannot have any number)
Basic Concepts
Engineering Applications of Optimization
• Design of aircraft and aerospace structures for minimum weight.
• Design of civil engineering structures such as frames, foundations, bridges,
towers, chimneys, and dams for minimum cost.
• Design of material handling equipment, such as conveyors, trucks, and cranes,
for minimum cost.
• Controlling the waiting and idle times and queueing in production lines to
reduce the costs.
• Selection of machining conditions in metal-cutting processes for minimum
production cost.
Basic Concepts
• Design of pumps, turbines, and heat transfer equipment for maximum efficiency.
• Planning the best strategy to obtain maximum profit in the presence of a competitor.
Necessary Condition
Then, x = x* is
i) Local minimum value of f(x) if f(n)(x*) > 0 and n is even.
ii) Local maximum value of f(x) if f(n)(x*) ˂0 and n is even.
iii) Neither maximum or minimum if n is odd.
(In this case x* is a point of inflection)
Basic Concepts
Example – Maximum and minimum values of the function
At x = 0 → f '''(x) = 240
1.Proportionality
2.Linearity
3.Deterministic
𝑥2
Graphical Method9
8
4𝑥1 + 3𝑥2 = 24
Maximize 10 x1 + 9 x2
7
S.T. 3 x1 + 3 x2 ≤ 21
6
4 x1 + 3 x2 ≤ 24
x1, x2 ≥ 0 5
(3,4)
4
2 Feasible Region
3𝑥1 + 3𝑥2 = 21
1
0
0 1 2 3 4 5 6 7 8 𝑥1
Every point inside the feasible region is dominated by a boundary point.
Every boundary point is dominated by corner point.
⸫ Enough to evaluate corner point.
In this example, 4 corner points. Substitute in 10 x1 + 9 x2
(0,0) ⸫ Z = 00
(6,0) ⸫ Z = 60
(0,7) ⸫ Z = 63
(3,4) ⸫ Z = 66 (Best Solution OR Optimum Solution)
Minimize 7 x1 + 5 x2 6
𝑥2
S.T. x1 + x2 ≥ 4
5 x1 + 2 x2 ≥ 10 5
5𝑥1 + 2𝑥2 = 10
x1, x2 ≥ 0
4
2
Corner Points
(4,0) ⸫ Z = 28
1
(0,5) ⸫ Z = 25 𝑥1 + 𝑥2 = 4
(2/3,10/3) ⸫ Z = 64/3 = 21.33
0 𝑥1
0 1 2 3 4 5
Maximize 10 x1 + 9 x2 + 0 x3 + 0 x4
Maximize 10 x1 + 9 x 2
S.T. 3 x1 + 3 x2 ≤ 21 S.T. 3 x1 + 3 x2 + x3 = 21 No positive value in Cj – Zj
4 x1 + 3 x2 ≤ 24 4 x1 + 3 x2 + x4 = 24 ⸫ Algorithm terminates with solution, X1 = 3, X2 = 4, Z = 66
x1, x2 ≥ 0 x1, x2, x3, x4 ≥ 0
Cj 10 9 0 0
CB XB X1 X2 X3 X4 RHS Ɵ (Ratio)
0 X3 3 3 1 0 21 21/3 = 7
0 X4 4 3 0 1 24 24/4 = 6
Cj – Zj 10 9 0 0 0
X1 enters, X4 leaves, Multiply X1 by 3, X3 = X3 – 3 X1
0 X3 0 ¾ 1 -¾ 3 3÷¾=4
10 X1 1 ¾ 0 ¼ 6 6÷¾=8
Cj – Zj 0 3/2 0 - 5/2 60
X2 enters, X3 leaves, Multiply X2 by 3/4, X1 = X1 – (¾) X2
9 X2 0 1 4/3 - 1 4
10 X1 1 0 - 1 1 3
Cj – Zj 0 0 - 2 -1 66
Minimize 7 x1 + 5 x2 Minimize 7 x1 + 5 x2 + 0 x3 + 0 x4
S.T. x1 + x2 ≥ 4 S.T. x1 + x2 - x3 = 4
5 x1 + 2 x2 ≥ 10 5 x1 + 2 x2 - x4 = 10
x1, x2 ≥ 0 x1, x2, x3, x4 ≥ 0
Cannot start Simplex with negative slack variables because the solution would be infeasible.
Minimize 7 x1 + 5 x2 + 0 x3 + 0 x4 + Ma1 + Ma2
S.T. x1 + x2 - x3 + a1 = 4
5 x1 + 2 x2 - x4 + a2 = 10
x1, x2, x3, x4, a1, a2 ≥ 0
Now that we have introduced artificial variables a1 & a2 , but we do not want them in final solution.
⸫ We give a large objective function coefficient to a1 and a2. (BIG M)
Cj -7 -5 0 0 -M -M
CB XB X1 X2 X3 X4 a1 a2 RHS Ɵ
-M a1 1 1 -1 0 1 0 4 4
-M a2 5 2 0 -1 0 1 10 2
Cj – Zj 6M-7 3M-5 -M -M 0 0 -
X1 enters, a2 leaves, Divide a2 row by key element to get X1 row, a1 = a1 - X1
-M a1 0 3/5 -1 1/5 1 -1/5 2 10/3
-7 X1 1 2/5 0 -1/5 0 1/5 2 5
Cj – Zj 0 (3M-11)/5 -M (M-7)/5 0 (-6M+7)/5 -
X2 enters, a1 leaves, divide pivot row by pivot element, X1 = X1 – 2/5 X2
-5 X2 0 1 -5/3 1/3 5/3 -1/3 10/3
-7 X1 1 0 2/3 -1/3 -2/3 1/3 2/3
Cj – Zj 0 0 -11/3 -2/3 (-3M+11)/3 (-3M+2)/3 -64/3
4x1= 24
Maximize 10 x1 + 9 x2
S.T. x1 - x2 ≤ 5
4 x1 ≤ 24 Feasible Region
x1 - x2= 5
x1, x2 ≥ 0
(6,1)
(5,0)
𝑥1
Maximize 10 x1 + 9 x2 Adding Slack Variables x3 and –x4. We cannot start with negative slack variable.
S.T. x1 + x2 ≤ 5 ⸫ We introduce artificial variable a1
4 x1 ≥ 24 Maximize 10 x1 + 9 x2 + 0 x3 + 0 x4 – M a1
x1, x2 ≥ 0 S.T. x1 + x2 + x3 = 5
4 x1 - x4 + a1 = 24
x1, x2, x3, x4, a1 ≥ 0
Cj 10 9 0 0 -M
CB XB X1 X2 X3 X4 a1 RHS Ɵ
0 X3 1 1 1 0 0 5 5
-M a1 4 0 0 -1 1 24 6
Cj – Zj 10+4M 9 0 -M 0 ---
X1 enters, X3 leaves, Divide key row by key element to get X1 row, a1 = a1 - 4X1
10 X1 1 1 1 0 0 5
-M a1 0 -4 -4 -1 1 4
Cj – Zj 0 -1-4M -10-4M -M 0 ---
There is no positive value in Cj – Zj and simplex algorithm terminates with the solution X1 = 5 and a1 = 4.
But since there is an artificial variable we say that the problem is infeasible.
Maximize 10 x1 + 9 x2
S.T. x1 + x2 ≤ 5
𝑥2
4 x1 ≥ 24
x1, x2 ≥ 0 4x1= 24
x1 + x2= 5
Feasible Region
Feasible Region
𝑥1
Introduction to DUAL
Maximize 10 x1 + 9 x2 Constraint 1 * 10 gives 30x1 + 30x2 ≤ 210 Upper Estimate = 210
S.T. 3x1 + 3x2 ≤ 21 Constraint 1 * 4 gives 12x + 12x ≤ 84 Upper Estimate = 84
1 2
4x1 + 3x2 ≤ 24
x1, x2 ≥ 0 Constraint 2 * 3 gives 12x1 + 9x2 ≤ 72 Upper Estimate = 72
(Constraint 1 * 3) + (Constraint 2 * 1)
gives 13x1 + 12x2 ≤ 87 Upper Estimate = 87
Now to generalize, multiply first constraint by y1 and the second constraint by y2 (y1, y2 ≥ 0 )
such that,
3y1 + 4y2 ≥ 10
3y1 + 3y2 ≥ 9
21y1 + 24y2 is an upper estimate of Z (We want to Minimize the Upper Estimate)
Now in the process we created a new LP problem, such that,
Minimize 21 y1 + 24 y2
S. T. 3y1 + 4y2 ≥ 10
3y1 + 3y2 ≥ 9
y1, y2 ≥ 0
The original problem is called Primal and the converted problem is called Dual
PRIMAL DUAL
Maximize 10 x1 + 9 x2 Minimize 21 y1 + 24 y2
S.T. 3x1 + 3x2 ≤ 21 S. T. 3y1 + 4y2 ≥ 10
4x1 + 3x2 ≤ 24 3y1 + 3y2 ≥ 9
x1, x2 ≥ 0 y1, y2 ≥ 0
PRIMAL DUAL
Maximization Minimization
Variables Constraints
Constraints Variables
RHS Objective Function
Objective Function RHS
A AT
Dual Simplex Algorithm
Adding negative slack variables,
Minimize 7 x1 + 5 x2
Minimize 7 x1 + 5 x2 + 0 x3 + 0 x4
S.T. x1 + x2 ≥ 4
S.T. x1 + x2 - x3 = 4
5 x1 + 2 x2 ≥ 10
5 x1 + 2 x2 - x4 = 10
x1, x2 ≥ 0
x1, x2, x3 , x4 ≥ 0
The problem is of Minimization, ⸫ Multiply Objective Function by -1 to convert it into Maximization problem.
Cj -7 -5 0 0
CB XB X1 X2 X3 X4 RHS
0 X3 -1 -1 1 0 -4
0 X4 -5 -2 0 1 -10
Cj – Zj -7 -5 0 0 ---
Denominator should
Ɵ 7/5 5/2 --- --- be negative.
Cj -7 -5 0 0
CB XB X1 X2 X3 X4 RHS
0 X3 -1 -1 1 0 -4
0 X4 -5 -2 0 1 -10
Cj – Zj -7 -5 0 0 ---
Ɵ 7/5 5/2 --- ---
X4 leaves, X1 enters, X3 = X3 + X1
0 X3 0 -3/5 1 -1/5 -2
-7 X1 1 2/5 0 -1/5 2
Cj – Zj 0 -11/5 0 -7/5 ---
X3 leaves, X2 enters, X1 = X1 – 2/5(X2)
-5 X2 0 1 -5/3 1/3 10/3
-7 X1 1 0 2/3 -1/3 2/3
Cj – Zj 0 0 -11/3 -2/3 -64/3
The solution has reached as all the values in Cj – Zj are negative and all the values in RHS are positive with solution
X1 = 2/3 , X2 = 10/3 , Z = 64/3
This method is called Dual Simplex because the dual was feasible throughout i.e. Cj – Zj values negative.
Module 2.2
Transportation Problem
A transportation problem is a linear programming problem that talks about
transporting a commodity or a single item from a set of supply points
where the item is available to destination points or demand points where
the item is required.
Let, xij be the quantity transported from i to j
i represents the set of supply points
j represents the set of demand points
North West Corner Rule
8 (x11) 9 (x12) 7 (x13) 8 9 7
40 40
30
4 (x21) 3 (x22) 5 (x23) 4 3 5
25 25
30 30 40 30 30 40
8 9 7 8 9 7
10 0
30 10 30 10
4 3 5 4 3 5
25 20 25
8 5 6 8 5 6
35 35
0 30 40 0 20 40
8 9 7 8 9 7
0
30 10 0 30 10
4 3 5 4 3 5
5 20 5 0
20 5
8 5 6 8 5 6
35 35 35
0 0 40 0 0 35
8 9 7
0
30 10
4 3 5
20 5 0
8 5 6
35 0
0 0 0
8 9 7
30 10 40
4 3 5
25 25
8 5 6
5 30 35
30 30 40
Cost for this solution = 8*30 + 7*10 + 3*25 + 5*5 + 6*30
= 590
Penalty Cost Method or Vogel’s Approximation Method
8 9 7
40
4 3 5
Row penalty - 1, 1, 1
25 Column penalty - 4, 2, 1
8 5 6
35
30 30 40
Row penalty - 1, ---, 1
Column penalty - 0, 4, 1
8 9 7
5 35 40
Row penalty - 1, ---, 2
4 3 5 Column penalty - 0, ---, 1
25 25
8 5 6
30 5 35
30 30 40
8 9 7
5 35 40
8 9 7
4 3 5 5 +1 35 -1 40
25 25
4 3 5
8 5 6 25
30 5 35 25
8 5 6
30 30 40 30 -1 5 +1 35
30 30 40
Position 1 – 2 → 9 - 7 + 6 - 5 = 3
8 9 7 Position 2 – 2 → 3 - 5 + 6 – 7 + 8 - 4 = 1
5 35 40
Position 2 – 3 → 5 - 4 + 8 - 7 = 2
4 3 5
25 25
Position 3 – 1 → 8 - 8 + 7 - 6 = 1
8 5 6
30 5 35 No gain ⸫ The given solution is optimum.
30 30 40
8 9 7 Position 1 – 2 → 9 - 7 + 6 - 5 = 3
30 +1 10 -1 40
4 3 5
25 25
8 5 6
5 -1 30 +1 35
30 30 40
8 9 7 8 9 7
30 10 40 30 -Ɵ 10 +Ɵ 40
4 3 5
4 3 5 Ɵ 25 -Ɵ 25
25 25
8 5 6
8 5 6 5 +Ɵ 30 -Ɵ 35
5 30 35
30 30 40
30 30 40 8 9 7
40
5 35
Position 2 – 1 → 4 - 3 + 5 - 6 + 7 - 8= -1
4 3 5
25 25
Position 2 – 3 → 5 - 6 + 5 - 3 = 1
8 5 6
Position 3 – 1 → 8 - 8 + 7 - 6 = 1 30 5 35
30 30 40
MOdified DIstribution Method (MODI Method)
(Requires Initial Solution)
V1 V2 V3
8 9 7 Use, Ui + Vj = Cij where there is an
U1 30 10 40 allocation starting with U1 = 0
X11→ U1 + V1 = 8 → V1 = 8
4 3 5
U2 25 X13→ U1 + V3 = 7 → V3 = 7
25 X33→ U3 + V3 = 6 → U3 = -1
8 5 6 X32→ U3 + V2 = 5 → V2 = 6
U3 5 30 35 X22→ U2 + V2 = 3 → U2 = -3
30 30 40
Now compute, Cij - (Ui + Vj)
V1 = 8 V2 = 6 V3 = 7
For unallocated positions
8 9 7
U1 = 0 40 For eg. X → 9 - (0 + 6) = 3
30 (3) 10 12
4 3 5
U2 = -3
(-1) (1) 25 Similarly calculate for other unallocated
25 positions.
8 5 6
U3 = 1 (1) 5 30 35
30 30 40
V1 = 8 V2 = 6 V3 = 7
Negative sign indicates gain. (X21 → -1)
⸫ Put Ɵ at X21 8 9 7
U1 = 0 5 35 40
4 3 5
8 9 7 U2 = -4
25 25
30 -Ɵ 10 +Ɵ 40
4 3 5 U3 = -1
8 5 6
30 5 35
Ɵ 25 -Ɵ 25
30 30 40
8 5 6
5 +Ɵ 30 -Ɵ 35 Use, Ui + Vj = Cij where there is an allocation
30 30 40 starting with U1 = 0
Now compute, Cij - (Ui + Vj) For unallocated positions
V1 = 8 V2 = 6 V3 = 7
For position 1 – 2 → 9 - (0 + 6) = 3
8 9 7
U1 = 0 5 35 40 For position 2 – 2 → 3 - (-4 + 6) = 1
For position 2 – 3 → 5 - (-4 + 7) = 2
4 3 5 For position 3 – 1 → 8 - (-1 + 8) = 1
U2 = -4 25
25
U3 = -1
8 5 6
30 5 35
30 30 40
All these values are positive hence no further cost reduction is possible and the
algorithm stops. ⸫ This is the optimal solution.
Cost = 8 * 5 + 7 * 35 + 4 * 25 + 5 * 30 + 6 * 5 = 565
Module 2.3
Assignment Problem
Examples
1) Jobs → People
2) Jobs → Machines
3) Machines → People
4) Project → People
Consider a problem of 4 Jobs and 4 People. Each job should go to one person and each
person should get one job. The table shows the cost to assign a job to each person. Solve the
problem by assignment problem to get the minimum assignment cost.
People
8 6 4 8
6 5 5 8
Jobs
9 10 11 12
7 6 8 10
Solution-
i) Subtract row minimum from each row ii) Subtract column minimum from each column iii) Mark the assignments to zeros
4 2 0 4 4 2 0 1 4 2 0 1
1 0 0 3 1 0 0 0 1 0 0 0
0 1 2 3 0 1 2 0 0 1 2 0
1 0 2 4 1 0 2 1 1 0 2 1
Optimum cost = 4 + 8 + 9 + 6 = 27 Allocation J1 → P3 , J2 → P4 , J3 → P1 , J4 → P2
i) Subtract row minimum from each row ii) Subtract column minimum from each column
People 4 2 0 3 4 2 0 0
8 6 4 7 1 0 0 3 1 0 0 0
6 5 5 8 0 1 2 3 0 1 2 0
Jobs
9 10 11 12
1 0 2 4 1 0 2 1
7 6 8 10
4 2 0 0 4 2 0 0 Optimum cost = 9 + 6 + 4 + 8 = 27
1 0 0 0 1 0 0 0
Allocation J1 → P3 , J2 → P4 , J3 → P1 , J4 → P2
0 1 2 0 0 1 2 0
1 0 2 1 1 0 2 1
People
8 6 4 9
7 5 6 9
Jobs
9 10 11 12
9 6 8 11
i) Subtract row minimum from each row ii) Subtract column minimum from each column iii) Mark the assignments to zeros
4 2 0 5 4 2 0 2 4 2 0 2
2 0 1 4 2 0 1 1 2 0 1 1
0 1 2 3 0 1 2 0 0 1 2 0
3 0 2 5 3 0 2 2 3 0 2 2
4 3 0 2 vi) Now take the minimum of the no. (Ɵ) where no line is passing through
1 0 0 0 vii) Add Ɵ to numbers having two lines passing through them
0 2 2 0 viii) Numbers with one line passing through them remain same
ix) Subtract Ɵ from all uncovered numbers
2 0 1 1
iii) Mark the assignments to zeros iv) Hungarian Algorithm v) New matrix with Ɵ = 1
2 1 0 0 2 1 0 0 2 1 0 1
0 0 1 0 0 0 1 0 0 0 1 1
3 5 7 0 3 5 7 0 2 4 6 0
1 1 4 0 1 1 4 0 0 0 3 0
Optimum cost = 4 + 6 + 0 + 6 = 16
Allocation J1 → P3 , J2 → P1 , J4 → P2 , J3 → Nobody
Module 3.1
Integer
Linear
Programming
• In most of the optimization techniques, the design variables are
Integer Linear Programming
• When the variables are restricted to take only discrete values, the problem is
called discrete programming problem.
• When some variables are restricted to take integer values, the problem is
called mixed-integer programming problem.
• When all the design variables are allowed to take on values of either 0 or 1,
the problem is called zero-one programming problem.
The All-Integer and Mixed-Integer linear programming problems can
Integer Linear Programming
be solved by,
4
Maximize 3 x1 + 4 x2 𝑥2
S.T. 3x1 - x2 ≤ 12
9
7 x1 +11 x2 ≤ 88
D 3x1 - x2= 12
Integer Linear Programming
x1, x2 ≥ 0 8 P
and x1, x2 are integers
P'
7
Solution-
6
Optimum solution 5 G
C
x1 = 5 ½ , x2 = 4 ½ , Z = 34 ½
4 F
If we truncate the fractional part 3 E
x1 = 5 , x2 = 4 , Z = 31 7x1 + 11x2= 88
2
However this is not the 1
optimum solution of the Q'
integer programming 0
A B 𝑥1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
problem.
The optimum solution is,
x1 = 0 , x2 = 8 , Z = 32
Q 5
Gomory’s Cutting Plane Method
Integer Linear Programming
6
Maximize Z = 3 x2 Add the slack variables,
S.T. 3x1 + 2x2 ≤ 7 Maximize Z = 3 x2 + 0 x3 + 0 x4
Integer Linear Programming
Cj 0 3 0 0
CB XB X1 X2 X3 X4 RHS Ɵ (Ratio)
0 X3 3 2 1 0 7 7/2
0 X4 -1 1 0 1 2 2/1 = 2
Cj – Zj 0 3 0 0
7
Cj 0 3 0 0
CB XB X1 X2 X3 X4 RHS Ɵ (Ratio)
0 X3 3 2 1 0 7 7/2
Integer Linear Programming
0 X4 -1 1 0 1 2 2/1 = 2
Cj – Zj 0 3 0 0 0
X2 enters, X4 leaves, Divide X4 by key element to get X2, X3 = X3 – 2 X2
0 X3 5 0 1 -2 3 3/5
3 X2 -1 1 0 1 2 ---
Cj – Zj 3 0 0 -3 6
X1 enters, X3 leaves, Divide X3 by key element to get X1, X2 = X2 + X1
0 X1 1 0 1/5 -2/5 3/5
3 X2 0 1 1/5 3/5 13/5
Cj – Zj 0 0 -3/5 -9/5 39/5
3
No positive value in (Cj – Zj) ⸫ The algorithm terminates with solution X1 = 3/5 , X2 = 13/5 = 25
But this is not the optimum solution as X1 and X2 are not integers.
8
Now we apply the Gomory’s procedure.
Select the constraint corresponding to
max (fBi) = max (fB1, fB2) = max (3/5 , 3/5) = 3/5
Integer Linear Programming
Cj 0 3 0 0 0
Integer Linear Programming
CB XB X1 X2 X3 X4 g1 RHS
0 X1 1 0 1/5 -2/5 0 3/5
3 X2 0 1 1/5 3/5 0 13/5
g1 0 0 -1/5 -3/5 1 -3/5
Cj – Zj 0 0 -3/5 -9/5 0 39/5
Ɵ 0 0 3 3 0
g1 leaves, X3 enters, Divide g1 by key element to get X3, X1 = X1 -1/5 X3 , X2 = X2 – 1/5 X3
0 X1 1 0 0 -1 1 0
3 X2 0 1 0 0 1 2
0 X3 0 0 1 3 -5 3
Cj – Zj 0 0 0 0 -3 6
All the values in (Cj – Zj) are less than or equal to zero. All the values in RHS are positive and integer.
Integer
Linear
Programming
Integer Linear Programming
Branch & Bound
The Branch & Bound method can be considered as a refined enumeration
method in which most of the non-promising integer points are discarded
without testing them.
The process of branching continues until an integer feasible solution is found for one of
the two continuous problems.
The nodes that are eliminated are said to have been fathomed because it is not possible
to find a better integer solution from these nodes.
The algorithm continues to select a node for further branching until all the nodes have
been fathomed. At that stage, the particular fathomed node that has the integer feasible
solution with highest/ lowest value for maximization/ minimization objective function
gives the optimum solution of the original linear integer programming problem.
Integer Linear Programming 𝑥2
8 10𝑥1 + 6𝑥2 =45
Maximize 5 x1 + 4x2
S.T. x1 + x2 ≤ 5 7
10 x1 + 6 x2 ≤ 45
6
x1, x2 ≥ 0 and are integers D
5
4
LPP1
X1 = 3.75 , X2 = 1.25 3
Z = 23.75
x1 ≤ 3 2 E
x1 ≥ 4
C
X1 = 3 , X2 = 2 X1 = 4 , X2 = 0.83 1 F 𝑥1 + 𝑥2 =5
Z = 23 Z = 23.33
0A B
LPP2 LPP3 G H
0 1 2 3 4 5 6 7 8
Fathomed Node Fathomed Node
⸪ We got the integer solution. ⸪ Further branching cannot improve Z.`
𝑥1
⸫ Optimum solution is Zmax = 23, X1 = 3 , X2 = 2
Integer Linear Programming
Minimize 5 x1 + 4x2 𝑥2
S.T. 3x1 + 2x2 ≥ 5 3.5
2x1 + 3x2 ≥ 7
x1, x2 ≥ 0 and are integers 3
C
2.5
LPP1 B
X1 = 0.2 , X2 = 2.2 2
Z = 9.8
x1 ≥ 1
LPP2 x1 ≤ 0
1.5
LPP3
X1 = 0 , X2 = 2.5 X1 = 1 , X2 = 1.67 1 2𝑥1 + 3𝑥2 =7
Z = 10 Z = 11.7
x2 ≤ 2 x2 ≥ 3 0.5
LPP5 Fathomed Node 3𝑥1 + 2𝑥2 =5
X1 = 0 , X2 = 3 ⸪ Further branching cannot improve Z. 0
Infeasible 0 1 2 3 A4 5 6 7 8
Z = 12 𝑥1
LPP4
Fathomed Node
⸪ We got the integer solution.
6
Module 3.2
Non-Linear
Programming
Problem
(NLPP)
Integer Linear Programming
3
Integer Linear Programming
Necessary Condition -
To find the necessary condition for the maxima (or minima) value of Z,
a new function is formed by introducing Lagrangian multiplier 𝜆
𝐿 𝑥, 𝜆 = 𝑓 𝑥 + 𝜆 ∗ g 𝑥
Maximize/Minimize 𝐿 𝑋, 𝜆 = 𝑓 𝑥 + 𝜆 ∗ g 𝑥
S.T. X≥0
4
Integer Linear Programming
Necessary Condition
𝜕𝐿 𝜕𝐿
=0 and =0
∂𝑥 ∂𝜆
After solving these equations we get stationary points (x*, 𝜆*)
5
Integer Linear Programming Sufficient Condition – By Hessian Matrix
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
𝜕𝑥1 𝜕𝑥1 𝜕𝑥1 𝜕𝑥2 𝜕𝑥1 𝜕𝑥3
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
H= 𝜕𝑥2 𝜕𝑥1 𝜕𝑥2 𝜕𝑥2 𝜕𝑥2 𝜕𝑥3
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
𝜕𝑥3 𝜕𝑥1 𝜕𝑥3 𝜕𝑥2 𝜕𝑥3 𝜕𝑥3
f(x) →Minimum → All the minors are positive → D1 > 0, D2 > 0, D3 > 0
f(x) → Maximization → Minors have alternate sign, but first principal minor should
Lagrangian function,
L = f(x) - 𝜆g(x)
⸫ L= 6𝑥1 2 + 5𝑥2 2 - 𝜆 (𝑥1 +5𝑥2 − 7)
7
Integer Linear Programming Necessary Condition –
Taking partial derivative of L w.r.t. x1 , x2 and 𝜆
L= 6𝑥1 2 + 5𝑥2 2 - 𝜆 (𝑥1 +5𝑥2 − 7)
𝜕𝐿
= 12𝑥1 − 𝜆 = 0 → 𝑥1 = 𝜆/12
∂𝑥 1
𝜕𝐿
= 10𝑥2 − 5𝜆 = 0 → 𝑥2 = 𝜆/2
∂𝑥2
𝜕𝐿
= −(𝑥1 +5𝑥2 − 7) = 0 → 𝑥1 + 5𝑥2 = 7 ---(1)
∂𝜆
12 0
⸫ H=
0 10 9
Integer Linear Programming
12 0
H=
Find the principal minors by finding the determinants 0 10
12 0
Principal minor of order 2 = 120
0 10
10
Integer Linear Programming
Using the Lagrange’s multiplier method solve the following NLPP
Optimize 𝑍 = 4𝑥1 2 + 2𝑥2 2 + 𝑥3 2 - 4 𝑥1 𝑥2
S. T. 𝑥1 + 𝑥2 + 𝑥3 = 15
2𝑥1 − 𝑥2 + 2𝑥3 = 20
𝑥1 , 𝑥2 , 𝑥3 ≥ 0
Solution
f(x) = 4𝑥1 2 + 2𝑥2 2 + 𝑥3 2 - 4 𝑥1 𝑥2
g1(x) = 𝑥1 + 𝑥2 + 𝑥3 − 15
g2(x) = 2𝑥1 − 𝑥2 + 2𝑥3 − 20
Taking 𝜆 as the Lagrangian multiplier
Lagrangian function,
L = f(x) - 𝜆1g1(x) - 𝜆2g2(x)
⸫ L = 4𝑥1 2 + 2𝑥2 2 + 𝑥3 2 - 4 𝑥1 𝑥2 - 𝜆1 ( 𝑥1 + 𝑥2 + 𝑥3 − 15) - 𝜆2 (2𝑥1 − 𝑥2 + 2𝑥3 − 20)
11
Integer Linear Programming
Necessary Condition –
Taking partial derivative of L w.r.t. x1 , x2 , x3 , 𝜆1 and 𝜆2
L = 4𝑥1 2 + 2𝑥2 2 + 𝑥3 2 - 4 𝑥1 𝑥2 - 𝜆1 ( 𝑥1 + 𝑥2 + 𝑥3 − 15) - 𝜆2 (2𝑥1 − 𝑥2 + 2𝑥3 − 20)
𝜕𝐿
= 8𝑥1 − 4𝑥2 − 𝜆1 − 2𝜆2 = 0
∂𝑥1
𝜕𝐿
= 4𝑥2 − 4𝑥1 − 𝜆1 + 𝜆2 = 0
∂𝑥2
𝜕𝐿
= 2𝑥3 − 𝜆1 − 2𝜆2 = 0
∂𝑥3
𝜕𝐿
= −(𝑥1 + 𝑥2 + 𝑥3 − 15) = 0
∂𝜆1
𝜕𝐿
= −(2𝑥1 − 𝑥2 + 2𝑥3 − 20) = 0
∂𝜆2
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
𝜕𝑥1 𝜕𝑥1 𝜕𝑥1 𝜕𝑥2 𝜕𝑥1 𝜕𝑥3
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
H= 𝜕𝑥2 𝜕𝑥1 𝜕𝑥2 𝜕𝑥2 𝜕𝑥2 𝜕𝑥3
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
𝜕𝑥3 𝜕𝑥1 𝜕𝑥3 𝜕𝑥2 𝜕𝑥3 𝜕𝑥3
𝜕𝑓 𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
= 4𝑥2 − 4𝑥1 = −4 =4 =0
∂𝑥 2 𝜕𝑥2 𝜕𝑥1 𝜕𝑥2 𝜕𝑥2 𝜕𝑥2 𝜕𝑥3
𝜕𝑓 𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
= 2𝑥3 =0 =0 =2
∂𝑥 3 𝜕𝑥3 𝜕𝑥1 𝜕𝑥3 𝜕𝑥2 𝜕𝑥3 𝜕𝑥3
13
Integer Linear Programming 8 −4 0
H = −4 4 0
0 0 2
Find the principal minors by finding the determinants
8 −4
Principal minor of order 2 = 32 − 16 = 16
−4 4
8 −4 0
Principal minor of order 3 −4 4 0 = 32
0 0 2
All the Principal minors are positive. D1 > 0, D2 > 0, D3 > 0
𝜕𝐾
= 0 → 10 – 4x1 - 2 𝜆 = 0 ---------(1)
∂𝑥1
𝜕𝐾
= 0 → 4 – 2x2 - 𝜆 = 0 ---------(2)
∂𝑥2
𝜆g = 0 → 𝜆 (2x1 + x2 – 5) = 0 --------(3)
x1 , x2 ≥ 0 ------------(5)
𝜆≥0 -----------(6)
Integer Linear Programming
From (3) → 𝜆 = 0 OR 2x1 + x2 – 5 = 0
Case – 1
Let 𝜆 = 0
Then, (1) → 10 = 4 x1 → x1 = 5/2
(2) → 4 = 2 x2 → x2 = 2
Equations (1), (2), (3), (5) and (6) are satisfied….. Need to check equation (4)
Substitute value of x1 = 5/2 and x2 = 2 in (4)
(4) → 2x1 + x2 ≤ 5
2(5/2) + 2 ≤ 5
7≤5
This is absurd ⸫ Reject the case.
Integer Linear Programming
Case – 2
Let, 2x1 + x2 = 5 -------(A)
From (1) and (2) eliminating 𝜆
Multiplying (2) by 2 and subtracting it from (1)
10 – 4x1 – 2 𝜆 = 0
-(8 – 4x2 - 2 𝜆) = 0
2 – 4x1 + 4x2 = 0 → 2x1 – 2x2 = 1 ---------(B)
Equations (1), (2), (3), (5) and (6) are satisfied….. Need to check equation (4)
Substitute value of x1 = 11/6 and x2 = 4/3 in (4)
Integer Linear Programming
(4) → 2x1 + x2 ≤ 5
2(11/6) + 4/3 ≤ 5
5≤5
𝜕𝐾
= 0 → 4x1 – 16 + 12x2 – 2 𝜆 = 0 ---------(1)
∂𝑥1
𝜕𝐾
= 0 → – 14x2 + 2 + 12x1- 5𝜆 = 0 ---------(2)
∂𝑥2
x1 , x2 ≥ 0 ------------(5)
𝜆≥0 -----------(6)
Integer Linear Programming
From (3) → 𝜆 = 0 OR 2x1 + 5x2 – 105 = 0
Case – 1
Let 𝜆 = 0
Then, (1) → 4 x1 + 12x2 = 16 x1 = 1
(2) → 12 x1 – 14x2 = –2 x2 = 1
Equations (1), (2), (3), (5) and (6) are satisfied….. Need to check equation (4)
Substitute value of x1 = 1 and x2 = 1 in (4)
(4) → 2x1 + 5x2 ≤ 105
2(1) + 5(1) ≤ 105
7 ≤ 105
⸫ Condition (4) is also satisfied.
Substituting the values of x1 = 1 and x2 = 1 in Z
Z = 2x12 – 7x22 – 16 x1 + 2 x2 + 12 x1 x2 + 7 = 0 → which is absurd (⸪ problem is of max.)
Integer Linear Programming
Case – 2
Let, 2x1 + 5x2 = 105 -------(A)
From (1) and (2) eliminating 𝜆
Multiplying (1) by 5 and (2) by 2 and subtracting (2) from (1)
20x1 – 80 + 60x2 – 10𝜆 = 0
– (24x1 + 4 – 28x2 – 10 𝜆) = 0
– 4x1 – 84 + 88x2 = 0 → – 2x1 – 42 + 44x2 = 0 ---------(B)
Equations (1), (2), (3), (5) and (6) are satisfied….. Need to check equation (4)
Substitute value of x1 = 45 and x2 = 3 in (4)
Integer Linear Programming
(4) → 2x1 + 5x2 ≤ 105
2(45) + 5(3) ≤ 105
105 ≤ 105
= 4900
Module 3.2
Non-Linear
Programming
Problem
(NLPP)
Integer Linear Programming
Simulation
It is the process of designing a model of a real system and conducting
experiments with the model for the purpose of understanding the behaviour
for the operating of the system.
A duplication of the original system.
To understand the implementation of the system.
2
Integer Linear Programming
Monte-Carlo Technique
• It is an experiment on chance.
• Uses random number and requires decision making under uncertainties.
5
Integer Linear Programming
6
Integer Linear Programming
Patient Arrival Service Service Duration Service Ends Waiting Idle Time
Start (Mins) (Mins)
1 8:00 8:00 60 9:00 0 0
2 8:30 9:00 15 9:15 30 0
3 9:00 9:15 45 10:00 15 0
4 9:30 10:00 45 10:45 30 0
5 10:00 10:45 45 11:30 45 0
6 10:30 11:30 15 11:45 60 0
7 11:00 11:45 45 12:30 45 0
8 11:30 12:30 45 1:15 60 0
7
MODM
Quadratic Programming
A Quadratic Programming problem is a non-linear programming problem
with a quadratic objective function and linear constraints.
𝑏1
𝑑11 𝑑12 ⋯ 𝑑1𝑛
𝑏2
𝐷= ⋮ ⋮ ⋱ ⋮ b=
⋮
𝑑𝑚1 𝑑𝑚2 ⋯ 𝑑𝑚𝑛
𝑏𝑚
MODM
1 0.5 2.5 𝑥1
f(x) = 𝑥1 𝑥2 𝑥3 0.5 −2 −1 𝑥2
2.5 −1 0 𝑥3
4
MODM
−3 0 0 𝑥1
f(x) = 𝑥1 𝑥2 𝑥3 0 2 0 𝑥2
0 0 −3 𝑥3
1 0 𝑥1 𝑥1
f(x) = 𝑥1 𝑥2
𝑥2 + 1 −2 𝑥2 + 10
0 0
5
MODM
To check the definiteness of a function
The definiteness of a function f(x) depends on the nature of A in xT A x
We can use the matrix minor test or Eigen value test to check the definiteness
of a function.
6
MODM
A function f(x) = xT A x is
7
MODM
Decide the definiteness of the function
f(x) = -3 x12 + 2 x22 – 3x32 – 10 x1x2 + 4 x2x3 + 6 x1x3
Solution –
Write the function as f(x) = xT A x
−3 −5 3 𝑥1
f(x) = 𝑥1 𝑥2 𝑥3 −5 2 2 𝑥2
3 2 −3 𝑥3
The Principal minors are,
𝐷1 = −3 = −3 ˂ 0
−3 −5
𝐷2 = = −31 ˂ 0
−5 2
−3 −5 3
Thus D1 < 0, D2 < 0, D3 > 0.
𝐷3 = −5 2 2 = 27 > 0
3 2 −3
This ensures that the function is indefinite.
8
MODM
Decide the definiteness of the function
f(x) = 2 + 2x1 + 3 x2 - x12 - x22
Solution –
Write the function in the form,
−1 0 𝑥1 𝑥1
f(x) = 𝑥1 𝑥2 𝑥 + 2 3 𝑥 +2
0 −1 2 2
By matrix minor test – D1 = -1 ˂ 0 ; D2 = 1 > 0
Alternate sign with first sign negative ⸫ Negative definite.
By Eigen value test – Eigen values are -1 , -1
Both are negative ⸫ Negative definite.
9
MODM
i) Wolfe’s method
ii) Beale’s method
10
MODM
4 0
Find the quadratic form of matrix A =
0 3
Solution –
Quadratic form, f(x) = xT A x
4 0 𝑥1
𝑥1 𝑥2
0 3 𝑥2
𝑥1 𝑥2 4𝑥1 + 0𝑥2
(0𝑥1 + 3𝑥2)
𝑥1 𝑥2 4𝑥1
3𝑥2
4x12 + 3x22
11
MODM
4 −5 7
Find the quadratic form of matrix A = −5 −6 8
7 8 −9
Solution –
Quadratic form, f(x) = xT A x
4 −5 7 𝑥1
f(x) = 𝑥1 𝑥2 𝑥3 −5 −6 8 𝑥2
7 8 −9 𝑥3
(4𝑥1 − 5𝑥2 + 7𝑥3 )
f(x) = 𝑥1 𝑥2 𝑥3 (−5𝑥1 − 6𝑥2 + 8𝑥3 )
(7𝑥1 + 8𝑥3 − 9𝑥3 )
f(x)=(4𝑥12 − 5𝑥1 𝑥2 + 7𝑥1 𝑥3 )+(−5𝑥1 𝑥2 − 6𝑥22 + 8𝑥2 𝑥3 )+(7𝑥1 𝑥3 + 8𝑥2 𝑥3 − 9𝑥32 )
f(x)=4𝑥12 − 6𝑥22 − 9𝑥32 − 10𝑥1 𝑥2 + 14𝑥1 𝑥3 + 16𝑥2 𝑥3
12
MODM
Geometric Programming
• G. P. was developed by Duffin, Peterson & Zener.
• G. P. is used to minimize the functions that are in the form of POSYNOMIALS subject to
constraints of the same type.
• It differs from other optimization techniques in the way that it finds the optimal value of
the objective function first, instead of finding optimal values of the design variables first.
• It is advantageous in situations where the optimal value of the objective function may be
all that is of interest and the calculation of the optimum design vectors may be omitted.
2
MODM
The major disadvantage of G. P. is that it requires objective function and constraints in the
form of Posynomials.
Posynomials –
Consider for example the total cost as the objective function f(x) which is given by the sum
of several component costs Ui(x) as,
f(x) = U1 + U2 + --- + UN
In many cases, the component cost Ui can be expressed as power function of the type,
Ui = Ci x1a1i x2a2i --- xnani
where, coefficients Ci are positive constants
design parameters x1, x2, --- xn are positive variables
exponents aij are real constants (positive, negative or zero)
Function f(x), because of positive coefficients and variables and real exponents are called Posynomials.
3
MODM
4
MODM
Now,
Arithmetic mean ≥ Geometric mean
𝛿1 𝑢1 +𝛿2 𝑢2 +⋯𝛿𝑛 𝑢𝑛 𝛿 𝛿 𝛿
≥ 𝑢1 1 𝑢2 2 …𝑢𝑛𝑛
𝛿1 +𝛿2 +⋯+𝛿𝑛
𝛿
σ𝑛𝑖=1 𝛿𝑖 𝑢𝑖 ≥ ς𝑛𝑖=1 𝑢𝑖 𝑖 {𝛿1 + 𝛿2 + … +𝛿𝑛 = 1
Let, 𝑈𝑖 = 𝛿𝑖 𝑢𝑖 {Ɐ i
𝑈𝑖 𝛿𝑖 𝑈𝑖
σ𝑛𝑖=1 𝑈𝑖 ≥ 𝑛
ς𝑖=1 {⸪𝑢𝑖 =
𝛿𝑖 𝛿𝑖
5
MODM
𝑈1 𝑈2 𝑈𝑛
The equality hold when , = =… = K (say)
𝛿1 𝛿2 𝛿𝑛
From RHS
𝑛 𝑈𝑖 𝛿𝑖
ς𝑖=1 = 𝐾 𝛿1 𝐾 𝛿2 … 𝐾 𝛿𝑛 = 𝐾 (𝛿1 +𝛿2 + …+𝛿𝑛 ) = 𝐾
𝛿𝑖
LHS = RHS = K
⸫ Equality holds 6
MODM
1
Minimize 𝑓 𝑥 = 𝑥1 + 𝑥2 + ; 𝑥1 , 𝑥2 > 0
𝑥1 𝑥2
𝑓 𝑥 = 𝑈1 + 𝑈2 + 𝑈3
𝑈1 𝛿1 𝑈2 𝛿2 𝑈3 𝛿3 𝑈𝑖 𝛿𝑖
≥ {σ𝑛𝑖=1 𝑈𝑖 ≥ 𝑛
ς𝑖=1
𝛿1 𝛿2 𝛿3 𝛿𝑖
𝛿1 𝛿2 𝛿3
𝑥1 𝑥2 1
=
𝛿1 𝛿2 𝑥1 𝑥2 𝛿3
𝛿1 𝛿2 𝛿3
𝛿1 −𝛿3 𝛿2 −𝛿3
1 1 1
= 𝑥1 𝑥2
𝛿1 𝛿2 𝛿3
𝑥1 𝑥2 1
= =
1/3 1/3 (𝑥1 𝑥2 )1/3
𝑥1 = 𝑥2 and 𝑥1 𝑥2 2 = 1 𝑥1 3 =1 𝑥1 = 𝑥2 =1
9
MODM
Minimize 𝑓 𝑥 = 5x1 + 20x2 + 10x1-1x2-1 ; x1 , x2 ≥ 0
𝑓 𝑥 = 𝑈1 + 𝑈2 + 𝑈3
𝑈1 𝛿1 𝑈2 𝛿2 𝑈3 𝛿3 𝑈 𝑖 𝛿𝑖
≥ {σ𝑛𝑖=1 𝑈𝑖 ≥ 𝑛
ς𝑖=1
𝛿1 𝛿2 𝛿3 𝛿𝑖
𝛿1 𝛿2 𝛿3
5𝑥1 20𝑥2 10x1−1x2−1
=
𝛿1 𝛿2 𝛿3
𝛿1 𝛿2 𝛿3
𝛿1 −𝛿3 𝛿2 −𝛿3
5 20 10
= 𝑥1 𝑥2
𝛿1 𝛿2 𝛿3
1
𝑥1 = 4𝑥2 2𝑥2 = → 2𝑥1 𝑥2 2 = 1 8𝑥2 3 =1
𝑥1 𝑥2
⸫ 𝑥1 =2 𝑎𝑛𝑑 𝑥2 =1/2
12
MODM
Goal Programming
In goal programming, the goal is specified before solving the problem and the
LPP has to be solved in such a way that the particular specified goal is achieved.
Goal Models
• Goal Programming set some estimated targets for each goal and assign
priorities to them, i.e. to rank them in order of importance.
• In
the final solution all the goals may not be fulfilled to the fullest extent
however, the deviations will be the minimum possible.
MODM
A factory can manufacture 2 products A & B. The profit on one unit of A is
Rs. 80 and one unit of B is Rs. 40. The maximum demand of A is 6 units per
week and of B it is 8 units per week. The manufacturer has set up a goal of
achieving a profit of Rs. 640 per week. Formulate the problem as goal
programing and solve it.
Solution -
Let, x1 and x2 be the no. of units of A & B product per week respectively.
3 possibilities exists.
Goal will be …
i) Exactly achieved (u = 0 and v = 0)
ii) Overachieved (u = 0 and v > 0)
iii) Underachieved (u > 0 and v = 0)
4
𝐷
2 80𝑥1 + 40𝑥2 =640
𝑂 𝐴
0
0 1 2 3 4 5 6 7 8 9 10 𝑥1
MODM
If (x1, x2) falls in DEC, then profit is over and above 640. (u = 0 and v > 0)
If (x1, x2) falls in OADEB, then profit is less than 640. (u > 0 and v = 0)
MODM
Simplex Solution
Minimize Z' = u + v
S.T. 80 x1 + 40 x2 + u – v = 640
x1 + x3 = 6
x2 + x4 = 8
x1 , x2 , u, v ≥ 0
such that either u or v or both equal to zero
Cj 0 0 -1 -1 0 0
CB XB X1 X2 u v X3 X4 RHS Ɵ
-1 u 80 40 1 -1 0 0 640 8
0 X3 1 0 0 0 1 0 6 6
0 X4 0 1 0 0 0 1 8 ---
Cj – Zj 80 40 0 -2 0 0 -640
MODM
Cj 0 0 -1 -1 0 0
CB XB X1 X2 u v X3 X4 RHS Ɵ
-1 u 80 40 1 -1 0 0 640 8
0 X3 1 0 0 0 1 0 6 6
0 X4 0 1 0 0 0 1 8 ---
Cj – Zj 80 40 0 -2 0 0 -640
X1 enters ; X3 leaves ; u = u – 80 X1 ; X4 = X4
-1 u 0 40 1 -1 -80 0 160 4
0 X1 1 0 0 0 1 0 6 ---
0 X4 0 1 0 0 0 1 8 8
Cj – Zj 0 40 0 -2 -80 0 -160
X2 enters ; u leaves ; Divide u by 40 to get X2 ; X1 = X1 ; X4 = X4 – X2
0 X2 0 1 1/40 -1/40 -2 0 4
0 X1 1 0 0 0 1 0 6
0 X4 0 0 -1/40 1/40 2 1 4
Cj – Zj 0 0 -1 -1 0 0 0
No positive values in Cj – Zj ⸫ The solution is X1 = 6 and X2 = 4
MODM
Goal Programming Formulation (In General)
Minimize Z' = u + v
S. T. Z + u – v = Goal
σ𝑛𝑗=1 aij xj = bi
u, v, xj ≥ 0
with either u or v or both equal to zero
Solution –
Expressing the given problem in goal problem Adding slack variables, the problem is expressed as
Minimize Z' = u Minimize Z' = u
S.T. 120 x1 + 90 x2 + u – v = 2100 S.T. 120 x1 + 90 x2 + u – v = 2100
6x1 + 3x2 ≤ 90 6x1 + 3x2 + x3 = 90
3x1 + 6x2 ≤ 72 3x1 + 6x2 + x4 = 72
x1, x2, u, v ≥ 0 x1, x2, u, v, x3, x4 ≥ 0
Such that either u or v or both equal to zero. Such that either u or v or both equal to zero.
MODM
Cj 0 0 -1 0 0 0
CB XB X1 X2 u v X3 X4 RHS Ɵ
-1 u 120 90 1 -1 0 0 2100 17.5
0 X3 6 3 0 0 1 0 90 15
0 X4 3 6 0 0 0 1 72 24
Cj – Z j 120 90 0 -1 0 0 -2100
X1 enters ; X3 leaves ; Divide X3 by 6 to get X1 ; u = u – 120 X1 ; X4 = X4 - 3X1
-1 u 0 30 1 -1 -20 0 300 10
0 X1 1 ½ 0 0 1/6 0 15 30
0 X4 0 4.5 0 0 -0.5 1 27 6
Cj – Z j 0 30 0 -1 -20 0 -300
X2 enters ; X4 leaves ; Divide X4 by 4.5 to get X2 ; u = u – 30 X2 ; X1 = X1 – 1/2 X2
-1 u 0 0 1 -1 -16.67 -6.66 120
0 X1 1 0 0 0 0.222 -0.111 12
0 X2 0 1 0 0 -0.111 0.222 6
Cj – Z j 0 0 0 -1 -16.67 -6.66 -120
No positive values in Cj – Zj ⸫ The algorithm terminates. The solution is X1 = 12 ; X2 = 6 and u = 120
MODM
In the previous example, the company sets two equally ranked goals, one to reach a profit goal of Rs. 1500
and other to meet a radio goal of 10. Find the optimal solution.
Solution –
Let, u1 = amount by which the profit goal is underachieved
v1 = amount by which the profit goal is overachieved
u2 = amount by which the radio goal is underachieved
v2 = amount by which the radio goal is overachieved
Goal programming model can be formulated as,
Minimize Z' = u1 + u2
S.T. 120 x1 + 90 x2 + u1 – v1 = 1500
x1 + u2 – v2 = 10
6x1 + 3x2 ≤ 90
3x1 + 6x2 ≤ 72
x1, x2, u1, v1, u2, v2 ≥ 0
Such that either u1 or v1 or both equal to zero
and either u2 or v2 or both equal to zero
MODM
Adding slack variables to assembly & finishing department constraints.
Minimize Z' = u1 + u2
S.T. 120 x1 + 90 x2 + u1 – v1 = 1500
x1 + u2 – v2 = 10
6x1 + 3x2 + x3 = 90
3x1 + 6x2 + x4 = 72
x1, x2, u1, v1, u2, v2, x3, x4 ≥ 0
Such that either u1 or v1 or both equal to zero
and either u2 or v2 or both equal to zero
Cj 0 0 -1 0 -1 0 0 0
CB XB X1 X2 u1 v1 u2 v2 X3 X4 RHS Ɵ
-1 u1 120 90 1 -1 0 0 0 0 1500 12.5
-1 u2 1 0 0 0 1 -1 0 0 10 10
0 X3 6 3 0 0 0 0 1 0 90 15
0 X4 3 6 0 0 0 0 0 1 72 24
Cj – Zj 121 90 0 -1 0 -1 0 0 -1510
X1 enters ; u2 leaves ; Divide u2 by key element to get X1 ; u1 = u1 – 120 X1 ; X3 = X3 - 6X1 ; X4 = X4 - 3X1
MODM
Cj 0 0 -1 0 -1 0 0 0
CB XB X1 X2 u1 v1 u2 v2 X3 X4 RHS Ɵ
-1 u1 0 90 1 -1 -120 120 0 0 300 2.5
0 X1 1 0 0 0 1 -1 0 0 10 ---
0 X3 0 3 0 0 -6 6 1 0 30 5
0 X4 0 6 0 0 -3 3 0 1 42 14
Cj – Zj 0 90 0 -1 -121 120 0 0 -300
v2 enters ; u1 leaves ; Divide u1 by key element to get v2 ; X1 = X1 + v2 ; X3 = X3 - 6v2 ; X4 = X4 - 3v2
0 v2 0 3/4 1/120 -1/120 -1 1 0 0 5/2
0 X1 1 3/4 1/120 -1/120 0 0 0 0 25/2
0 X3 0 -3/2 -1/20 1/20 0 0 1 0 15
0 X4 0 15/4 -1/40 1/40 0 0 0 1 69/2
Cj – Zj 0 0 -1 0 -1 0 0 0 0
No positive values in Cj – Zj ⸫ The algorithm terminates. The solution is X1 = 25/2 ; X2 = 0 and v2 = 5/2
MODM
The main concept is to break the problems into sub-problems (called stages) and
combine their solutions to get the solution of larger problem.
MODM
The optimal policy must be one such that, regardless of how a particular
state is reached, all later decisions preceding from that state must be
optimal.
3
MODM
Use D.P. to solve the following problem Stage 2 - f2(K2) = min {x22 + f1(K1)}
x3 = K3 / 3 = 15 / 3 = 5
K2 = K3 – x3 = 15 – 5 = 10
x2 = K2 / 2 = 10 / 2 = 5
K1 = K2 – x2 = 10 – 5 = 5
x1 = K1 = 5
⸫ x1 = x2 = x3 = 5 & Z = f3(K3) = 75
5
MODM
Use D.P. to solve the following problem Stage 2 - f2(K2) = max {y2 f1(K1)}
Maximize Z = y1y2y3 = max {y2 K1}
S.T. y1 + y2 + y3 = 5 = max {y2 (K2 – y2)}
y1, y2, y3 ≥ 0 Differentiate w.r.t. y2 and equate it to zero
y2 (–1) + (1) (K2 – y2) = 0 → y2 = K2 / 2
Solution – Substituting the value of y2 in the equation of f2(K2)
State Variables K3 = y1 + y2 + y3 = 5 ⸫ f2(K2) = K2 / 2 (K2 - K2 / 2 ) = K22 / 4
K2 = y1 + y2 = K3 – y3
Stage 3 - f3(K3) = max {y3 f2(K2)}
K1 = y1 = K2 – y2 = max {y3 K22 / 4}
Stage 1 - = max{y3 (K3 – y3)2 / 4}
f1(K1) = max {y1} = K1 Differentiate w.r.t. y3 and equate it to zero
¼ {1 (K3 – y3)2 – y3 2 (K3 – y3)} = 0 → y3 = K3/3
6
MODM
Now, we know that K3 = 5
y3 = K3 / 3 = 5 / 3
K2 = K3 – y3 = 5 – 5 / 3 = 10 / 3
y2 = K2 / 2 = (10 / 3) / 2 = 5 / 3
K1 = K2 – y2 = 10 / 3 – 5 / 3 = 5 / 3
y1 = K1 = 5 / 3
7
Module 4
MODM
Introduction to Non-traditional
Optimization Techniques
• Genetic Algorithms (GA)
It is not the strongest of the species that survives, nor the most intelligent,
but the one most responsive to change.
0 1 0 1 0 Chromosomes
0 Gene
MODM
Maximize the function f(x) = x2 Condition – x value from 0-31
Step 1: Select Encoding type
Convert number to Binary Value
0- 00000 (𝑢) − 𝑥 (𝑙)
𝑥
31- 11111 2𝑞 ≥
∆𝑥
Thus length of chromosome is 5
2 1100|0 2 1100|1
New Chromosomes
1 0110|1 1 0110|0
2 11|000 2 11011
4 10|011 4 10000
MODM
Step 6 : Evaluation of offspring
Step 7 : Mutation
It is defined as a random tweak in the chromosome which also promotes the idea of diversity.
Perform the mutation by doing a random tweak in the chromosome number 3
1 1 0 1 1 1 1 1 1 1 ⸫ x = 31
f(x) = 961
MODM
Termination Conditions
There are different termination conditions, which are listed below:
Fitness Assignment
Selection
Crossover GA Operators
Mutation
No
Yes
Evaluation of offspring Termination criteria Stop
met?
MODM
Difference between GA and Traditional methods of Optimization
A population of points is used for starting the procedure instead of a single design
point. Since several points are used as candidate solutions, GA are less likely to get
trapped at a local optimum.
GA use only the values of the objective function. The derivatives are not used in the
search procedure.
In GA, the search method is naturally applicable for solving discrete and integer
programming problems. For continuous design variables, the string length can be
varied to achieve any desired resolution.
The objective function value corresponding to a design vector pays the role of fitness
in natural genetics.
In every generation, a new set of strings is produced by using randomized parent
selection & crossover from the old generation. GA find a new generation with better
fitness or objective function value.
11
Module 4
MODM
Particle Swarm Optimization (PSO)
Kennedy & Eberhart (1995)
• PSO is based on the behaviour of a colony or swarm of insects such as ants, termites,
bees and wasps; a flock of birds or a school of fish.
• The particle denotes a bee in a colony or a bird in a flock. Each particle or individual in
a swarm behaves in a distributed way using its own intelligence and the collective or
group intelligence of the swarm.
2
MODM
• Inthe context of multivariable optimization, the swarm is assumed to be of
specified or fixed size with each particle located initially at random locations in
the multidimensional design space.
• Each particle is assumed to have two characteristics –
i) position
ii) velocity
• Each particle wanders around in the design space and remembers the best position
(in terms of food) it has discovered.
• The particles communicate information or good positions to each other and adjust
their individual positions & velocities based on the information received on the
good positions.
3
MODM
• Each bird in a flock follows the following simple rules;
1. It tries not to come too close to other birds.
2. It steers towards the average direction of other birds.
3. It tries to fit the average position between other birds with no wide gaps in the
flock.
• Thus the model simulates a random search in the design space for the
maximum value of the objective function. As such, gradually over many
iterations, the birds go to the target .
5
MODM
Computational Implementation of PSO
• Velocity of the particle j in the ith iteration
Vj(i) = Ɵ Vj(i - 1) + c1r1 [Pbest j – Xj(i - 1)] + c2r2 [Gbest – Xj(i - 1)]
• The iterative process is continued until all the particles converge to same optimal solution.
6
Module 4
MODM
Simulated Annealing
• The SA method is based on the simulation of thermal annealing of critically heated solids.
• When a metal is brought into a molten state by heating it to a high temperature, the atoms
in the molten metal move freely with respect to each other.
• Asthe temperature reduces, the atoms tend to get ordered and finally form crystals having
the minimum possible internal energy. The process of formation of crystals essentially
depends on the cooling rate.
MODM
The process of Annealing
3
MODM
• When the temperature of the molten metal is reduced at a very fast rate, it may not
be able to achieve the crystalline state; instead, it may attain a polycrystalline state
having a higher energy state compared to that of the crystalline state.
4
MODM
Procedure
The SA method simulates the process of slow cooling of molten metal to achieve
the minimum function value in a minimization problem.
The cooling phenomenon of the molten metal is simulated by introducing a
temperature like parameter and controlling it using the concept of Boltzmann’s
probability distribution.
It implies that the energy (E) of a system in thermal equilibrium at temperature (T)
is distributed probabilistically according to the relation;
P(E) = e –E/KT
where, P(E) denotes the probability of achieving the energy level E
K is the Boltzmann’s constant
5
MODM
• Athigh temperatures the system has nearly a uniform probability of being at
any energy state; however; at low temperatures the system has a small
probability of being at a high energy state.
6
Module 5
a) Alternatives
b) Attributes
• All the elements in the decision table must be normalized to the same units,
so that all possible attributes in the decision problem can be considered.
MADM
Simple Additive Weighting (SAW) Method - (Fishburn - 1967)
• Also called the Weighted Sum Method (WSM).
• Each attribute is given a weight, and the sum of all weights must be 1.
• Each alternative is assessed with regard to every attribute.
• The overall or composite performance score of an alternative is given
by equation
• A beneficial attribute (e.g., profit) means its higher measures are more
desirable for the given decision-making problem and normalized values are
calculated by (mij)K/(mij)L
• A non-beneficial attribute (e.g., cost) is that for which the lower measures
are desirable, and the normalized values are calculated by (mij)L/(mij)K
• (mij)K is the measure of the attribute for the K-th alternative, and (mij)L is
the measure of the attribute for the L-th alternative.
MADM
A person has to select a house from given 3 alternatives he has. He considers 3
attributes of price, near to market and near to school with weights as 0.625,
0.125 and 0.25 respectively. Select the best alternative of house by SAW
method.
House 1
House 2 House 3
MADM
Alternative/Criteria Price (Rs. Lakhs) Near Market (Km) Near School (Km)
House 1 100 1.5 2.75
House 2 140 1.0 3.5
House 3 80 1.7 3.0
Alternative/Criteria Price (Rs. Lakhs) Near Market (Km) Near School (Km)
House 1 0.80 0.66 1.00
House 2 0.57 1.00 0.78
House 3 1.00 0.58 0.91
MADM
The overall or composite performance Alternative/ Price (Rs. Near Market Near School
Criteria Lakhs) (Km) (Km)
score of an alternative is given by
equation House 1 0.80 0.66 1.00
House 2 0.57 1.00 0.78
House 3 1.00 0.58 0.91
Weights 0.625 0.125 0.25
P1 = 0.4217
P2 = 0.4020 P5 = 0.5991
P3 = 0.7081 P6 = 0.5352
P4 = 0.5008 P7 = 0.3635
MADM
The values of Pi are arranged in descending order as given below
0.7081
• The alternative with the highest Pi value is considered the best alternative.
MADM
A person has to select a house from given 3 alternatives he has. He considers 3
attributes of price, near to market and near to school with weights as 0.625,
0.125 and 0.25 respectively. Select the best alternative of house by WPM
method.
Alternative/Criteria Price (Rs. Lakhs) Near Market (Km) Near School (Km)
House 1 100 1.5 2.75
House 2 140 1.0 3.5
House 3 80 1.7 3.0
Alternative/Criteria Price (Rs. Lakhs) Near Market (Km) Near School (Km)
House 1 0.80 0.66 1.00
House 2 0.57 1.00 0.78
House 3 1.00 0.58 0.91
MADM
The overall or composite performance Alternative/ Price (Rs. Near Market Near School
Criteria Lakhs) (Km) (Km)
score of an alternative is given by
equation House 1 0.80 0.66 1.00
House 2 0.57 1.00 0.78
House 3 1.00 0.58 0.91
Weights 0.625 0.125 0.25
7
MADM
7
Normalized data of cutting fluid attributes
MADM
Similarly,
P2 = 0.6306 P3 = 0.8864 P4 = 0.6750 P5 = 0.8990
Ranking –
P5 → P3 → P1 → P4 → P2
Module 5
• AHP can efficiently deal with tangible (i.e., objective) as well as non-
tangible (i.e., subjective) attributes.
MADM
The main procedure of AHP using the radical root method (also called the
geometric mean method) is as follows
• The judgements are entered using the fundamental scale of the analytic
hierarchy process (Saaty 1980).
• An attribute compared with itself is always assigned the value 1, so the main
diagonal entries of the pair-wise comparison matrix are all 1.
• Determine the maximum Eigen value 𝜆max that is the average of matrix A4.
• Obtain the random index (RI) for the number of attributes used in decision
making. Refer to Table
Random index (RI) values
MADM
• Consistency Ratio
CR = CI/RI
• The relative mode can be used when decision makers have prior knowledge
of the attributes for different alternatives to be used, or when objective data
of the attributes for different alternatives to be evaluated are not available.
• The absolute mode is used when data of the attributes for different
alternatives to be evaluated are readily available. In the absolute mode, CI is
always equal to 0, and complete consistency in judgements exists, since the
exact values are used in the comparison matrices.
MADM
Step 3: The next step is to compare the alternatives pair-wise with respect
to how much better (i.e., more dominant) they are in satisfying each of
the attributes.
𝐺𝑀𝑗 = 3.8
𝑗=1
MADM
• A3 = A1 * A2
1 5 3 0.63 1.88
1Τ 1 1Τ
5 3 0.10 = 0.31
1Τ 3 1 0.25 0.76
3
• A4 = A3 / A2
1.88 0.63 2.98
0.31 ÷ 0.10 = 3.10
0.76 0.25 3.04
0.8 0.66 1
0.57 1 0.78
1 0.58 0.91
MADM 0.8 0.66 1
0.57 1 0.78
1 0.58 0.91
0.63 0.10 0.25
• Obtain the overall scores for the alternatives by multiplying the relative
normalized weight (w ) of each attribute with its corresponding normalized
j
weight value for each alternative, and summing over the attributes for each
alternative.
House 1 = 0.8 X 0.63 + 0.66 X 0.10 + 1 X 0.25 = 0.83
House 2 = 0.57 X 0.63 + 1 X 0.10 + 0.78 X 0.25 = 0.65
House 3 = 1 X 0.63 + 0.58 X 0.10 + 0.91 X 0.25 = 0.91
Figure 1 Figure 2
MADM
Five strip-layout selection attributes were identified relevant to the case, and these were:
economical material utilization (Ur), die cost (Dc), stamping operational cost (Oc), required
production rate (Pr) and job accuracy (Ja). Table presents the estimated quantitative values of
Ur, Dc, Oc, Pr, and assigned qualitative values of Ja. Ur, Pr, and Ja are beneficial attributes,
and higher values of these attributes are desired for the given stamping operation. Dc and Oc
are the non-beneficial attributes, and lower values of these attributes are desired for the
given stamping operation.
MADM
Let the decision maker prepare the following matrix:
Ur, Pr, and Ja are considered as equally important. These three attributes are
considered as moderately more important than Dc, and strongly more
important than Oc, and the relative importance values are assigned
accordingly in the above matrix. Rank the strip layouts according to AHP.
MADM
Solution -
According to the Decision Maker, the relative importance of different
attributes are,
𝐺𝑀𝑗 = 6.07
𝑗=1
MADM
• A3 = A1 * A2
1 3 5 1 1 0.28 1.34
1Τ 1 3 1Τ 1Τ
3 3 3 0.10 0.49
1Τ
5
1Τ
3 1 1Τ
5
1Τ
5 0.04 = 0.24
1 3 5 1 1 0.28 1.34
1 3 5 1 1 0.28 1.34
• A4 = A3 / A2
1.34 0.28 4.78
0.49 0.10 4.9
0.24 ÷ 0.04 = 6
1.34 0.28 4.78
1.34 0.28 4.78
Layout Ur Dc Oc Pr Ja
a 0.65 1.00 0.69 0.53 1.00
b 1.00 0.87 0.65 0.80 0.75
c 0.82 0.80 1.00 1.00 0.75
d 0.80 0.78 0.60 0.83 0.50
e 0.77 0.77 0.56 0.73 0.50
f 0.77 0.76 0.77 0.72 0.50
MADM
• Obtain the overall scores for the alternatives by multiplying the relative
normalized weight (w ) of each attribute with its corresponding normalized
j
weight value for each alternative, and summing over the attributes for each
alternative.
The method is based on the concept that the chosen alternative should
have the shortest Euclidean distance from the ideal solution and the
farthest from the negative ideal solution.
MADM
Procedure
1) Determine the objective and identify the pertinent evaluation
attributes.
𝑉𝑖𝑗 = 𝑟𝑖𝑗 ∗ 𝑤𝑗
6) Obtain the ideal (Best) and Negative ideal (Worst) solution from
the weighted normalized matrix
𝑉𝑗+ indicates ideal (Best) value
𝑉𝑗− indicates Negative ideal (Worst) value
(Based on beneficial and non beneficial attributes)
MADM
Procedure
7) Compute the separation measure
The separation of each alternative from the ideal one is given by
the Euclidean distance in the following equations
𝑛
+ 2
𝑆𝑖+ = 𝑉𝑖𝑗 − 𝑉𝑗
𝑗=1
𝑛
− 2
𝑆𝑖− = 𝑉𝑖𝑗 − 𝑉𝑗
𝑗=1
MADM
Procedure
8) Determine the relative closeness of a particular alternative to the ideal
solution.
𝑆𝑖−
𝑃𝑖 = +
𝑆𝑖 + 𝑆𝑖−
Attributes
𝑥𝑖𝑗
Alternatives
𝑟𝑖𝑗 =
TC R LC C σ 𝑥𝑖𝑗 2
M1 0.46 0.61 0.54 0.52
M2 0.52 0.47 0.48 0.46
M3 0.59 0.41 0.48 0.59
M4 0.39 0.47 0.48 0.39
Step 6 Obtain the ideal (Best) and ideal Negative (Worst) solution
(TC, R, LC are beneficial while C is non beneficial)
𝑉𝑗+ = 0.059 0.244 0.162 0.078
𝑉𝑗− = 0.039 0.164 0.144 0.118
MADM
Step 7 Compute the Separation Measure for each Alternative 𝑉𝑖𝑗 = 𝑟𝑖𝑗 ∗ 𝑤𝑗
0.091 0.019
0.060 0.047
MADM
Step 8 Relative Closeness to the Ideal Solution. 0.029 0.084
𝑆𝑖−
0.058 0.040
𝑃𝑖 = 0.091 0.019
𝑆𝑖+ + 𝑆𝑖− 0.060 0.047
0.74
0.41
0.17
0.45
Pi,a1a2 = 𝐺𝑖 𝑐𝑖 𝑎1 − 𝑐𝑖 𝑎2
П𝑎1𝑎2 = σ𝑀
𝑖=1 𝑤𝑖 Pi,a1a2
MADM
Methodology
• For PROMETHEE outranking relations, the leaving flow, entering
flow and the net flow for an alternative a belonging to a set of
alternatives A are defined by the following equations:
ᵠ (a) =
+
σ𝑥ԑ𝐴 П𝑥𝑎 ᵠ+(ai) is called the leaving flow
ᵠ-
(a) gives the outranked character of ‘a’ (i.e. degree to which
alternative ‘a’ is dominated by all other alternatives).
The net flow, ᵠ (a) represents a value function, whereby a higher value
reflects a higher attractiveness of alternative ‘a’. The net flow values are
used to indicate the outranking relationship between the alternatives.
MADM
A person has to select a house from given 3 alternatives he has. He considers 3
attributes of price, near to market and near to school with weights as 0.625,
0.125 and 0.25 respectively. Select the best alternative of house by
PROMETHEE method.
Alternative/Criteria Price (Rs. Lakhs) Near Market (Km) Near School (Km)
House 1 100 1.5 2.75
House 2 140 1.0 3.5
House 3 80 1.7 3.0
Price Price
H1 H2 H3 H1 H2 H3
H1
--- 1 1 H1
--- 0.25 0.25
H2 0 --- 0 H2 0 --- 0
H3 0 1 --- H3 0 0.25 ---
MADM
П𝑎1𝑎2 = σ𝑀
𝑖=1 𝑤𝑖 Pi,a1a2
Price
H1 H2 H3 H1 H2 H3 ᵠ (a)
+
H1 --- 0.625 0
H1
--- 0.875 0.375 1.25
H2 0 --- 0
H3
0.625 0.625 --- H2 0.125 --- 0.125 0.25
N to M H1 H2 H3
H3 0.625 0.875 --- 1.50
H1 --- 0 0.125
ᵠ (a)
H2 0.125 --- 0.125 - 0.75 1.75 0.50
H3
0 0 ---
N to S H1 H2 H3
Net dominance = (Row value – Column value)
H1
--- 0.25 0.25
H2 0 --- 0 (0.5, -1.5, 1.0)
H3 0 0.25 --- Rank → House 3→ House 1→ House 2
MADM
Numerical -
The problem considering eight criteria and four alternative grinding fluids is shown
in Table. The eight criteria used to evaluate the four short-listed alternatives included
four machining process output variables wheel wear (WW), tangential force (TF),
grinding temperature (GT), and surface roughness (SR), and four cutting (i.e.
grinding) fluid properties and characteristics recyclability (R), toxic harm rate (TH),
environment pollution tendency (EP), and stability (S). The cutting fluid properties
and characteristics are expressed in linguistic terms.
MADM
The linguistic terms are converted to fuzzy scores and the objective data of
cutting fluid selection criteria is as shown in table.
• The end result is a robust design, a design that has minimum sensitivity to
variations in uncontrollable factors.
• In other words, it's the process of making sure that finished products maintain their
consistency even when factors interfere with the production process. Those factors
or variations in production are often called noise.
Response, or output of
the experiment.
Components of
Experimental
Design
DR. SAINATH, FCRIT. 13
Design of Experiments: Process
Verify predicted
Define problem Interpret results
results
Additional
Set objectives Data analysis experimentations
if required
Determine Conduct
responses and experiment and
factors data collection
Main Effect: It is the impact or influence of a single factor on the mean of the
response variable.
6. Interaction: It occurs when the influence of the one factor on the response variable
depends on one or more other factors.
f1 l11, l12
F1 L11, L12
F1 L11, L12, L13, L14…. f2 l 21, l 22 F2 L21, L22
F2 L21, L22, L23, L24…. vs. … …
F3 L31, L32, L33, L34…. … …
Fn Ln1, Ln2
fn ln1, ln 2
Many levels
Many factors
2k factorial design
Trial A B C Trial A B C
1 Lo Lo Lo 1 -1 -1 -1
2 Lo Lo Hi 2 -1 -1 +1
3 Lo Hi Lo 3 -1 +1 -1
4 Lo Hi Hi 4 -1 +1 +1
5 Hi Lo Lo 5 +1 -1 -1
6 Hi Lo Hi 6 +1 -1 +1
7 Hi Hi Lo 7 +1 +1 -1
8 Hi Hi Hi 8 +1 +1 +1
A half-fraction is the design in which only four of the eight treatments are
run. The fraction is denoted as 2 3-1with the “-1 " in the index denoting a
half-fraction.
In the next figure: Assume that the treatments chosen for the half-fraction
design are the ones where the interaction ABC is at the high level (1). The
resulting 23-1 design has a design matrix.
I A B C AB AC BC ABC
1 -1 -1 1 1 -1 -1 1
No. of runs = 4 1 -1 1 -1 -1 1 -1 1
23-1 1 1 -1 -1 -1 -1 1 1
1 1 1 1 1 1 1 1
I=ABC
The column corresponding to the identity, I , and column corresponding
to the interaction, ABC are identical.
DR. SAINATH, FCRIT. 28
Design of Experiments: Terms: Quarter and Smaller Fraction Designs
I= ABCD
24-1
I=AD
24-2
Consider the L4 array shown in the next Figure. The L4 array is denoted
as L4(2^3).
L4 means the array requires 4 runs. 2^3 indicates that the design
estimates up to three main effects at 2 levels each. The L4 array can be
used to estimate three main effects using four runs provided that the
two factor and three factor interactions can be ignored.
L8 (2^7) L9 (3^4)
L4 (2^3)
The operating conditions for each parameter and level are listed below:
87.3+82.3+70.7
𝑦𝑖 = = 80.1
3