Max Cut
   HOME

TheInfoList



OR:

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 Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
of the graph's vertices into two complementary sets and , such that the number of edges between and is as large as possible. Finding such a cut is known as the max-cut problem. The problem can be stated simply as follows. One wants a
subset In mathematics, Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they are ...
of the vertex set such that the number of edges between and the complementary subset is as large as possible. Equivalently, one wants a
bipartite Bipartite may refer to: * 2 (number) * Bipartite (theology), a philosophical term describing the human duality of body and soul * Bipartite graph, in mathematics, a graph in which the vertices are partitioned into two sets and every edge has an en ...
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 In science and engineering, the weight of an object is the force acting on the object due to gravity. Some standard textbooks define weight as a Euclidean vector, vector quantity, the gravitational force acting on the object. Others define weigh ...
, and the objective is to maximize the total weight of the edges between 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 In graph theory, a minimum cut or min-cut of a graph is a cut (a partition of the vertices of a graph into two disjoint subsets) that is minimal in some metric. Variations of the minimum cut problem consider weighted graphs, directed graphs, term ...
problem by flipping the sign in all weights.


Lower bounds

Edwards obtained the following two lower bound for Max-Cut on a graph with vertices and edges (in (a) is arbitrary, but in (b) it is connected): :(a) \frac+\frac\left(\sqrt-\frac\right) :(b) \frac +\frac. Bound (b) is often called the Edwards-Erdős bound as Erdős conjectured it. Edwards proved the Edwards-Erdős bound using probabilistic method; Crowston et al.. proved the bound using linear algebra and analysis of pseudo-boolean functions. The proof of Crowston et al. allows us to extend the Edwards-Erdős bound to the Balanced Subgraph Problem (BSP) on
signed graphs In the area of graph theory in mathematics, a signed graph is a graph in which each edge has a positive or negative sign. A signed graph is balanced if the product of edge signs around every cycle is positive. The name "signed graph" and the no ...
, i.e. graphs where each edge is assigned + or –. For a partition of into subsets and , an edge is balanced if either and and are in the same subset, or and and are different subsets. BSP aims at finding a partition with the maximum number of balanced edges in . The Edwards-Erdős gives a lower bound on for every connected signed graph . Bound (a) was improved for special classes of graphs: triangle-free graphs, graphs of given maximum degree, -free graphs, etc., see e.g. Poljak and Turzik extended the Edwards-Erdős bound to weighted Max-Cut: :\frac+\frac, where and are the weights of and its minimum weight spanning tree . Recently, Gutin and Yeo obtained a number of lower bounds for weighted Max-Cut extending the Poljak-Turzik bound for arbitrary weighted graphs and bounds for special classes of weighted graphs.


Computational complexity

The following
decision problem In computability theory and computational complexity theory, a decision problem is a computational problem that can be posed as a yes–no question of the input values. An example of a decision problem is deciding by means of an algorithm whethe ...
related to maximum cuts has been studied widely in
theoretical computer science Theoretical computer science (TCS) is a subset of general computer science and mathematics that focuses on mathematical aspects of computer science such as the theory of computation, lambda calculus, and type theory. It is difficult to circumsc ...
: :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 In computer science, 2-satisfiability, 2-SAT or just 2SAT is a computational problem of assigning values to variables, each of which has two possible values, in order to satisfy a system of constraints on pairs of variables. It is a special case ...
(a restriction of the
maximum satisfiability problem In computational complexity theory, the maximum satisfiability problem (MAX-SAT) is the problem of determining the maximum number of clauses, of a given Boolean formula in conjunctive normal form, that can be made true by an assignment of truth val ...
). The weighted version of the decision problem was one of Karp's 21 NP-complete problems; Karp showed the NP-completeness by a reduction from the
partition problem In number theory and computer science, the partition problem, or number partitioning, is the task of deciding whether a given multiset ''S'' of positive integers can be partitioned into two subsets ''S''1 and ''S''2 such that the sum of the numbers ...
. 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 In graph theory, a minimum cut or min-cut of a graph is a cut (a partition of the vertices of a graph into two disjoint subsets) that is minimal in some metric. Variations of the minimum cut problem consider weighted graphs, directed graphs, term ...
is known to be efficiently solvable via the Ford–Fulkerson algorithm.


Algorithms


Polynomial-time algorithms

As the Max-Cut Problem is
NP-hard In computational complexity theory, NP-hardness ( non-deterministic polynomial-time hardness) is the defining property of a class of problems that are informally "at least as hard as the hardest problems in NP". A simple example of an NP-hard pr ...
, no polynomial-time algorithms for Max-Cut in general graphs are known.


Planar graphs

However, in
planar graph In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cross ...
s, 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. The Maximum-Bisection problem is known however to be NP-hard.


Approximation algorithms

The Max-Cut Problem is
APX-hard In computational complexity theory, the class APX (an abbreviation of "approximable") is the set of NP optimization problems that allow polynomial-time approximation algorithms with approximation ratio bounded by a constant (or constant-factor ap ...
, 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 An approximation is anything that is intentionally similar but not exactly equal to something else. Etymology and usage The word ''approximation'' is derived from Latin ''approximatus'', from ''proximus'' meaning ''very near'' and the prefix ' ...
strictly less than one. There is a simple
randomized In common usage, randomness is the apparent or actual lack of pattern or predictability in events. A random sequence of events, symbols or steps often has no order and does not follow an intelligible pattern or combination. Individual rand ...
0.5-
approximation algorithm In computer science and operations research, approximation algorithms are efficient algorithms that find approximate solutions to optimization problems (in particular NP-hard problems) with provable guarantees on the distance of the returned solu ...
: for each vertex flip a coin to decide to which half of the partition to assign it. In expectation, half of the edges are cut edges. This algorithm can be derandomized with the
method of conditional probabilities In mathematics and computer science, the probabilistic method is used to prove the existence of mathematical objects with desired combinatorial properties. The proofs are probabilistic — they work by showing that a random object, chosen from some ...
; therefore there is a simple deterministic polynomial-time 0.5-approximation algorithm as well. One such algorithm starts with an arbitrary partition of the vertices of the given graph G = (V, E) 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 , E, 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 , E, /2 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 Within computer science and operations research, many combinatorial optimization problems are computationally intractable to solve exactly (to optimality). Many such problems do admit fast (polynomial time) approximation algorithms—that is, algo ...
that achieves an approximation ratio \alpha \approx 0.878, where :\alpha = \frac \min_ \frac. If the
unique games conjecture In computational complexity theory, the unique games conjecture (often referred to as UGC) is a conjecture made by Subhash Khot in 2002. The conjecture postulates that the problem of determining the approximate ''value'' of a certain type of gam ...
is true, this is the best possible approximation ratio for maximum cut. Without such unproven assumptions, it has been proven to be NP-hard to approximate the max-cut value with an approximation ratio better than \tfrac \approx 0.941. In there is an extended analysis of 10 heuristics for this problem, including open-source implementation.


Parameterized algorithms and kernelization

While it is trivial to prove that the problem of finding a cut of size at least (the parameter) ''k'' is fixed-parameter tractable (FPT), it is much harder to show fixed-parameter tractability for the problem of deciding whether a graph ''G'' has a cut of size at least the Edwards-Erdős lower bound (see Lower bounds above) plus (the parameter)''k''. Crowston et al.. proved that the problem can be solved in time 8^kO(n^4) and admits a kernel of size O(k^5). Crowston et al. extended the fixed-parameter tractability result to the Balanced Subgraph Problem (BSP, see Lower bounds above) and improved the kernel size to O(k^3) (holds also for BSP). Etscheid and Mnich . improved the fixed-parameter tractability result for BSP to 8^kO(m) and the kernel-size result to O(k) vertices.


Applications


Theoretical physics

In statistical physics and disordered systems, the Max Cut problem is equivalent to minimizing the
Hamiltonian Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
of a spin glass model, most simply the Ising model. For the Ising model on a graph G and only nearest-neighbor interactions, the Hamiltonian is :H = -\sum_ J_s_is_j Here each vertex ''i'' of the graph is a spin site that can take a spin value s_i = \pm 1. A spin configuration partitions V(G) into two sets, those with spin up V^+ and those with spin down V^-. We denote with \delta(V^+) the set of edges that connect the two sets. We can then rewrite the Hamiltonian as :\begin H &= -\sum_ J_ - \sum_ J_ + \sum_ J_ \\ &= -\sum_ J_ + 2 \sum_ J_ \\ &= C + 2 \sum_ J_ \end Minimizing this energy is equivalent to the min-cut problem or by setting the graph weights as w_ = -J_, the max-cut problem.


Circuit design

The max cut problem has applications in VLSI design.


See also

*
Minimum cut In graph theory, a minimum cut or min-cut of a graph is a cut (a partition of the vertices of a graph into two disjoint subsets) that is minimal in some metric. Variations of the minimum cut problem consider weighted graphs, directed graphs, term ...
*
Minimum k-cut In mathematics, the minimum ''k''-cut, is a combinatorial optimization problem that requires finding a set of edges whose removal would partition the graph to at least ''k'' connected components. These edges are referred to as ''k''-cut. The goal ...
* Odd cycle transversal, equivalent to asking for the largest bipartite induced subgraph *
Unfriendly partition In the mathematics of infinite graphs, an unfriendly partition or majority coloring is a partition of the vertices of the graph into disjoint subsets, so that every vertex has at least as many neighbors in other sets as it has in its own set. It is ...
, a related concept for infinite graphs


Notes


References

*. *. ::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. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *. *{{citation , last1=Zeng , first1=Q. , last2=Hou , first2=J. , title=Bipartite Subgraphs of ''H''-free Graphs , journal=Bull. Aust. Math. Soc. , volume=30 , issue=3 , year=2017 , pages=1–13 , doi=10.1017/S0004972716001295 .


External links

* Pierluigi Crescenzi, Viggo Kann, Magnús Halldórsson, Marek Karpinski,
Gerhard Woeginger Gerhard J. Woeginger (31 May 1964 – 1 April 2022) was an Austrian mathematician and computer scientist who worked in Germany as a professor at RWTH Aachen University, where he chaired the algorithms and complexity group in the department of co ...
(2000)
"Maximum Cut"
i
"A compendium of NP optimization problems"
* Andrea Casini, Nicola Rebagliati (2012)
"A Python library for solving Max Cut"
Graph theory objects Combinatorial optimization NP-complete problems Computational problems in graph theory