Maximum Cut Parameterized by Crossing Number
Markus Chimani, Christine Dahn, Martina Juhnke-Kubitzke, Nils M., Kriege, Petra Mutzel, Alexander Nover

TL;DR
This paper introduces a fixed-parameter tractable algorithm for the NP-hard Max-Cut problem based on the crossing number of a graph's drawing, extending tractability results beyond 1-planar graphs.
Contribution
It presents the first fixed-parameter algorithm for Max-Cut parameterized by crossing number, with improved running time over previous methods restricted to 1-planar graphs.
Findings
Algorithm runs in $O(2^k \, p(n + k))$ time, where $k$ is the crossing number.
Max-Cut is fixed-parameter tractable with respect to crossing number.
Results extend to minor crossing number, broadening applicability.
Abstract
Given an edge-weighted graph on nodes, the NP-hard Max-Cut problem asks for a node bipartition such that the sum of edge weights joining the different partitions is maximized. We propose a fixed-parameter tractable algorithm parameterized by the number of crossings in a given drawing of . Our algorithm achieves a running time of , where is the polynomial running time for planar Max-Cut. The only previously known similar algorithm [8] is restricted to 1-planar graphs (i.e., at most one crossing per edge) and its dependency on is of order . A direct consequence of our result is that Max-Cut is fixed-parameter tractable w.r.t. the crossing number, even without a given drawing. Moreover, the results naturally carry over to the minor crossing number.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\Issue00000 \HeadingAuthor \HeadingTitle \Ack
[email protected]@[email protected] [email protected]@[email protected]
1]School of Mathematics/Computer Science, University Osnabrück, Germany
{markus.chimani,juhnke-kubitzke,anover}@uni-osnabrueck.de 2]Institute for Computer Science, University of Bonn, Germany
{christine.dahn,petra.mutzel}@cs.uni-bonn.de 3]Department of Computer Science, TU Dortmund University, Germany
\submitted
August 2019\reviewed\final\published\type\editor
Maximum Cut Parameterized by
Crossing Number
Markus Chimani
Christine Dahn
Martina Juhnke-Kubitzke
Nils M. Kriege
Petra Mutzel
Alexander Nover
[
[
[
Abstract
Given an edge-weighted graph on nodes, the NP-hard Max-Cut problem asks for a node bipartition such that the sum of edge weights joining the different partitions is maximized. We propose a fixed-parameter tractable algorithm parameterized by the number of crossings in a given drawing of . Our algorithm achieves a running time of , where is the polynomial running time for planar Max-Cut. The only previously known similar algorithm [7] is restricted to embedded 1-planar graphs (i.e., at most one crossing per edge) and its dependency on is of order . Finally, combining this with the fact that crossing number is fixed-parameter tractable with respect to itself, we see that Max-Cut is fixed-parameter tractable with respect to the crossing number, even without a given drawing. Moreover, the results naturally carry over to the minor-monotone-version of crossing number.
1 Introduction
Cut problems in graphs are a well-established class of problems attracting interest since the beginning of modern algorithmic research. Given an edge-weighted undirected graph, the Max-Cut problem asks for a node partition into two sets, such that the sum of the weights of the edges between the partition sets is maximized. The problem is getting increasing attention in the literature due to its applicability to various scenarios: these range from -embeddability [11], to the layout of electronic circuits [4, 9], to solving Ising spin glass models, which are of high interest in physics [1]. Besides the theoretical merits, such models need to be solved in adiabatic quantum computation [32]. Furthermore, quadratic unconstrained binary optimization (QUBO) problems can be solved via Max-Cut. Many combinatorial optimization problems can be stated in the form of QUBO such as multicommodity-flow problems, maximum clique, vertex cover, scheduling, and many others. Also see [10, 11] for a more in-depth overview on applications.
The Max-Cut problem has been shown to be NP-hard for general graphs [24]. Papadimitriou and Yannakakis [36] have shown that the Max-Cut problem is even APX-hard, i.e., there does not exist a polynomial-time approximation scheme unless P=NP. Goemans and Williamson proposed a randomized constant-factor approximation algorithm [17], which has been derandomized by Mahajan and Ramesh [31], achieving a ratio of 0.87856. Several special cases of the problem allow polynomial algorithms: If the weights of all edges are negative we obtain a Min-Cut problem, which can be solved, e.g., via network flow. Other special cases are, e.g., graphs without long odd cycles [20] or weakly bipartite graphs [19]. The case of planar input graphs is of particular interest. Orlova and Dorfman [34] and Hadlock [21] have shown how to solve Max-Cut in polynomial time for unweighted planar graphs. Those algorithms can be extended to weighted planar graphs; the currently fastest algorithms for the weighted case have been suggested by Shih et al. [38] and by Liers and Pardella [30], and achieve a running time of on planar graphs with nodes. Barahona has shown that the planarity condition can be relaxed to graphs not contractible to [3].
Similarly, it has been shown that Max-Cut can be solved in polynomial time if the graph can be embedded on a surface of constant genus [14, 15]. However, the edge-weights have to be restricted to integers whose absolute values are bounded by a polynomial in the input. The central idea of this algorithm is to write the generating function of cuts as a linear combination of Pfaffians. This algorithm is in fact highly non-trivial to realize: In order to obtain an implementable algorithm, [15] reports on a scheme, which depends on the existence of sufficiently many prime numbers within a given interval, which cannot be guaranteed in general.
A graph is 1-planar if it allows a drawing where each edge is involved in at most one crossing. A 1-plane graph is such a graph, together with an embedding realizing this property. The Max-Cut problem on 1-plane graphs with edge crossings has recently been shown to be fixed-parameter tractable (FPT) with parameter [7]. More precisely, it was shown that such instances can be solved in time, where is the running time of a polynomial-time Max-Cut algorithm on planar graph with nodes, e.g., [30, 38]. There are no restrictions on the edge weights.
Our contribution.
In this paper, we improve on the latter result in several ways: Firstly, we drop the requirement of 1-planarity, i.e., we consider graphs that can be drawn with at most crossings (even if multiple such crossings lie on the same edge). We therefore handle the case of the well-established notion of the graph’s crossing number. Secondly, we reduce the runtime dependency on from to . Finally, unlike the previous result, our approach can be extended to an FPT algorithm which does not even require a crossing-realizing drawing as an input; however, this increases the running time and requires a deep algorithm from the literature as a black box [18, 26]. Interestingly, we achieve these results by a simpler approach (compared to [7]). Comparing our algorithm with [15], we have no restrictions on the edge weights. Even in the restricted scenario, our algorithm is faster for graphs whose crossing number is at most twice its genus. Furthermore, we require only easily-implementable data structures and subalgorithms (if we are given a crossing-realizing drawing), compared to advanced methods from algebra.
The general idea of our algorithm is to recursively get rid of each crossing, each time resulting in two new subinstances. We end up with a set of up to planar graphs, each of which can be solved using a known polynomial-time Max-Cut algorithm for planar graphs. The maximum over all these subinstances then yields a maximum cut in the original instance.
Finally, we consider parameterizing the problem by the minor crossing number (see below for details). This measure is always at most the graph’s crossing number. While the exponential dependency on the respective parameter is identical, the running time only slightly increases in its polynomial part.
Independent work.
Kobayashi et al.[28] independently and simultaneously obtained another fixed-parameter tractable algorithm for Max-Cut parameterized by crossing number achieving the same running time. However, while we can always stay in the realm of maximum cuts when solving subinstances, they have to consider maximum weighted -factor problems. Their preprint was uploaded to arXiv shortly after ours [CDJKMN19, 27].
Organization of the paper.
Section 2 recapitulates the basic definitions for cuts and crossings. In Section 3, we present our new algorithm and prove its correctness and running time. Section 4 extends the results to the minor crossing number case. We end with a conclusion and open problems in Section 5.
2 Preliminaries
Throughout this paper we consider undirected edge-weighted graphs. The input for our Max-Cut problem is a graph , where denotes the (positive or negative) weight of edge , for each edge . A partition of the nodes into two sets and defines the cut . The value of a cut is the sum of all edge weights of the edges in the cut. Given , the Max-Cut problem asks for a cut with highest value. Since a graph can have multiple cuts of equal value, only the value of a maximum cut is unique, not the cut itself.
A non-degenerated drawing of a graph in the plane is a map of its nodes to distinct points in , and a map of its edges to curves connecting the respective endpoints, not including the points of any other node. Any point mapped to the plane either corresponds to a graph node, or is contained in at most two edge curves. A shared non-endpoint between two curves is called a crossing.
A graph is planar if it admits a drawing without any crossings. It is well known that planarity can be tested in linear time [23]. For non-planar graphs it is natural to ask for a drawing with as few crossings as possible. The smallest such number is the crossing number of . Not only is it NP-hard to compute [16], but even the so called realizability problem turns out to be NP-hard [29]: Given a graph and a set of edge pairs, is there a drawing of such that contains an edge pair if and only if the pair’s two edge curves cross in ? The key problem in testing realizability is that it is hard to figure out whether there exist orderings of the crossings along the respective edges that allow the above properties.
Therefore, sometimes more restricted crossing variants are considered. For example, 1-planar graphs admit drawings where every edge is involved in at most one crossing. Not all graphs can be drawn in such a way, since 1-planar graphs can have at most edges; also, the 1-planar number of crossings is in general larger than [35, CKMV19].
For a general drawing (not necessarily 1-plane), we typically encode its crossings as a crossing configuration . Therein, we not only store the pairs of edges that cross, but for each edge also the order of the crossings as they occur along its curve. The feasibility of a crossing configuration can be tested in time linear in by replacing crossings with dummy nodes of degree 4, testing planarity, and checking the cyclic order around dummy nodes.111In general, a specified edge pair may not really cross but merely “touch”; this is trivial to detect after testing planarity by checking the cyclic order of the edges around the dummy node. Given such a “flawed” configuration, we trivially obtain one with less crossings by removing such crossing pairs from . Although we will not require this fact in the following, this also allows us to efficiently deduce a drawing that respects . It is well understood that we can restrict ourselves to good drawings when considering the (traditional) crossing number of graphs: adjacent edges never cross and no edge pair crosses more than once.
3 Algorithm
Our main idea for computing the maximum cut in an embedded weighted graph is to eliminate its crossings one by one. In the end, we use a Max-Cut algorithm for planar graphs. We first introduce a slight variant of Max-Cut:
Definition 1** (Partially-Fixed Maximum Cut, PF-Max-Cut)**
Given an edge weighted graph and a set of fixed edges , find a cut of maximum value that contains all elements of .
A cut is feasible if it contains . A PF-Max-Cut instance is infeasible if it does not allow a feasible cut. It is easy to see that an instance is infeasible if and only if contains a cycle of odd length. We denote a maximum objective value by , and let for infeasible instances.
Observe that (as for Max-Cut) we do not need to consider a given crossing configuration as part of the problem description (see Corollary 7). However, since having allows for simplifications and a better running time, we will for now assume that we are given the graph together with a crossing configuration .222As noted above, we may assume that no such ever specifies “touching points”; we can reduce such configurations whenever our algorithm retrieves a new crossing configuration. We will explain later how to remove this assumption in Corollary 7.
Given any edge with weight in a PF-Max-Cut instance, we define the operation to bisubdivide at as follows: Subdivide twice, i.e., replace by a path of length with two new degree-2 nodes. We denote the new node incident to or by \overline{\hbox{}}$$v or \overline{\hbox{}}$$w, respectively. We consider the notation \overline{\hbox{}}$$\ \cdot\ an operand.333Observe that per recursion step, we will bisubdivide at most one edge per incident node (recall that adjacent edges never cross in good drawings). Thus, the above simple notation is unambiguous. In the graphs of the subproblems, see below, we may assume the nodes to be named afresh, and thus we may again perform bisubdivisions without creating notational ambiguity.
The edges v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}} and \overline{\hbox{}}$$v \overline{\hbox{}}$$w have weight [math], \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w retains the weight . Furthermore, we add v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}},\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}} to , and if , we replace it in by \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w. Clearly, both v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}},\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}} will be in any feasible cut; node \overline{\hbox{}}$$w will always lie in the same partition set as , and \overline{\hbox{}}$$v in the other (cf. Figure 1(b)). Most importantly this gives:
Lemma 2
The feasible cuts in an original PF-Max-Cut instance are in 1-to-1 correspondence to feasible cuts of equal value in a bisubdivided instance .
Proof 3.1**.**
Let be the edge in that is bisubdivided at to obtain . By construction, we know that both edges v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}, \overline{\hbox{}}$$v \overline{\hbox{}}$$w have cost [math] and are in , and thus in any -feasible cut. Consequently, in any -feasible cut, and \overline{\hbox{}}$$w will lie in a common partition set. Let be a node subset that induces some feasible (with respect to ) cut in . Then, the node set S=S^{\prime}\setminus\{\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}},\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}\} induces a feasible (with respect to ) cut in . Cut contains edge if and only if contains \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w. Since both these edges have identical cost, the total costs of both cuts are equal.
Inversely, let be a node subset that induces some feasible (with respect to ) cut in . Then, consider the cut in induced by , where s=\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}} if , and s=\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}} otherwise. Both fixed edges v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}, \overline{\hbox{}}$$v \overline{\hbox{}}$$w are in and the cut is thus feasible. Again, contains edge \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w if and only if contains , and both cut values are thus equal.
When we identify two nodes in a graph with one another, they become a common entity that is incident to all of their former neighbors. We will only identify nodes that are neither adjacent nor share neighbors. When identifying nodes in of some PF-Max-Cut instance , the set is retained, subject to replacing the edges formerly incident to or with their new counterparts.
We are now ready to describe our algorithm. We are given a Max-Cut instance , together with some crossing configuration with crossings. Let be the set of fixed edges and consider as a PF-Max-Cut instance. From , we pick a crossed edge , and derive two new triplets , for . Both derived crossing configurations attain at most crossings and we can call our algorithm recursively on and . As a base case, the derived graphs become planar and (after a preprocessing to deal with the fixed edges) we apply an efficient Max-Cut algorithm for planar graphs. The solutions of , for , yield a solution of . Observe, however, that may become infeasible.
Let us describe this recursion step formally (cf. also Figures 1 and 2). We define the crossing split operation that, given a triplet , yields the two triplets and : Let be a PF-Max-Cut instance and a crossing configuration of . Consider a crossing with crossing edges and . For , let be the ordered sets of crossings in between and (cf. the dotted edges in Figure 1: e.g., the crossings between the two dotted edges and \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w in Figure 1(b) are in as they are between and in Figure 1(a)). Let the intermediate instance be obtained from by bisubdividing at and bisubdividing at . For , let be the PF-Max-Cut instance obtained from by identifying \overline{\hbox{}}$$x with i$$\overline{\hbox{}} (see Figures 2(c) and 2(d)). Intuitively, the two graphs obtained by the identifications represent the two possibilities whether is on the same side of the cut as or not. We obtain a corresponding crossing configuration from by removing and placing the crossings (retaining their order) on the edge j\hskip 0.15475pt\hbox to0.0pt{\leavevmode\hbox{\set@colorj}\hss}{\hskip-0.15475pt\leavevmode\hbox{\set@color\overline{\hbox{}}}}, for all . The triplets and are the results of the crossing split operation with respect to .
Lemma 3**.**
Let be a PF-Max-Cut instance and a crossing configuration of with crossings. Let be any crossing with some crossing edges and , and consider the crossing split operation with respect to . For , let be the resulting triplets. Then we have:
for , is a feasible crossing configuration for with at most crossings; and 2. 2.
.
Proof 3.2**.**
Consider any drawing of realizing . By routing the new paths (v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}},\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}},\hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}w resp. x\hbox to0.0pt{\hskip 0.35762pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorx}},\hbox to0.0pt{\hskip 0.35762pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorx}}\hbox to0.0pt{\hskip 0.13078pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colory}},\hbox to0.0pt{\hskip 0.13078pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colory}}y) along the curves of their original edges ( resp. ) we obtain a drawing of from . Thereby, for , we place the new nodes j$$\overline{\hbox{}} in a close neighborhood of on the curve segment between and , so that \overline{\hbox{}}$$x \overline{\hbox{}}$$y is only crossed by \overline{\hbox{}}$$v \overline{\hbox{}}$$w and vice versa. Note that the number of crossings in is equal to that of , since all crossings in in are transferred to the edge j\hskip 0.15475pt\hbox to0.0pt{\leavevmode\hbox{\set@colorj}\hss}{\hskip-0.15475pt\leavevmode\hbox{\set@color\overline{\hbox{}}}} in , for all , and the original crossing between and in has a counterpart in between the edges \overline{\hbox{}}$$v \overline{\hbox{}}$$w and \overline{\hbox{}}$$x \overline{\hbox{}}$$y. Since the edges \overline{\hbox{}}$$v \overline{\hbox{}}$$w and \overline{\hbox{}}$$x \overline{\hbox{}}$$y are crossing free except for , we can follow (in a close neighborhood) the curves of \overline{\hbox{}}$$v \overline{\hbox{}}$$w from any of its end points up to , and onwards from there along the curve of \overline{\hbox{}}$$v \overline{\hbox{}}$$w to any of its end points. Since these routes are crossings-free, we call them free routes. When we now identify \overline{\hbox{}}$$x with \overline{\hbox{}}$$v, we can locally redraw our drawing such that vanishes and no other crossings arise, see Figure 2(c). Observe that \overline{\hbox{}}$$x has precisely two neighbors: \overline{\hbox{}}$$y and . The identification is thus such that we may remove \overline{\hbox{}}$$x and insert edges \overline{\hbox{}}$$y \overline{\hbox{}}$$v and x\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}} instead. The former can trivially be drawn without any crossings along the free route between \overline{\hbox{}}$$y and \overline{\hbox{}}$$v. The curve for the latter edge is the concatenation of the former curve of x\hbox to0.0pt{\hskip 0.35762pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorx}} and the free route between \overline{\hbox{}}$$x and \overline{\hbox{}}$$v. The number of crossings along the edge x\hbox to0.0pt{\hskip 0.35762pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorx}} (with now \hbox to0.0pt{\hskip 0.35762pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorx}}=\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}) does thus not change. We can perform the analogous redrawing when identifying \overline{\hbox{}}$$x with \overline{\hbox{}}$$w, see Figure 2(d). This establishes claim (1).
Two nodes and can either be on the same side of a cut, or they are on opposite sides. Therefore, we create two new subproblems in which and are in the same partition set or not, respectively. In (where we identify \overline{\hbox{}}$$x with \overline{\hbox{}}$$v), we have a path of two edges between and (namely v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}} and \hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}x), both of which are in . Thus, and have to be in the same partition set, see Figure 2(c). Conversely, in (where we identify \overline{\hbox{}}$$x with \overline{\hbox{}}$$w), we have a path of three edges between and (namely v\hbox to0.0pt{\hskip 0.103pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorv}}, \overline{\hbox{}}$$v \overline{\hbox{}}$$w, and \hbox to0.0pt{\hskip 1.21411pt\leavevmode\hbox{\set@color\overline{\hbox{}}}\hss}{\leavevmode\hbox{\set@colorw}}x), all of which are in . Thus, and have to be in different partition sets, see Figure 2(d). We can see that the respective constructions do not induce any further restrictions on the set of cuts. In particular, both derived instances still allow any partition choice between and , between and , and between and . Overall, every feasible cut in can be realized either in or in .
If we know the maximum cut in instance and the maximum cut in instance , we can pick the larger of these two cuts and transfer it back to . By applying Lemma 2 twice (once for the bisubdivision of at and once for the bisubdivision of at ), the maximum cut in induces a maximum cut in of the same value. Claim (2) follows.
If we are in a base case – the considered graph is planar – we can use an efficient Max-Cut algorithm for planar graphs:
Lemma 4**.**
Consider a PF-Max-Cut instance with a planar graph . Let be a polynomial upper bound on the running time of a Max-Cut algorithm on the planar graph . We can compute an optimal solution to – or decide that the instance is infeasible – in .
Proof 3.3**.**
We transform the PF-Max-Cut instance into a traditional Max-Cut instance by attaching a large weight to the edges in . Namely, we add to the weight of each edge , where . The omission of a single edge of from the solution cut (even if picking all other edges of positive weight) will already result in a worse objective value than picking all of and all edges of negative weight. The instance is infeasible if and only if the computed cut does not contain all of ; this can also be deduced purely by checking whether the objective value is at least .
We proved our lemma above for a general case (by adding to the weight of each edge in ), but in fact we only require a slightly weaker version, since in our algorithm for all . Thus it suffices to set instead of adding to . Using any of the currently fastest Max-Cut algorithms for planar graphs [30, 38] leads to time in the above lemma. We could speed-up infeasibility detection by checking whether contains a cycle of odd length prior to the transformation; while this only requires time via depth-first search, the overall asymptotic runtime for the lemma’s claim does of course not improve.
Theorem 5**.**
Let be an edge-weighted graph and a crossing configuration of with crossings. Let be a polynomial upper bound on the running time of a Max-Cut algorithm on planar graphs with nodes. We can compute a maximum cut in in time.
Proof 3.4**.**
As described above, we solve the instance by considering the PF-Max-Cut instance together with . Thus the triplet forms the initial input of our recursive algorithm .
Algorithm proceeds as follows on a given triplet: If the triplet’s graph is planar, we solve via Lemma 4. Otherwise, we use Lemma 3 to obtain two new input triples , for each of which we call recursively. Their returned solutions (i.p., their solution values) induce the optimum solution for the current input triplet. However, while the number of crossings decreases by (at least) one per recursion step, the graph’s size increases by three nodes.
The runtime complexity follows from the fact that we consider two choices per crossing in the given , and thus construct graphs. For each such graph, which has nodes, we run the planar Max-Cut algorithm.
Above, we trivially have and thus .
Corollary 6**.**
The above algorithm is an FPT algorithm with parameter , provided that a crossing configuration with crossings is part of the input. Moreover, the attained running time is polynomial for any . Using the currently fastest Max-Cut algorithm for planar graphs [30, 38], our algorithm yields a running time of .
Quite sophisticated results by Grohe [18] and Karabayashi and Reed [26] show that the problem to compute the crossing number of a graph is in FPT (even in linear time) with respect to its natural parameterization: Given a graph and a number , we can answer the question “ ?” in time . In case of a yes-instance, we obtain a corresponding crossing configuration as a witness. The computable function is purely dependent on . However, the dependency is double exponential, and the algorithm far from being practical. Still, these results formally allow us to get rid of the requirement that is part of the input:
Corollary 7**.**
Given an edge-weighted undirected graph . Computing a maximum cut in is FPT with parameter .
4 Minor Crossing Number
We say is a minor of , denoted by , if can be obtained from by deletion and contraction of edges. The minor crossing number of is given by . A realization of is a pair with and being a crossing configuration of with crossings. It is easy to see that for graphs of maximum degree we have . Similarly, any graph allows a realizing graph () of maximum degree where vertices of are replaced by disjoint cubic trees.
By definition we always have ; as such can be a stronger FPT-parameter. Also, in contrast to crossing number, the minor crossing number is monotone with respect to graph minors, i.e., the family is minor closed. Thus, by [37], we can (theoretically) check whether in time for fixed .
Given a connected graph with , we can obtain a graph from realizing in polynomial time as follows: Choose a node of degree at least . Try different pairs of neighbors until finding the first with , where is obtained from by splitting into two nodes and with , 444Observe that in general this splitting operation may increase ; we search for a split (which has to exists) for which it does not increase. Since the split is an inverse minor operation, can never decrease.. We call the edge a split edge. Iterating this for each high degree node, yields a graph of maximum degree realizing . Note that has at most nodes.
Let . Attaching the weight to each split edge, we can make sure that these edges are not in any maximum cut of . Clearly, the cuts in not containing any split edges are in one-to-one correspondence with cuts in . Using 5, we obtain an algorithm computing a maximum cut on parameterized by the . Similarly to Corollary 7 we do not require an explicit realization as part of the input (using the above construction method for ).
Corollary 8**.**
(i) Let be an edge-weighted undirected graph with , a realization of , and be a polynomial upper bound on the running time of a Max-Cut algorithm on planar graphs with nodes. We can compute a maximum cut in in time.
(ii) Given an edge-weighted undirected graph , computing a maximum cut in is FPT with parameter .
5 Conclusion and Open Problems
Given a graph together with a feasible crossing configuration with crossings, we previously only knew that Max-Cut is polynomial time solvable if is constant and the graph is 1-planar, i.e., each edge is involved in at most one crossing. The runtime dependency on has been to the order of [7].
Herein, we improved on this in several ways: Firstly, we decreased the dependency on to the order of . Secondly, we extended the applicability to any graph with (at most) crossings: our parameter becomes the true crossing number of the graph, without any 1-planarity restriction. This shows that Max-Cut is in FPT with respect to the graph’s crossing number. Moreover, we achieve these improvements by introducing simpler ideas than those proposed for the former result, yielding an overall surprisingly simple algorithm. Compared to the result of Kobayashi et al.[28], we are able to stay within the realm of Max-Cut. Finally, our result naturally carries over to the minor crossing number.
The skewness of a graph is the minimum number of edges to remove such that the graph becomes planar. The genus of a graph is the minimum oriented genus of a surface onto which the graph can be embedded without crossings. In FPT research, there are many algorithmic approaches that consider graphs with bounded genus , see, e.g. [5, 6, 12, 13]. However, the obtained FPT algorithms are typically parameterized by the objective value , or by the combined parameter . There are much fewer results that obtain FPT algorithms parameterized purely with . Notable examples are the graph genus problem itself [33] (where and coincide by definition), and the graph isomorphism problem [25] (which generalizes the linear-time algorithm for the problem on planar graphs). There are even fewer parameterized results with respect to skewness; the probably best known example is that maximum flow can be solved in the running time of planar graphs, if the graph’s skewness is fixed [22]. Our above algorithm seems to be the first time that the crossing number has been proposed as an efficient non-trivial FPT parameter for any widely known problem.
Besides the weight-restricted case of [15] (briefly described in the introduction), it is unclear whether Max-Cut could be FPT with respect to either skewness or genus. We deem this an interesting question for further research.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] F. Barahona. On the computational complexity of ising spin glass models. Journal of Physics A: Mathematical and General , 15(10):3241, 1982.
- 2[2] F. Barahona. Balancing signed toroidal graphs in polynomial time. Departamento de Matematicas, Universidad de Chile, Santiago, Chile , 1983.
- 3[3] F. Barahona. The Max-Cut problem on graphs not contractible to K 5 subscript 𝐾 5 {K}_{5} . Operations Research Letters , 2(3):107–111, 1983.
- 4[4] F. Barahona, M. Grötschel, M. Jünger, and G. Reinelt. An application of combinatorial optimization to statistical physics and circuit layout design. Operations Research , 36(3):493–513, 1988.
- 5[5] H. L. Bodlaender, F. V. Fomin, D. Lokshtanov, E. Penninkx, S. Saurabh, and D. M. Thilikos. (Meta) Kernelization. Journal of the ACM (JACM) , 63(5):44:1–44:69, 2016.
- 6[6] J. Chen, I. A. Kanj, L. Perkovic, E. Sedgwick, and G. Xia. Genus characterizes the complexity of certain graph problems: Some tight results. Journal of Computer and System Sciences , 73(6):892–907, 2007.
- 7[7] C. Dahn, N. M. Kriege, and P. Mutzel. A fixed-parameter algorithm for the Max-Cut problem on embedded 1-planar graphs. In C. S. Iliopoulos, H. W. Leong, and W. Sung, editors, Combinatorial Algorithms - 29th International Workshop, IWOCA 2018, Singapore, July 16-19, 2018, Proceedings , volume 10979 of Lecture Notes in Computer Science , pages 141–152. Springer, 2018.
- 8[8] C. Dahn, N. M. Kriege, P. Mutzel, and J. Schilling. Fixed-parameter algorithms for the weighted Max-Cut problem on embedded 1-planar graphs. Co RR , abs/1812.03074, 2018.
