SlideShare una empresa de 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)

Más contenido relacionado

La actualidad más candente

Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programmingjyothimonc
 
Z score
Z scoreZ score
Z scorefebru
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1irsa javed
 
Graphical Method
Graphical MethodGraphical Method
Graphical MethodSachin MK
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)Kamel Attar
 
multi criteria decision making
multi criteria decision makingmulti criteria decision making
multi criteria decision makingShankha Goswami
 
Chapter_3-_Sensitivity-duality_-_students.pptx
Chapter_3-_Sensitivity-duality_-_students.pptxChapter_3-_Sensitivity-duality_-_students.pptx
Chapter_3-_Sensitivity-duality_-_students.pptxSIAWSINGONGKPMGuru
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,Dronak Sahu
 
Hypergeometric Distribution
Hypergeometric DistributionHypergeometric Distribution
Hypergeometric Distributionmathscontent
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method pptDereje Tigabu
 
Structural optimization.pptx
Structural optimization.pptxStructural optimization.pptx
Structural optimization.pptxOthmanHamdy1
 
Multi criteria decision making
Multi criteria decision makingMulti criteria decision making
Multi criteria decision makingKartik Bansal
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research2013901097
 
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 methodRoshan Kumar Patel
 

La actualidad más candente (20)

Duality in Linear Programming
Duality in Linear ProgrammingDuality in Linear Programming
Duality in Linear Programming
 
Z score
Z scoreZ score
Z score
 
Applications of random variable
Applications of random variableApplications of random variable
Applications of random variable
 
Linear Programming 1
Linear Programming 1Linear Programming 1
Linear Programming 1
 
Big M method
Big M methodBig M method
Big M method
 
Graphical Method
Graphical MethodGraphical Method
Graphical Method
 
5. advance topics in lp
5. advance topics in lp5. advance topics in lp
5. advance topics in lp
 
Linear Programming (graphical method)
Linear Programming (graphical method)Linear Programming (graphical method)
Linear Programming (graphical method)
 
multi criteria decision making
multi criteria decision makingmulti criteria decision making
multi criteria decision making
 
Linear Programming
Linear  ProgrammingLinear  Programming
Linear Programming
 
Chapter_3-_Sensitivity-duality_-_students.pptx
Chapter_3-_Sensitivity-duality_-_students.pptxChapter_3-_Sensitivity-duality_-_students.pptx
Chapter_3-_Sensitivity-duality_-_students.pptx
 
Simplex method concept,
Simplex method concept,Simplex method concept,
Simplex method concept,
 
Hypergeometric Distribution
Hypergeometric DistributionHypergeometric Distribution
Hypergeometric Distribution
 
Chapter 4 Simplex Method ppt
Chapter 4  Simplex Method pptChapter 4  Simplex Method ppt
Chapter 4 Simplex Method ppt
 
Z scores
Z scoresZ scores
Z scores
 
Structural optimization.pptx
Structural optimization.pptxStructural optimization.pptx
Structural optimization.pptx
 
PRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMSPRIMAL & DUAL PROBLEMS
PRIMAL & DUAL PROBLEMS
 
Multi criteria decision making
Multi criteria decision makingMulti criteria decision making
Multi criteria decision making
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
 
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
 

Destacado

Simplex method Big M infeasible
Simplex method Big M infeasibleSimplex method Big M infeasible
Simplex method Big M infeasibleIzzati Hamid
 
Simplex Method
Simplex MethodSimplex Method
Simplex MethodSachin MK
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex MethodDivyansh Verma
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingManas Lad
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)Shivani Gautam
 
Software testing
Software testingSoftware testing
Software testingDIPEN SAINI
 
Constants and variables in c programming
Constants and variables in c programmingConstants and variables in c programming
Constants and variables in c programmingChitrank Dixit
 
Global optimization
Global optimizationGlobal optimization
Global optimizationbpenalver
 
Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)Tora (2 phase itteration, simplex method)
Tora (2 phase itteration, simplex method)Zeeshan Mirza
 
OR Linear Programming
OR Linear ProgrammingOR Linear Programming
OR Linear Programmingchaitu87
 
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 programmingXochitl Watts
 
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
 

Destacado (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
 
Special Cases in Simplex Method
Special Cases in Simplex MethodSpecial Cases in Simplex Method
Special Cases in Simplex Method
 
2. lp iterative methods
2. lp   iterative methods2. lp   iterative methods
2. lp iterative methods
 
Two Phase Method- Linear Programming
Two Phase Method- Linear ProgrammingTwo Phase Method- Linear Programming
Two Phase Method- Linear Programming
 
L20 Simplex Method
L20 Simplex MethodL20 Simplex Method
L20 Simplex Method
 
Operation Research (Simplex Method)
Operation Research (Simplex Method)Operation Research (Simplex Method)
Operation Research (Simplex Method)
 
Linear programming
Linear programmingLinear programming
Linear programming
 
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
 
Lecture27 linear programming
Lecture27 linear programmingLecture27 linear programming
Lecture27 linear programming
 
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...
 

Similar 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
 
Chapter four
Chapter fourChapter four
Chapter four
 
Simplex algorithm
Simplex algorithmSimplex algorithm
Simplex algorithm
 
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
 
Big m method
Big   m methodBig   m method
Big m method
 
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
 

Más 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

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
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 ...EduSkills OECD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
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 ReformChameera Dedduwage
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
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 ImpactPECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 

Último (20)

Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
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 ...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
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
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
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
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 

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.