ArticleslgStudy

computer science

Cutting-plane method

Cutting-plane method is a computer science 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 Cutting-plane method rather than just read about it. In short: In mathematical optimization, the cutting-plane method is any of a variety of optimization methods that iteratively refine a feasible set or objective function by means of linear inequalities, termed cuts. Such procedures are commonly used to find integer solutions to mixed integer linear programming (MILP) problems, as well as to solve general, not necessarily differentiable convex optimization problems.

Cutting-plane method — main illustration
Cutting-plane method — illustration

Key takeaways

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

Reference excerpt

In mathematical optimization, the cutting-plane method is any of a variety of optimization methods that iteratively refine a feasible set or objective function by means of linear inequalities, termed cuts. Such procedures are commonly used to find integer solutions to mixed integer linear programming (MILP) problems, as well as to solve general, not necessarily differentiable convex optimization problems. The use of cutting planes to solve MILP was introduced by Ralph E. Gomory. Cutting plane methods for MILP work by solving a non-integer linear program, the linear relaxation of the given integer program. The theory of Linear Programming dictates that under mild assumptions (if the linear program has an optimal solution, and if the feasible region does not contain a line), one can always find an extreme point or a corner point that is optimal. The obtained optimum is tested for being an integer solution. If it is not, there is guaranteed to exist a linear inequality that separates the optimum from the convex hull of the true feasible set. Finding such an inequality is the separation problem, and such an inequality is a cut. A cut can be added to the relaxed linear program. Then, the current non-integer solution is no longer feasible to the relaxation. This process is repeated until an optimal integer solution is found. Cutting-plane methods for general convex continuous optimization and variants are known under various names: Kelley's method, Kelley–Cheney–Goldstein method, and bundle methods. They are popularly used for non-differentiable convex minimization, where a convex objective function and its subgradient can be evaluated efficiently but usual gradient methods for differentiable optimization can not be used. This situation is most typical for the concave maximization of Lagrangian dual functions. Another common situation is the application of the Dantzig–Wolfe decomposition to a structured optimization problem in which formulations with an exponential number of variables are obtained. Generating these variables on demand by means of delayed column generation is identical to performing a cutting plane on the respective dual problem.

History Cutting planes were proposed by Ralph Gomory in the 1950s as a method for solving integer programming and mixed-integer programming problems. However, most experts, including Gomory himself, considered them to be impractical due to numerical instability, as well as ineffective because many rounds of cuts were needed to make progress towards the solution. Things turned around when in the mid-1990s Gérard Cornuéjols and co-workers showed them to be very effective in combination with branch-and-bound (called branch-and-cut) and ways to overcome numerical instabilities. Nowadays, all commercial MILP solvers use Gomory cuts in one way or another. Gomory cuts are very efficiently generated from a simplex tableau, whereas many other types of cuts are either expensive or even NP-hard to separate. Among other general cuts for MILP, most notably lift-and-project dominates Gomory cuts.

Gomory's cut Let an integer programming problem be formulated (in canonical form) as:

Maximize cTxSubject to Ax≤b,x≥0,xi all integers. where A is a matrix and b, c are vectors. The vector x is unknown and is to be found in order to maximize the objective while respecting the linear constraints.

General idea The method proceeds by first dropping the requirement that the xi be integers and solving the associated relaxed linear programming problem to obtain a basic feasible solution. Geometrically, this solution will be a vertex of the convex polytope consisting of all feasible points. If this vertex is not an integer point then the method finds a hyperplane with the vertex on one side and all feasible integer points on the other. This is then added as an additional linear constraint to exclude the vertex found, creating a modified linear program. The new program is then solved and the process is repeated until an integer solution is found.

Step 1: solving the relaxed linear program Using the simplex method to solve a linear program produces a set of equations of the form

xi+∑ja¯i,jxj=b¯i where xi is a basic variable and the xj's are the nonbasic variables (i.e. the basic solution which is an optimal solution to the relaxed linear program is xi=b¯i and xj=0). We write coefficients b¯i and a¯i,j with a bar to denote the last tableau produced by the simplex method. These coefficients are different from the coefficients in the matrix A and the vector b.

Step 2: Find a linear constraint Consider now a basic variable xi which is not an integer. Rewrite the above equation so that the integer parts are added on the left side and the fractional parts are on the right side:

xi+∑j⌊a¯i,j⌋xj−⌊b¯i⌋=b¯i−⌊b¯i⌋−∑j(a¯i,j−⌊a¯i,j⌋)xj. For any integer point in the feasible region, the left side is an integer since all the terms xi, xj, ⌊a¯i,j⌋, ⌊b¯i⌋ are integers. The right side of this equation is strictly less than 1: indeed, b¯i−⌊b¯i⌋ is strictly less than 1 while −∑j(a¯i,j−⌊a¯i,j⌋)xj is negative. Therefore the common value must be less than or equal to 0. So the inequality

b¯i−⌊b¯i⌋−∑j(a¯i,j−⌊a¯i,j⌋)xj≤0 must hold for any integer point in the feasible region. Furthermore, non-basic variables are equal to 0s in any basic solution and if xi is not an integer for the basic solution x,

b¯i−⌊b¯i⌋−∑j(a¯i,j−⌊a¯i,j⌋)xj=b¯i−⌊b¯i⌋>0.

Conclusion So the inequality above excludes the basic feasible solution and thus is a cut with the desired properties. More precisely, b¯i−⌊b¯i⌋−∑j(a¯i,j−⌊a¯i,j⌋)xj is negative for any integer point in the feasible region, and strictly positive for the basic feasible (non integer) solution of the relaxed linear program. Introducing a new slack variable xk for this inequality, a new constraint is added to the linear program, namely

xk+∑j(⌊a¯i,j⌋−a¯i,j)xj=⌊b¯i⌋−b¯i,xk≥0,xk an integer.

Convex optimization Cutting plane methods are also applicable in nonlinear programming. The underlying principle is to approximate the feasible region of a nonlinear (convex) program by a finite set of closed half spaces and to solve a sequence of approximating linear programs.

See also Benders' decomposition Branch and cut Branch and bound Column generation Dantzig–Wolfe decomposition

References

… excerpt ends here. Continue reading the full article.

Illustrations

Cutting-plane method: The intersection of the unit cube with the cutting plane x1+x2+x3≥2. In the context of the Traveling salesman problem on three nodes, this (rather weak[why?]) inequality states that every tour must have at least two edges.
The intersection of the unit cube with the cutting plane x1+x2+x3≥2. In the context of the Traveling salesman problem on three nodes, this (rather weak[why?]) inequality states that every tour must have at least two edges.

Worked examples

Example 1 — a first encounter with Cutting-plane method

Start with the simplest possible case. Write down what Cutting-plane method claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, 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 Cutting-plane 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 Cutting-plane 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 Cutting-plane method

In research
Cutting-plane method appears in computer science 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 Cutting-plane 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
Cutting-plane method is common in secondary-school and first-year university syllabi. It links to neighbouring topics Optimization algorithms and methods, so understanding it makes those chapters shorter.
In everyday life
Look for Cutting-plane 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 “Cutting-plane method” →

How to study Cutting-plane method in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cutting-plane 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 Cutting-plane method out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cutting-plane method in simple terms?

In mathematical optimization, the cutting-plane method is any of a variety of optimization methods that iteratively refine a feasible set or objective function by means of linear inequalities, termed cuts. Such procedures are commonly used to find integer solutions to mixed integer linear programmi…

Why does Cutting-plane method matter?

Because it connects several computer science 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 Cutting-plane 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 Cutting-plane method.

Tags

  • Optimization algorithms and methods

Keep exploring