SlideShare a Scribd company logo
1 of 33
Download to read offline
Gomory’s Cutting Plane Method
PRESENTER
RAJESH PIRYANI
SOUTH ASIAN UNIVERSITY
Outline
1. Why Integer Programming
2. Introduction to All Integer Linear Programming Problem (AILP) and Mixed Integer Linear
Programming Problem (MILP)
3. Common Approach for solving AILP
4. Introduction to Gomory’s Cutting Plane Method
5. Derivation of Gomory’s Cutting Plane Method
6. Gomory’s Cutting Plane Method Algorithms
7. Explaination of Gomory’s Cutting Plane Method Algorithm with Example
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 2
Why Integer Programming
Production Problem
◦ Items being produced may be in complete units
◦ E.g. TV Sets of 21” and 29”
◦ Therefore fractional number of item have no meaning
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 3
IPP Expression
PROBLEM DEFINITION
𝑀𝑎𝑥 𝑧 = 𝑗=1
𝑛
𝑐𝑗 𝑥𝑗
subject to
𝑗=1
𝑛
𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖 (𝑖 = 1, … , 𝑚)
𝑥𝑗 ≥ 0 (j=1,…,n)
and
𝑥𝑗 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑓𝑜𝑟 𝑗1∁ 𝑗
where j={1,2, … ,n}
DEFINITION
All Integer LPP (AILP):- If all variable take
integer values only. (if 𝒋 𝟏 = 𝒋)
(slack & surplus variable take integer value)
Mixed Integer LPP (MILP):- If some but not
all variable of the problem are constrained
Integer values.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 4
IPP Example
EXAMPLE OF AILP
𝑀𝑎𝑥 𝑧 = 4𝑥1 + 3𝑥2
subject to
𝑥1 + 𝑥2 ≤ 8
2𝑥1 + 𝑥2 ≤ 10
𝑥1, 𝑥2 ≥ 0
and
𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
𝑥1 and 𝑥2 are non-negative integer
slack variable
𝑥3 = 8 − 𝑥1 − 𝑥2 &
𝑥4 = 10 − 2𝑥1 − 𝑥2
are also non-negative integer
if we consider 2nd constraints is given as:
2𝑥1 + 𝑥2 ≤ 10;
𝑥4 = 10 − 2𝑥1 − 𝑥2
Then this problem no more AILP. But MILP
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 5
Common Approach (Rounding off)
PROBLEM
𝑀𝑎𝑥 𝑧 = 21𝑥1 + 11𝑥2
subject to
7𝑥1 + 4𝑥2 ≤ 13
𝑥1, 𝑥2 ≥ 0
and
𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
The Feasible Set of discrete points
0,0 , 0,1 , 1,0 , 1,1 , 0,2 , 0,3 .
Lies inside feasible region, can be visualize in
figure
Optimal Soln. of ILP 𝑥1
∗
= 0, 𝑥2
∗
= 3, 𝑧∗
= 33
Optimal Soln. of LLP (𝑥1
∗
= 13/7, 𝑥2
∗
= 0, 𝑧∗
= 39)
Rounding LLP Soln. (𝑥1
∗
= 2, 𝑥2
∗
= 0, 𝑧∗
= 42),
two obj. fn are not close in any meaningful sense
Rounding off is not correct approach to solve ILP’s5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 6
Common Approach (Convex Hull)
PROBLEM
𝑀𝑎𝑥 𝑧 = 21𝑥1 + 11𝑥2
subject to
7𝑥1 + 4𝑥2 ≤ 13
𝑥1, 𝑥2 ≥ 0
and
𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
The Feasible Set of the given ILP is non convex, its convex hull is a
polytope whose corner points meet the integer requirements.
0,0 , 0,1 , 1,0 , 1,1 , 0,2 , 0,3 .
Lies inside feasible region, can be visualize in figure
Optimal Soln. of ILP 𝑥1
∗
= 0, 𝑥2
∗
= 3, 𝑧∗
= 33
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 7
Common Approach (Convex Hull)
PROBLEM (ILP EQUIVALENT TO SOLVING LPP)
𝑀𝑎𝑥 𝑧 = 𝑗=1
𝑛
𝑐𝑗 𝑥𝑗
subject to
(𝑥1, … , 𝑥 𝑛) ∈ 𝑆,
Where S is the polytope
𝑗=1
𝑛
𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖(𝑖 = 1, … , 𝑚)
𝑥𝑗 ≥ 0 (j=1,…,n)
and
𝑥𝑗 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑓𝑜𝑟 𝑗 ∈ 𝐽1∁ 𝐽 = {1, … , 𝑛}.
Optimal Soln. of ILP 𝑥1
∗
= 0, 𝑥2
∗
= 3, 𝑧∗
= 33
This method is perfectly valid except that there are
certain practical difficulties in getting the convex
hull. When Euclidean space is more than two or
three
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 8
Gomory’s Cutting Plane method for AILP
PROBLEM (ILP EQUIVALENT TO SOLVING LPP)
𝑀𝑎𝑥 𝑧 = 𝑐 𝑇
𝑥
subject to
𝐴𝑥 = 𝑏,
𝑥 ≥ 0
𝑥 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
𝐴, 𝑏 𝑎𝑛𝑑 𝑐 are integer,
The objective function is automatically constrained to be integer.
Let
(𝑳𝑷) 𝟏→ 𝑨𝒔𝒔𝒐𝒄𝒊𝒂𝒕𝒆𝒅 𝑳𝑷𝑷 𝒇𝒐𝒓 𝑨𝑰𝑳𝑷
𝒙(𝟏)
→ 𝑶𝒑𝒕𝒊𝒎𝒂𝒍 𝑺𝒐𝒍𝒖𝒕𝒊𝒐𝒏
(if all constrained are integer then it is optimal
solution.
Else according to Gomory,
A new constrained 𝒑 𝑻
𝒙 ≤ 𝒅 append to new
(𝑳𝑷) 𝟏 to get a new (𝑳𝑷) 𝟐
The basic purpose of the cut constrained
◦ Delete a part of the feasible region 𝑺 𝟏
◦ Don’t delete the points which have integer
coordinates
Finitely many cut constrained will be needed to
solve the given AILP.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 9
Gomory’s Cutting Plane method for AILP
DERIVATION OF THE GOMORY’S CUT
CONSTRAINT
𝑀𝑎𝑥 𝑧 = 𝑐 𝑇
𝑥
subject to
𝐴𝑥 = 𝑏,
𝑥 ≥ 0 (Eq. 1)
𝑨 = 𝑩: 𝑹 , 𝒙 = 𝒄𝒐𝒍 𝒙 𝑩, 𝒙 𝑹 , 𝒄 = 𝒄𝒐𝒍(𝒄 𝑩 , 𝒄 𝑹)
𝐴𝑥 = 𝑏
𝐵: 𝑅
𝑥 𝐵
𝑥 𝑅
= 𝑏
𝐵𝑥 𝐵 + 𝑅𝑥 𝑅 = 𝑏
𝑥 𝐵 = 𝐵−1
𝑏 − 𝐵−1
𝑅𝑥 𝑅
𝒙 𝑩 𝒊
= 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓(𝒊 = 𝟏, … , 𝒎) (Eq.2)
𝑧 = 𝑐 𝑇
𝑥
= 𝑐 𝐵
𝑇
𝑥 𝐵 + 𝑐 𝑅
𝑇
𝑥 𝑅
= 𝑐 𝐵
𝑇
(𝐵−1
𝑏 − 𝐵−1
𝑥 𝑅) + 𝑐 𝑅
𝑇
𝑥 𝑅
= 𝑐 𝐵
𝑇
𝐵−1 𝑏 − (𝑐 𝐵
𝑇
𝐵−1 𝑅 − 𝑐 𝑅
𝑇
)𝑥 𝑅
Which can be written as
𝒙 𝑩 𝟎
= 𝒚 𝟎𝟎 − 𝒋∈𝑹 𝒚 𝟎𝒋 𝒙𝒋 (Eq. 3)
where
𝒙 𝑩 𝟎
= 𝒛, 𝒚 𝟎𝟎 = 𝒄 𝑩
𝑻
𝑩−𝟏 𝒃 & 𝒚 𝟎𝒋 = 𝒛𝒋 − 𝒄𝒋
𝒙 𝑩𝒊
= 𝒚𝒊𝟎 −
𝒋∈𝑹
𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒)
Where 𝒊 = 𝟎 refers to objective function and 𝒊 =
𝟏, … , 𝒎 refers to the m constraints.
𝒚 𝟎𝟎 → 𝒄𝒖𝒓𝒓𝒆𝒏𝒕 𝒐𝒃𝒋. 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝒚𝒊𝟎 𝒊 = 𝟏, … , 𝒎 → 𝒄𝒖𝒓𝒓𝒆𝒏𝒕 𝒃. 𝒇. 𝒔.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 10
Gomory’s Cutting Plane method for AILP
DERIVATION OF THE GOMORY’S CUT
CONSTRAINT
𝑨𝑰𝑳𝑷 𝑹𝒆𝒑𝒓𝒔𝒆𝒏𝒕𝒂𝒕𝒊𝒐𝒏 𝑀𝑎𝑥 𝑧 = 𝑐 𝑇
𝑥
subject to
𝐴𝑥 = 𝑏,
𝑥 ≥ 0, 𝑥 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 (Eq. 0)
𝑨𝒔𝒔𝒐𝒄𝒊𝒂𝒕𝒆𝒅 𝑳𝑷𝑷
𝑀𝑎𝑥 𝑧 = 𝑐 𝑇
𝑥
subject to
𝐴𝑥 = 𝑏, 𝑥 ≥ 0 (Eq. 1)
𝒙 𝑩 𝒊
= 𝒚𝒊𝟎 −
𝒋∈𝑹
𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒)
This holds for any feasible solution of LPP (Eq. 1) and (Eq. 0)
If for any real number a
Fractional part 𝒇 𝒂 = 𝒂 − 𝒂
[𝒂] → 𝒈𝒓𝒆𝒂𝒕𝒆𝒔𝒕 𝒊𝒏𝒕𝒆𝒈𝒆𝒓 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏
𝟎 ≤ 𝒇 𝒂 < 𝟏
For 𝒂 = −𝟏 𝒇 𝒂 = 𝟎
But 𝒂 = −𝟏. 𝟔,
𝒇 𝒂 = −𝟏. 𝟔 − −𝟏. 𝟔 = −𝟏. 𝟔 − −𝟐 = 𝟎. 𝟒
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 11
Gomory’s Cutting Plane method for AILP
𝒙 𝑩 𝒊
= 𝒚𝒊𝟎 −
𝒋∈𝑹
𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒)
𝒋∈𝑹
𝒚𝒊𝒋 𝒙𝒋 +
𝒋∈𝑹
𝒚𝒊𝒋 − 𝒚𝒊𝒋 𝒙𝒋 + 𝒙 𝑩 𝒊
= 𝒚𝒊𝟎 + (𝒚𝒊𝟎 − [𝒚𝒊𝟎])
i.e.
𝒋∈𝑹
[𝒚𝒊𝒋] 𝒙𝒋 + 𝒙 𝑩 𝒊
− 𝒚𝒊𝟎 = 𝒚𝒊𝟎 − 𝒚𝒊𝟎 −
𝒋∈𝑹
𝒚𝒊𝒋 − 𝒚𝒊𝒋 𝒙𝒋
i.e.
𝒋∈𝑹
[𝒚𝒊𝒋] 𝒙𝒋 + 𝒙 𝑩 𝒊
− 𝒚𝒊𝟎 = 𝒇𝒊𝟎 −
𝒋∈𝑹
𝒇𝒊𝒋 𝒙𝒋 (𝑬𝒒. 𝟓)
(Eq. 5) holds for all feasible points of points LPP (Eq. 0) and for the given AILP.
Therefore the R.H.S must also be integer.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 12
Gomory’s Cutting Plane method for AILP
𝑓𝑖0 −
𝑗∈𝑅
𝑓𝑖𝑗 𝑥𝑗
𝑖 = 0 included because for the AILP, the objective function is also constrained to be integer.
𝑁𝑜𝑤 𝑓𝑖𝑗 ≥ 0 𝑎𝑛𝑑 𝑥𝑗 ≥ 0 𝑓𝑜𝑟 𝑗 ∈ 𝑅. 𝑇ℎ𝑒𝑟𝑒𝑓𝑜𝑟𝑒
𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 ≥ 0 (Eq. 6)
𝑓𝑖0 < 1 𝑎𝑛𝑑 𝐸𝑞. 6 𝑔𝑖𝑣𝑒𝑠
𝑓𝑖0 − 𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 < 1 is an integer
𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎 (Eq. 7)
The inequality (Eq. 7) is satisfied by every integer feasible point of the given AILP.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 13
Gomory’s Cutting Plane method for AILP
If current b.f.s. 𝒙 𝑩 is not an integer. It doesn’t meet the requirement of AILP.
In that case, inequality is not satisfied.
“ It certainly deletes a part of the feasible region of the associated LLP ( at least the current
b.f.s. 𝒙 𝑩 and may be more points) but does not delete any feasible point with integer co-
ordinates. Hence it is valid cut constraint and it is called Gomory’s cut constraint”
−𝑓𝑖0= 𝑠𝑖 −
𝑗∈𝑅
𝑓𝑖𝑗 𝑥𝑗
Append this to associated LPP, (𝐿𝑃)1 to get the new LPP (𝐿𝑃)2 Therefore we solve
(𝐿𝑃)2 𝑎𝑛𝑑 𝑟𝑒𝑝𝑒𝑎𝑡 𝑡ℎ𝑒 𝑝𝑟𝑜𝑐𝑒𝑑𝑢𝑟𝑒.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 14
Stepwise Description
Step 1: Solve the associated LLP, say (𝑳𝑷) 𝟏,by the simplex method. Set 𝒌 = 𝟏
Step 2:
◦ If the optimal solution obtained at Step 1 is integer
◦ Stop
◦ Otherwise go to Step3
Step 3: For any updated constraint 𝒊 whose 𝒚𝒊𝟎 value is fractional (including 𝒊 = 𝟎, i.e. obj. fun.)
◦ Generate Gomory’s cut constraint as given at (6.13).
◦ Select the value of 𝒊, 𝟎 ≤ 𝒊 ≤ 𝒎 for which 𝒇𝒊𝟎 value is maximum.
◦ Theoretically we can choose any i for which 𝒇𝒊𝟎 > 𝟎 but the maximum of 𝒇𝒊𝟎 is chosen with the hope that it may give a
deeper cut
Step 4: Append the Gomory’s cut constraint derived at Step 3 above the (𝑳𝑷) 𝒌 to get the new LPP
(𝑳𝑷) 𝒌+𝟏 .
◦ Solve by the dual simplex method and return to Step2
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 15
Theorem
“The number of Gomory’s cut constraints needed to solve any
instance of all integer linear programming (AILP) problem is
always finite”
As the no. of cut constraints needed is always finite, we are solving
only finitely many LPP to get an optimal solution of the given AILP.
But unfortunately, even for a problem of “average” size, the no. of
cut constraints needed may be ‘too many’ as AILP belongs to the
class of Hard Problem.
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 16
Example
CONSIDER THE INTEGER LPP
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2
subject to
2𝑥1 + 2𝑥2 ≤ 9
3𝑥1 + 𝑥2 ≤ 11
𝑥1, 𝑥2 ≥ 0
𝑥1, 𝑥2integer
THE GIVEN ILP IS EQUIVALENT TO
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4
subject to
2𝑥1 + 2𝑥2 + 𝑥3 = 9
3𝑥1 + 𝑥2 + 𝑥4 = 11
𝑥1, 𝑥2, 𝑥3, 𝑥4 ≥ 0
all integer
𝑥3 = 9 − 2𝑥1 − 2𝑥2 and
𝑥4 = 11 − 3𝑥1 − 𝑥2
𝑥1, 𝑥2 𝑎𝑟𝑒 𝑖𝑛𝑡𝑒𝑔𝑒𝑟, 𝑠𝑜 𝑥3, 𝑥4 𝑎𝑟𝑒 𝑎𝑙𝑠𝑜 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 17
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒
𝒛 0 -5 -2 0 0
𝒙 𝟑 9 2 2 1 0
𝒙 𝟒 11 3 1 0 1
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒
𝒛 18.33 0 -0.33 0 1.67
𝒙 𝟑 1.67 0 1.33 1 -0.67
𝒙 𝟏 3.67 1 0.33 0 0.33
Example
FIRST ITERATION (LP1)
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4
subject to
2𝑥1 + 2𝑥2 + 𝑥3 = 9
3𝑥1 + 𝑥2 + 𝑥4 = 11
𝑥1, 𝑥2, 𝑥3, 𝑥4 ≥ 0
all integer
𝑥3 = 9 − 2𝑥1 − 2𝑥2 and
𝑥4 = 11 − 3𝑥1 − 𝑥2
𝑥1, 𝑥2 𝑎𝑟𝑒 𝑖𝑛𝑡𝑒𝑔𝑒𝑟, 𝑠𝑜 𝑥3, 𝑥4 𝑎𝑟𝑒 𝑎𝑙𝑠𝑜 𝑖𝑛𝑡𝑒𝑔𝑒𝑟
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒
𝒛 18.75 0 0 0.25 1.5
𝒙 𝟐 1.25 0 1 0.75 -0.5
𝒙 𝟏 3.25 1 0 -0.25 0.5
(𝑧𝑗−𝑐𝑗)
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 18
Geometrical Representation
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 19
Geometrical Representation
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 20
Finding Gomory’s Cut Constraint
FINDING GOMORY’S CUT
Gomory cut constraint by choosing value of i for which
𝑓𝑖0 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑚𝑜𝑠𝑡. In table we can see
𝒇 𝟎𝟎 𝒊𝒔 𝒎𝒐𝒔𝒕 𝒑𝒐𝒔𝒊𝒕𝒊𝒗𝒆
𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎
𝑓00 − 𝑓03 𝑥3 − 𝑓04 𝑥4 ≤ 0
0.75 − 0.25𝑥3 − 0.5𝑥4 ≤ 0
0.75 − 0.25𝑥3 − 0.5𝑥4 + 𝑠1 = 0
−𝟎. 𝟕𝟓 = 𝒔 𝟏 − 𝟎. 𝟐𝟓𝒙 𝟑 − 𝟎. 𝟓𝒙 𝟒
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒
𝒛 18.75 0 0 0.25 1.5
𝒙 𝟐 1.25 0 1 0.75 -0.5
𝒙 𝟏 3.25 1 0 -0.25 0.5
New Constrained in 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐 𝑓𝑜𝑟𝑚
𝑥3 = 9 − 2𝑥1 − 2𝑥2
𝑥4 = 11 − 3𝑥1 − 𝑥2
0.25𝑥3 + 0.5𝑥4 ≥ 0.75
0.25 9 − 2𝑥1 − 2𝑥2 + 0.5(11 − 3𝑥1 − 𝑥2) ≥ 0.75
𝟐𝒙 𝟏 + 𝒙 𝟐 ≤ 𝟕
(𝑧𝑗−𝑐𝑗) ≥ 0
𝑓00
𝑓10
𝑓20
𝟎 ≤ 𝒇 𝒂 < 𝟏
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 21
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 22
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 23
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 24
Second Iteration (LP2)
DUAL SIMPLEX METHOD
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 + 0𝑠1
subject to
2𝑥1 + 2𝑥2 + 𝑥3 = 9
3𝑥1 + 𝑥2 + 𝑥4 = 11
−0.25𝑥3 − 0.5𝑥4 + 𝑠1 = −0.75
𝑥1, 𝑥2, 𝑥3, 𝑥4, 𝑠1 ≥ 0
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏
𝒛 18.75 0 0 0.25 1.5 0
𝒙 𝟐 1.25 0 1 0.75 -0.5 0
𝒙 𝟏 3.25 1 0 -0.25 0.5 0
𝒔 𝟏 -0.75 0 0 -0.25 -0.5 1
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏
𝒛 18 0 0 0 1 1
𝒙 𝟐 -1 0 1 0 -2 3
𝒙 𝟏 4 1 0 0 1 -1
𝒙 𝟑 3 0 0 1 2 4
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏
𝒛 17.5 0 0.5 0 0 2.5
𝒙 𝟒 0.5 0 -0.5 0 1 -1.5
𝒙 𝟏 3.5 1 0.5 0 0 0.5
𝒙 𝟑 2 0 1 1 0 -1
By taking
constraint
directly in the
last Tableau
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 25
Finding Second Cut
FINDING GOMORY’S CUT
Gomory cut constraint by choosing value of i for which
𝑓𝑖0 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑚𝑜𝑠𝑡. In table we can see
𝒇 𝟎𝟎 = 𝒇 𝟏𝟎 = 𝒇 𝟐𝟎 = 𝟎. 𝟓 𝒊𝒔 𝒎𝒐𝒔𝒕 𝒑𝒐𝒔𝒊𝒕𝒊𝒗𝒆
So w can generate cut through 𝒛 𝒐𝒓 𝒙 𝟒 𝒐𝒓 𝒙 𝟏 we choose
𝒊 = 𝟎 𝒂𝒏𝒅 𝒅𝒆𝒓𝒊𝒗𝒆 𝒄𝒐𝒏𝒔𝒕𝒓𝒂𝒊𝒏𝒕
𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎
0.5 − 0.5𝑥2 − 0.5𝑠1 ≤ 0
0.5 − 0.5𝑥2 − 0.5𝑠1 + 𝑠2 = 0
−0.5 = 𝑠2 − 0.5𝑥2 − 0.5𝑠1
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏
𝒛 17.5 0 0.5 0 0 2.5
𝒙 𝟒 0.5 0 -0.5 0 1 -1.5
𝒙 𝟏 3.5 1 0.5 0 0 0.5
𝒙 𝟑 2 0 1 1 0 -1
New Constrained in 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐 𝑓𝑜𝑟𝑚
𝑥3 = 9 − 2𝑥1 − 2𝑥2
𝑥4 = 11 − 3𝑥1 − 𝑥2
𝟐𝒙 𝟏 + 𝒙 𝟐 ≤ 𝟕
𝒔 𝟏 = 𝟕 − 𝟐𝒙 𝟏 − 𝒙 𝟐
0.5𝑥2 + 0.5𝑠1 ≥ 0.5
0.5𝑥2 + 0.5(𝟕 − 𝟐𝒙 𝟏 − 𝒙 𝟐) ≥ 0.5
𝒙 𝟏 ≤ 𝟑
(𝑧𝑗−𝑐𝑗) ≥ 0
𝑓00
𝑓10
𝑓20
𝑓30
𝟎 ≤ 𝒇 𝒂 < 𝟏
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 26
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 27
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 28
Change in Geometry due to cut
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 29
Third Iteration (LP)3
DUAL SIMPLEX METHOD
𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 + 0𝑠1
subject to
2𝑥1 + 2𝑥2 + 𝑥3 = 9
3𝑥1 + 𝑥2 + 𝑥4 = 11
−0.25𝑥3 − 0.5𝑥4 + 𝑠1 = −0.75
−0.5 = 𝑠2 − 0.5𝑥2 − 0.5𝑠1
𝑥1, 𝑥2, 𝑥3, 𝑥4, 𝑠1 ≥ 0
Optimal Solution: (𝒙 𝟏
∗
= 𝟑, 𝒙 𝟐
∗
= 𝟏, 𝒛∗ = 𝟏𝟕)
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒔 𝟐
𝒛 17.5 0 0.5 0 0 2.5 0
𝒙 𝟒 0.5 0 -0.5 0 1 -1.5 0
𝒙 𝟏 3.5 1 0.5 0 0 0.5 0
𝒙 𝟑 2 0 1 1 0 -1 0
𝒔 𝟐 -0.5 0 -0.5 0 0 -0.5 1
𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒔 𝟐
𝒛 17 0 0 0 0 2 1
𝒙 𝟒 1 0 0 0 1 -1 -1
𝒙 𝟏 3 1 0 0 0 0 1
𝒙 𝟑 1 0 0 1 0 -2 2
𝒔 𝟐 1 0 1 0 0 1 -2
By taking
constraint
directly in the
last Tableau
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 30
Optimal point Geometrical
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 31
References
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 32
5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 33

More Related Content

What's hot

Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithmszamakhan
 
Integer Programming, Gomory
Integer Programming, GomoryInteger Programming, Gomory
Integer Programming, GomoryAVINASH JURIANI
 
Branch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingBranch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingKaivalya Shah
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Kapil Khatiwada
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithmsanas_elf
 
Finite State Machine by M. Arokiasamy
Finite State Machine by M. ArokiasamyFinite State Machine by M. Arokiasamy
Finite State Machine by M. ArokiasamyMark Arokiasamy
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORYavtarsingh
 
Numerical analysis m1 l3slides
Numerical analysis  m1 l3slidesNumerical analysis  m1 l3slides
Numerical analysis m1 l3slidesSHAMJITH KM
 
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)Muhammed Jiyad
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)Kamel Attar
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programmingcontact2kazi
 
An introduction to decision trees
An introduction to decision treesAn introduction to decision trees
An introduction to decision treesFahim Muntaha
 

What's hot (20)

Genetic algorithms
Genetic algorithmsGenetic algorithms
Genetic algorithms
 
Integer Programming, Gomory
Integer Programming, GomoryInteger Programming, Gomory
Integer Programming, Gomory
 
Branch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingBranch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear Programming
 
Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)Genetic_Algorithm_AI(TU)
Genetic_Algorithm_AI(TU)
 
Game theory
Game theoryGame theory
Game theory
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Genetic algorithm
Genetic algorithmGenetic algorithm
Genetic algorithm
 
Unit ii-1-lp
Unit ii-1-lpUnit ii-1-lp
Unit ii-1-lp
 
Finite State Machine by M. Arokiasamy
Finite State Machine by M. ArokiasamyFinite State Machine by M. Arokiasamy
Finite State Machine by M. Arokiasamy
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
Numerical analysis m1 l3slides
Numerical analysis  m1 l3slidesNumerical analysis  m1 l3slides
Numerical analysis m1 l3slides
 
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
Sensitivity analysis in linear programming problem ( Muhammed Jiyad)
 
Ga ppt (1)
Ga ppt (1)Ga ppt (1)
Ga ppt (1)
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
Operations Research - Game Theory
Operations Research - Game TheoryOperations Research - Game Theory
Operations Research - Game Theory
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 
Game theory
Game theoryGame theory
Game theory
 
An introduction to decision trees
An introduction to decision treesAn introduction to decision trees
An introduction to decision trees
 

Viewers also liked

Integer programming
Integer programmingInteger programming
Integer programmingChan Rizky
 
ITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programmingITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programmingFransiska Puteri
 
Network Problem CPM & PERT
Network Problem CPM &  PERTNetwork Problem CPM &  PERT
Network Problem CPM & PERTPulchowk Campus
 
Integer programming branch and bound
Integer programming   branch and boundInteger programming   branch and bound
Integer programming branch and boundAlejandro Angulo
 
5eme chap 10
5eme chap 105eme chap 10
5eme chap 10xgardeil
 
A software approach to mathematical programming
A software approach to mathematical programmingA software approach to mathematical programming
A software approach to mathematical programmingArian Razmi Farooji
 
Lp and ip programming cp 9
Lp and ip programming cp 9Lp and ip programming cp 9
Lp and ip programming cp 9M S Prasad
 
Global optimization
Global optimizationGlobal optimization
Global optimizationbpenalver
 
tourism industry analysis in 2014
 tourism industry analysis in 2014 tourism industry analysis in 2014
tourism industry analysis in 2014Namit Sahai
 
Thomas Cook service marketing
Thomas Cook service marketingThomas Cook service marketing
Thomas Cook service marketingLaura Dickson
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplexSHAMJITH KM
 

Viewers also liked (20)

Integer programming
Integer programmingInteger programming
Integer programming
 
ITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programmingITP UNS SEMESTER 2 Integer programming
ITP UNS SEMESTER 2 Integer programming
 
Network Problem CPM & PERT
Network Problem CPM &  PERTNetwork Problem CPM &  PERT
Network Problem CPM & PERT
 
Integer programming branch and bound
Integer programming   branch and boundInteger programming   branch and bound
Integer programming branch and bound
 
5eme chap 10
5eme chap 105eme chap 10
5eme chap 10
 
Tqm metrics
Tqm metricsTqm metrics
Tqm metrics
 
A software approach to mathematical programming
A software approach to mathematical programmingA software approach to mathematical programming
A software approach to mathematical programming
 
Lp and ip programming cp 9
Lp and ip programming cp 9Lp and ip programming cp 9
Lp and ip programming cp 9
 
Gurobi python
Gurobi pythonGurobi python
Gurobi python
 
ippseminar
ippseminarippseminar
ippseminar
 
Global optimization
Global optimizationGlobal optimization
Global optimization
 
EKMA4413 - Riset Operasi - Modul 3
EKMA4413 - Riset Operasi - Modul 3EKMA4413 - Riset Operasi - Modul 3
EKMA4413 - Riset Operasi - Modul 3
 
EKMA4413 - Riset Operasi - Modul 7
EKMA4413 - Riset Operasi - Modul 7EKMA4413 - Riset Operasi - Modul 7
EKMA4413 - Riset Operasi - Modul 7
 
EKMA4413 - Riset Operasi - Modul 8
EKMA4413 - Riset Operasi - Modul 8EKMA4413 - Riset Operasi - Modul 8
EKMA4413 - Riset Operasi - Modul 8
 
EKMA4413 - Riset Operasi - Modul 9
EKMA4413 - Riset Operasi - Modul 9EKMA4413 - Riset Operasi - Modul 9
EKMA4413 - Riset Operasi - Modul 9
 
EKMA4413 - Riset Operasi - Modul 2
EKMA4413 - Riset Operasi - Modul 2EKMA4413 - Riset Operasi - Modul 2
EKMA4413 - Riset Operasi - Modul 2
 
tourism industry analysis in 2014
 tourism industry analysis in 2014 tourism industry analysis in 2014
tourism industry analysis in 2014
 
EKMA4413 - Riset Operasi - Modul 6
EKMA4413 - Riset Operasi - Modul 6EKMA4413 - Riset Operasi - Modul 6
EKMA4413 - Riset Operasi - Modul 6
 
Thomas Cook service marketing
Thomas Cook service marketingThomas Cook service marketing
Thomas Cook service marketing
 
Numerical analysis dual, primal, revised simplex
Numerical analysis  dual, primal, revised simplexNumerical analysis  dual, primal, revised simplex
Numerical analysis dual, primal, revised simplex
 

Similar to Gomory's cutting plane method

Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingAnkit Garg
 
On the Configuration-LP of the Restricted Assignment Problem
On the Configuration-LP of the Restricted Assignment ProblemOn the Configuration-LP of the Restricted Assignment Problem
On the Configuration-LP of the Restricted Assignment ProblemArash Pourdamghani
 
GraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGábor Szárnyas
 
Grds international conference on pure and applied science (5)
Grds international conference on pure and applied science (5)Grds international conference on pure and applied science (5)
Grds international conference on pure and applied science (5)Global R & D Services
 
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020KyuhanLee4
 
12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptxAqeelAbbas94
 
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approach
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial ApproachPREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approach
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approachahmet furkan emrehan
 
Directed Optimization on Pareto Frontier
Directed Optimization on Pareto FrontierDirected Optimization on Pareto Frontier
Directed Optimization on Pareto FrontiereArtius, Inc.
 
Sampling method : MCMC
Sampling method : MCMCSampling method : MCMC
Sampling method : MCMCSEMINARGROOT
 
Wenying Yan Heuristics for Truck Scheduling at Cross Docking Terminals
Wenying Yan Heuristics for Truck Scheduling at Cross Docking TerminalsWenying Yan Heuristics for Truck Scheduling at Cross Docking Terminals
Wenying Yan Heuristics for Truck Scheduling at Cross Docking TerminalsWenying Yan
 
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdf
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdfnewmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdf
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdfBiswajitPalei2
 
Lecture-1-Algorithms.pptx
Lecture-1-Algorithms.pptxLecture-1-Algorithms.pptx
Lecture-1-Algorithms.pptxxalahama3
 
Accelerated Bat Algorithm For Solving Integer Programming Problems
Accelerated Bat Algorithm For Solving Integer Programming ProblemsAccelerated Bat Algorithm For Solving Integer Programming Problems
Accelerated Bat Algorithm For Solving Integer Programming ProblemsTye Rausch
 
2021 1학기 정기 세미나 2주차
2021 1학기 정기 세미나 2주차2021 1학기 정기 세미나 2주차
2021 1학기 정기 세미나 2주차Moonki Choi
 
Mb0048 operations research
Mb0048 operations researchMb0048 operations research
Mb0048 operations researchsmumbahelp
 
Crude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationCrude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationBrenno Menezes
 
Computer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientComputer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientAhmed Gad
 

Similar to Gomory's cutting plane method (20)

Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
fuzzy logic
fuzzy logicfuzzy logic
fuzzy logic
 
On the Configuration-LP of the Restricted Assignment Problem
On the Configuration-LP of the Restricted Assignment ProblemOn the Configuration-LP of the Restricted Assignment Problem
On the Configuration-LP of the Restricted Assignment Problem
 
GraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queriesGraphBLAS: A linear algebraic approach for high-performance graph queries
GraphBLAS: A linear algebraic approach for high-performance graph queries
 
Issta13 workshop on debugging
Issta13 workshop on debuggingIssta13 workshop on debugging
Issta13 workshop on debugging
 
Grds international conference on pure and applied science (5)
Grds international conference on pure and applied science (5)Grds international conference on pure and applied science (5)
Grds international conference on pure and applied science (5)
 
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
"SSumM: Sparse Summarization of Massive Graphs", KDD 2020
 
12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx12-Lec - Repetition For Loop.pptx
12-Lec - Repetition For Loop.pptx
 
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approach
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial ApproachPREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approach
PREDICTION MODELS BASED ON MAX-STEMS Episode Two: Combinatorial Approach
 
Directed Optimization on Pareto Frontier
Directed Optimization on Pareto FrontierDirected Optimization on Pareto Frontier
Directed Optimization on Pareto Frontier
 
Sampling method : MCMC
Sampling method : MCMCSampling method : MCMC
Sampling method : MCMC
 
Wenying Yan Heuristics for Truck Scheduling at Cross Docking Terminals
Wenying Yan Heuristics for Truck Scheduling at Cross Docking TerminalsWenying Yan Heuristics for Truck Scheduling at Cross Docking Terminals
Wenying Yan Heuristics for Truck Scheduling at Cross Docking Terminals
 
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdf
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdfnewmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdf
newmicrosoftofficepowerpointpresentation-150826055944-lva1-app6891.pdf
 
Lecture-1-Algorithms.pptx
Lecture-1-Algorithms.pptxLecture-1-Algorithms.pptx
Lecture-1-Algorithms.pptx
 
Accelerated Bat Algorithm For Solving Integer Programming Problems
Accelerated Bat Algorithm For Solving Integer Programming ProblemsAccelerated Bat Algorithm For Solving Integer Programming Problems
Accelerated Bat Algorithm For Solving Integer Programming Problems
 
2021 1학기 정기 세미나 2주차
2021 1학기 정기 세미나 2주차2021 1학기 정기 세미나 2주차
2021 1학기 정기 세미나 2주차
 
Mb0048 operations research
Mb0048 operations researchMb0048 operations research
Mb0048 operations research
 
Crude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimizationCrude-Oil Scheduling Technology: moving from simulation to optimization
Crude-Oil Scheduling Technology: moving from simulation to optimization
 
Expectation maximization
Expectation maximizationExpectation maximization
Expectation maximization
 
Computer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and GradientComputer Vision: Correlation, Convolution, and Gradient
Computer Vision: Correlation, Convolution, and Gradient
 

More from Rajesh Piryani

Introduction to sentiment analysis
Introduction to sentiment analysisIntroduction to sentiment analysis
Introduction to sentiment analysisRajesh Piryani
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulationRajesh Piryani
 
Online Advertisements and the AdWords Problem
Online Advertisements and the AdWords ProblemOnline Advertisements and the AdWords Problem
Online Advertisements and the AdWords ProblemRajesh Piryani
 
(Project) Student grading system
(Project) Student grading system(Project) Student grading system
(Project) Student grading systemRajesh Piryani
 
Optics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureOptics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureRajesh Piryani
 
Agile software development
Agile software developmentAgile software development
Agile software developmentRajesh Piryani
 
(Paper Presentation) DSDV
(Paper Presentation) DSDV(Paper Presentation) DSDV
(Paper Presentation) DSDVRajesh Piryani
 
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
(Paper Presentation)ZIGZAG: An Efficient Peer-to-Peer Scheme forMedia Strea...(Paper Presentation)ZIGZAG: An Efficient Peer-to-Peer Scheme forMedia Strea...
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...Rajesh Piryani
 
Address Binding Scheme
Address Binding SchemeAddress Binding Scheme
Address Binding SchemeRajesh Piryani
 

More from Rajesh Piryani (10)

Introduction to sentiment analysis
Introduction to sentiment analysisIntroduction to sentiment analysis
Introduction to sentiment analysis
 
Monte carlo simulation
Monte carlo simulationMonte carlo simulation
Monte carlo simulation
 
Online Advertisements and the AdWords Problem
Online Advertisements and the AdWords ProblemOnline Advertisements and the AdWords Problem
Online Advertisements and the AdWords Problem
 
Hadoop
HadoopHadoop
Hadoop
 
(Project) Student grading system
(Project) Student grading system(Project) Student grading system
(Project) Student grading system
 
Optics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structureOptics ordering points to identify the clustering structure
Optics ordering points to identify the clustering structure
 
Agile software development
Agile software developmentAgile software development
Agile software development
 
(Paper Presentation) DSDV
(Paper Presentation) DSDV(Paper Presentation) DSDV
(Paper Presentation) DSDV
 
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
(Paper Presentation)ZIGZAG: An Efficient Peer-to-Peer Scheme forMedia Strea...(Paper Presentation)ZIGZAG: An Efficient Peer-to-Peer Scheme forMedia Strea...
(Paper Presentation) ZIGZAG: An Efficient Peer-to-Peer Scheme for Media Strea...
 
Address Binding Scheme
Address Binding SchemeAddress Binding Scheme
Address Binding Scheme
 

Recently uploaded

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 

Recently uploaded (20)

UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 

Gomory's cutting plane method

  • 1. Gomory’s Cutting Plane Method PRESENTER RAJESH PIRYANI SOUTH ASIAN UNIVERSITY
  • 2. Outline 1. Why Integer Programming 2. Introduction to All Integer Linear Programming Problem (AILP) and Mixed Integer Linear Programming Problem (MILP) 3. Common Approach for solving AILP 4. Introduction to Gomory’s Cutting Plane Method 5. Derivation of Gomory’s Cutting Plane Method 6. Gomory’s Cutting Plane Method Algorithms 7. Explaination of Gomory’s Cutting Plane Method Algorithm with Example 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 2
  • 3. Why Integer Programming Production Problem ◦ Items being produced may be in complete units ◦ E.g. TV Sets of 21” and 29” ◦ Therefore fractional number of item have no meaning 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 3
  • 4. IPP Expression PROBLEM DEFINITION 𝑀𝑎𝑥 𝑧 = 𝑗=1 𝑛 𝑐𝑗 𝑥𝑗 subject to 𝑗=1 𝑛 𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖 (𝑖 = 1, … , 𝑚) 𝑥𝑗 ≥ 0 (j=1,…,n) and 𝑥𝑗 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑓𝑜𝑟 𝑗1∁ 𝑗 where j={1,2, … ,n} DEFINITION All Integer LPP (AILP):- If all variable take integer values only. (if 𝒋 𝟏 = 𝒋) (slack & surplus variable take integer value) Mixed Integer LPP (MILP):- If some but not all variable of the problem are constrained Integer values. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 4
  • 5. IPP Example EXAMPLE OF AILP 𝑀𝑎𝑥 𝑧 = 4𝑥1 + 3𝑥2 subject to 𝑥1 + 𝑥2 ≤ 8 2𝑥1 + 𝑥2 ≤ 10 𝑥1, 𝑥2 ≥ 0 and 𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑥1 and 𝑥2 are non-negative integer slack variable 𝑥3 = 8 − 𝑥1 − 𝑥2 & 𝑥4 = 10 − 2𝑥1 − 𝑥2 are also non-negative integer if we consider 2nd constraints is given as: 2𝑥1 + 𝑥2 ≤ 10; 𝑥4 = 10 − 2𝑥1 − 𝑥2 Then this problem no more AILP. But MILP 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 5
  • 6. Common Approach (Rounding off) PROBLEM 𝑀𝑎𝑥 𝑧 = 21𝑥1 + 11𝑥2 subject to 7𝑥1 + 4𝑥2 ≤ 13 𝑥1, 𝑥2 ≥ 0 and 𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 The Feasible Set of discrete points 0,0 , 0,1 , 1,0 , 1,1 , 0,2 , 0,3 . Lies inside feasible region, can be visualize in figure Optimal Soln. of ILP 𝑥1 ∗ = 0, 𝑥2 ∗ = 3, 𝑧∗ = 33 Optimal Soln. of LLP (𝑥1 ∗ = 13/7, 𝑥2 ∗ = 0, 𝑧∗ = 39) Rounding LLP Soln. (𝑥1 ∗ = 2, 𝑥2 ∗ = 0, 𝑧∗ = 42), two obj. fn are not close in any meaningful sense Rounding off is not correct approach to solve ILP’s5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 6
  • 7. Common Approach (Convex Hull) PROBLEM 𝑀𝑎𝑥 𝑧 = 21𝑥1 + 11𝑥2 subject to 7𝑥1 + 4𝑥2 ≤ 13 𝑥1, 𝑥2 ≥ 0 and 𝑥1 𝑎𝑛𝑑 𝑥2 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 The Feasible Set of the given ILP is non convex, its convex hull is a polytope whose corner points meet the integer requirements. 0,0 , 0,1 , 1,0 , 1,1 , 0,2 , 0,3 . Lies inside feasible region, can be visualize in figure Optimal Soln. of ILP 𝑥1 ∗ = 0, 𝑥2 ∗ = 3, 𝑧∗ = 33 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 7
  • 8. Common Approach (Convex Hull) PROBLEM (ILP EQUIVALENT TO SOLVING LPP) 𝑀𝑎𝑥 𝑧 = 𝑗=1 𝑛 𝑐𝑗 𝑥𝑗 subject to (𝑥1, … , 𝑥 𝑛) ∈ 𝑆, Where S is the polytope 𝑗=1 𝑛 𝑎𝑖𝑗 𝑥𝑗 = 𝑏𝑖(𝑖 = 1, … , 𝑚) 𝑥𝑗 ≥ 0 (j=1,…,n) and 𝑥𝑗 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑓𝑜𝑟 𝑗 ∈ 𝐽1∁ 𝐽 = {1, … , 𝑛}. Optimal Soln. of ILP 𝑥1 ∗ = 0, 𝑥2 ∗ = 3, 𝑧∗ = 33 This method is perfectly valid except that there are certain practical difficulties in getting the convex hull. When Euclidean space is more than two or three 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 8
  • 9. Gomory’s Cutting Plane method for AILP PROBLEM (ILP EQUIVALENT TO SOLVING LPP) 𝑀𝑎𝑥 𝑧 = 𝑐 𝑇 𝑥 subject to 𝐴𝑥 = 𝑏, 𝑥 ≥ 0 𝑥 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝐴, 𝑏 𝑎𝑛𝑑 𝑐 are integer, The objective function is automatically constrained to be integer. Let (𝑳𝑷) 𝟏→ 𝑨𝒔𝒔𝒐𝒄𝒊𝒂𝒕𝒆𝒅 𝑳𝑷𝑷 𝒇𝒐𝒓 𝑨𝑰𝑳𝑷 𝒙(𝟏) → 𝑶𝒑𝒕𝒊𝒎𝒂𝒍 𝑺𝒐𝒍𝒖𝒕𝒊𝒐𝒏 (if all constrained are integer then it is optimal solution. Else according to Gomory, A new constrained 𝒑 𝑻 𝒙 ≤ 𝒅 append to new (𝑳𝑷) 𝟏 to get a new (𝑳𝑷) 𝟐 The basic purpose of the cut constrained ◦ Delete a part of the feasible region 𝑺 𝟏 ◦ Don’t delete the points which have integer coordinates Finitely many cut constrained will be needed to solve the given AILP. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 9
  • 10. Gomory’s Cutting Plane method for AILP DERIVATION OF THE GOMORY’S CUT CONSTRAINT 𝑀𝑎𝑥 𝑧 = 𝑐 𝑇 𝑥 subject to 𝐴𝑥 = 𝑏, 𝑥 ≥ 0 (Eq. 1) 𝑨 = 𝑩: 𝑹 , 𝒙 = 𝒄𝒐𝒍 𝒙 𝑩, 𝒙 𝑹 , 𝒄 = 𝒄𝒐𝒍(𝒄 𝑩 , 𝒄 𝑹) 𝐴𝑥 = 𝑏 𝐵: 𝑅 𝑥 𝐵 𝑥 𝑅 = 𝑏 𝐵𝑥 𝐵 + 𝑅𝑥 𝑅 = 𝑏 𝑥 𝐵 = 𝐵−1 𝑏 − 𝐵−1 𝑅𝑥 𝑅 𝒙 𝑩 𝒊 = 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓(𝒊 = 𝟏, … , 𝒎) (Eq.2) 𝑧 = 𝑐 𝑇 𝑥 = 𝑐 𝐵 𝑇 𝑥 𝐵 + 𝑐 𝑅 𝑇 𝑥 𝑅 = 𝑐 𝐵 𝑇 (𝐵−1 𝑏 − 𝐵−1 𝑥 𝑅) + 𝑐 𝑅 𝑇 𝑥 𝑅 = 𝑐 𝐵 𝑇 𝐵−1 𝑏 − (𝑐 𝐵 𝑇 𝐵−1 𝑅 − 𝑐 𝑅 𝑇 )𝑥 𝑅 Which can be written as 𝒙 𝑩 𝟎 = 𝒚 𝟎𝟎 − 𝒋∈𝑹 𝒚 𝟎𝒋 𝒙𝒋 (Eq. 3) where 𝒙 𝑩 𝟎 = 𝒛, 𝒚 𝟎𝟎 = 𝒄 𝑩 𝑻 𝑩−𝟏 𝒃 & 𝒚 𝟎𝒋 = 𝒛𝒋 − 𝒄𝒋 𝒙 𝑩𝒊 = 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒) Where 𝒊 = 𝟎 refers to objective function and 𝒊 = 𝟏, … , 𝒎 refers to the m constraints. 𝒚 𝟎𝟎 → 𝒄𝒖𝒓𝒓𝒆𝒏𝒕 𝒐𝒃𝒋. 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 𝒚𝒊𝟎 𝒊 = 𝟏, … , 𝒎 → 𝒄𝒖𝒓𝒓𝒆𝒏𝒕 𝒃. 𝒇. 𝒔. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 10
  • 11. Gomory’s Cutting Plane method for AILP DERIVATION OF THE GOMORY’S CUT CONSTRAINT 𝑨𝑰𝑳𝑷 𝑹𝒆𝒑𝒓𝒔𝒆𝒏𝒕𝒂𝒕𝒊𝒐𝒏 𝑀𝑎𝑥 𝑧 = 𝑐 𝑇 𝑥 subject to 𝐴𝑥 = 𝑏, 𝑥 ≥ 0, 𝑥 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 (Eq. 0) 𝑨𝒔𝒔𝒐𝒄𝒊𝒂𝒕𝒆𝒅 𝑳𝑷𝑷 𝑀𝑎𝑥 𝑧 = 𝑐 𝑇 𝑥 subject to 𝐴𝑥 = 𝑏, 𝑥 ≥ 0 (Eq. 1) 𝒙 𝑩 𝒊 = 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒) This holds for any feasible solution of LPP (Eq. 1) and (Eq. 0) If for any real number a Fractional part 𝒇 𝒂 = 𝒂 − 𝒂 [𝒂] → 𝒈𝒓𝒆𝒂𝒕𝒆𝒔𝒕 𝒊𝒏𝒕𝒆𝒈𝒆𝒓 𝒇𝒖𝒏𝒄𝒕𝒊𝒐𝒏 𝟎 ≤ 𝒇 𝒂 < 𝟏 For 𝒂 = −𝟏 𝒇 𝒂 = 𝟎 But 𝒂 = −𝟏. 𝟔, 𝒇 𝒂 = −𝟏. 𝟔 − −𝟏. 𝟔 = −𝟏. 𝟔 − −𝟐 = 𝟎. 𝟒 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 11
  • 12. Gomory’s Cutting Plane method for AILP 𝒙 𝑩 𝒊 = 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 𝒇𝒐𝒓 𝒊 = 𝟎, 𝟏, … , 𝒎 (𝑬𝒒. 𝟒) 𝒋∈𝑹 𝒚𝒊𝒋 𝒙𝒋 + 𝒋∈𝑹 𝒚𝒊𝒋 − 𝒚𝒊𝒋 𝒙𝒋 + 𝒙 𝑩 𝒊 = 𝒚𝒊𝟎 + (𝒚𝒊𝟎 − [𝒚𝒊𝟎]) i.e. 𝒋∈𝑹 [𝒚𝒊𝒋] 𝒙𝒋 + 𝒙 𝑩 𝒊 − 𝒚𝒊𝟎 = 𝒚𝒊𝟎 − 𝒚𝒊𝟎 − 𝒋∈𝑹 𝒚𝒊𝒋 − 𝒚𝒊𝒋 𝒙𝒋 i.e. 𝒋∈𝑹 [𝒚𝒊𝒋] 𝒙𝒋 + 𝒙 𝑩 𝒊 − 𝒚𝒊𝟎 = 𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 (𝑬𝒒. 𝟓) (Eq. 5) holds for all feasible points of points LPP (Eq. 0) and for the given AILP. Therefore the R.H.S must also be integer. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 12
  • 13. Gomory’s Cutting Plane method for AILP 𝑓𝑖0 − 𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 𝑖 = 0 included because for the AILP, the objective function is also constrained to be integer. 𝑁𝑜𝑤 𝑓𝑖𝑗 ≥ 0 𝑎𝑛𝑑 𝑥𝑗 ≥ 0 𝑓𝑜𝑟 𝑗 ∈ 𝑅. 𝑇ℎ𝑒𝑟𝑒𝑓𝑜𝑟𝑒 𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 ≥ 0 (Eq. 6) 𝑓𝑖0 < 1 𝑎𝑛𝑑 𝐸𝑞. 6 𝑔𝑖𝑣𝑒𝑠 𝑓𝑖0 − 𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 < 1 is an integer 𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎 (Eq. 7) The inequality (Eq. 7) is satisfied by every integer feasible point of the given AILP. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 13
  • 14. Gomory’s Cutting Plane method for AILP If current b.f.s. 𝒙 𝑩 is not an integer. It doesn’t meet the requirement of AILP. In that case, inequality is not satisfied. “ It certainly deletes a part of the feasible region of the associated LLP ( at least the current b.f.s. 𝒙 𝑩 and may be more points) but does not delete any feasible point with integer co- ordinates. Hence it is valid cut constraint and it is called Gomory’s cut constraint” −𝑓𝑖0= 𝑠𝑖 − 𝑗∈𝑅 𝑓𝑖𝑗 𝑥𝑗 Append this to associated LPP, (𝐿𝑃)1 to get the new LPP (𝐿𝑃)2 Therefore we solve (𝐿𝑃)2 𝑎𝑛𝑑 𝑟𝑒𝑝𝑒𝑎𝑡 𝑡ℎ𝑒 𝑝𝑟𝑜𝑐𝑒𝑑𝑢𝑟𝑒. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 14
  • 15. Stepwise Description Step 1: Solve the associated LLP, say (𝑳𝑷) 𝟏,by the simplex method. Set 𝒌 = 𝟏 Step 2: ◦ If the optimal solution obtained at Step 1 is integer ◦ Stop ◦ Otherwise go to Step3 Step 3: For any updated constraint 𝒊 whose 𝒚𝒊𝟎 value is fractional (including 𝒊 = 𝟎, i.e. obj. fun.) ◦ Generate Gomory’s cut constraint as given at (6.13). ◦ Select the value of 𝒊, 𝟎 ≤ 𝒊 ≤ 𝒎 for which 𝒇𝒊𝟎 value is maximum. ◦ Theoretically we can choose any i for which 𝒇𝒊𝟎 > 𝟎 but the maximum of 𝒇𝒊𝟎 is chosen with the hope that it may give a deeper cut Step 4: Append the Gomory’s cut constraint derived at Step 3 above the (𝑳𝑷) 𝒌 to get the new LPP (𝑳𝑷) 𝒌+𝟏 . ◦ Solve by the dual simplex method and return to Step2 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 15
  • 16. Theorem “The number of Gomory’s cut constraints needed to solve any instance of all integer linear programming (AILP) problem is always finite” As the no. of cut constraints needed is always finite, we are solving only finitely many LPP to get an optimal solution of the given AILP. But unfortunately, even for a problem of “average” size, the no. of cut constraints needed may be ‘too many’ as AILP belongs to the class of Hard Problem. 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 16
  • 17. Example CONSIDER THE INTEGER LPP 𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 subject to 2𝑥1 + 2𝑥2 ≤ 9 3𝑥1 + 𝑥2 ≤ 11 𝑥1, 𝑥2 ≥ 0 𝑥1, 𝑥2integer THE GIVEN ILP IS EQUIVALENT TO 𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 subject to 2𝑥1 + 2𝑥2 + 𝑥3 = 9 3𝑥1 + 𝑥2 + 𝑥4 = 11 𝑥1, 𝑥2, 𝑥3, 𝑥4 ≥ 0 all integer 𝑥3 = 9 − 2𝑥1 − 2𝑥2 and 𝑥4 = 11 − 3𝑥1 − 𝑥2 𝑥1, 𝑥2 𝑎𝑟𝑒 𝑖𝑛𝑡𝑒𝑔𝑒𝑟, 𝑠𝑜 𝑥3, 𝑥4 𝑎𝑟𝑒 𝑎𝑙𝑠𝑜 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 17
  • 18. 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒛 0 -5 -2 0 0 𝒙 𝟑 9 2 2 1 0 𝒙 𝟒 11 3 1 0 1 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒛 18.33 0 -0.33 0 1.67 𝒙 𝟑 1.67 0 1.33 1 -0.67 𝒙 𝟏 3.67 1 0.33 0 0.33 Example FIRST ITERATION (LP1) 𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 subject to 2𝑥1 + 2𝑥2 + 𝑥3 = 9 3𝑥1 + 𝑥2 + 𝑥4 = 11 𝑥1, 𝑥2, 𝑥3, 𝑥4 ≥ 0 all integer 𝑥3 = 9 − 2𝑥1 − 2𝑥2 and 𝑥4 = 11 − 3𝑥1 − 𝑥2 𝑥1, 𝑥2 𝑎𝑟𝑒 𝑖𝑛𝑡𝑒𝑔𝑒𝑟, 𝑠𝑜 𝑥3, 𝑥4 𝑎𝑟𝑒 𝑎𝑙𝑠𝑜 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒛 18.75 0 0 0.25 1.5 𝒙 𝟐 1.25 0 1 0.75 -0.5 𝒙 𝟏 3.25 1 0 -0.25 0.5 (𝑧𝑗−𝑐𝑗) 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 18
  • 21. Finding Gomory’s Cut Constraint FINDING GOMORY’S CUT Gomory cut constraint by choosing value of i for which 𝑓𝑖0 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑚𝑜𝑠𝑡. In table we can see 𝒇 𝟎𝟎 𝒊𝒔 𝒎𝒐𝒔𝒕 𝒑𝒐𝒔𝒊𝒕𝒊𝒗𝒆 𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎 𝑓00 − 𝑓03 𝑥3 − 𝑓04 𝑥4 ≤ 0 0.75 − 0.25𝑥3 − 0.5𝑥4 ≤ 0 0.75 − 0.25𝑥3 − 0.5𝑥4 + 𝑠1 = 0 −𝟎. 𝟕𝟓 = 𝒔 𝟏 − 𝟎. 𝟐𝟓𝒙 𝟑 − 𝟎. 𝟓𝒙 𝟒 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒛 18.75 0 0 0.25 1.5 𝒙 𝟐 1.25 0 1 0.75 -0.5 𝒙 𝟏 3.25 1 0 -0.25 0.5 New Constrained in 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐 𝑓𝑜𝑟𝑚 𝑥3 = 9 − 2𝑥1 − 2𝑥2 𝑥4 = 11 − 3𝑥1 − 𝑥2 0.25𝑥3 + 0.5𝑥4 ≥ 0.75 0.25 9 − 2𝑥1 − 2𝑥2 + 0.5(11 − 3𝑥1 − 𝑥2) ≥ 0.75 𝟐𝒙 𝟏 + 𝒙 𝟐 ≤ 𝟕 (𝑧𝑗−𝑐𝑗) ≥ 0 𝑓00 𝑓10 𝑓20 𝟎 ≤ 𝒇 𝒂 < 𝟏 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 21
  • 22. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 22
  • 23. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 23
  • 24. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 24
  • 25. Second Iteration (LP2) DUAL SIMPLEX METHOD 𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 + 0𝑠1 subject to 2𝑥1 + 2𝑥2 + 𝑥3 = 9 3𝑥1 + 𝑥2 + 𝑥4 = 11 −0.25𝑥3 − 0.5𝑥4 + 𝑠1 = −0.75 𝑥1, 𝑥2, 𝑥3, 𝑥4, 𝑠1 ≥ 0 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒛 18.75 0 0 0.25 1.5 0 𝒙 𝟐 1.25 0 1 0.75 -0.5 0 𝒙 𝟏 3.25 1 0 -0.25 0.5 0 𝒔 𝟏 -0.75 0 0 -0.25 -0.5 1 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒛 18 0 0 0 1 1 𝒙 𝟐 -1 0 1 0 -2 3 𝒙 𝟏 4 1 0 0 1 -1 𝒙 𝟑 3 0 0 1 2 4 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒛 17.5 0 0.5 0 0 2.5 𝒙 𝟒 0.5 0 -0.5 0 1 -1.5 𝒙 𝟏 3.5 1 0.5 0 0 0.5 𝒙 𝟑 2 0 1 1 0 -1 By taking constraint directly in the last Tableau 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 25
  • 26. Finding Second Cut FINDING GOMORY’S CUT Gomory cut constraint by choosing value of i for which 𝑓𝑖0 𝑖𝑠 𝑝𝑜𝑠𝑖𝑡𝑖𝑣𝑒 𝑚𝑜𝑠𝑡. In table we can see 𝒇 𝟎𝟎 = 𝒇 𝟏𝟎 = 𝒇 𝟐𝟎 = 𝟎. 𝟓 𝒊𝒔 𝒎𝒐𝒔𝒕 𝒑𝒐𝒔𝒊𝒕𝒊𝒗𝒆 So w can generate cut through 𝒛 𝒐𝒓 𝒙 𝟒 𝒐𝒓 𝒙 𝟏 we choose 𝒊 = 𝟎 𝒂𝒏𝒅 𝒅𝒆𝒓𝒊𝒗𝒆 𝒄𝒐𝒏𝒔𝒕𝒓𝒂𝒊𝒏𝒕 𝒇𝒊𝟎 − 𝒋∈𝑹 𝒇𝒊𝒋 𝒙𝒋 ≤ 𝟎 0.5 − 0.5𝑥2 − 0.5𝑠1 ≤ 0 0.5 − 0.5𝑥2 − 0.5𝑠1 + 𝑠2 = 0 −0.5 = 𝑠2 − 0.5𝑥2 − 0.5𝑠1 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒛 17.5 0 0.5 0 0 2.5 𝒙 𝟒 0.5 0 -0.5 0 1 -1.5 𝒙 𝟏 3.5 1 0.5 0 0 0.5 𝒙 𝟑 2 0 1 1 0 -1 New Constrained in 𝒙 𝟏 𝒂𝒏𝒅 𝒙 𝟐 𝑓𝑜𝑟𝑚 𝑥3 = 9 − 2𝑥1 − 2𝑥2 𝑥4 = 11 − 3𝑥1 − 𝑥2 𝟐𝒙 𝟏 + 𝒙 𝟐 ≤ 𝟕 𝒔 𝟏 = 𝟕 − 𝟐𝒙 𝟏 − 𝒙 𝟐 0.5𝑥2 + 0.5𝑠1 ≥ 0.5 0.5𝑥2 + 0.5(𝟕 − 𝟐𝒙 𝟏 − 𝒙 𝟐) ≥ 0.5 𝒙 𝟏 ≤ 𝟑 (𝑧𝑗−𝑐𝑗) ≥ 0 𝑓00 𝑓10 𝑓20 𝑓30 𝟎 ≤ 𝒇 𝒂 < 𝟏 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 26
  • 27. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 27
  • 28. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 28
  • 29. Change in Geometry due to cut 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 29
  • 30. Third Iteration (LP)3 DUAL SIMPLEX METHOD 𝑀𝑎𝑥 𝑧 = 5𝑥1 + 2𝑥2 + 0𝑥3 + 0𝑥4 + 0𝑠1 subject to 2𝑥1 + 2𝑥2 + 𝑥3 = 9 3𝑥1 + 𝑥2 + 𝑥4 = 11 −0.25𝑥3 − 0.5𝑥4 + 𝑠1 = −0.75 −0.5 = 𝑠2 − 0.5𝑥2 − 0.5𝑠1 𝑥1, 𝑥2, 𝑥3, 𝑥4, 𝑠1 ≥ 0 Optimal Solution: (𝒙 𝟏 ∗ = 𝟑, 𝒙 𝟐 ∗ = 𝟏, 𝒛∗ = 𝟏𝟕) 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒔 𝟐 𝒛 17.5 0 0.5 0 0 2.5 0 𝒙 𝟒 0.5 0 -0.5 0 1 -1.5 0 𝒙 𝟏 3.5 1 0.5 0 0 0.5 0 𝒙 𝟑 2 0 1 1 0 -1 0 𝒔 𝟐 -0.5 0 -0.5 0 0 -0.5 1 𝒙 𝟏 𝒙 𝟐 𝒙 𝟑 𝒙 𝟒 𝒔 𝟏 𝒔 𝟐 𝒛 17 0 0 0 0 2 1 𝒙 𝟒 1 0 0 0 1 -1 -1 𝒙 𝟏 3 1 0 0 0 0 1 𝒙 𝟑 1 0 0 1 0 -2 2 𝒔 𝟐 1 0 1 0 0 1 -2 By taking constraint directly in the last Tableau 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 30
  • 31. Optimal point Geometrical 5/8/2015 HTTPS://SITES.GOOGLE.COM/SITE/PIRYANIRAJESH/ 31