Big-M Method (Edexcel A Level Further Maths: Decision 1): Revision Note

Exam code: 9FM0

Paul

Written by: Paul

Reviewed by: Dan Finlay

Updated on

Big-M method

What is the Big-M method?

  • The Big-M method is an adaption of the simplex algorithm

    • It is an alternative to the two-stage simplex method

  • The Big-M method can be used to

    • solve problems involving constraints that contain ≥

    • solve minimisation (as well as maximisation) linear programming problems

  • The Big-M method has the advantage of not requiring two stages

    • Each tableau requires just one objective row

  • The big-M method has the disadvantage that some of the algebra can get awkward to track and follow

  • M is an arbitrarily large positive number

    • This is so expressions such as 1M are definitely negative and M12 will definitely be positive

    • M is never actually assigned a value, nor would it need to be calculated

How do I rewrite the constraints and objective function for the Big-M method?

  • STEP 1 Use slack, surplus and artificial variables to convert the constraints of a linear programming problem into equations

  • STEP 2 Rearrange each constraint containing an artificial variable such that the artificial variable is the subject

  • STEP 3 Subtract MA from the objective function, where

    • A is the sum of the artificial variables (a1+a2+...)

    • M is an arbitrarily large, positive number

Worked Example

The linear programming problem formulated below is to be solved using the Big-M method.

Maximise

P=3x+2y

subject to

xy4x+2y162x+3y182xy2x, y0

Rewrite the constraints and objective function such that the initial tableau for the Big-M method can be produced. (You do not need to produce the initial tableau.)

  • STEP 1 xy4 requires a slack variable

xy+s1=4

x+2y16 requires a slack variable

x+2y+s2=16

2x+3y18 requires a surplus and an artificial variable

2x+3ys3+a1=18

2xy2 requires a surplus and an artificial variable

2xys4+a2=2

(s1, s2, s3, s4, a1, a20)

  • STEP 2 Rearrange each constraint containing an artificial variable

a1=182x3y+s3a2=22x+y+s4

  • STEP 3 Subtract MA from P (find A first)

A=182x3y+s3+22x+y+s4A=204x2y+s3+s4

and so

P=3x+2yAMP=3x+2yM(204x2y+s3+s4)

P(4M+3)x(2M+2)y+Ms3+Ms4=20M

How do I apply the Big-M method?

  • Once the constraints and objective function and rewritten the initial tableau for the Big-M method can be produced

    • (Some of) the entries in the objective line will be algebraic - in terms of M

  • Apply the simplex algorithm as usual to solve the problem

    • A tableau is optimal when there are no negative entries in the objective row

      • Big-M makes negative entries easy to spot! 

    • The row operations for the objective row are a little harder as they involve adding or subtracting algebraic terms that are in terms of M

    • As previously, use apostrophes to indicate 'old rows' in the row operations column

Examiner Tips and Tricks

  • If a question doesn't specify, it is a good idea to write down the values of all variables as the final answer

    • the decision variables, and any slack, surplus and artificial variables

    • only the basic variables take their values from the final tableau

    • non-basic variables always have the value zero 

  • Remember to also state the objective function value, stating whether it is a maximum or minimum

Worked Example

A maximisation linear programming problem has been formulated so it is ready to be solved using the Big-M adaption of the simplex algorithm.

xy+s1=4x+2y+s2=162x+3ys3+a1=182xys4+a2=2

P(4M+3)x(2M+2)y+Ms3+Ms4=20M

Form the initial tableau and apply the simplex algorithm to find the optimal solution to the problem.

The initial tableau is formed from the rearranged constraints and objective function

b.v.

x

y

s1

s2

s3

s4

a1

a2

Value

s1

1

-1

1

0

0

0

0

0

4

s2

1

2

0

1

0

0

0

0

16

a1

2

3

0

0

-1

0

1

0

18

a2

2

-1

0

0

0

-1

0

1

2

P

(4M+3)

(2M+2)

0

0

M

M

0

0

20M

There is at least one negative entry in the objective line so the tableau is not yet optimal
Apply an iteration of the simplex algorithm (4M+3) is the most negative

C1 is the pivot column; the θ-values are

θ1=4÷1=4θ2=16÷1=16θ3=18÷2=9θ4=2÷2=1

θ4 is the least positive so R4 is the pivot row
The pivot element is in cell R4C1

Pivot is 2

The pivot (R4C1) needs to be changed to 1 through a row operation
Every other entry in C1 should be changed to 0 through row operations

b.v.

x

y

s1

s2

s3

s4

a1

a2

Value

Row Op.

s1

0

-0.5

1

0

0

0.5

0

-0.5

3

'R1'R4

s2

0

2.5

0

1

0

0.5

0

-0.5

15

'R2'R4

a1

0

4

0

0

-1

1

1

-1

16

'R3'2R4

x

1

-0.5

0

0

0

-0.5

0

0.5

1

0.5'R4'

P

0

(4M+3.5)

0

0

M

(M+1.5)

0

2M+1.5

16M+3

'R5'+(4M+3)R4

There is a negative entry in the objective row, so apply a second iteration (4M+3.5) is the most negative

C2 is the pivot column; the θ-values are

θ1=4÷(0.5)=8θ2=15÷2.5=6θ3=16÷4=4θ4=1÷(0.5)=2

θ3 is the least positive so R3 is the pivot row The pivot element is in cell R3C2

Pivot is 4

Apply the appropriate row operations, starting with the pivot row, R3

b.v.

x

y

s1

s2

s3

s4

a1

a2

Value

Row Op.

s1

0

0

1

0

-0.125

0.625

0.125

-0.625

5

'R1' + 0.5R3

s2

0

0

0

1

0.625

-0.125

-0.625

0.125

5

'R2' - 2.5R3

y

0

1

0

0

-0.25

0.25

0.25

-0.25

4

0.25'R3'

x

1

0

0

0

-0.125

-0.375

0.125

0.375

3

'R4' + 0.5R3

P

0

0

0

0

-0.875

-0.625

M+0.875

M+0.625

17

'R5'+(4M+3.5)R3

There is a negative entry in the objective row, so apply a third iteration -0.875 is the most negative

C5 is the pivot column; the θ-values are

θ1=5÷(0.125)=40θ2=5÷0.625=8θ3=4÷(0.25)=16θ4=3÷(0.125)=24

θ2 is the least positive so R2 is the pivot row
The pivot element is in cell R2C5

Pivot is 0.625

Apply the appropriate row operations, starting with the pivot row, R2

b.v.

x

y

s1

s2

s3

s4

a1

a2

Value

Row Op.

s1

0

0

1

0.2

0

0.6

0

-0.6

6

'R1'+0.125R2

s3

0

0

0

1.6

1

-0.2

-1

0.2

8

1.6'R2'

y

0

1

0

0.4

0

0.2

0

-0.2

6

'R3'+0.25R2

x

1

0

0

0.2

0

-0.4

0

0.4

4

'R4'+0.125R2

P

0

0

0

1.4

0

-0.8

M

M+0.8

24

'R5'+0.875R2

There is a negative entry in the objective row, so apply a fourth iteration -0.8 is the most negative

C6 is the pivot column; the θ-values are

θ1=6÷0.6=10θ2=8÷(0.2)=40θ3=6÷0.2=30θ4=4÷(0.4)=10

θ1 is the least positive so R1 is the pivot row
The pivot element is in cell R1C6

Pivot is 0.6

Apply the appropriate row operations, starting with the pivot row, R1

b.v.

x

y

s1

s2

s3

s4

a1

a2

Value

Row Op.

s4

0

0

5/3

1/3

0

1

0

-1

10

53'R1'

s3

0

0

1/3

5/3

1

0

-1

0

10

'R2'+0.2R1

y

0

1

-1/3

1/3

0

0

0

0

4

'R3'0.2R1

x

1

0

2/3

1/3

0

0

0

0

8

'R4'+0.4R1

P

0

0

4/3

5/3

0

0

M

M

32

'R5'+0.8R1

There are no negative entries in the objective row so the tableau is optimal

x, y, s3, s4 are the basic variables and so their values are read from the table
s1, s2, a1, a2 are the non-basic variables and so their values are all zero

P=3x+2y is maximised when x=8 and y=4 at P=32

s3=10, s4=10s1=s2=a1=a2=0

How do I use the Big-M method for minimisation problems?

  • To use the Big-M method for minimising the objective function

    • Introduce a new objective function, Q, say, such that Q=P

    • After finding P in the required form for tableau entry, write Q in the same way

    • Use Q as the objective row in the simplex algorithm

  • Maximising Q is the same as minimising P

  • Make sure to interpret the final tableau correctly in light of this adaption!

    • i.e.  Pmin=Qmax

How do I know when the Big-M method is complete or optimal?

  • A Big-M method tableau provides an optimal solution when there are no negative entries in the objective row

    • Remember that M is an (arbitrarily) large positive number

      • For example, M7 will be positive, 7Mwould be negative

  • Questions may ask for an interpretation of a tableau after any iteration of the Big-M method

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Paul

Author: Paul

Expertise: Maths Content Creator

Paul has taught mathematics for 20 years and has been an examiner for Edexcel for over a decade. GCSE, A level, pure, mechanics, statistics, discrete – if it’s in a Maths exam, Paul will know about it. Paul is a passionate fan of clear and colourful notes with fascinating diagrams.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.