Abstract 1 Introduction 2 ILP Formulation for Treewidth based on PEOs 3 𝒌-Holes inequalities for TWLO 4 Separation of 𝒌-hole inequalities 5 Experiments 6 Conclusions References

K-Hole Separation in PEO-Based ILP Treewidth Formulation

Andrea D’Ascenzo ORCID Department of Computer Science, Gran Sasso Science Institute, L’Aquila, Italy
Abstract

In this paper, we introduce a family of valid inequalities for the strongest currently known integer programming formulation of treewidth based on perfect elimination orderings. These inequalities arise from the structure of induced chordless cycles (holes) and strengthen the canonical linear relaxation by enforcing constraints that every feasible chordal completion must satisfy. To handle the exponentially many such inequalities, we develop a dedicated separation routine capable of detecting violated k-hole constraints within a cutting-plane framework. Our computational results show that incorporating these inequalities substantially improves the quality of the lower bounds across a broad range of graph classes, in some cases nearly closing the integrality gap.

Keywords and phrases:
Treewidth, Integer Linear Programming, Polyhedral Combinatorics, Chordal Completion, Induced Cycles
Copyright and License:
[Uncaptioned image] © Andrea D’Ascenzo; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Integer programming
; Mathematics of computing Graph theory
Supplementary Material:
Software: https://github.com/D-hash/kHoleTW
Acknowledgements:
The author is grateful to the reviewers for their helpful comments.
Funding:
This work is partially supported by the MUR (Italy) Department of Excellence 2023–2027.
Editors:
Martin Aumüller and Irene Finocchi

1 Introduction

Many hard combinatorial graph problems become (sometimes trivially) polynomially solvable when the input is restricted to trees. This naturally raises the question of how far a general graph G=(V,E) is from being a tree. In their seminal work [37], Robertson and Seymour introduced the concepts of tree decomposition and treewidth. The latter is a graph invariant that provides a quantitative answer to this question111Interestingly, despite its important algorithmic implications, Robertson and Seymour did not originally develop treewidth with algorithms in mind. Readers curious about the origin of the concept may consult Seymour’s explanation on this blog post [38]..

The most common definition of tree decomposition of an unweighted, undirected simple graph G=(V,E) is the following.

Definition 1.

A tree decomposition of a graph G=(V,E) is a pair (T,S), where T is a tree and S is a family (Bx)xV(T) of subsets of V(G) (often called bags), with the following properties:

  1. 1.

    xV(T)Bx=V;

  2. 2.

    For each edge uvE(G) there is a subset BxS containing both vertices u and v;

  3. 3.

    For each vertex u the set of nodes {xV(T)|uBx} forms a subtree of T.

The width of a tree decomposition (T,(Bx)xV(T)) is maxxV(T)(|Bx|1). The treewidth tw(G) of a graph G equals to the minimum width over all the tree decompositions of G. The minus one adjustment ensures that trees have width one. On the other hand, the complete graph on n vertices has treewidth equal to n1.

From a computational perspective, deciding the treewidth of a graph is an 𝒩𝒫-complete problem. Nonetheless, many (𝒩𝒫-hard) problems on graphs can be solved efficiently on instances of bounded treewidth [6, 8, 16, 18, 11].

Two relevant computational paradigms to exactly compute the treewidth of a graph have emerged from the PACE challenges in 2016 and 2017 [12, 13]. Here, both Tamaki’s dynamic programming approach [40] and Bannach, Bernds, and Ehlers’ SAT approach based on perfect elimination orderings (PEOs) [2] proved particularly successful. PEOs and treewidth are in fact closely related. Koster and Bodlaender proposed the first integer linear programming (ILP) formulation for treewidth based on the vertex elimination order and the connection between the treewidth and the triangulation of the graph (see both [7, 21]). Indeed, the notion of treewidth admits equivalent definitions, one of which is based on such concepts.

A graph G=(V,E) is chordal if and only if each cycle in G of length at least four has a chord, i.e., an edge between non-consecutive vertices in the cycle. A perfect elimination order (or scheme) of an n-vertex graph G=(V,E) is a bijection of the vertices π:V1,,n, such that, for all viV, its higher ordered neighbours form a clique, i.e., for π(vj1)>π(vi), π(vj2)>π(vi), if {vi,vj1}E and {vi,vj2}E, then {vj1,vj2}E. A triangulation (or chordal completion) of G is a chordal graph H=(V,F) that contains G as a subgraph: EF. A triangulation H=(V,F) is a minimal triangulation when there does not exist a triangulation H=(V,F) with EFF[7].

Definition 2 (Non-conventional definition of treewidth [20]).

The treewidth of a graph G is one less than the number of vertices in a maximum clique after adding edges in a PEO chosen to minimize this clique size.

In other words, the treewidth of a graph G equals the minimum over all triangulations H of G of the maximum clique size of H minus one. The edges added in the construction of a PEO are referred to as fill-in edges.

The design of integer programming formulations was pursued with the goal of surpassing, with contemporary ILP solvers, the performance of state-of-the-art dynamic programming algorithms (Grigoriev’s survey gives historical insights on the first integer programming formulation of the treewidth problem [20]). Unfortunately, even after 20 years, all formulations designed so far are far from being applicable in practice to solve the treewidth problem, mainly due to their inherent symmetry and large integrality gaps [10, 20, 29].

In this paper, we advance this line of research by introducing valid inequalities for the theoretically strongest treewidth formulation currently known, in terms of the quality of its linear relaxation, based on perfect elimination orderings. Since the number of such inequalities is not polynomially bounded, we also develop a separation routine capable of detecting which of them are violated by the canonical linear relaxation solution of the treewidth formulation. Finally, we present an experimental evaluation illustrating the impact of these classes of inequalities on a variety of graphs.

2 ILP Formulation for Treewidth based on PEOs

From now on we let G=(V,E) be an unweighted, undirected, simple graph on n vertices and let π:V{1,,n} be a perfect elimination order (PEO) of the vertices of G. The graph corresponding to the resulting triangulation given by π will be denoted with H=(V,EF) of G, where F is the set of fill-in edges. To resolve ambiguity, we will denote with V(G) and E(G) the set of vertices and edges of the graph G, respectively. For any subset WV of vertices of G, we adopt the canonical notation G[W] for the subgraph of G induced by the vertices in W. That is, G[W] has W as vertex set and {{u,v}:u,vW,{u,v}E(G)} as edge set. An induced graph G[W] of G is said to be an induced cycle of length k if G[W]:=C:=(v0,v1,,vk1) with {vi,vi+1}E(G) for all i (indices taken modulo k) and no other edge of G has both endpoints in {v0,,vk1}. Such a subgraph is also known as k-hole.

We are now ready to present the first ILP formulation designed for the treewidth problem. As previously described, it is based on Definition 2 linking treewidth to PEOs. In the following, we report the version given by Mallach [29] which he calls twlo.

min w (1)
s.t. jV{i,j}Exij+jV{i,j}Eyij w iV (2)
xij+xji = 1 i,jV,i<j (3)
xij+xjk+xki 2 i,j,kV,ijki (4)
yij+yikyjkykj 1 {j,k}E,iV{j,k} (5)
yijxij = 0 i,jV,{i,j}E (6)
yijxij 0 i,jV,{i,j}E (7)
xij{0,1},yij 0 i,jV,ij (8)
w (9)

Variables xij and yij are introduced for every pair of distinct vertices i,jV. The relation π(i)<π(j) holds if and only if xij=1, and the pair {i,j} forms an edge of the triangulation precisely when yij=1 or yji=1. Equations (3) guarantee that each pair of vertices receives an ordering, while the three-di-cycle inequalities (4) enforce the consistency of the ordering π encoded by the x-variables, namely, transitivity and thus acyclicity of the induced precedence relation, as inherited from the linear ordering polytope [22, 23]. Inequalities (5) impose the required addition of fill-in edges {j,k}E to obtain a triangulation. Furthermore, equations (6) ensure that every original edge receives a correctly oriented counterpart in the triangulation, and inequalities (7) enforce that all added edges are oriented consistently with the ordering. Finally, the objective function together with constraints (2) ensures that the variable w correctly represents the treewidth according to Definition 2.

Several other ILP formulations for the treewidth problem have been proposed (see [21, 20, 29]). Among those based on perfect elimination orderings, and their flow metric combination [9, 20], Mallach [29] showed that twlo achieves the strongest linear relaxation. We therefore focus on strengthening this formulation.

3 𝒌-Holes inequalities for TWLO

Recall the role of the decision variables:

  • xij=1 if and only if π(i)<π(j), for all distinct i,jV;

  • yij=1 if and only if {i,j}EF and π(i)<π(j), for all distinct i,jV.

A 01 assignment (x,y) is feasible if there exists a chordal supergraph H=(V,EF) of G and a PEO π of H such that x and y are induced by (H,π) in the sense above. An inequality is valid if it is satisfied by every feasible assignment. In what follows we show that the proposed inequalities are valid in this sense.

Define the set of chord candidates

𝒞(C)={{vi,vj}:0i<jk1,ji±1(modk),{vi,vj}E}.
Proposition 3.

Let C=(v0,,vk1) be an induced cycle of length k4 in G, and let 𝒞(C) be the set of nonconsecutive vertex pairs of C that are non-edges of G. For every feasible assignment (x,y) we have

{u,v}𝒞(C)(yuv+yvu)k3, (10)

and the RHS k3 is tight.

Proof.

Consider any feasible assignment (x,y). By definition there exists a chordal supergraph H=(V,EF) of G and a PEO π of H such that yij=1 if and only if {i,j}EF and π(i)<π(j).

Let W={v0,,vk1} be the vertex set of C. Since C is an induced cycle of G, the subgraph G[W] is exactly a chordless cycle on k vertices. The induced subgraph H[W] is a chordal supergraph of G[W]. It is known [31] that any chordal supergraph of a chordless cycle on k vertices must contain at least k3 chords, i.e., at least k3 edges between nonconsecutive vertices of the cycle.

Because C is induced in G, none of these chords belongs to E, so all of them belong to the fill set F and thus to 𝒞(C). Hence there exist at least k3 distinct unordered pairs {u,v}𝒞(C) such that {u,v}F. For each such pair {u,v}, exactly one of yuv,yvu is equal to 1, so yuv+yvu=1. Therefore

{u,v}𝒞(C)(yuv+yvu)k3,

and inequality (10) is valid.

To see that the bound k3 is tight, consider a cycle Ck on k vertices and a chordal supergraph H[W] obtained by adding exactly k3 chords that form a fan from a fixed vertex of the cycle. This is a triangulation of Ck with exactly k3 chords, and the corresponding assignment (x,y) satisfies

{u,v}𝒞(C)(yuv+yvu)=k3.

Therefore the right-hand side k3 cannot be increased while preserving validity.

Since the number of k-holes in a graph can be exponential in the size of the graph, it is infeasible to generate a priori the entire set of k-holes inequalities (10). The next section thus deals with the separation problem of such inequalities.

We note that the class of inequalities (10) is a special case of the inequalities defining the minimum chordal completion polytope of Bergman et al. [3], which is closely related to the one studied in this paper due to Definition 2. In that paper, it is shown that the separation of such inequalities is 𝒩𝒫-Complete by a reduction to the αquadratic shortest cycle problem.

4 Separation of 𝒌-hole inequalities

Given a fractional feasible solution (x¯,y¯,w¯) to the linear relaxation222In our case, we relax the domain of each of the x variables to [0,1]. of twlo, we ask whether there exists any of the k-holes inequalities (10) which is violated by such solution. In particular, we seek for a k-hole C=(v0,,vk1) in the input graph G for which

{u,v}𝒞(C)(y¯uv+y¯vu)<k3, (11)

where, as above, 𝒞(C) denotes the set of nonconsecutive vertex pairs of C that are non-edges of G (i.e., candidate chords).

The task of finding violated inequalities associated with (induced and / or odd) cycles arises in a variety of optimization problems. Classic examples include the stable set polytope [32, 36], the matching polytope [15], and the maximum cut polytope [24, 27] for which odd-hole inequalities have been investigated. As noted earlier, k-holes inequalities have also been exploited in the context of the minimum chordal completion polytope. Existing computational studies addressing their separation rely on customized enumeration algorithms for detecting (induced) cycles [4, 3]. However, among all violated inequalities of a given class, one is typically interested in identifying the most violated one, that is, in our setting, the inequality whose left-hand side (LHS) attains the smallest value when evaluated at y¯. By assigning to each non-edge uvE of G the weight γuv=y¯uv+y¯vu, the problem reduces to finding an induced cycle C in G that minimizes the weighted sum of its potential chords. This task can again be formulated as an ILP. In fact, as alternative to algorithms based on complete enumeration, the exact detection of an induced cycle C in G with specific properties (e.g., being the longest one) has recently been investigated by the polyhedral combinatorics community [35, 1]. These formulations usually employ binary variables on the vertices and the edges of the graph, linked by topological constraints inherent to cycles (e.g., the number of selected incident edges to a same vertex is equal to 2, or that the number of selected vertices is equal to the number of selected edges). Then, to prevent the selection of multiple connected components, inequalities such as MTZ constraints or subtour elimination constraints are required [1]. However, these additions tend to introduce a non-negligible computational burden. Indeed, existing formulations can certify optimality only for graphs with fewer than 100 vertices, and often require tens of seconds to do so [35, 1], which is too costly for use within a separation routine.

Since our goal is specifically to detect k-holes, we can relax the requirement of identifying only one hole at a time. The ILP formulation presented below is therefore designed to detect induced cycles with k4 that minimize the total chord weight. Being the problem a minimization one, although the formulation may accept more than one induced k-hole, the solver will select two or more in the case where all of them have weighted chord sum equal to 0. Otherwise, removing any additional hole would yield a solution with a strictly smaller objective value.

The model is inspired by the formulation CCP (Chordless Cycle Problem) [35]. Introduce binary variables

  • zv{0,1} for each vV, which indicates whether vertex v is selected in the cycle;

  • cuv{0,1} for each {u,v}E, that indicates whether edge {u,v} is used as a cycle edge.

  • quv{0,1} for each {u,v}E indicates that both endpoints u and v are selected in the cycle; it is used to accumulate the chord weights γuv in the objective.

The separation ILP, called sep, reads:

min {u,v}E¯γuvquv (12)
s.t. uV{u,v}Ecuv=2zv vV (13)
zu+zv 1+cuv {u,v}E (14)
quvzu {u,v}E (15)
quvzv {u,v}E (16)
quvzu+zv1 {u,v}E (17)
vVzvkmin (18)
uTzu 2 T𝒯 (19)
zv{0,1} vV (20)
cuv{0,1} {u,v}E (21)
quv{0,1} {u,v}E. (22)

The objective (12) minimizes the total fractional chord weight over all non-edges whose endpoints lie on the chosen cycle. A violated k-hole inequality is obtained whenever the optimal value is strictly smaller than k3 for the corresponding cycle length k. Constraint (13) enforces that each selected vertex has degree 2 in the chosen edges, so the selected edges form a 2-regular subgraph. Constraints (19) avoid the selection of 3-holes, namely triangles, where 𝒯 is the set of triangles in the graph. Constraint (14) states that if both endpoints of an edge {u,v}E are selected (zu=zv=1), then the edge must be used in the cycle (cuv=1). This, together with constraint (13), forbids chords among the selected vertices, so the resulting cycle is induced. Constraints (15)–(17) implement the logical relation quv=zuzv for each non-edge {u,v}E. Thus quv=1 exactly when both endpoints of a potential chord are on the cycle, allowing the objective to sum the corresponding weights γuv. Constraint (18) requires the selection of at least kmin vertices (e.g., kmin=4). Constraints (20)–(22) specify the binary nature of the decision variables.

To the best of our knowledge, this work provides the first separation of most-violated k-hole inequalities in the context of triangulation-related problems.

Separation routine

At the core of any linear-programming-based branch-and-cut algorithm lies the iterative solution of a sequence of linear programming relaxations of an initial formulation (in our case, twlo) by means of a cutting-plane procedure. The first relaxation typically consists of relaxing the integrality constraints and allowing the integer decision variables to take continuous values. A separation algorithm is then exploited for determining whether the optimal solution of the current relaxation satisfies all inequalities from a given class of interest. If it does, the relaxation is considered solved to optimality, and its objective value can be used as a lower bound within a branch-and-bound framework. Otherwise, the separation algorithm must identify at least one inequality that is violated by the current solution. Any violated inequality is added to strengthen the relaxation, the updated relaxation is solved to optimality, and this process is repeated until the separation algorithm certifies that the current linear programming solution satisfies all required constraints.

Algorithm 1 outlines our cutting-plane routine twlosep for separating k-hole inequalities. At each iteration, we solve the linear relaxation of twlo on G and obtain an optimal fractional solution (x¯,y¯,w¯). Based on this solution, we compute the chord weights γuv=y¯uv+y¯vu for all non-edges uvE. These weights are then used to build the separation ILP sep on G. If sep admits a feasible solution, its optimal solution (z,c,q) identifies one or more induced cycles that minimize the total fractional chord weight. From the support of (z,c), we extract the corresponding set 𝒞 of induced cycles. For each cycle C𝒞, we check whether condition (11) is satisfied. Whenever a violated k-hole inequality is found, it is added to twlo, thereby cutting off the current fractional solution. In addition, in order to avoid duplications, the following inequality is added to sep for each violated cycle C

uCzu|C|. (23)

The relaxation of twlo is then reoptimized, the weights γ are updated, and the process repeats. The algorithm terminates once sep detects no further violated k-hole inequality.

We note that Algorithm 1 may fail to identify violated inequalities when the value of the y-variables associated with a large violated hole exceeds the sum of the variables over a smaller, non-violated hole, thus making it a heuristic approach.

Algorithm 1 Separation algorithm twlosep of k-holes inequalities for twlo.

5 Experiments

We experimentally evaluate twlosep with respect to the following research question: Will twlosep yield better lower bounds than twlo on both synthetic and real-world graph topologies? This is a common approach in polyhedral combinatorics to evaluate the quality of valid inequalities (see, e.g., the work of Jünger and Mallach on the maximum cut polytope [27]).

Datasets.

We consider several input graphs spanning a large variety of graph topologies:

  • hb: We extracted 6 instances from the Harwell-Boeing Sparse Matrix Collection [14]. This repository contains standard test matrices M=(Muv) originating from linear systems, least-squares problems, and eigenvalue computations across a broad range of scientific applications. We construct graphs from these matrices by introducing an edge (u,v) for every entry satisfying Muv=1. In this set of graphs, the number of vertices ranges from 24 to 87, while the number of edges varies between 92 and 314. The name of the considered instances are: can__24, can__62, curtis54, dwt__87, impcol_b, will57.

  • rw: We selected 6 real-world networks from the Netzschleuder graph repository [34], three of which are social networks (aarhus_cs [28], klas_12b [39], windsurfers [19]), a fictional social network (got [5]), a wildlife social graph (bighorn [26]), and a neural connectivity network (macaque [42]). In this set of graphs, the number of vertices ranges from 26 to 107, while the number of edges varies between 167 and 353.

  • syn: A set of synthetic graphs. This set comprises three Mycielski’s graphs [30], denoted by myc-p, with p{4,5,6}; three square p×p grid graphs grid-p, with p{5,6,7}; ten Erdős-Rényi (n,p) graphs [17] with n=30 and p{0.1,0.2,,0.9}, denoted as from er-30-1 to er-30-9.

Computational setting.

The experiments were run on a MacBook M4 Pro with a 12-cores CPU with 48Gb of RAM, macOS Tahoe 26.2. All formulations are implemented in Python. We use Gurobi 13 [25] to solve the models.

Tables 13 report the experimental results of twlo vs twlosep on the considered datasets. Columns cpu report the computational time in seconds, which for twlo represents the time required by Gurobi to solve the linear relaxation of the formulation, while for twlosep the time required by the entire cutting-plane framework. Columns lb report the optimal value of the linear relaxation, i.e., a valid lower bound for the treewidth of the graph (for twlosep, the value is taken at the end of the routine). cpusep¯ reports the mean computational time required by Gurobi to solve the separation problem (i.e., sep formulation at each iteration), while column #cuts shows the total number of violated k-holes inequalities introduced during the separation procedure. We use tlr to denote that the separation routine reached the time limit, set to 1800 seconds.

Table 1: Comparison between twlo and twlosep on the hb dataset.
Graph twlo twlosep
cpu (s) lb cpu (s) lb cpusep¯ (s) #cuts
can__24 0.09 2.93 3.98 3.91 < 0.01 31
can__62 1.39 1.59 33.71 2.31 0.01 20
curtis54 2.08 2.63 32.49 3.01 0.02 16
dwt__87 11.60 3.48 704.65 4.30 0.06 55
impcol_b 2.51 6.43 666.95 9.16 0.10 243
will57 1.84 2.70 10.72 2.82 0.01 5
Table 2: Comparison between twlo and twlosep on the rw dataset.
Graph twlo twlosep
cpu (s) lb cpu (s) lb cpusep¯ (s) #cuts
aarhus_cs 2.74 7.41 775.18 9.40 0.11 271
bighorn 0.10 9.21 26.01 10.29 0.04 117
got 29.85 5.76 tlr 6.53 0.09 71
klas_12b 0.09 6.55 3.91 7.33 0.01 34
macaque 0.90 8.10 144.04 9.61 0.08 141
windsurfers 0.74 8.81 171.78 10.78 0.09 211

Reported data show the effect of the separation routine on the quality of the lower bound. Across all datasets, the values obtained by the plain linear relaxation twlo are generally weak. After applying twlosep, the lower bounds increase substantially in every case. This improvement is directly correlated with the number of violated k-hole inequalities added during the procedure: instances with larger gains in the lower bound typically require a larger number of cuts. For example, in the hb dataset, instance impcol_b improves from 6.43 to 9.16 after the addition of 243 cuts, while in the rw dataset, aarhus_cs and windsurfers increases their lower bound by 2 after > 200 cuts. A similar trend appears in the synthetic graphs, where the Mycielski and Erdős-Rényi instances show a steady increase in the lower bound as more violated cuts are identified. An important case is that of grid graphs. It is well known that the linear relaxation twlo performs extremely poorly on grids: its optimal value is always strictly less than or equal to 2, regardless of the grid size, while the true treewidth of an n×n grid is exactly n [20, 29]. This behaviour is clearly visible in Table 3, where the twlo bounds for grid-5, grid-6, and grid-7 remain below 2. After running the separation routine, however, the linear relaxation value goes beyond this limit. This demonstrates that the addition of k-hole inequalities capture important structural information that the base formulation fails to enforce.

The computational times reported in the cpu columns reflect the cost of this improvement. Solving the plain relaxation of twlo is always extremely fast, typically requiring well below a second for most instances. In contrast, the separation routine twlosep may require significantly more time, especially on instances where many cuts are generated. For example, on dwt__87 and impcol_b, twlosep requires more than 600 seconds, on aarhus_cs it exceeds 700 seconds, and reaches the time limit on got instance. The average separation time per iteration remains small, but the cumulative effect of many iterations leads to the observed increase in total running time.

Table 3: Comparison between twlo and twlosep on the syn dataset.
Graph twlo twlosep
cpu (s) lb cpu (s) lb cpusep¯ (s) #cuts
myc-4 < 0.01 2.08 0.10 2.72 < 0.01 17
myc-5 0.14 3.83 31.73 5.34 0.01 127
myc-6 0.86 6.84 718.77 9.56 0.14 609
grid-5 0.06 1.85 6.28 2.96 0.01 48
grid-6 0.28 1.91 33.60 3.30 0.02 71
grid-7 0.91 1.95 122.07 3.47 0.02 87
er-30-1 0.14 2.07 4.10 2.67 < 0.01 18
er-30-2 0.24 4.00 37.06 6.08 0.01 134
er-30-3 0.23 5.35 60.75 7.76 0.03 211
er-30-4 0.22 6.86 93.82 10.08 0.04 335
er-30-5 0.16 7.89 62.61 10.85 0.04 259
er-30-6 0.15 9.35 44.79 11.73 0.06 194
er-30-7 0.12 10.82 31.95 12.55 0.08 124
er-30-8 0.51 12.16 49.17 13.26 0.18 86
er-30-9 0.36 13.16 20.11 13.83 0.15 44

In summary, the strengthened lower bounds produced by twlosep may come at a non-negligible computational cost. The separation routine consistently yields much tighter bounds than the plain relaxation, but it requires solving many separation problems and adding a substantial number of violated inequalities.

Figure 1: Relationship between the cumulative number of cuts added during twlosep and the linear relaxation time on rw dataset (top) and grid instances (bottom).

In this regard, Figure 1 shows the relationship between the cumulative number of cuts added during twlosep (x-axis) and the time required by Gurobi to solve the linear relaxation of twlo strengthened with the cuts identified up to that point (y-axis). For both the rw dataset and the grid instances, the time needed to solve the linear relaxation remains largely within the same order of magnitude throughout the separation process. Combined with the mean solution times of the sep subproblems reported in the previous tables, this indicates that a dominant factor impacting the overall computational effort of the separation routine is the number of iterations required to introduce all violated inequalities. This observation suggests a possible direction for future work, namely the design of separation routines that add multiple violated inequalities per iteration, with the aim of reducing the total number of rounds and accelerating the convergence of the framework.

A comparison between the time spent by the separation routine sep and the overall twlosep time is depicted in Figure 2. It highlights an almost consistent pattern across all instances: although the separation subroutine contributes to the total running time, its computational time is typically quite small relative to the full cutting-plane procedure, often by one or even two orders of magnitude. In the smallest some instances, such as can__24, klas_12b, or myc-4, the separation time is negligible compared to the total time, amounting to only a few tenths of a second while the overall cutting-plane time ranges from a couple of seconds to several seconds. Even in medium-sized graphs like can__62, curtis54, macaque, or grid-7, sep accounts for only a small fraction of the total, typically well below 10%. The difference becomes even more evident in the largest or most computationally demanding instances. For example, in dwt__87 and got, the separation routine requires only a few seconds, whereas the twlosep time exceeds 700 seconds in the former and reaches the time limit in the latter. In some instances the contribution of the separation routine becomes more important, as in aarhus_cs and myc-6, where the time spent by sep reaches several tens of seconds and may exceed one minute. On the other hand, in the Erdős-Rényi family er-30-p, particularly as the density increases, the separation routine becomes progressively more time-consuming, representing a large portion of the total running time.

As potential alternatives to sep, note that chordless cycles could be computed using ad-hoc cycle-detecting combinatorial algorithms (see, for example, the work of Nikolopoulos and Palios [33], the enumeration algorithm of Uno and Satoh [41], or an approach analogous to that of [27], where induced holes are identified by decomposing induced simple cycles). Since they are not suited to identify a most violated hole under an arbitrary violation criterion, their naive use would require the enumeration of all such subgraphs until the first violated hole appears. This approach is typically too computationally demanding to be executed at every iteration of a cutting-plane routine [4, 3], thus ad-hoc customizations are needed. We leave the development and comparison of such customized methods to future work.

Figure 2: Comparison between the time spent in the separation problem sep and the total time required by twlosep over all input instances.

6 Conclusions

We have introduced a family of valid inequalities for the strongest currently known integer programming formulation twlo of treewidth based on perfect elimination orderings. These inequalities, derived from the structure of induced cycles, strengthen the canonical linear relaxation by enforcing constraints that every feasible chordal completion must satisfy. Because the number of such inequalities is not polynomially bounded, we developed a separation routine capable of identifying violated k-hole inequalities efficiently within a cutting-plane framework.

Our computational results demonstrate the practical impact of these inequalities. Across all tested graph classes, the plain relaxation of twlo provides weak lower bounds, often far from the true treewidth. Incorporating the violated k-hole inequalities through the cutting plane routine twlosep substantially improves these bounds. These results confirm that the proposed inequalities capture important structural information that the base formulation fails to enforce.

Several research questions remain open. In particular, exploring alternative strategies for detecting chordless cycles, such as approaches based on decomposing induced simple cycles [27], may lead to more scalable separation routines. Moreover, developing techniques to break the symmetries inherent in PEO-based treewidth formulations still remains an open problem, and progress on it could substantially improve the effectiveness of ILP approaches for computing the exact treewidth of graphs. Finally, an interesting direction for further study is to assess the potential of k-holes separation routines based on induced-cycle ILP formulations, such as sep, when applied to the minimum chordal completion polytope [3].

References

  • [1] Ahmad Turki Anaqreh, G Boglárka, Tamás Vinkó, et al. Exact methods for the longest induced cycle problem. Croatian Operational Research Review, 15(2):199–212, 2024.
  • [2] Max Bannach, Sebastian Berndt, and Thorsten Ehlers. Jdrasil: A modular library for computing tree decompositions. In Costas S. Iliopoulos, Solon P. Pissis, Simon J. Puglisi, and Rajeev Raman, editors, 16th International Symposium on Experimental Algorithms, SEA 2017, London, UK, June 21-23, 2017, volume 75 of LIPIcs, pages 28:1–28:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.SEA.2017.28.
  • [3] David Bergman, Carlos Henrique Cardonha, André Augusto Ciré, and Arvind U. Raghunathan. On the minimum chordal completion polytope. Oper. Res., 67(2):532–547, 2019. doi:10.1287/OPRE.2018.1783.
  • [4] David Bergman and Arvind U. Raghunathan. A benders approach to the minimum chordal completion problem. In Laurent Michel, editor, Integration of AI and OR Techniques in Constraint Programming - 12th International Conference, CPAIOR 2015, Barcelona, Spain, May 18-22, 2015, Proceedings, volume 9075 of Lecture Notes in Computer Science, pages 47–64. Springer, 2015. doi:10.1007/978-3-319-18008-3_4.
  • [5] Andrew Beveridge and Jie Shan. Network of thrones. Math Horizons, 23(4):18–22, 2016.
  • [6] Hans L. Bodlaender. Dynamic programming on graphs with bounded treewidth. In Timo Lepistö and Arto Salomaa, editors, Automata, Languages and Programming, 15th International Colloquium, ICALP88, Tampere, Finland, July 11-15, 1988, Proceedings, volume 317 of Lecture Notes in Computer Science, pages 105–118. Springer, 1988. doi:10.1007/3-540-19488-6_110.
  • [7] Hans L. Bodlaender. Discovering treewidth. In Peter Vojtás, Mária Bieliková, Bernadette Charron-Bost, and Ondrej Sýkora, editors, SOFSEM 2005: Theory and Practice of Computer Science, 31st Conference on Current Trends in Theory and Practice of Computer Science, Liptovský Ján, Slovakia, January 22-28, 2005, Proceedings, volume 3381 of Lecture Notes in Computer Science, pages 1–16. Springer, 2005. doi:10.1007/978-3-540-30577-4_1.
  • [8] Hans L. Bodlaender and Arie M. C. A. Koster. Combinatorial optimization on graphs of bounded treewidth. Comput. J., 51(3):255–269, 2008. doi:10.1093/COMJNL/BXM037.
  • [9] Claudson F. Bornstein and Santosh S. Vempala. Flow metrics. Theor. Comput. Sci., 321(1):13–24, 2004. doi:10.1016/J.TCS.2003.05.003.
  • [10] David Coudert. A note on integer linear programming formulations for linear ordering problems on graphs, 2016.
  • [11] David Coudert, Andrea D’Ascenzo, and Clément Rambaud. k-shortest simple paths in bounded treewidth graphs. Theor. Comput. Sci., 1039:115182, 2025. doi:10.1016/J.TCS.2025.115182.
  • [12] Holger Dell, Thore Husfeldt, Bart M. P. Jansen, Petteri Kaski, Christian Komusiewicz, and Frances A. Rosamond. The First Parameterized Algorithms and Computational Experiments Challenge. In Jiong Guo and Danny Hermelin, editors, 11th International Symposium on Parameterized and Exact Computation (IPEC 2016), volume 63 of Leibniz International Proceedings in Informatics (LIPIcs), pages 30:1–30:9, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.IPEC.2016.30.
  • [13] Holger Dell, Christian Komusiewicz, Nimrod Talmon, and Mathias Weller. The PACE 2017 Parameterized Algorithms and Computational Experiments Challenge: The Second Iteration. In Daniel Lokshtanov and Naomi Nishimura, editors, 12th International Symposium on Parameterized and Exact Computation (IPEC 2017), volume 89 of Leibniz International Proceedings in Informatics (LIPIcs), pages 30:1–30:12, Dagstuhl, Germany, 2018. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.IPEC.2017.30.
  • [14] Iain S. Duff, Roger G. Grimes, and John G. Lewis. Sparse matrix test problems. ACM Trans. Math. Softw., 15(1):1–14, 1989. doi:10.1145/62038.62043.
  • [15] Jack Edmonds. Maximum matching and a polyhedron with 0, 1-vertices. Journal of research of the National Bureau of Standards B, 69(125-130):55–56, 1965.
  • [16] David Eppstein and Denis Kurz. K-best solutions of MSO problems on tree-decomposable graphs. In Daniel Lokshtanov and Naomi Nishimura, editors, 12th International Symposium on Parameterized and Exact Computation, IPEC 2017, Vienna, Austria, September 6-8, 2017, volume 89 of LIPIcs, pages 16:1–16:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.IPEC.2017.16.
  • [17] Paul Erd6s and Alfréd Rényi. On the evolution of random graphs. Publ. Math. Inst. Hungar. Acad. Sci, 5:17–61, 1960.
  • [18] Baris Can Esmer, Jacob Focke, Dániel Marx, and Pawel Rzazewski. Fundamental problems on bounded-treewidth graphs: The real source of hardness. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, Tallinn, Estonia, July 8-12, 2024, volume 297 of LIPIcs, pages 34:1–34:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ICALP.2024.34.
  • [19] Linton C Freeman, Sue C Freeman, and Alaina G Michaelson. On human social intelligence. Journal of Social and Biological Structures, 11(4):415–425, 1988.
  • [20] Alexander Grigoriev. Possible and impossible attempts to solve the treewidth problem via ilps. In Fedor V. Fomin, Stefan Kratsch, and Erik Jan van Leeuwen, editors, Treewidth, Kernels, and Algorithms - Essays Dedicated to Hans L. Bodlaender on the Occasion of His 60th Birthday, volume 12160 of Lecture Notes in Computer Science, pages 78–88. Springer, 2020. doi:10.1007/978-3-030-42071-0_7.
  • [21] Alexander Grigoriev, Hans Ensinck, and Natalya Usotskaya. Integer linear programming formulations for treewidth. Maastricht Research School of Economics of Technology and Organizations, 2011.
  • [22] Martin Grötschel, Michael Jünger, and Gerhard Reinelt. A cutting plane algorithm for the linear ordering problem. Oper. Res., 32(6):1195–1220, 1984. doi:10.1287/OPRE.32.6.1195.
  • [23] Martin Grötschel, Michael Jünger, and Gerhard Reinelt. Facets of the linear ordering polytope. Math. Program., 33(1):43–60, 1985. doi:10.1007/BF01582010.
  • [24] Martin Grötschel and George L. Nemhauser. A polynomial algorithm for the max-cut problem on graphs without long odd cycles. Math. Program., 29(1):28–40, 1984. doi:10.1007/BF02591727.
  • [25] Gurobi Optimization, LLC. Gurobi Optimizer Reference Manual, 2023. URL: https://www.gurobi.com.
  • [26] Christine C Hass. Social status in female bighorn sheep (ovis canadensis): expression, development and reproductive correlates. Journal of Zoology, 225(3):509–523, 1991.
  • [27] Michael Jünger and Sven Mallach. Odd-cycle separation for maximum cut and binary quadratic optimization. In Michael A. Bender, Ola Svensson, and Grzegorz Herman, editors, 27th Annual European Symposium on Algorithms, ESA 2019, Munich/Garching, Germany, September 9-11, 2019, volume 144 of LIPIcs, pages 63:1–63:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.ESA.2019.63.
  • [28] Matteo Magnani, Barbora Micenková, and Luca Rossi. Combinatorial analysis of multiple networks. CoRR, abs/1303.4986, 2013. arXiv:1303.4986.
  • [29] Sven Mallach. On integer linear programs for treewidth based on perfect elimination orderings (extended version). Acta Informatica, 62(3):34, 2025. doi:10.1007/S00236-025-00505-Y.
  • [30] Jan Mycielski. Sur le coloriage des graphs. Colloquium Mathematicae, 3(2):161–162, 1955.
  • [31] Assaf Natanzon, Ron Shamir, and Roded Sharan. A polynomial approximation algorithm for the minimum fill-in problem. SIAM J. Comput., 30(4):1067–1079, 2000. doi:10.1137/S0097539798336073.
  • [32] George L. Nemhauser and Leslie E. Trotter Jr. Properties of vertex packing and independence system polyhedra. Math. Program., 6(1):48–61, 1974. doi:10.1007/BF01580222.
  • [33] Stavros D. Nikolopoulos and Leonidas Palios. Detecting holes and antiholes in graphs. Algorithmica, 47(2):119–138, 2007. doi:10.1007/S00453-006-1225-Y.
  • [34] Tiago P Peixoto. The netzschleuder network catalogue and repository. Zenodo, 2020.
  • [35] Dilson Lucas Pereira, Abilio Lucena, Alexandre Salles da Cunha, and Luidi Simonetti. Exact solution algorithms for the chordless cycle problem. INFORMS J. Comput., 34(4):1970–1986, 2022. doi:10.1287/IJOC.2022.1164.
  • [36] Steffen Rebennack, Marcus Oswald, Dirk Oliver Theis, Hanna Seitz, Gerhard Reinelt, and Panos M. Pardalos. A branch and cut solver for the maximum stable set problem. J. Comb. Optim., 21(4):434–457, 2011. doi:10.1007/S10878-009-9264-3.
  • [37] Neil Robertson and Paul D. Seymour. Graph minors. II. algorithmic aspects of tree-width. J. Algorithms, 7(3):309–322, 1986. doi:10.1016/0196-6774(86)90023-4.
  • [38] Paul Seymour. The origin of the notion of treewidth. https://cstheory.stackexchange.com/q/27317. Theoretical Computer Science Stack Exchange, 2014.
  • [39] Tom A. B. Snijders, Gerhard G. Van De Bunt, and Christian E. G. Steglich. Introduction to stochastic actor-based models for network dynamics. Social Networks, 32(1):44–60, 2010. doi:10.1016/j.socnet.2009.02.004.
  • [40] Hisao Tamaki. Computing treewidth via exact and heuristic lists of minimal separators. In Ilias S. Kotsireas, Panos M. Pardalos, Konstantinos E. Parsopoulos, Dimitris Souravlias, and Arsenis Tsokas, editors, Analysis of Experimental Algorithms - Special Event, SEA2 2019, Kalamata, Greece, June 24-29, 2019, Revised Selected Papers, volume 11544 of Lecture Notes in Computer Science, pages 219–236. Springer, 2019. doi:10.1007/978-3-030-34029-2_15.
  • [41] Takeaki Uno and Hiroko Satoh. An efficient algorithm for enumerating chordless cycles and chordless paths. In Saso Dzeroski, Pance Panov, Dragi Kocev, and Ljupco Todorovski, editors, Discovery Science - 17th International Conference, DS 2014, Bled, Slovenia, October 8-10, 2014. Proceedings, volume 8777 of Lecture Notes in Computer Science, pages 313–324. Springer, 2014. doi:10.1007/978-3-319-11812-3_27.
  • [42] Malcolm P Young. The organization of neural systems in the primate cerebral cortex. Proceedings of the Royal Society of London. Series B: Biological Sciences, 252(1333):13–18, 1993.