SlideShare uma empresa Scribd logo
1 de 10
Artificial Variable Technique
      (The Big-M Method)

         ATISH KHADSE
Big-M Method of solving LPP
The Big-M method of handling instances with artificial
variables is the “commonsense approach”. Essentially, the
notion is to make the artificial variables, through their
coefficients in the objective function, so costly or unprofitable
that any feasible solution to the real problem would be
preferred....unless the original instance possessed no feasible
solutions at all. But this means that we need to assign, in the
objective function, coefficients to the artificial variables that are
either very small (maximization problem) or very large
(minimization problem); whatever this value,let us call it Big M.
In fact, this notion is an old trick in optimization in general; we
simply associate a penalty value with variables that we do not
want to be part of an ultimate solution(unless such an outcome
Is unavoidable).
Indeed, the penalty is so costly that unless any of the
respective variables' inclusion is warranted algorithmically,
such variables will never be part of any feasible solution.
This method removes artificial variables from the basis. Here,
we assign a large undesirable (unacceptable penalty)
coefficients to artificial variables from the objective function
point of view. If the objective function (Z) is to be minimized,
then a very large positive price (penalty, M) is assigned to
each artificial variable and if Z is to be minimized, then a very
large negative price is to be assigned. The penalty will be
designated by +M for minimization problem and by –M for a
maximization problem and also M>0.
Example: Minimize Z= 600X1+500X2
subject to constraints,
2X1+ X2 >or= 80
 X1+2X2 >or= 60 and X1,X2 >or= 0
Step1: Convert the LP problem into a system of
linear equations.
We do this by rewriting the constraint inequalities as
equations by subtracting new “surplus & artificial variables"
and assigning them zero & +M coefficientsrespectively in the
objective function as shown below.
So the Objective Function would be:
Z=600X1+500X2+0.S1+0.S2+MA1+MA2
subject to constraints,
2X1+ X2-S1+A1 = 80
 X1+2X2-S2+A2 = 60
 X1,X2,S1,S2,A1,A2 >or= 0
Step 2: Obtain a Basic Solution to the problem.
We do this by putting the decision variables X1=X2=S1=S2=0,
so that A1= 80 and A2=60.
These are the initial values of artificial variables.

Step 3: Form the Initial Tableau as shown.


             Cj      600     500     0    0    M    M
                                                          Min.Ratio
   Basic
           Basic                                         (XB/Pivotal
CB Variab            X1      X2      S1   S2   A1   A2      Col.)
          Soln(XB)
   le (B)
M    A1      80         2      1     -1    0   1    0 80
M    A2      60         1      2      0   -1   0    1 60
                  Zj 3M       3M     M    M    M    M
             Cj - Zj 600-3M 500-3M   M    M    0    0
It is clear from the tableau that X2 will enter and A2 will
leave the basis. Hence 2 is the key element in pivotal
column. Now,the new row operations are as follows:
R2(New) = R2(Old)/2
R1(New) = R1(Old) - 1*R2(New)


             Cj        600      500   0      0       M
                                                          Min.Ratio
   Basic
           Basic                                          (XB/Pivota
CB Variab              X1       X2    S1     S2      A1     l Col.)
          Soln(XB)
   le (B)
 M    A1     50        3 2      0     -1     1 2     1    100/3
500   X2     30        1 2      1      0    - 1/2    0    60
                  Zj 3M/2+250   500   M    M/2-250   M
             Cj - Zj 350-3M/2   0     M    250-M/2   0
It is clear from the tableau that X1 will enter and A1 will
 leave the basis. Hence 2 is the key element in pivotal
 column. Now,the new row operations are as follows:
 R1(New) = R1(Old)*2/3
 R2(New) = R2(Old) – (1/2)*R1(New)

              Cj       600      500       0         0       Min.
      Basic                                               Ratio
      Varia Basic                                          (XB/P
CB                     X1       X2        S1        S2    ivotal
       ble Soln(XB)
       (B)                                                 Col.)

600    X1   100/3       1        0       2 3       1 3
500    X2   40/3        0        1       1 3       2 3
                  Zj   600      500     700 3     400 3
             Cj - Zj    0        0      700 3     400 3
Since all the values of (Cj-Zj) are either zero or positive
and also both the artificial variables have been removed,
an optimum solution has been arrived at with X1=100/3 ,
X2=40/3 and Z=80,000/3.
Artificial variable technique big m method (1)
Artificial variable technique big m method (1)

Mais conteúdo relacionado

Mais procurados

Graphical Method
Graphical MethodGraphical Method
Graphical Method
Sachin MK
 

Mais procurados (20)

linear programming
linear programminglinear programming
linear programming
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
Duality
DualityDuality
Duality
 
Solving linear programming model by simplex method
Solving linear programming model by simplex methodSolving linear programming model by simplex method
Solving linear programming model by simplex method
 
Big-M Method Presentation
Big-M Method PresentationBig-M Method Presentation
Big-M Method Presentation
 
Lecture27 linear programming
Lecture27 linear programmingLecture27 linear programming
Lecture27 linear programming
 
Integer Linear Programming
Integer Linear ProgrammingInteger Linear Programming
Integer Linear Programming
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)Quadratic programming (Tool of optimization)
Quadratic programming (Tool of optimization)
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
 
Concept of Duality
Concept of DualityConcept of Duality
Concept of Duality
 
Big m method
Big   m methodBig   m method
Big m method
 
Simplex method
Simplex methodSimplex method
Simplex method
 
Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
4-The Simplex Method.ppt
4-The Simplex Method.ppt4-The Simplex Method.ppt
4-The Simplex Method.ppt
 
simplex method
simplex methodsimplex method
simplex method
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 

Destaque

Simplex method Big M infeasible
Simplex method Big M infeasibleSimplex method Big M infeasible
Simplex method Big M infeasible
Izzati Hamid
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
Sachin MK
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
chaitu87
 
Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...
Preety Rateria
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
itsvineeth209
 
FINAL Summer Internship REPORT NICMAR
FINAL Summer Internship REPORT NICMARFINAL Summer Internship REPORT NICMAR
FINAL Summer Internship REPORT NICMAR
Kamlesh Chaudhary
 

Destaque (20)

Big m method
Big m methodBig m method
Big m method
 
Simplex method Big M infeasible
Simplex method Big M infeasibleSimplex method Big M infeasible
Simplex method Big M infeasible
 
Simplex Method
Simplex MethodSimplex Method
Simplex Method
 
Simplex two phase
Simplex two phaseSimplex two phase
Simplex two phase
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
Programming erlang
Programming erlangProgramming erlang
Programming erlang
 
Software testing
Software testingSoftware testing
Software testing
 
Constants and variables in c programming
Constants and variables in c programmingConstants and variables in c programming
Constants and variables in c programming
 
PHP Basic & Variables
PHP Basic & VariablesPHP Basic & Variables
PHP Basic & Variables
 
Global optimization
Global optimizationGlobal optimization
Global optimization
 
Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programming
 
Algorithms practice and problem solving - dynamic programming
Algorithms practice and problem solving - dynamic programmingAlgorithms practice and problem solving - dynamic programming
Algorithms practice and problem solving - dynamic programming
 
Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...Economic interpretation of duality, shadow price and the complementary slackn...
Economic interpretation of duality, shadow price and the complementary slackn...
 
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
 
Artificial Variable Technique –
Artificial Variable Technique –Artificial Variable Technique –
Artificial Variable Technique –
 
LINEAR PROGRAMMING Assignment help
LINEAR PROGRAMMING Assignment helpLINEAR PROGRAMMING Assignment help
LINEAR PROGRAMMING Assignment help
 
Definition of linear programming problem model decision variable, objective ...
Definition of linear programming problem model decision variable, objective ...Definition of linear programming problem model decision variable, objective ...
Definition of linear programming problem model decision variable, objective ...
 
FINAL Summer Internship REPORT NICMAR
FINAL Summer Internship REPORT NICMARFINAL Summer Internship REPORT NICMAR
FINAL Summer Internship REPORT NICMAR
 

Semelhante a Artificial variable technique big m method (1)

Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
itsvineeth209
 
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
 
Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02
kongara
 

Semelhante a Artificial variable technique big m method (1) (20)

Procedure Of Simplex Method
Procedure Of Simplex MethodProcedure Of Simplex Method
Procedure Of Simplex Method
 
Duel simplex method_operations research .pptx
Duel simplex method_operations research .pptxDuel simplex method_operations research .pptx
Duel simplex method_operations research .pptx
 
Big M method
Big M methodBig M method
Big M method
 
Chapter four
Chapter fourChapter four
Chapter four
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02Bigm 140316004148-phpapp02
Bigm 140316004148-phpapp02
 
Combined
CombinedCombined
Combined
 
Lp model, big method
Lp model, big method   Lp model, big method
Lp model, big method
 
3. linear programming senstivity analysis
3. linear programming senstivity analysis3. linear programming senstivity analysis
3. linear programming senstivity analysis
 
Management Science
Management ScienceManagement Science
Management Science
 
Simplex part 2 of 4
Simplex part 2 of 4Simplex part 2 of 4
Simplex part 2 of 4
 
jacobi method, gauss siedel for solving linear equations
jacobi method, gauss siedel for solving linear equationsjacobi method, gauss siedel for solving linear equations
jacobi method, gauss siedel for solving linear equations
 
Simplex Meathod
Simplex MeathodSimplex Meathod
Simplex Meathod
 
Simplex
SimplexSimplex
Simplex
 
Numerical Methods Solving Linear Equations
Numerical Methods Solving Linear EquationsNumerical Methods Solving Linear Equations
Numerical Methods Solving Linear Equations
 
Regression (II)
Regression (II)Regression (II)
Regression (II)
 
Ch27 ssm
Ch27 ssmCh27 ssm
Ch27 ssm
 
Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...Solutions manual for logic and computer design fundamentals 5th edition by ma...
Solutions manual for logic and computer design fundamentals 5th edition by ma...
 
12.pdf
12.pdf12.pdf
12.pdf
 
OR presentation simplex.pptx
OR presentation simplex.pptxOR presentation simplex.pptx
OR presentation simplex.pptx
 

Mais de ਮਿਲਨਪ੍ਰੀਤ ਔਜਲਾ (8)

Business strategy of cadbury india limited
Business strategy of cadbury india limitedBusiness strategy of cadbury india limited
Business strategy of cadbury india limited
 
Scaling
ScalingScaling
Scaling
 
Problem definition research methodology
Problem definition  research methodologyProblem definition  research methodology
Problem definition research methodology
 
Human values.......milan203
Human values.......milan203Human values.......milan203
Human values.......milan203
 
Inventory control techniques
Inventory control techniquesInventory control techniques
Inventory control techniques
 
My ppt on development
My ppt on developmentMy ppt on development
My ppt on development
 
Business communication 12 aug
Business communication 12 augBusiness communication 12 aug
Business communication 12 aug
 
Toothpaste 110515124940-phpapp01dfnc
Toothpaste 110515124940-phpapp01dfncToothpaste 110515124940-phpapp01dfnc
Toothpaste 110515124940-phpapp01dfnc
 

Último

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Último (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Artificial variable technique big m method (1)

  • 1. Artificial Variable Technique (The Big-M Method) ATISH KHADSE
  • 2. Big-M Method of solving LPP The Big-M method of handling instances with artificial variables is the “commonsense approach”. Essentially, the notion is to make the artificial variables, through their coefficients in the objective function, so costly or unprofitable that any feasible solution to the real problem would be preferred....unless the original instance possessed no feasible solutions at all. But this means that we need to assign, in the objective function, coefficients to the artificial variables that are either very small (maximization problem) or very large (minimization problem); whatever this value,let us call it Big M. In fact, this notion is an old trick in optimization in general; we simply associate a penalty value with variables that we do not want to be part of an ultimate solution(unless such an outcome Is unavoidable).
  • 3. Indeed, the penalty is so costly that unless any of the respective variables' inclusion is warranted algorithmically, such variables will never be part of any feasible solution. This method removes artificial variables from the basis. Here, we assign a large undesirable (unacceptable penalty) coefficients to artificial variables from the objective function point of view. If the objective function (Z) is to be minimized, then a very large positive price (penalty, M) is assigned to each artificial variable and if Z is to be minimized, then a very large negative price is to be assigned. The penalty will be designated by +M for minimization problem and by –M for a maximization problem and also M>0.
  • 4. Example: Minimize Z= 600X1+500X2 subject to constraints, 2X1+ X2 >or= 80 X1+2X2 >or= 60 and X1,X2 >or= 0 Step1: Convert the LP problem into a system of linear equations. We do this by rewriting the constraint inequalities as equations by subtracting new “surplus & artificial variables" and assigning them zero & +M coefficientsrespectively in the objective function as shown below. So the Objective Function would be: Z=600X1+500X2+0.S1+0.S2+MA1+MA2 subject to constraints, 2X1+ X2-S1+A1 = 80 X1+2X2-S2+A2 = 60 X1,X2,S1,S2,A1,A2 >or= 0
  • 5. Step 2: Obtain a Basic Solution to the problem. We do this by putting the decision variables X1=X2=S1=S2=0, so that A1= 80 and A2=60. These are the initial values of artificial variables. Step 3: Form the Initial Tableau as shown. Cj 600 500 0 0 M M Min.Ratio Basic Basic (XB/Pivotal CB Variab X1 X2 S1 S2 A1 A2 Col.) Soln(XB) le (B) M A1 80 2 1 -1 0 1 0 80 M A2 60 1 2 0 -1 0 1 60 Zj 3M 3M M M M M Cj - Zj 600-3M 500-3M M M 0 0
  • 6. It is clear from the tableau that X2 will enter and A2 will leave the basis. Hence 2 is the key element in pivotal column. Now,the new row operations are as follows: R2(New) = R2(Old)/2 R1(New) = R1(Old) - 1*R2(New) Cj 600 500 0 0 M Min.Ratio Basic Basic (XB/Pivota CB Variab X1 X2 S1 S2 A1 l Col.) Soln(XB) le (B) M A1 50 3 2 0 -1 1 2 1 100/3 500 X2 30 1 2 1 0 - 1/2 0 60 Zj 3M/2+250 500 M M/2-250 M Cj - Zj 350-3M/2 0 M 250-M/2 0
  • 7. It is clear from the tableau that X1 will enter and A1 will leave the basis. Hence 2 is the key element in pivotal column. Now,the new row operations are as follows: R1(New) = R1(Old)*2/3 R2(New) = R2(Old) – (1/2)*R1(New) Cj 600 500 0 0 Min. Basic Ratio Varia Basic (XB/P CB X1 X2 S1 S2 ivotal ble Soln(XB) (B) Col.) 600 X1 100/3 1 0 2 3 1 3 500 X2 40/3 0 1 1 3 2 3 Zj 600 500 700 3 400 3 Cj - Zj 0 0 700 3 400 3
  • 8. Since all the values of (Cj-Zj) are either zero or positive and also both the artificial variables have been removed, an optimum solution has been arrived at with X1=100/3 , X2=40/3 and Z=80,000/3.