by Maarten Behn
Group 5

Exercise 9.1 (MST Modeling and Separation) (8 Points)

Consider the Minimum Spanning Tree (MST) problem over a graph with edge costs and variables indicating whether edge e is in the solution.

Use the so-called subtour elimination constraint

and one global constraint:

(a) Give an ILP formulation for the MST problem and argue why it is correct.

Variables:

Optimization function

Constraints


Argument why the IPL correct is

Feasibility enforces spanning trees:

  • The cardinality constraint guarantees that the selected edges form a subgraph with exactly edges.

  • The subtour elimination constraints prevent any cycle from forming in any subset of vertices. Since any cycle would violate the inequality

no cycles can exist in the chosen edge set.

Connectivity is ensured implicitly:

  • Given that the graph has vertices and edges, and no cycles are allowed (due to subtour constraints), the selected edges form a forest.

  • Since the cardinality is exactly edges, the forest cannot be disconnected (a disconnected forest would have fewer than edges).

  • Therefore, the selected edges form a connected acyclic subgraph — i.e., a spanning tree.

  1. Optimality of the solution:
  • By minimizing the sum of costs

the ILP finds the spanning tree with minimum total edge cost.

(b) Give a polynomial-time separation algorithm for the LP-relaxation of your ILP.
Hint: Use your knowledge about flow or cut problems.

We want to separate the subtour elimination constraints from a given fractional solution of the LP-relaxation, where .
That is, we want to check if there exists any subset with such that

which would violate the subtour elimination constraint.

Note that

is equivalent to

where are the cut edges of .

The total number of edges inside plus the edges crossing the cut relate to the degrees and connectivity. Since , the subtour elimination can equivalently be detected by cuts of low -weight.

Therefore the subtour elimination constraints can be replaced by cut constraints:

Goal of the Algorithm

Given fractional values , find a subset such that

If such a set exists, then the constraint corresponding to is violated.

Algorithm

Input: fractional solution .

  • For each vertex :

    • Construct graph with edge capacities .
    • For each other vertex , compute the minimum - cut.
    • If min cut value , output the cut inducing the violation.
  • If no cut with capacity < 1 found, no subtour elimination constraint is violated.

Proof

  • The minimum cut problem can be solved in polynomial time via max-flow algorithms.

  • Since the number of vertices is , and for each we consider cuts to all other vertices, the total number of max-flow computations is polynomial (at most ).

  • Each violated subtour elimination corresponds to a cut with capacity less than 1.

  • This separation algorithm finds such cuts efficiently or confirms no violations exist.

Source of the Idea

https://theory.epfl.ch/osven/courses/Approx13/Notes/lecture9and10.pdf (22.06.2025, 21:37)

Exercise 9.2 (Total Unimodularity) (4 Points)

Let be a bipartite graph.
Prove that the node-edge incidence matrix of is totally unimodular.
Hint: Use one of the properties stated in class.

Setup

Let node-edge incidence matrix of .
is indecent to and is it is not.
is in row (the vertices), column (the edges) order.

Let be the two sides of the bipartite Graph.
(all edges have one vertex in and one in )

Observation

An edge is always connected to two vertices.

Every column in contains two ones.

Characteristics of determiant

from Mathe 1 Course

Given a quadratic Matrix
construct from by multiplying rows by then:

Proof:
https://proofwiki.org/wiki/Determinant_with_Row_Multiplied_by_Constant?utm_source=chatgpt.com

Proof

Let be quadratic sub matrix of .
Construct from by multiplying all rows belonging to vertices from by .
Now every column in contains at most one and one .
The Lemma by Poincar´e states that is unimodular.
Then is also unimodular because multiplying rows does not change the fact that the .

Exercise 9.3 (Complementary Slackness) (8 Points)

Dualize the following LPs and test with complementary slackness whether the given solutions are optimal.

Primal LP (P):

Dual variables:

  • for constraint 1 ():
  • for constraint 2 (): unrestricted
  • for constraint 3 ():

Dual LP (D):

Given Primal Solution:


  1. All constraints are satisfied

Given Dual Solution:


  1. All constraints are satisfied

Complementary Slackness Fails:

  • Constraint 1 is slack () → → No
  • Constraint 3 is slack () → → No

Primal and dual feasible, but complementary slackness fails, so the solutions are not optimal.

b)

Primal LP (P):

Dual variables:

  • for constraint 1 ():
  • for constraint 2 (): unrestricted
  • for constraint 3 ():

Dual LP:

Given Primal Solution:

All constraints are satisfied

Given Dual Solution:

All constraints are satisfied

Complementary Slackness passes:

  • Constraint 1 is tight → can be
  • Constraint 2 is tight → unrestricted
  • Constraint 3 is slack →
  • Variable , so dual constraint 1 must be tight
  • Variable , so dual constraint 2 must be tight

Primal and dual feasible, complementary slackness holds, so the solutions are optimal.