Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
We use cookies to improve your experience on our site and to show you relevant advertising. By browsing this website, you agree to our use of cookies. Learn more
Accept
Shift
Download Open
Manual
Home > Operation Research calculators > Integer Simplex method (Gomory's cutting
plane method) example
FIND FINANCING
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 1/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Algorithm
Integer simplex method (gomory's cutting plane method) Steps
(Rule)
Step-1: a. Formulate the integer LP problem
Gomory's constraint - f r = s g - ∑ f rx
Step-3: a. Now add this constraint to optimal simplex table.
Example-1
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 2/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Solution:
Problem is
Max Z = x 1 + x 2
subject to
3 x1 + 2 x2 ≤ 5
x2 ≤ 2
and x 1, x 2 ≥ 0; x 1, x 2 non-negative integers
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 3/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Iteration-1 Cj 1 1 0 0
MinRatio
CB XB x1 x2 S1 S2 XB
B
x1
5
S1 0 5 (3) 2 1 0 = 1.67 →
3
S2 0 2 0 1 0 1 ---
Z=0 Zj 0 0 0 0
Cj - Zj 1 ↑ 1 0 0
Minimum ratio is 1.67 and its row index is 1. So, the leaving basis variable is
S 1.
R 1(new) = R 1(old) ÷ 3
R 2(new) = R 2(old)
Iteration-2 Cj 1 1 0 0
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 4/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
MinRatio
B CB XB x1 x2 S1 S2 XB
x2
5
5 2 1 3
x1 1 1 0 = 2.5
3 3 3 2
3
2
S2 0 2 0 (1) 0 1 =2→
1
5 2 1
Z= Zj 1 0
3 3 3
1 1
Cj - Zj 0 ↑ - 0
3 3
1
Positive maximum C j - Z j is and its column index is 2. So, the entering
3
variable is x 2.
Minimum ratio is 2 and its row index is 2. So, the leaving basis variable is S 2.
R 2(new) = R 2(old)
2
R 1(new) = R 1(old)- R 2(new)
3
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 5/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Iteration-3 Cj 1 1 0 0
B CB XB x1 x2 S1 S2 MinRatio
1 1 2
x1 1 1 0 -
3 3 3
x2 1 2 0 1 0 1
7 1 1
Z= Zj 1 1
3 3 3
1 1
Cj - Zj 0 0 - -
3 3
Since all C j - Z j ≤ 0
7
Max Z =
3
1 1 2
= 1x 1 + S1 - S
3 3 3 2
( )
0+
1
3
= (1 + 0)x 1 + 0 +
( ) (
1
3
S1 + -1+
1
3 )
S2
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 6/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Adding this additional constraint at the bottom of optimal simplex table. The
new table so obtained is
Iteration-1 Cj 1 1 0 0 0
B CB XB x1 x2 S1 S2 Sg1
1 1 2
x1 1 1 0 - 0
3 3 3
x2 1 2 0 1 0 1 0
( )
1 1 1
Sg1 0 - 0 0 - - 1
3 3 3
7 1 1
Z= Zj 1 1 0
3 3 3
1 1
Cj - Zj 0 0 - - 0
3 3
Cj - Zj
Ratio = --- --- 1 ↑ 1 ---
Sg1, j
and Sg1, j < 0
1
Minimum negative X B is - and its row index is 3. So, the leaving basis
3
variable is Sg1.
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 7/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Minimum positive ratio is 1 and its column index is 3. So, the entering
variable is S 1.
1
∴ The pivot element is - .
3
1
Entering = S 1, Departing = Sg1, Key Element = -
3
R 3(new) = R 3(old) × - 3
1
R 1(new) = R 1(old)- R 3(new)
3
R 2(new) = R 2(old)
Iteration-2 Cj 1 1 0 0 0
B CB XB x1 x2 S1 S2 Sg1
x1 1 0 1 0 0 -1 1
x2 1 2 0 1 0 1 0
S1 0 1 0 0 1 1 -3
Z=2 Zj 1 1 0 0 1
Cj - Zj 0 0 0 0 -1
Since all C j - Z j ≤ 0
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 8/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
Max Z = 2
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 9/10
3/20/25, 6:43 AM Integer simplex method (gomory's cutting plane method) Algorithm & Example-1 (Pure integer)
.
.
https://cbom.atozmath.com/example/CBOM/Simplex.aspx?q=is&q1=E1 10/10