SlideShare a Scribd company logo
Big-M Method
Lesson Content Prepared by Dr. Mamatha S Upadhya.
The "big M-method" or the "method of penalties" due to A. Charnes,
INTRODUCTION: The LPPs in which constraints may also have (=)and (≥) signs after
ensuring that all 𝑏𝑖 ≥ 0. In such cases basis matrix cannot be obtained as an identity matrix in the
starting simplex table. Therefore, we introduce a new type of variable called artificial variable.
These variables are fictitious and cannot have any physical meaning. The artificial variable
technique is merely a device to get the starting basic feasible solution, so that the simplex
procedure may be adopted as usual until the optimum solution is obtained.
ALGORITHM
Step-1 : Express the linear programming problem in the standard form by introducing slack and/or
surplus variables, if any.
Step 2:
Introduce non-negative variables to the left hand side of all the constraints of (> or = ) type. These
variables are called artificial variables. The purpose of introducing artificial variables is just to
obtain an initial basic feasible solution. However, addition of these artificial variables causes
violation of the corresponding constraints. Therefore we would like to get rid of these variables
and would not allow them to appear in the optimum simplex table. To achieve this, we assign a
very large penalty ' — M ' to these artificial variables in the objective function, for maximization
objective function.
Step 3:
Solve the modified linear programming problem by simplex method, until any one of the three
cases may arise.
(i) If no artificial variable appears in the basis and the optimality conditions are satisfied,
then the current solution is an optimal basic feasible solution.
(ii) If at least one artificial variable is there in the basis at zero level and the optimality
condition is satisfied, then the current solution is an optimal basic feasible
solution(though degenerated)
(iii) If at least one artificial variable appears in the basis at positive level and the optimality
condition is satisfied, then the original problem has no feasible solution.
Note: while applying simplex method, whenever an artificial variable happens to leave the basis,
we drop that artificial variable and omit all the entries corresponding to its column from the
simplex table.
Illustration:
1. Solve by using Big-M method the following linear programming problem.
Maximize z = x1 + 5x2
Subject to
3x1 +4x2 ≤ 6
x1 + 3x2 ≥ 2
x1, x2 ≥ 0
Solution:
Converting inequalities to equalities
By introducing surplus variables, slack variables and artificial variables, the standard form of LPP
becomes
Maximize Z= x1 + 5x2 + 0S1 + 0S2 – MA1
Subject to
3x1 + 4x2 + S1 = 6
x1 + 3x2 – S2+ A1 = 2
x1 ≥ 0, x2 ≥ 0, S1 ≥ 0, S2 ≥ 0, A1≥ 0
where,
S1 is a slack variable
S2 is a surplus variable
A1 is an artificial variable.
Initial Table
Cj 1 5 0 0 –M
CB
Basic
variables
SB
x1 x2 S1 S2 A1
Solution
values
b (= XB)
Ratio Min
(
𝐗𝐁
𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏
)
0 S1 3 4 1 0 0 6
𝟔
𝟒
=1.5
–M A1 1 3 0 –1 1 2
𝟐
𝟑
=0.66
zj -M -3M 0 M -M
cj-zj 1+M 5+3M 0 -M 0
Key
Column
As M is a large positive number, Max (cj − zj ) is 5+3M , hence , x2 becomes a basic variable
in the next iteration.
Key column = x2 column.
Minimum (6/4, 2/3) = 2/3
Key row = A1 row
Pivot element (Key element )= 3.
A1 departs and x2 enters.
Iteration 2:
Note: The iteration just completed, artificial variable A1 was eliminated from the basis. The new
solution is shown in the following table.
Cj 1 5 0 0
CB
Basic
variables
SB
x1 x2 S1 S2
Solution
values
b (= XB)
Ratio Min
(
𝐗𝐁
𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏
)
0 S1
𝟓
𝟑
0 1
4
3
10
3
10/4 =2.5
5 x2
𝟏
𝟑
1 0 –
1
3
𝟐
𝟑
-Ve
zj
𝟓
𝟑
5 0 –
5
3
10
3
cj-zj -
𝟐
𝟑
0 0
𝟓
𝟑
Key
Column
Iteration 3:
Cj 1 5 0 0
CB
Basic
variables
SB
x1 x2 S1 S2
Solution
values
b (= XB)
Ratio Min
(
𝐗𝐁
𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏
)
0 S2
𝟓
𝟒
0
𝟑
𝟒
1
𝟓
𝟐
5 x2
𝟑
𝟒
1
𝟏
𝟒
0
𝟑
𝟐
zj
𝟏𝟓
𝟒
5
𝟓
𝟒
0
𝟏𝟓
𝟐
cj-zj −
𝟏𝟏
𝟒
0 -
𝟓
𝟒
0
Result: Since, all cj-zj ≤ 0, The optimal solution is x1 = 0, x2 = 3/2 and Max z =15/2
2. Use penalty (or Big 'M') method to
Minimize z = 4xi + 3x2
subject to the constraints:
2x1+ x2 ≥ 10,
-3x1, + 2x2 ≤ 6
x1 + x2 ≥ 6,
x1 ≥ 0 and x2 ≥ 0.
Solution. Introducing surplus (negative slack) variables x3 ≥ 0, x5 ≥ 0 and slack variable x4 ≥
0 in the constraint inequations, We introduce two new variables A1 ≥ 0 and A2 ≥ 0 in the first and
third equations respectively. These extraneous variables, commonly termed as artificial variables,
play the same role as that of slack variables in providing a starting basic feasible solution.
Since the objective function is minimization, we convert it into maximization using,
Min Z = -Max (-Z)= - Max Z*
The problem becomes
Maximize z* = - 4x1 - 3x2 + 0.S1 + 0.S2 + 0.S3 – MA1- MA2
Subject to the constraints:
2x1 + x2 - S1 + A1= 10
- 3x1 + 2x2 + S2 = 6
xl + x2 – S3+ A2 = 6,
xj ≥ 0 (j = 1,2, 3, 4, 5)
Initial Table:
Cj -4 -3 0 0 0 -M -M
CB
SB x1 x2 S1 S2 S3 A1 A2 XB
Min
𝐗𝐁
𝑿𝟏
-M A1 2 1 -1 0 0 1 0 10 10/2=5 Key row
0 S2 -3 2 0 1 0 0 0 6 -ve
_-M A2 1 1 0 0 -1 0 1 6 6
zj
-3M -2M M 0 M -M -M -
16M
cj-zj -4+3M -3+2M -M 0 -M 0 0
Key
column
Key column = x1 column.
Key row = A1 row
Pivot element (Key element )= 2.
A1 departs and x1 enters.
Second Table :
Cj -4 -3 0 0 0 -M
CB
SB x1 x2 S1 S2 S3 A2 XB
Min
𝐗𝐁
𝑿𝟐
-4 x1 1 1
2
-
1
2
0 0 0 5 5/2=2.5
0 S2 0 7
2
-
3
2
1 0 0 21 21/6
-M A2 0 1
2
1
2
0 -1 0 1 ½=0.5 Key row
zj
-4 −4 − 𝑀
2
4 − 𝑀
2
0 M 0
cj-zj
0 −2 + 𝑀
2
−4 + 𝑀
2
0 -M -M
Key
column
Key column = x2 column.
Key row = A2 row
Pivot element (Key element )= 1/2
A2 departs and x2 enters.
Cj -4 -3 0 0 0
CB
SB x1 x2 S1 S2 S3 XB
Min
𝐗𝐁
𝑿𝟐
-4 x1 1 0 -1 0 1 4
0 S2 0 0 -5 1 7 14
-3 x2 0 1 1 0 -2 2
zj -4 -3 1 0 2 -22
cj-zj 0 0 -1 0 -2
It is clear from the table that all zj – cj ≤ 0. Therefore an optimum basic feasible solution has been
attained which is given by
x1= 4, x2 = 2, maximum z = -22.
Therefore Min Z = - Max Z* = 22 , at x1= 4, x2 = 2
3. Solve by using Big-M method the following linear programming problem.
Maximize Z= -2 x-y
Subject to 3x +y = 3
4x+3y≥ 6
x+2y≤ 4
and x,y ≥ 𝟎
Introducing slack, surplus and artificial variables, the system of constraint equations become:
Maximize Z= -2 x-y +0S1+0S2 -MA1-MA2
Subject to 3x +y +A1= 3
4x+3y−𝑆1 +A2= 6
x+2y+ 𝑆2 = 4
Initial Table :
Cj -2 -1 0 0 -M -M
CB
SB X Y S1 S2 A1 A2 XB
Min
𝐗𝐁
𝑿
-M A1 3 1 0 0 1 0 3 3/ 3=1 Key row
-M A2 4 3 -1 0 0 1 6 6/4=1.5
0 S2 1 2 0 1 0 0 4 4/1=4
zj -7M -4M M 0 -M -M -9M
cj-zj -2+7M -1+4M -M 0 0 0
Key
column
Key column = X column.
Key row = A1row
Pivot element (Key element )= 4
A1 departs and X enters.
Second Table :
Cj -2 -1 0 0 -M
CB
SB X Y S1 S2 A2 XB
Min
𝐗𝐁
𝒚
-2 X 1 1
3
0 0 0 1 1
1
3
=3
-M A2 0 5
3
-1 0 1 2 2
5
3
=1.2 Key row
0 S2 0 5
3
0 1 0 3 3
5
3
=1.8
zj
-2 −2 − 5𝑀
3
M 0 -M -2-
2M
cj-zj
0 −1 + 5𝑀
3
-M 0 0
Key
column
Key column =Y column.
Key row = A2 row
Pivot element (Key element )=
5
3
A2 departs and Y enters.
Cj -2 -1 0 0
CB
SB X Y S1 S2 XB
Min
𝐗𝐁
𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏
-2 X 1 0 1
5
0 3
5
-1 Y 0 1 −3
5
0 6
5
0 S2 0 0 1 -1 1
zj
-2 -1 1/5 0 -
12/5
cj-zj
0 0 -1/5 0
It is clear from the table that all zj – cj ≤ 0. Therefore an optimum basic feasible solution has been
attained which is given by
x=
3
5
, Y =
6
5
, maximum z = -
12
5
4. Solve by using Big-M method the following linear programming problem.
Maximize Z= 3x +2y
Subject to 2x +y ≤ 2
3x+4y≥ 12
and x,y ≥ 𝟎
Solution : Introducing slack, surplus and artificial variables, the system of constraint equations
become:
Maximize Z= 3x +2y +0S1+0S2 -MA1
Subject to 2x +y +S1= 2
3x+4y−𝑆2+A1= 12
Initial Table
Cj 3 2 0 0 -M
CB
SB X Y S1 S2 A1 XB
Min
𝐗𝐁
𝒀
0 S1 2 1 1 0 0 2 2/1=2 Key Row
-M A1 3 4 0 -1 1 12 12/4=3
zj -3M -4M 0 M -M -12M
cj-zj 0 2+4M 0 -M 0
Key
column
Second Iteration
Cj 3 2 0 0 -M
CB
SB X Y S1 S2 A1 XB
Min
𝐗𝐁
𝒀
2 Y 2 1 1 0 0 2 2/1=2 Key Row
-M A1 -5 0 -4 -1 1 4 12/4=3
zj 4+5M 2 2+4M M -M 4-4M
cj-zj -1-5M 0 -2-4M -M 0
It is clear from the table that all zj – cj ≤ 0 and an artificial variable appears in the basis , the LPP
does not posses any feasible solution . But the LPP posses a pseudo optimal solution.

More Related Content

What's hot

Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPP
Sundar B N
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Graphical Method
Graphical MethodGraphical Method
Graphical MethodSachin MK
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
Dereje Tigabu
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
kzoe1996
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
Pulchowk Campus
 
simpion's 3/8 rule
simpion's 3/8 rulesimpion's 3/8 rule
simpion's 3/8 rule
sharma230399
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Methoditsvineeth209
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
MONIRUL ISLAM
 
Two phase method lpp
Two phase method lppTwo phase method lpp
Two phase method lpp
Anurag Srivastava
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
Dinesh Kumar
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
Meet Nayak
 
Game Theory - Dominance Strategy
Game Theory - Dominance StrategyGame Theory - Dominance Strategy
Game Theory - Dominance Strategy
Sundar B N
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
DagnaygebawGoshme
 
Simplex method
Simplex methodSimplex method
Simplex method
tatteya
 

What's hot (20)

Canonical form and Standard form of LPP
Canonical form and Standard form of LPPCanonical form and Standard form of LPP
Canonical form and Standard form of LPP
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Operations Research - The Dual Simplex Method
Operations Research - The Dual Simplex MethodOperations Research - The Dual Simplex Method
Operations Research - The Dual Simplex Method
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Big M method
Big M methodBig M method
Big M method
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Linear Programming
Linear ProgrammingLinear Programming
Linear Programming
 
simpion's 3/8 rule
simpion's 3/8 rulesimpion's 3/8 rule
simpion's 3/8 rule
 
Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 
Two phase method lpp
Two phase method lppTwo phase method lpp
Two phase method lpp
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
 
Gauss jordan and Guass elimination method
Gauss jordan and Guass elimination methodGauss jordan and Guass elimination method
Gauss jordan and Guass elimination method
 
Game Theory - Dominance Strategy
Game Theory - Dominance StrategyGame Theory - Dominance Strategy
Game Theory - Dominance Strategy
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
graphical method
graphical method graphical method
graphical method
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
 
Modi method
Modi methodModi method
Modi method
 
Simplex method
Simplex methodSimplex method
Simplex method
 

Similar to Big m method

Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02
kongara
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
Hakeem-Ur- Rehman
 
Ouantitative technics
Ouantitative technics Ouantitative technics
Ouantitative technics
Gayu Joseph
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –itsvineeth209
 
Chapter four
Chapter fourChapter four
Chapter four
Mohamed Daahir
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
RushikeshKadam71
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Linear programming
Linear programmingLinear programming
Linear programming
sabin kafle
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation CaseJoseph Konnully
 
Operations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simpOperations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simp
Chulalongkorn University
 
OR presentation simplex.pptx
OR presentation simplex.pptxOR presentation simplex.pptx
OR presentation simplex.pptx
pranalpatilPranal
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
simplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universitysimplex method-maths 4 mumbai university
simplex method-maths 4 mumbai university
shobhakedari59
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
DagnaygebawGoshme
 
Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
Raja Manyam
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
2013901097
 
2_Simplex.pdf
2_Simplex.pdf2_Simplex.pdf
2_Simplex.pdf
ThanoonQasem
 
CMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdf
KhaderMohamet
 

Similar to Big m method (20)

Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Duality
DualityDuality
Duality
 
Ouantitative technics
Ouantitative technics Ouantitative technics
Ouantitative technics
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Chapter four
Chapter fourChapter four
Chapter four
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Simplex method - Maximisation Case
Simplex method - Maximisation CaseSimplex method - Maximisation Case
Simplex method - Maximisation Case
 
Operations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simpOperations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simp
 
OR presentation simplex.pptx
OR presentation simplex.pptxOR presentation simplex.pptx
OR presentation simplex.pptx
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
simplex method-maths 4 mumbai university
simplex method-maths 4 mumbai universitysimplex method-maths 4 mumbai university
simplex method-maths 4 mumbai university
 
Unit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisisUnit.3. duality and sensetivity analisis
Unit.3. duality and sensetivity analisis
 
Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
 
2_Simplex.pdf
2_Simplex.pdf2_Simplex.pdf
2_Simplex.pdf
 
CMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdfCMR_Graphical Method -Special cases.pdf
CMR_Graphical Method -Special cases.pdf
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 

Big m method

  • 1. Big-M Method Lesson Content Prepared by Dr. Mamatha S Upadhya. The "big M-method" or the "method of penalties" due to A. Charnes, INTRODUCTION: The LPPs in which constraints may also have (=)and (≥) signs after ensuring that all 𝑏𝑖 ≥ 0. In such cases basis matrix cannot be obtained as an identity matrix in the starting simplex table. Therefore, we introduce a new type of variable called artificial variable. These variables are fictitious and cannot have any physical meaning. The artificial variable technique is merely a device to get the starting basic feasible solution, so that the simplex procedure may be adopted as usual until the optimum solution is obtained. ALGORITHM Step-1 : Express the linear programming problem in the standard form by introducing slack and/or surplus variables, if any. Step 2: Introduce non-negative variables to the left hand side of all the constraints of (> or = ) type. These variables are called artificial variables. The purpose of introducing artificial variables is just to obtain an initial basic feasible solution. However, addition of these artificial variables causes violation of the corresponding constraints. Therefore we would like to get rid of these variables and would not allow them to appear in the optimum simplex table. To achieve this, we assign a very large penalty ' — M ' to these artificial variables in the objective function, for maximization objective function. Step 3: Solve the modified linear programming problem by simplex method, until any one of the three cases may arise. (i) If no artificial variable appears in the basis and the optimality conditions are satisfied, then the current solution is an optimal basic feasible solution.
  • 2. (ii) If at least one artificial variable is there in the basis at zero level and the optimality condition is satisfied, then the current solution is an optimal basic feasible solution(though degenerated) (iii) If at least one artificial variable appears in the basis at positive level and the optimality condition is satisfied, then the original problem has no feasible solution. Note: while applying simplex method, whenever an artificial variable happens to leave the basis, we drop that artificial variable and omit all the entries corresponding to its column from the simplex table. Illustration: 1. Solve by using Big-M method the following linear programming problem. Maximize z = x1 + 5x2 Subject to 3x1 +4x2 ≤ 6 x1 + 3x2 ≥ 2 x1, x2 ≥ 0 Solution: Converting inequalities to equalities By introducing surplus variables, slack variables and artificial variables, the standard form of LPP becomes Maximize Z= x1 + 5x2 + 0S1 + 0S2 – MA1 Subject to 3x1 + 4x2 + S1 = 6 x1 + 3x2 – S2+ A1 = 2 x1 ≥ 0, x2 ≥ 0, S1 ≥ 0, S2 ≥ 0, A1≥ 0 where, S1 is a slack variable S2 is a surplus variable A1 is an artificial variable.
  • 3. Initial Table Cj 1 5 0 0 –M CB Basic variables SB x1 x2 S1 S2 A1 Solution values b (= XB) Ratio Min ( 𝐗𝐁 𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏 ) 0 S1 3 4 1 0 0 6 𝟔 𝟒 =1.5 –M A1 1 3 0 –1 1 2 𝟐 𝟑 =0.66 zj -M -3M 0 M -M cj-zj 1+M 5+3M 0 -M 0 Key Column As M is a large positive number, Max (cj − zj ) is 5+3M , hence , x2 becomes a basic variable in the next iteration. Key column = x2 column. Minimum (6/4, 2/3) = 2/3 Key row = A1 row Pivot element (Key element )= 3. A1 departs and x2 enters. Iteration 2: Note: The iteration just completed, artificial variable A1 was eliminated from the basis. The new solution is shown in the following table.
  • 4. Cj 1 5 0 0 CB Basic variables SB x1 x2 S1 S2 Solution values b (= XB) Ratio Min ( 𝐗𝐁 𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏 ) 0 S1 𝟓 𝟑 0 1 4 3 10 3 10/4 =2.5 5 x2 𝟏 𝟑 1 0 – 1 3 𝟐 𝟑 -Ve zj 𝟓 𝟑 5 0 – 5 3 10 3 cj-zj - 𝟐 𝟑 0 0 𝟓 𝟑 Key Column Iteration 3: Cj 1 5 0 0 CB Basic variables SB x1 x2 S1 S2 Solution values b (= XB) Ratio Min ( 𝐗𝐁 𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏 ) 0 S2 𝟓 𝟒 0 𝟑 𝟒 1 𝟓 𝟐 5 x2 𝟑 𝟒 1 𝟏 𝟒 0 𝟑 𝟐 zj 𝟏𝟓 𝟒 5 𝟓 𝟒 0 𝟏𝟓 𝟐 cj-zj − 𝟏𝟏 𝟒 0 - 𝟓 𝟒 0 Result: Since, all cj-zj ≤ 0, The optimal solution is x1 = 0, x2 = 3/2 and Max z =15/2
  • 5. 2. Use penalty (or Big 'M') method to Minimize z = 4xi + 3x2 subject to the constraints: 2x1+ x2 ≥ 10, -3x1, + 2x2 ≤ 6 x1 + x2 ≥ 6, x1 ≥ 0 and x2 ≥ 0. Solution. Introducing surplus (negative slack) variables x3 ≥ 0, x5 ≥ 0 and slack variable x4 ≥ 0 in the constraint inequations, We introduce two new variables A1 ≥ 0 and A2 ≥ 0 in the first and third equations respectively. These extraneous variables, commonly termed as artificial variables, play the same role as that of slack variables in providing a starting basic feasible solution. Since the objective function is minimization, we convert it into maximization using, Min Z = -Max (-Z)= - Max Z* The problem becomes Maximize z* = - 4x1 - 3x2 + 0.S1 + 0.S2 + 0.S3 – MA1- MA2 Subject to the constraints: 2x1 + x2 - S1 + A1= 10 - 3x1 + 2x2 + S2 = 6 xl + x2 – S3+ A2 = 6, xj ≥ 0 (j = 1,2, 3, 4, 5)
  • 6. Initial Table: Cj -4 -3 0 0 0 -M -M CB SB x1 x2 S1 S2 S3 A1 A2 XB Min 𝐗𝐁 𝑿𝟏 -M A1 2 1 -1 0 0 1 0 10 10/2=5 Key row 0 S2 -3 2 0 1 0 0 0 6 -ve _-M A2 1 1 0 0 -1 0 1 6 6 zj -3M -2M M 0 M -M -M - 16M cj-zj -4+3M -3+2M -M 0 -M 0 0 Key column Key column = x1 column. Key row = A1 row Pivot element (Key element )= 2. A1 departs and x1 enters. Second Table : Cj -4 -3 0 0 0 -M CB SB x1 x2 S1 S2 S3 A2 XB Min 𝐗𝐁 𝑿𝟐 -4 x1 1 1 2 - 1 2 0 0 0 5 5/2=2.5 0 S2 0 7 2 - 3 2 1 0 0 21 21/6 -M A2 0 1 2 1 2 0 -1 0 1 ½=0.5 Key row zj -4 −4 − 𝑀 2 4 − 𝑀 2 0 M 0 cj-zj 0 −2 + 𝑀 2 −4 + 𝑀 2 0 -M -M Key column
  • 7. Key column = x2 column. Key row = A2 row Pivot element (Key element )= 1/2 A2 departs and x2 enters. Cj -4 -3 0 0 0 CB SB x1 x2 S1 S2 S3 XB Min 𝐗𝐁 𝑿𝟐 -4 x1 1 0 -1 0 1 4 0 S2 0 0 -5 1 7 14 -3 x2 0 1 1 0 -2 2 zj -4 -3 1 0 2 -22 cj-zj 0 0 -1 0 -2 It is clear from the table that all zj – cj ≤ 0. Therefore an optimum basic feasible solution has been attained which is given by x1= 4, x2 = 2, maximum z = -22. Therefore Min Z = - Max Z* = 22 , at x1= 4, x2 = 2 3. Solve by using Big-M method the following linear programming problem. Maximize Z= -2 x-y Subject to 3x +y = 3 4x+3y≥ 6 x+2y≤ 4 and x,y ≥ 𝟎 Introducing slack, surplus and artificial variables, the system of constraint equations become: Maximize Z= -2 x-y +0S1+0S2 -MA1-MA2 Subject to 3x +y +A1= 3 4x+3y−𝑆1 +A2= 6 x+2y+ 𝑆2 = 4
  • 8. Initial Table : Cj -2 -1 0 0 -M -M CB SB X Y S1 S2 A1 A2 XB Min 𝐗𝐁 𝑿 -M A1 3 1 0 0 1 0 3 3/ 3=1 Key row -M A2 4 3 -1 0 0 1 6 6/4=1.5 0 S2 1 2 0 1 0 0 4 4/1=4 zj -7M -4M M 0 -M -M -9M cj-zj -2+7M -1+4M -M 0 0 0 Key column Key column = X column. Key row = A1row Pivot element (Key element )= 4 A1 departs and X enters. Second Table : Cj -2 -1 0 0 -M CB SB X Y S1 S2 A2 XB Min 𝐗𝐁 𝒚 -2 X 1 1 3 0 0 0 1 1 1 3 =3 -M A2 0 5 3 -1 0 1 2 2 5 3 =1.2 Key row 0 S2 0 5 3 0 1 0 3 3 5 3 =1.8 zj -2 −2 − 5𝑀 3 M 0 -M -2- 2M cj-zj 0 −1 + 5𝑀 3 -M 0 0 Key column
  • 9. Key column =Y column. Key row = A2 row Pivot element (Key element )= 5 3 A2 departs and Y enters. Cj -2 -1 0 0 CB SB X Y S1 S2 XB Min 𝐗𝐁 𝑲𝒆𝒚 𝑪𝒐𝒍𝒖𝒎𝒏 -2 X 1 0 1 5 0 3 5 -1 Y 0 1 −3 5 0 6 5 0 S2 0 0 1 -1 1 zj -2 -1 1/5 0 - 12/5 cj-zj 0 0 -1/5 0 It is clear from the table that all zj – cj ≤ 0. Therefore an optimum basic feasible solution has been attained which is given by x= 3 5 , Y = 6 5 , maximum z = - 12 5 4. Solve by using Big-M method the following linear programming problem. Maximize Z= 3x +2y Subject to 2x +y ≤ 2 3x+4y≥ 12 and x,y ≥ 𝟎 Solution : Introducing slack, surplus and artificial variables, the system of constraint equations become: Maximize Z= 3x +2y +0S1+0S2 -MA1
  • 10. Subject to 2x +y +S1= 2 3x+4y−𝑆2+A1= 12 Initial Table Cj 3 2 0 0 -M CB SB X Y S1 S2 A1 XB Min 𝐗𝐁 𝒀 0 S1 2 1 1 0 0 2 2/1=2 Key Row -M A1 3 4 0 -1 1 12 12/4=3 zj -3M -4M 0 M -M -12M cj-zj 0 2+4M 0 -M 0 Key column Second Iteration Cj 3 2 0 0 -M CB SB X Y S1 S2 A1 XB Min 𝐗𝐁 𝒀 2 Y 2 1 1 0 0 2 2/1=2 Key Row -M A1 -5 0 -4 -1 1 4 12/4=3 zj 4+5M 2 2+4M M -M 4-4M cj-zj -1-5M 0 -2-4M -M 0 It is clear from the table that all zj – cj ≤ 0 and an artificial variable appears in the basis , the LPP does not posses any feasible solution . But the LPP posses a pseudo optimal solution.