Example: bankruptcy

4.10 – The Big M Method

Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodLetting x1 = number of ounces of orange soda in a bottle of Oranjx2 = number of ounces of orange juice in a bottle of OranjThe LP is:min z = 2x1 + 3x2st + 4(sugar constraint) x1 + 3x2 20(Vitamin C constraint) x1 + x2 = 10(10 oz in 1 bottle of Oranj) x1, x2, > 0 The LP in standard form is shown on the next (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodRow 1:z - 2x1 - 3x2 = 0 Row 2: + + s1 = 4 Row 3: x1 + 3x2 - e2 = 20 Row 4: x1 + x2 = 10 The LP in standard form hasz and s1 which could be usedfor BVs but row 2 wouldviolate sign restrictions androw 3 no readily apparentbasic order to use the simplex Method , a bfs is needed. To remedy thepredicament, artificial variables are created. The variables will belabeled according to the row in which they are used as seen 1:z - 2x1 - 3x2 = 0 Row 2: + + s1 = 4 Row 3: x1 + 3x2 - e2 + a2 = 20 Row 4: x1 + x2 + a3 = 10 Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodIn the optimal solution, all artificial variables must be set equal to accomplish this, in a min LP, a term Mai is added to the objectivefunction for each artificial variable ai.

4.10 – The Big M Method In the optimal solution, all artificial variables must be set equal to zero. To accomplish this, in a min LP, a term Ma i is added to the objective function for each artificial variable a i. For a max LP, the term –Ma i is added to the objective function for each a i. M represents some very large number.

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of 4.10 – The Big M Method

1 Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodLetting x1 = number of ounces of orange soda in a bottle of Oranjx2 = number of ounces of orange juice in a bottle of OranjThe LP is:min z = 2x1 + 3x2st + 4(sugar constraint) x1 + 3x2 20(Vitamin C constraint) x1 + x2 = 10(10 oz in 1 bottle of Oranj) x1, x2, > 0 The LP in standard form is shown on the next (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodRow 1:z - 2x1 - 3x2 = 0 Row 2: + + s1 = 4 Row 3: x1 + 3x2 - e2 = 20 Row 4: x1 + x2 = 10 The LP in standard form hasz and s1 which could be usedfor BVs but row 2 wouldviolate sign restrictions androw 3 no readily apparentbasic order to use the simplex Method , a bfs is needed. To remedy thepredicament, artificial variables are created. The variables will belabeled according to the row in which they are used as seen 1:z - 2x1 - 3x2 = 0 Row 2: + + s1 = 4 Row 3: x1 + 3x2 - e2 + a2 = 20 Row 4: x1 + x2 + a3 = 10 Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodIn the optimal solution, all artificial variables must be set equal to accomplish this, in a min LP, a term Mai is added to the objectivefunction for each artificial variable ai.

2 For a max LP, the term Mai isadded to the objective function for each ai. M represents some verylarge number. The modified Bevco LP in standard form then becomes:Row 1:z - 2x1 - 3x2 -Ma2 - Ma3= 0 Row 2: + + s1 = 4 Row 3: x1 + 3x2 - e2 + a2 = 20 Row 4: x1 + x2 + a3 = 10 Modifying the objective function this way makes it extremely costly foran artificial variable to be positive. The optimal solution should forcea2 = a3 = (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodDescription of the Big M the constraints so that the rhs of each constraint isnonnegative. Identify each constraint that is now an = or each inequality constraint to standard form (add a slackvariable for constraints, add an excess variable for constraints). each or = constraint, add artificial variables. Add sign restrictionai M denote a very large positive number. Add (for each artificialvariable) Mai to min problem objective functions or -Mai to maxproblem objective each artificial variable will be in the starting basis, all artificialvariables must be eliminated from row 0 before beginning thesimplex.

3 Remembering M represents a very large number, solve thetransformed problem by the (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodIf all artificial variables in the optimal solution equal zero,the solution is optimal. If any artificial variables are positivein the optimal solution, the problem is Bevco example continued:Initial (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodPivot - 24M -3-M30 MRow 0 + M(Row 2) + M(Row 3) - 24M -3-M30M 2 divided by (2M-3)/3(M-3)/3(3-4M)/3(60+10M)/3 Row 0 - (4M-3)*(Row 2) (2M-3)/3(M-3)/3(3-4M)/3(60+10M)/3 1 - *(Row 2) (2M-3)/3(M-3)/3(3-4M)/3(60+10M) 3 - Row 2 Copyright (c) 2003 Brooks/Cole, a division of Thomson Learning, The Big M MethodPivot (2M-3)/3(M-3)/3(3-4M)/3(60+10M) (2M-3)/3(M-3)/3(3-4M)/3(60+10M) (Row 3)*(3/2)ero (1-2M)/2(3-2M) 0 + (3-2M)*(Row 3) (1-2M)/2(3-2M) 1 - (5/12)*Row 3) (1-2M)/2(3-2M) 2 -(1/3)*Row Solutio


Related search queries