Maximum cut

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
An example of a maximum cut

For a graph, a maximum cut is a cut whose size is at least the size of any other cut. That is, it is a partition of the graph's vertices into two complementary sets S and T, such that the number of edges between the set S and the set T is as large as possible. The problem of finding a maximum cut in a graph is known as the Max-Cut Problem.

The problem can be stated simply as follows. One wants a subset S of the vertex set such that the number of edges between S and the complementary subset is as large as possible. Equivalently, one wants a bipartite subgraph of the graph with as many edges as possible.

There is a more general version of the problem called weighted Max-Cut, where each edge is associated with a real number, its weight, and the objective is to maximize the total weight of the edges between S and its complement rather than the number of the edges. The weighted Max-Cut problem allowing both positive and negative weights can be trivially transformed into a weighted minimum cut problem by flipping the sign in all weights.

Computational complexity[edit]

The following decision problem related to maximum cuts has been studied widely in theoretical computer science:

Given a graph G and an integer k, determine whether there is a cut of size at least k in G.

This problem is known to be NP-complete. It is easy to see that the problem is in NP: a yes answer is easy to prove by presenting a large enough cut. The NP-completeness of the problem can be shown, for example, by a reduction from maximum 2-satisfiability (a restriction of the maximum satisfiability problem).[1] The weighted version of the decision problem was one of Karp's 21 NP-complete problems;[2] Karp showed the NP-completeness by a reduction from the partition problem.

The canonical optimization variant of the above decision problem is usually known as the Maximum-Cut Problem or Max-Cut and is defined as:

Given a graph G, find a maximum cut.

The optimization variant is known to be NP-Hard. The opposite problem, that of finding a minimum cut is known to be efficiently solvable via the Ford–Fulkerson algorithm.


Polynomial-time algorithms[edit]

As the Max-Cut Problem is NP-hard, no polynomial-time algorithms for Max-Cut in general graphs are known.

Planar graphs[edit]

However, in planar graphs, the Maximum-Cut Problem is dual to the route inspection problem (the problem of finding a shortest tour that visits each edge of a graph at least once), in the sense that the edges that do not belong to a maximum cut-set of a graph G are the duals of the edges that are doubled in an optimal inspection tour of the dual graph of G. The optimal inspection tour forms a self-intersecting curve that separates the plane into two subsets, the subset of points for which the winding number of the curve is even and the subset for which the winding number is odd; these two subsets form a cut that includes all of the edges whose duals appear an odd number of times in the tour. The route inspection problem may be solved in polynomial time, and this duality allows the maximum cut problem to also be solved in polynomial time for planar graphs.[3] The Maximum-Bisection problem is known however to be NP-hard.[4]

Approximation algorithms[edit]

The Max-Cut Problem is APX-hard,[5] meaning that there is no polynomial-time approximation scheme (PTAS), arbitrarily close to the optimal solution, for it, unless P = NP. Thus, every known polynomial-time approximation algorithm achieves an approximation ratio strictly less than one.

There is a simple randomized 0.5-approximation algorithm: for each vertex flip a coin to decide to which half of the partition to assign it.[6][7] In expectation, half of the edges are cut edges. This algorithm can be derandomized with the method of conditional probabilities; therefore there is a simple deterministic polynomial-time 0.5-approximation algorithm as well.[8][9] One such algorithm starts with an arbitrary partition of the vertices of the given graph and repeatedly moves one vertex at a time from one side of the partition to the other, improving the solution at each step, until no more improvements of this type can be made. The number of iterations is at most because the algorithm improves the cut by at least one edge at each step. When the algorithm terminates, at least half of the edges incident to every vertex belong to the cut, for otherwise moving the vertex would improve the cut. Therefore, the cut includes at least edges.

The polynomial-time approximation algorithm for Max-Cut with the best known approximation ratio is a method by Goemans and Williamson using semidefinite programming and randomized rounding that achieves an approximation ratio where


If the unique games conjecture is true, this is the best possible approximation ratio for maximum cut.[12] Without such unproven assumptions, it has been proven to be NP-hard to approximate the max-cut value with an approximation ratio better than .[13][14]

In [15] there is an extended analysis of 10 heuristics for this problem, including open-source implementation.


Theoretical physics[edit]

In statistical physics and disordered systems, the Max Cut problem is equivalent to minimizing the Hamiltonian of a spin glass model, most simply the Ising model.[16] For the Ising model on a graph G and only nearest-neighbor interactions, the Hamiltonian is

Here each vertex i of the graph is a spin site that can take a spin value A spin configuration partitions into two sets, those with spin up and those with spin down We denote with the set of edges that connect the two sets. We can then rewrite the Hamiltonian as

Minimizing this energy is equivalent to the min-cut problem or by setting the graph weights as the max-cut problem.[16]

Circuit design[edit]

The max cut problem has applications in VLSI design.[16]

See also[edit]


  1. ^ Garey & Johnson (1979).
  2. ^ Karp (1972).
  3. ^ Hadlock (1975).
  4. ^ Jansen et al. (2005).
  5. ^ Papadimitriou & Yannakakis (1991) prove MaxSNP-completeness.
  6. ^ Mitzenmacher & Upfal (2005), Sect. 6.2.
  7. ^ Motwani & Raghavan (1995), Sect. 5.1.
  8. ^ Mitzenmacher & Upfal (2005), Sect. 6.3.
  9. ^ Khuller, Raghavachari & Young (2007).
  10. ^ Gaur & Krishnamurti (2007).
  11. ^ Ausiello et al. (2003)
  12. ^ Khot et al. (2007).
  13. ^ Håstad (2001)
  14. ^ Trevisan et al. (2000)
  15. ^ Dunning, Gupta & Silberholz (2018)
  16. ^ a b c Barahona, Francisco; Grötschel, Martin; Jünger, Michael; Reinelt, Gerhard (1988). "An Application of Combinatorial Optimization to Statistical Physics and Circuit Layout Design". Operations Research. 36 (3): 493–513. doi:10.1287/opre.36.3.493. ISSN 0030-364X. JSTOR 170992.


  • Ausiello, Giorgio; Crescenzi, Pierluigi; Gambosi, Giorgio; Kann, Viggo; Marchetti-Spaccamela, Alberto; Protasi, Marco (2003), Complexity and Approximation: Combinatorial Optimization Problems and Their Approximability Properties, Springer.
Maximum cut (optimisation version) is the problem ND14 in Appendix B (page 399).
Maximum cut (decision version) is the problem ND16 in Appendix A2.2.
Maximum bipartite subgraph (decision version) is the problem GT25 in Appendix A1.2.

External links[edit]