ArticleslgStudy

mathematics

Big M method

Big M method is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Big M method rather than just read about it. In short: In operations research, the Big M method is a method of solving linear programming problems using the simplex algorithm. The Big M method extends the simplex algorithm to problems that contain "greater-than" constraints.

Key takeaways

  • Big M method belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Big M method to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Big M method from memory before moving on to harder problems.

Reference excerpt

In operations research, the Big M method is a method of solving linear programming problems using the simplex algorithm. The Big M method extends the simplex algorithm to problems that contain "greater-than" constraints. It does so by associating the constraints with large negative constants which would not be part of any optimal solution, if it exists.

Algorithm The simplex algorithm is the original and still one of the most widely used methods for solving linear maximization problems. It is obvious that the points with the optimal objective must be reached on a vertex of the simplex which is the shape of feasible region of an LP (linear program). Points on the vertex of the simplex are represented as a basis. So, to apply the simplex algorithm which aims improve the basis until a global optima is reached, one needs to find a feasible basis first. The trivial basis (all problem variables equal to 0) is not always part of the simplex. It is feasible if and only if all the constraints (except non-negativity) are less-than constraints and with positive constant on the right-hand side. The Big M method introduces surplus and artificial variables to convert all inequalities into that form and there by extends the simplex in higher dimensions to be valid in the trivial basis. It is always a vertex due to the positivity constraint on the problem variables inherent in the standard formulation of LP. The "Big M" refers to a large number associated with the artificial variables, represented by the letter M. The steps in the algorithm are as follows:

Multiply the inequality constraints to ensure that the right hand side is positive. If the problem is of minimization, transform to maximization by multiplying the objective by −1. For any greater-than constraints, introduce surplus si and artificial variables ai (as shown below). Choose a large positive Value M and introduce a term in the objective of the form −M multiplying the artificial variables. For less-than or equal constraints, introduce slack variables si so that all constraints are equalities. Solve the problem using the usual simplex method. For example, x + y ≤ 100 becomes x + y + s1 = 100, whilst x + y ≥ 100 becomes x + y − s1 + a1 = 100. The artificial variables must be shown to be 0. The function to be maximised is rewritten to include the sum of all the artificial variables. Then row reductions are applied to gain a final solution. The value of M must be chosen sufficiently large so that the artificial variable would not be part of any feasible solution. For a sufficiently large M, the optimal solution contains any artificial variables in the basis (i.e. positive values) if and only if the problem is not feasible. However, the a-priori selection of an appropriate value for M is not trivial. A way to overcome the need to specify the value of M is described in. Other ways to find an initial basis for the simplex algorithm involves solving another linear program in an initial phase.

Other usage When used in the objective function, the Big M method sometimes refers to formulations of linear optimization problems in which violations of a constraint or set of constraints are associated with a large positive penalty constant, M. In Mixed integer linear optimization the term Big M can also refer to use of a large term in the constraints themselves. For example the logical constraint z=0⟺x=y where z is binary variable (0 or 1) variable refers to ensuring equality of variables only when a certain binary variable takes on one value, but to leave the variables "open" if the binary variable takes on its opposite value. For a sufficiently large M and z binary variable (0 or 1), the constraints

x−y≤Mz x−y≥−Mz ensure that when z=0 then x=y. Otherwise, when z=1, then −M≤x−y≤M, indicating that the variables x and y can have any values so long as the absolute value of their difference is bounded by M (hence the need for M to be "large enough.") Thus it is possible to "encode" the logical constraint into a MILP problem.

See also Two phase method (linear programming) another approach for solving problems with >= constraints Karush–Kuhn–Tucker conditions, which apply to nonlinear optimization problems with inequality constraints.

External links Bibliography

Griva, Igor; Nash, Stephan G.; Sofer, Ariela (26 March 2009). Linear and Nonlinear Optimization (2nd ed.). Society for Industrial Mathematics. ISBN 978-0-89871-661-0. Discussion

Simplex – Big M Method, Lynn Killen, Dublin City University. The Big M Method, businessmanagementcourses.org The Big M Method, Mark Hutchinson The Big-M Method with the Numerical Infinite M, a recently introduced parameterless variant A THREE-PHASE SIMPLEX METHOD FOR INFEASIBLE AND UNBOUNDED LINEAR PROGRAMMING PROBLEMS, Big M method for M=1

References

Worked examples

Example 1 — a first encounter with Big M method

Start with the simplest possible case. Write down what Big M method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Big M method before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Big M method ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Big M method

In research
Big M method appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Big M method in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Big M method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Linear algebra, Linear programming, so understanding it makes those chapters shorter.
In everyday life
Look for Big M method outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Big M method” →

How to study Big M method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Big M method means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Big M method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Big M method in simple terms?

In operations research, the Big M method is a method of solving linear programming problems using the simplex algorithm. The Big M method extends the simplex algorithm to problems that contain "greater-than" constraints.

Why does Big M method matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Big M method?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Big M method.

Tags

  • Linear algebra
  • Linear programming

Keep exploring