Let $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$. What is the feasible region $F$ of the ILP problem with the same data?
$F = P \cap \Z^n$
$F = P$
$F = \mathrm{conv}(P \cap \Z^n)$
$F = \Z^n_{\ge 0}$
Explanation. The feasible region is the set of the points of the integer lattice that lie in $P$; the polyhedron $P$ is the feasible region of the LP relaxation.
Let $F$ be the feasible region (the set of feasible integer solutions) of an ILP problem with at least two feasible solutions. What can be said about the convexity of $F$?
It is convex, because it is the intersection of the polyhedron $P$ with the lattice, both convex.
In general it is not convex: the midpoint of two feasible solutions can be non-integer.
It is convex if and only if the polyhedron $P$ is bounded, because then $F$ is finite.
It is always convex, because every finite set of integer points is convex.
Explanation. $F$ is made of isolated points of the lattice: it is not convex. The lattice $\Z^n$ is not a convex set, so $P \cap \Z^n$ is not an intersection of convex sets.
Consider an ILP problem $\max\{\vet c\T \vet x : \vet x \in F\}$, with feasible region $F = P \cap \Z^n$ and polyhedron $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$. The polyhedron $P$ is bounded and $F \neq \emptyset$. What can be concluded?
The problem can be unbounded, because $F$ is not convex.
$F$ can contain infinitely many points, but the maximum exists.
It has an optimal solution only if the LP relaxation has an integer optimum.
$F$ is a finite set and the problem has an optimal solution.
Explanation. A bounded polyhedron contains finitely many integer points; the maximum of a function over a non-empty finite set exists.
What can be said about the problem $\max\{x_1 : 2x_1 \le 1,\ -2x_1 \le -1,\ x_1 \in \Z_{\ge 0}\}$?
It is infeasible, although the LP problem with the same data is feasible.
Its optimal value is $\frac{1}{2}$, attained at the only feasible point.
Its optimal value is $0$, attained by rounding $x_1 = \frac{1}{2}$ down.
It is unbounded, because the constraint $-2x_1 \le -1$ does not bound $x_1$ from above.
Explanation. The constraints require $x_1 = \frac{1}{2}$, which is not integer: no integer point is feasible, while the LP problem has the unique solution $x_1 = \frac{1}{2}$.
Complete enumeration of a problem with $n$ binary variables examines all the $2^n$ solutions. With a computer $1000$ times faster, in the same time, how many more binary variables can be enumerated?
Twice as many variables
About $10$ variables
About $1000$ variables
About $100$ variables
Explanation. Since $2^{10} = 1024 \approx 1000$, a factor $1000$ in speed compensates only about $10$ more variables.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), which of the following points does <u>not</u> belong to the feasible region $F$?
$(2,2)$
$(4,1)$
$(0,3)$
$(4,2)$
Explanation. $(4,2)$ violates the first constraint: $10 \cdot 4 + 4 \cdot 2 = 48 > 45$. The other three points satisfy both constraints.
Consider the ILP problem $\max\{x_1 + x_2 : 2x_1 + 2x_2 \le 7,\ x_1, x_2 \in \Z_{\ge 0}\}$ and let $z(\ILP)$ be its optimal value. What are $z(\ILP)$ and the number of optimal solutions?
$z(\ILP) = 3$, with $4$ optimal solutions
$z(\ILP) = \frac{7}{2}$, with a unique optimal solution
$z(\ILP) = 3$, with the unique optimal solution $(3,0)$
$z(\ILP) = 3$, with $3$ optimal solutions
Explanation. For integer points $x_1 + x_2 \le \frac{7}{2}$ implies $x_1 + x_2 \le 3$; the value $3$ is attained at $(0,3)$, $(1,2)$, $(2,1)$ and $(3,0)$. The value $\frac{7}{2}$ is the one of the LP relaxation.
Consider an ILP problem $\max\{\vet c\T \vet x : \vet x \in F\}$, with feasible region $F = P \cap \Z^n$ and polyhedron $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$. Which statement is correct?
If the polyhedron $P$ is unbounded and $F \neq \emptyset$, the problem can still have an optimal solution.
If the LP problem with the same data is feasible, the ILP problem is feasible as well.
If the polyhedron $P$ is unbounded, the ILP problem is unbounded.
If the polyhedron $P$ is bounded, $F$ is convex.
Explanation. For instance $\max\{-x_1 : x_1 \ge 0,\ x_1 \in \Z\}$ has an unbounded $P$ and the optimum $x_1 = 0$: an unbounded polyhedron does not make the objective function unbounded. A bounded polyhedron contains finitely many integer points, not a convex set, and a feasible LP problem can have an infeasible integer version.
Which of the following statements on ILP problems is correct?
If the LP relaxation is unbounded, the ILP problem is unbounded.
An ILP problem is infeasible if and only if its LP relaxation is infeasible.
If an ILP problem has an optimal solution, it is unique.
An ILP problem has exactly one of the three outcomes: infeasible, unbounded, optimal solution.
Explanation. As in linear programming, there are three outcomes. A feasible relaxation does not guarantee integer points (for example $2x_1 = 1$ has the solution $x_1 = \frac{1}{2}$ and no integer solution), and there can be several optimal solutions.
Consider an ILP problem $\max\{\vet c\T \vet x : \vet x \in F\}$, with feasible region $F = P \cap \Z^n$ and polyhedron $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$. To prove that, if $P$ is bounded and $F \neq \emptyset$, the problem has an optimal solution, what is needed?
The convexity of $F$ and the linearity of the objective function.
The finiteness of $F$ and the existence of the maximum on a finite nonempty set.
An optimal vertex of the LP relaxation that is also integer.
The strong duality of linear programming applied to the relaxation.
Explanation. Finiteness is enough: a bounded polyhedron contains finitely many integer points, and on a finite nonempty set the maximum always exists. $F$ is not convex, and the optimal vertex of the relaxation is in general not integer.
For a maximization ILP problem a heuristic finds the feasible solution $\bar{\vet x}$ of value $14$, and none of the solutions tried does better. What is needed to claim that $\bar{\vet x}$ is optimal?
Nothing: a feasible solution that is never improved is optimal.
An upper (dual) bound on the optimal value $z(\ILP)$ equal to $14$.
That $\bar{\vet x}$ is a vertex of the polyhedron $P$ of the problem.
That the LP relaxation has a fractional optimum of value $14$.
Explanation. A feasible solution gives only the lower bound $z(\ILP) \ge 14$; optimality is certified by an upper bound with the same value.
An ILP problem with $n = 60$ binary variables is to be solved by complete enumeration, evaluating all the $2^n$ solutions. Which statement is correct?
It needs $60^2 = 3600$ evaluations: enumeration is the best choice.
It needs $2 \cdot 60 = 120$ evaluations, one per value of each variable.
It needs $2^{60} \approx 1.15 \cdot 10^{18}$ evaluations: bounds on the optimal value are needed instead.
It needs $60!$ evaluations, as many as the permutations of the variables.
Explanation. $n$ binary variables have $2^n$ combinations; for $n = 60$ they are about $10^{18}$. To avoid enumeration we use primal bounds (feasible solutions) and dual bounds (relaxations).
Consider a maximization ILP problem and the LP problem with the same data without the integrality constraints. Which combination of outcomes is possible?
The LP problem is infeasible and the ILP problem has an optimal solution.
The ILP problem has optimal value $10$ and the LP problem optimal value $8$.
The LP problem is infeasible and the ILP problem is unbounded.
The LP problem has an optimal solution and the ILP problem is infeasible.
Explanation. Every feasible integer solution is feasible for the LP problem, so an infeasible LP problem implies an infeasible ILP problem, and $z(\ILP) \le z(\LP)$. The converse fails: with $2x_1 = 1$ the LP problem has the optimum $x_1 = \frac{1}{2}$ and no integer point is feasible.
A linear optimization problem has some integer variables and some continuous ones. What is it called in the terminology of the integer linear programming module?
A MIP problem (mixed integer linear programming).
A BIP problem (binary integer programming).
A pure ILP problem, because at least one variable is integer.
The LP relaxation of the ILP problem.
Explanation. ILP: all variables integer; BIP: all binary; MIP: some integer and some continuous.
Consider the ILP problem in canonical maximization form $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \in \Z^n_{\ge 0}\}$ with $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$. Which statement is correct?
The feasible region is the polyhedron $P$, because the constraints are linear.
The feasible region is the convex hull of $P$.
The feasible region is $P \cap \{0,1\}^n$ for every ILP problem.
The feasible region is $F = P \cap \Z^n$, the integer points of the polyhedron $P$.
Explanation. By definition $F = P \cap \Z^n$: the points of the integer lattice that lie in the polyhedron $P$.
In a maximization ILP problem with feasible region $F$, what is the difference between the optimal solution $\tilde{\vet x}(\ILP)$ and the optimal value $z(\ILP)$?
They are the same thing: both denote the maximum of the objective function.
$\tilde{\vet x}(\ILP)$ is a point of $F$ maximizing $\vet c\T \vet x$; $z(\ILP) = \vet c\T \tilde{\vet x}(\ILP)$ is a number.
$z(\ILP)$ is a point of $F$; $\tilde{\vet x}(\ILP)$ is the objective function value.
$\tilde{\vet x}(\ILP)$ is the optimum of the LP relaxation, $z(\ILP)$ that of the ILP problem.
Explanation. The optimal solution is a feasible vector; the optimal value is the objective function value at that vector.
In the graphical method for the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), the last integer point touched by the level line $3x_1 + 2x_2 = z$ is $(4,1)$. What can be concluded?
$(4,1)$ is optimal and $z(\ILP) = 15$, the value of the LP relaxation.
$(4,1)$ is only a primal bound: further checks are needed.
$(4,1)$ is the unique optimal solution and $z(\ILP) = 14$.
The optimal solutions are $(4,1)$ and $(3,2)$, with $z(\ILP) = 13$.
Explanation. No other point of $F$ lies on the line $3x_1 + 2x_2 = 14$, so the optimum is unique.
Let $F$ be the feasible region of an ILP problem $\max\{\vet c\T \vet x : \vet x \in F\}$ and $R \subseteq \R^n$. The problem $\max\{\vet c\T \vet x : \vet x \in R\}$ is a relaxation of the ILP problem if:
$R \subseteq F$
$F \subseteq R$
$R \cap F \neq \emptyset$
$R$ is convex
Explanation. A relaxation has a larger region with the same objective function: this is why $z(\ILP) \le z(R)$.
Let $z(\ILP)$ be the optimal value of a maximization ILP problem. Is the value of a feasible (non-optimal) solution of its LP relaxation a bound on $z(\ILP)$?
Yes, an upper bound.
Yes, a lower bound.
In general it is neither a lower bound nor an upper bound.
Yes, an upper bound if the solution is a vertex.
Explanation. Only the optimal value of the relaxation (or the value of a dual feasible solution) is an upper bound; a fractional LP solution is not feasible for the ILP problem.
A maximization MIP problem, with optimal value $z(\MIP)$, has integer costs and one continuous variable; its LP relaxation has optimal value $z(\LP) = \frac{47}{2}$. What is the best upper bound on $z(\MIP)$ that can be derived?
$23$
$24$
$22$
$\frac{47}{2}$
Explanation. With a continuous variable the value of a feasible solution is not necessarily integer: the rounding $\lfloor z(\LP) \rfloor$ is not valid and the bound stays $z(\LP)$.
What is obtained by rounding the optimal solution of the LP relaxation of an ILP problem?
An optimal solution, if every variable is rounded to the nearest integer.
An integer point that may be infeasible and, if feasible, not optimal.
Always a feasible solution, which however is in general not optimal.
An upper bound on the optimal value of the maximization ILP problem.
Explanation. In the example $\max\ x_1 + 0.64 x_2$, $50x_1 + 31x_2 \le 250$, $3x_1 - 2x_2 \ge -4$ the optimum of the relaxation is $(\frac{376}{193}, \frac{950}{193})$: rounding to the nearest point $(2,5)$ is infeasible, and the integer optimum $(5,0)$ is far away.
For the ILP problem $\max\{\sum_j c_j x_j : \sum_j a_{ij} x_j \le b_i\ (i = 1, \dots, m),\ \vet x \in \Z^n_{\ge 0}\}$ the constraints multiplied by $\pi_i$ are summed to obtain the upper bound $\sum_i b_i \pi_i$. Which conditions must the multipliers satisfy?
$\pi_i$ of any sign and $\sum_i a_{ij}\pi_i = c_j$ for every $j$.
$\pi_i \ge 0$ and $\sum_i a_{ij}\pi_i \le c_j$ for every $j$.
$\pi_i \ge 0$ and $\sum_i a_{ij}\pi_i \ge c_j$ for every $j$.
$\pi_i \in \Z_{\ge 0}$ for every $i$, with no other condition.
Explanation. A negative multiplier would reverse the inequality; the combined coefficients must be at least the costs so that $\sum_j c_j x_j \le \sum_i b_i \pi_i$ with $\vet x \ge \vet 0$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the LP relaxation has the optimum $(\frac{7}{2}, \frac{5}{2})$ of value $\frac{31}{2}$, and $(4,1)$ is feasible. Which bounds do we have on the optimal value $z(\ILP)$?
$14 \le z(\ILP) \le \frac{31}{2}$
$13 \le z(\ILP) \le 16$
$z(\ILP) = 15$
$14 \le z(\ILP) \le 15$
Explanation. $(4,1)$ gives the lower bound $14$; costs and variables are integer, so the upper bound $\frac{31}{2}$ is rounded down to $15$. The gap is $\frac{1}{14}$: $(4,1)$ is not yet certified optimal.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the optimal solution of the dual of the LP relaxation (multipliers of the two constraints) is $(\frac{17}{62}, \frac{2}{31})$. What is the best integer upper bound on the optimal value $z(\ILP)$ obtained from it?
$15$
$\frac{31}{2}$
$16$
$14$
Explanation. $45 \cdot \frac{17}{62} + 49 \cdot \frac{2}{31} = \frac{31}{2} = z(\LP)$ (strong duality); with integer costs and variables it is rounded down to $15$. The value $14$ is not certified by these multipliers.
Let $z(\ILP)$ be the optimal value of a maximization ILP problem and $z(\LP)$ the optimal value of its LP relaxation (same constraints, without integrality). Let $\tilde{\vet x}(\LP)$ be an optimal solution of the relaxation. Which statement is correct?
$z(\ILP) \ge z(\LP)$, because the ILP problem has more constraints and hence a higher value.
$z(\ILP) \le z(\LP)$, and if an optimal solution of the relaxation is integer, it is optimal for the ILP problem.
If $z(\LP)$ is integer, then $\tilde{\vet x}(\LP)$ is integer and optimal for the ILP problem.
$z(\ILP) = \lfloor z(\LP) \rfloor$ for every ILP problem with integer data, because the costs are integer.
Explanation. Every integer solution is feasible for the relaxation, which has the same objective function. In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$) $\lfloor z(\LP) \rfloor = 15 > 14 = z(\ILP)$.
Let $z(\LP)$ be the optimal value of the LP relaxation of a maximization problem $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$ with integer variables (optimal value $z(\ILP)$) or partly continuous ones (optimal value $z(\MIP)$). Which statement is correct?
If all the variables are integer, $z(\ILP) \le \lfloor z(\LP) \rfloor$ whatever the costs.
If $\mat A$ and $\vet b$ are integer, $z(\MIP) \le \lfloor z(\LP) \rfloor$ also with continuous variables.
If all the variables and all the costs are integer, $z(\ILP) \le \lfloor z(\LP) \rfloor$.
It always holds that $z(\ILP) \le \lceil z(\LP) \rceil - 1$.
Explanation. With integer variables and costs the value of every feasible solution is integer and does not exceed $z(\LP)$, hence it does not exceed $\lfloor z(\LP) \rfloor$; in the other cases rounding is not valid.
In an ILP problem with constraints $\sum_k a_{ik} x_k \le b_i$ and $\vet x \ge \vet 0$ we want to prove that every feasible solution satisfies $x_j \le \lfloor b_i / a_{ij} \rfloor$. Which hypotheses are needed?
Only $a_{ij} > 0$, with no other hypothesis on constraint $i$.
$b_i \ge 0$ and a bounded LP relaxation.
Integer costs $c_j$ and $a_{ij} > 0$.
$a_{ik} \ge 0$ for every $k$, $a_{ij} > 0$, $\vet x \ge \vet 0$ and $x_j$ integer.
Explanation. With non-negative coefficients and variables $a_{ij} x_j \le \sum_k a_{ik} x_k \le b_i$; the integrality of $x_j$ allows rounding down. With a negative coefficient in the constraint the step fails.
For the ILP problem $\max\{\sum_j c_j x_j : \sum_j a_{ij} x_j \le b_i\ (i = 1, \dots, m),\ \vet x \in \Z^n_{\ge 0}\}$, with optimal value $z(\ILP)$, we want to prove $z(\ILP) \le \sum_i b_i \bar\pi_i$ for a vector of multipliers $\bar{\vet\pi}$. What is needed?
$\bar{\vet \pi} \ge \vet 0$, $\sum_i a_{ij} \bar\pi_i \ge c_j$ for every $j$, and $\vet x \ge \vet 0$.
$\bar{\vet \pi}$ of any sign with $\sum_i a_{ij} \bar\pi_i = c_j$ for every $j$.
$\bar{\vet \pi} \ge \vet 0$ and $\sum_i a_{ij} \bar\pi_i \le c_j$ for every $j$.
$\bar{\vet \pi} \ge \vet 0$ and the integrality of the variables $x_j$.
Explanation. The constraints are multiplied by $\bar\pi_i \ge 0$ and summed; with $\vet x \ge \vet 0$ and combined coefficients at least equal to the costs, the left-hand side bounds $\sum_j c_j x_j$ from above. Integrality is not needed.
For the ILP problem $\max\ 5x_1 + 3x_2$, $6x_1 + 4x_2 \le 25$, $2x_1 + 5x_2 \le 18$, $x_1, x_2 \in \Z_{\ge 0}$, the one-variable heuristic sets a single variable to its maximum value (the other one to $0$) and keeps the better of the two solutions. Which primal bound $\LB$ does it give?
$\LB = 20$, with the solution $(4, 0)$.
$\LB = 9$, with the solution $(0, 3)$.
$\LB = 45$, with the solution $(9, 0)$.
$\LB = \frac{125}{6}$, with the solution $(\frac{25}{6}, 0)$.
Explanation. Only $x_1$: $\min\{\lfloor \frac{25}{6} \rfloor, \lfloor \frac{18}{2} \rfloor\} = 4$, value $20$. Only $x_2$: $\min\{\lfloor \frac{25}{4} \rfloor, \lfloor \frac{18}{5} \rfloor\} = 3$, value $9$. We keep $20$; $(9,0)$ violates the first constraint and $\frac{25}{6}$ is not integer.
For the ILP problem $\max\ 25x_1 + 16x_2$, $50x_1 + 31x_2 \le 250$, $-3x_1 + 2x_2 \le 4$, $x_1, x_2 \in \Z_{\ge 0}$, the LP relaxation has the optimum $(\frac{376}{193}, \frac{950}{193}) \approx (1.94, 4.92)$ of value $\approx 127.46$, while the integer optimum is $(5, 0)$ of value $125$. What does the example show?
Rounding the LP optimum down always gives the integer optimum.
The nearest integer point, $(2, 5)$, is feasible and therefore optimal.
The bound $z(\LP)$ is useless, because the LP optimum is far from $(5, 0)$.
The integer optimum can be far from the LP optimum, even if $z(\LP)$ remains a good bound.
Explanation. No rounding of $(1.94, 4.92)$ gives $(5,0)$; $(2,5)$ violates the first constraint ($255 > 250$). The value, instead, is close: $125 \le 127$.
With the constraints of the car production example ($10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) and the objective $\max\ x_1 - x_2$, the LP relaxation has the optimum $(\frac{9}{2}, 0)$. The upper bound $x_1 \le \lfloor \frac{45}{10} \rfloor = 4$ is added. What happens?
Nothing: upper bounds on the variables never cut off the LP optimum.
The new LP optimum is $(4, 0)$, integer and hence optimal; the rounded bound was already $4$.
The LP value goes from $\frac{9}{2}$ to $4$ and the rounded bound from $5$ to $4$.
The bound cuts off the feasible integer point $(4, 1)$ and changes the integer optimum.
Explanation. $(\frac{9}{2}, 0)$ violates $x_1 \le 4$, and the new optimum $(4,0)$ has value $4$. The rounded bound was $\lfloor \frac{9}{2} \rfloor = 4$ already: a better formulation does not always improve the rounded bound.
An ILP problem with $x_1, x_2 \in \Z_{\ge 0}$ has the constraint $3x_1 - 2x_2 \le 7$. A student derives $x_1 \le \lfloor \frac{7}{3} \rfloor = 2$. Is it correct?
Yes: it is enough that the coefficient of $x_1$ is positive.
Yes, but only for the LP relaxation, not for the integer points.
No: the bound holds only if $\frac{7}{3}$ is an integer.
No: with the negative coefficient of $x_2$ we can have $x_1 = 3$, for instance $(3, 1)$.
Explanation. The bound $x_j \le \lfloor b_i / a_{ij} \rfloor$ requires all the coefficients of the constraint to be non-negative. Here $(3,1)$ gives $9 - 2 = 7 \le 7$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the constraints are combined with the multipliers $(\pi_1, \pi_2)$ to obtain the bound $45\pi_1 + 49\pi_2$ on $z(\ILP)$. Which pair gives a valid bound?
$(\pi_1, \pi_2) = (1, -\frac{1}{14})$
$(\pi_1, \pi_2) = (\frac{3}{10}, \frac{1}{7})$
$(\pi_1, \pi_2) = (\frac{3}{10}, 0)$
$(\pi_1, \pi_2) = (\frac{1}{5}, \frac{1}{14})$
Explanation. We need $\pi_1, \pi_2 \ge 0$, $10\pi_1 + 4\pi_2 \ge 3$ and $4\pi_1 + 14\pi_2 \ge 2$. $(\frac{3}{10}, \frac{1}{7})$: $\frac{25}{7} \ge 3$ and $\frac{16}{5} \ge 2$, bound $\frac{41}{2}$. $(1, -\frac{1}{14})$ has a negative multiplier; $(\frac{3}{10}, 0)$ gives $\frac{6}{5} < 2$; $(\frac{1}{5}, \frac{1}{14})$ gives $\frac{16}{7} < 3$.
For a maximization ILP problem with integer variables and integer costs we know: a heuristic solution of value $52$, the optimal value of the LP relaxation $z(\LP) = \frac{107}{2}$, and a dual feasible solution of the relaxation of value $55$. Which bounds on the optimal value $z(\ILP)$ are obtained?
$52 \le z(\ILP) \le 55$
$52 \le z(\ILP) \le \frac{107}{2}$
$52 \le z(\ILP) \le 53$
$53 \le z(\ILP) \le 55$
Explanation. The primal bound is $52$. Among the dual bounds the best one is $z(\LP) = \frac{107}{2} \le 55$, and with integer data it is rounded: $\lfloor \frac{107}{2} \rfloor = 53$.
For the ILP problem $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \in \Z^n_{\ge 0}\}$, every vector of multipliers $\vet\pi \ge \vet 0$ with $\mat A\T \vet\pi \ge \vet c$ gives the bound $\vet b\T \vet\pi$. Which statement about these bounds is correct?
The best ones solve the dual of the LP relaxation, and equal $z(\LP)$.
With well chosen multipliers one goes below $z(\LP)$, down to $z(\ILP)$.
The optimal value of the dual problem is equal to $z(\ILP)$.
The sign of the multipliers does not matter if the combined coefficients suffice.
Explanation. The conditions on the multipliers are the constraints of the dual of the LP relaxation; by strong duality the minimum of $\vet b\T\vet\pi$ is $z(\LP) \ge z(\ILP)$. For $\le$ constraints the multipliers must be non-negative.
In a maximization ILP problem, a feasible solution has value $40$ and a dual bound $\UB = 50$ is known. What is the optimality gap $(\UB - \LB)/|\LB|$?
$20\%$.
$10\%$.
$80\%$.
$25\%$.
Explanation. $(50 - 40)/40 = 0.25$. The wrong $20\%$ divides by $\UB$ instead of $|\LB|$.
For a maximization ILP problem a primal bound $\LB$ and a dual bound $\UB$ are known with gap $(\UB - \LB)/|\LB| = 0$. What is needed, besides the definitions of the bounds, to conclude that the solution of value $\LB$ is optimal?
That the LP relaxation has an integer optimal solution.
That $\UB$ is the optimal value of the dual of the relaxation.
Nothing: from $\LB \le z(\ILP) \le \UB$ and $\UB = \LB$ we get $z(\ILP) = \LB$.
That $\LB$ was found by an exact algorithm, not by a heuristic.
Explanation. Zero gap means $\UB = \LB$: the chain of inequalities closes and certifies optimality.
In the one-variable heuristic for the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), with $x_2 = 0$ the variable $x_1$ is raised to its largest feasible value. Which solution and which $\LB$ are obtained?
How is the LP relaxation of the ILP problem in canonical maximization form $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \in \Z^n_{\ge 0}\}$ obtained?
Drop the constraints $\mat A\,\vet x \le \vet b$ and keep integrality.
Replace $\vet x \in \Z^n_{\ge 0}$ by $\vet x \in \R^n_{\ge 0}$, keeping objective and constraints unchanged.
Round down the right-hand sides $\vet b$ and solve the integer problem.
Replace $\vet x \in \Z^n_{\ge 0}$ by $\vet x \in \{0,1\}^n$.
Explanation. The LP relaxation removes only the integrality constraints: $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$.
For a maximization ILP problem whose LP relaxation has optimal value $z(\LP)$, what does the proposition on the upper bound from the LP relaxation state?
$z(\ILP) \le z(\LP)$.
$z(\ILP) \ge z(\LP)$.
$z(\ILP) = \lfloor z(\LP) \rfloor$.
$z(\LP) - z(\ILP) \le 1$.
Explanation. The relaxation maximizes the same function over a larger set ($F \subseteq P$), so its optimum is not smaller.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), the LP relaxation has optimum $(\frac72, \frac52)$. What does rounding to the nearest integer give?
$(4,3)$, which is feasible with value $18$.
$(4,3)$, which is infeasible because $10 \cdot 4 + 4 \cdot 3 = 52 > 45$.
$(3,2)$, which is the optimal solution of the ILP problem.
$(4,1)$, which is the optimal solution of the ILP problem.
Explanation. $\frac72$ and $\frac52$ round to $4$ and $3$; the point violates the first constraint.
In the ILP problem with constraint $3x_1 + 5x_2 + 2x_3 \le 17$ and $\vet x \in \Z^3_{\ge 0}$, which upper bound does the proposition on variable upper bounds give for $x_2$?
The proposition on variable upper bounds derives $x_j \le \lfloor b_i/a_{ij} \rfloor$ from the constraint $\sum_k a_{ik} x_k \le b_i$ of an ILP problem with $\vet x \ge \vet 0$. Which assumption is essential?
$b_i > 0$ and $a_{ij}$ divides $b_i$.
That the constraint is active at the optimal solution of the LP relaxation.
$a_{ik} \ge 0$ for every $k$, so no other term can compensate $a_{ij} x_j$.
That all variables are binary.
Explanation. With a negative coefficient, e.g. $x_1 - x_2 \le 2$, the variable $x_1$ can grow without limit.
The variable upper bounds $x_j \le \lfloor b_i/a_{ij} \rfloor$ are added to an ILP problem. When does the upper bound $z(\LP)$ of the LP relaxation improve?
Always, because constraints are added.
Never, because the bounds cut off no integer point.
Only if the problem has binary variables.
Only if they cut off the LP relaxation optimum.
Explanation. The bounds remove parts of the polyhedron with no integer points; $z(\LP)$ changes only if the fractional optimum is excluded.
In the proof of the dual bound $\vet c\T \vet x \le \bar{\vet \pi}\T \mat A\,\vet x \le \bar{\vet \pi}\T \vet b$ for every feasible $\vet x$ of a canonical ILP problem, where is $\bar{\vet \pi} \ge \vet 0$ needed?
In the first step: it is used to compare $\vet c\T$ with $\bar{\vet \pi}\T \mat A$.
In the second: to keep the direction of $\mat A\,\vet x \le \vet b$.
In no step: $\bar{\vet \pi}\T \mat A \ge \vet c\T$ is enough.
Only to guarantee that $\vet b\T \bar{\vet \pi}$ is integer.
Explanation. The first step uses $\bar{\vet \pi}\T \mat A \ge \vet c\T$ and $\vet x \ge \vet 0$; the second uses $\bar{\vet \pi} \ge \vet 0$.
Explanation. Symmetric pair: a maximum with $\le$ constraints and $\vet x \ge \vet 0$ becomes a minimum with $\ge$ constraints and $\vet \pi \ge \vet 0$.
For a maximization ILP problem, which chain of inequalities links $\LB(\bar{\vet x})$, $z(\ILP)$, $z(\LP)$ and the value $\vet b\T \bar{\vet \pi}$ of a feasible dual solution $\bar{\vet \pi}$?
To get a dual bound on a canonical maximization ILP problem, the $\le$ constraints are combined with multipliers $\pi_i$. Which mistake makes the bound invalid?
Using fractional multipliers instead of integer ones.
Getting combined coefficients strictly larger than the costs.
Using a zero multiplier for some constraint.
Using a negative multiplier, which reverses the direction of the constraint.
Explanation. The multipliers of $\le$ constraints must be nonnegative and the combined coefficients at least equal to the costs.
For the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) we have the feasible solution $(3,2)$ of value $13$ and the LP relaxation with $z(\LP) = \frac{31}{2}$. Which interval contains $z(\ILP)$, using the legitimate rounding?
$13 \le z(\ILP) \le 15$.
$13 \le z(\ILP) \le 15.5$.
$13 \le z(\ILP) \le 16$.
$14 \le z(\ILP) \le 15$.
Explanation. Integer variables and costs: $z(\ILP) \le \lfloor 15.5 \rfloor = 15$; the lower bound is the value $13$ of the known solution.
The LP relaxation of a maximization ILP problem with non-integer costs has $z(\LP) = 12.5$, and a feasible integer solution is worth $11.8$. What is known about $z(\ILP)$?
$11.8 \le z(\ILP) \le 12$.
$z(\ILP) = 12.5$.
$z(\ILP) \ge 12.5$.
$11.8 \le z(\ILP) \le 12.5$.
Explanation. With non-integer costs $z(\LP)$ is not rounded; the lower bound is the value of the known solution.
What is the convex hull $\mathrm{conv}(S)$ of a set $S \subseteq \R^n$?
The set of the linear combinations of points of $S$.
The set of all the convex combinations of points of $S$.
The smallest bounded polyhedron containing $S$ and its integer points.
The set of the integer points of $S$.
Explanation. A convex combination has weights $\lambda_h \ge 0$ with $\sum_h \lambda_h = 1$; $\mathrm{conv}(S)$ is the smallest convex set containing $S$.
When is a polyhedron $P = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$ a formulation of an ILP problem with feasible region $F$?
When $P \cap \Z^n = F$.
When $P = F$.
When $P \subseteq \mathrm{conv}(F)$.
When all the vertices of $P$ are integer.
Explanation. The formulations of the same problem have the same integer points and differ in the fractional points.
Let $F$ be the feasible region of an ILP problem and $P$ a formulation of it (a polyhedron with $P \cap \Z^n = F$). Which relation holds between $P$ and the convex hull $\mathrm{conv}(F)$?
$P \subseteq \mathrm{conv}(F)$
$P \cap \mathrm{conv}(F) = \emptyset$
$P = \mathrm{conv}(F)$ always
$\mathrm{conv}(F) \subseteq P$
Explanation. $P$ is convex and contains $F$, so it contains the smallest convex set containing $F$.
Let $F$ be the feasible region of an ILP problem. When is a formulation $P$ (a polyhedron with $P \cap \Z^n = F$) ideal?
When the optimum of the relaxation is integer for the given objective function.
When $P = \mathrm{conv}(F)$.
When $P$ has the smallest possible number of constraints.
When $P$ is bounded and has at least one integer vertex.
Explanation. Ideal means that the region of the relaxation is exactly the convex hull of the integer solutions; an integer optimum for one objective is not enough.
Two formulations $P_1 \subseteq P_2$ of the same maximization ILP problem have LP relaxations with optimal values $z(\LP_1)$ and $z(\LP_2)$; $z(\ILP)$ is the optimal value of the problem. What holds?
$z(\LP_1) \ge z(\LP_2)$
$z(\LP_1) = z(\LP_2)$
$z(\ILP) \le z(\LP_1) \le z(\LP_2)$
$z(\LP_1) = z(\ILP)$
Explanation. $P_1$ is stronger: the maximum over a smaller set is not larger, and every formulation contains the integer solutions.
How many vertices does the convex hull of the $16$ feasible integer points of the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) have?
$16$
$4$
$5$
$6$
Explanation. The vertices are $(0,0)$, $(4,0)$, $(4,1)$, $(3,2)$, $(1,3)$, $(0,3)$; of the other $10$ points five lie on the boundary and five in the interior.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), let $P$ be the polyhedron of the two constraints with $\vet x \ge \vet 0$ and $F$ the set of feasible integer points. Why is $P$ not an ideal formulation, that is $P \neq \mathrm{conv}(F)$?
Because the point $(\frac{7}{2}, \frac{5}{2})$ of $P$ violates $x_1 + x_2 \le 5$, valid for $\mathrm{conv}(F)$.
Because the ILP problem has several optimal solutions and the relaxation only one.
Because some points of $F$ lie on the boundary of $\mathrm{conv}(F)$ without being vertices.
Because $P$ is bounded and hence contains only finitely many integer points.
Explanation. One point of $P$ outside the hull is enough: the optimum of the relaxation $(\frac{7}{2}, \frac{5}{2})$ has sum $6 > 5$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), the convex hull of the feasible integer points has vertices $(0,0)$, $(4,0)$, $(4,1)$, $(3,2)$, $(1,3)$, $(0,3)$. How many of the $16$ feasible integer points lie in the interior (not on the boundary) of the hull?
$10$
$5$
$6$
$0$
Explanation. On the boundary, besides the vertices, lie $(0,1)$, $(0,2)$, $(1,0)$, $(2,0)$, $(3,0)$; in the interior $(1,1)$, $(2,1)$, $(3,1)$, $(1,2)$, $(2,2)$. A point that is not a vertex can lie on the boundary.
Let $P = \mathrm{conv}(F)$ be an ideal, bounded formulation of a maximization ILP problem with feasible region $F \neq \emptyset$ and optimal value $z(\ILP)$; $z(\LP)$ is the optimal value of the relaxation on $P$. Which statement is correct?
Every optimal solution of the relaxation is integer, even with several optima.
$P$ is ideal if and only if the relaxation has an integer optimum for one objective.
The relaxation has an optimal vertex, every optimal vertex is optimal for the ILP problem, and $z(\LP) = z(\ILP)$.
$z(\LP) = z(\ILP)$ for the given objective is enough to say that $P$ is ideal.
Explanation. The vertices of $\mathrm{conv}(F)$ are integer, and a nonempty bounded polyhedron has an optimal vertex. With several optimal solutions a fractional point of the optimal face can be optimal: this is why the statement speaks of vertices.
Let $F$ be the feasible region of an ILP problem. An ideal formulation is a polyhedron $P$ with $P = \mathrm{conv}(F)$. Which statement about its existence is correct?
It exists only if $F$ is bounded, and it uses at most $2n$ inequalities.
It does not exist when $F$ is infinite, even with rational data.
It is always obtained by adding upper bounds on the variables.
With rational data it always exists, but it can require very many inequalities.
Explanation. By Meyer's theorem, with rational data the convex hull of the integer points is a polyhedron, described by finitely many inequalities, which can however be exponentially many; finding them is in general as hard as solving the problem.
Let $P = \mathrm{conv}(F)$ be an ideal, nonempty and bounded formulation of a maximization ILP problem ($z(\ILP)$ optimal value, $z(\LP)$ optimal value of the relaxation on $P$). To prove that an optimal vertex of the relaxation is optimal for the ILP problem, what is needed?
An optimal vertex exists, the vertices of $\mathrm{conv}(F)$ lie in $F$, and $z(\ILP) \le z(\LP)$.
Strong duality and the complementary slackness conditions on the relaxation.
The convexity of $F$ and the linearity of the objective function.
Bland's rule, which leads the simplex to an integer optimal vertex.
Explanation. The optimal vertex is a feasible integer solution of value $z(\LP)$, and no integer solution exceeds $z(\LP)$.
Let $P_1 \subseteq P_2$ be two formulations of the same maximization ILP problem and $z(\LP_1)$, $z(\LP_2)$ the optimal values of the LP relaxations on them. To prove that $z(\LP_1) \le z(\LP_2)$, what is needed?
That $P_1$ and $P_2$ are both ideal formulations.
The same objective function: the maximum on a subset is not larger.
That both polyhedra are bounded and have integer vertices.
That the region of the dual of $\LP_1$ is contained in that of the dual of $\LP_2$.
Explanation. It is a comparison of maxima of the same function over nested sets; no integrality assumption is needed.
Let $F$ be the feasible region of an ILP problem. Finding the ideal formulation $\mathrm{conv}(F)$ is in general very difficult. What is done in practice?
The formulation is replaced by the polyhedron of the non-negativity constraints only.
All the points of $F$ are enumerated and their convex hull is computed.
The given formulation is kept and valid inequalities that cut off fractional points are added.
The solution of the LP relaxation is rounded and declared optimal.
Explanation. The hull can need exponentially many inequalities; the formulation is strengthened step by step with inequalities satisfied by all the points of $F$.
In the car production example ($10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the convex hull of the feasible integer points has vertices $(0,0)$, $(4,0)$, $(4,1)$, $(3,2)$, $(1,3)$, $(0,3)$. Where are the feasible points $(0,1)$ and $(3,0)$, which are not vertices?
Strictly inside the hull.
On the boundary of the hull, on two edges.
Outside the hull, because they are not vertices.
They are vertices as well, only hidden by the edges.
Explanation. $(0,1)$ lies on the edge from $(0,0)$ to $(0,3)$ and $(3,0)$ on the edge from $(0,0)$ to $(4,0)$: a point that is not a vertex can lie on the boundary.
Let $P$ be a formulation of an ILP problem with feasible region $F$ (a polyhedron with $P \cap \Z^n = F$). For the objective $\vet c$ the LP relaxation on $P$ has an integer optimum. Can we conclude that $P$ is ideal ($P = \mathrm{conv}(F)$)?
Yes: an integer optimum proves that all the vertices of $P$ are integer.
Yes, if the integer optimum is unique.
No: an ideal formulation never has integer optima.
No: for another objective the optimum of the relaxation on $P$ can be fractional.
Explanation. A formulation is ideal if all its vertices are integer, that is if the relaxation has an integer optimum for every objective; one objective is not enough.
Let $F \neq \emptyset$ be the finite feasible region of an ILP problem and $\mathrm{conv}(F)$ its convex hull. Which statement is <u>false</u>?
The vertices of $\mathrm{conv}(F)$ are feasible integer solutions.
$\mathrm{conv}(F)$ contains fractional points that are not convex combinations of points of $F$.
$\mathrm{conv}(F)$ is contained in every formulation of the problem.
$\mathrm{conv}(F)$ is a polyhedron described by finitely many inequalities.
Explanation. By definition $\mathrm{conv}(F)$ is the set of the convex combinations of the points of $F$; it is the smallest convex set containing $F$, so it lies in every formulation, and it is a polyhedron with vertices in $F$.
Let $P$ be a formulation of an ILP problem with feasible region $F$ ($P \cap \Z^n = F$). Inequalities are added to $P$ to strengthen it. How far can the polyhedron shrink while remaining a formulation?
Down to the set $F$ itself, which is a polyhedron.
Down to the optimal point only, removing the other points of $F$.
Down to $\mathrm{conv}(F)$, never removing points of $F$.
It cannot shrink: every additional inequality removes points of $F$.
Explanation. A formulation must contain all the points of $F$, hence it contains $\mathrm{conv}(F)$, the strongest formulation. $F$ is a set of isolated points, not a polyhedron (if it has more than one point).
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. Which statement about the vertices of $\mathrm{conv}(F)$ is correct?
Every vertex of $\mathrm{conv}(F)$ is a point of $F$, hence integer.
Every point of $F$ is a vertex of $\mathrm{conv}(F)$.
The vertices of $\mathrm{conv}(F)$ coincide with those of $P$.
$\mathrm{conv}(F)$ can have fractional vertices if $P$ has them.
Explanation. A vertex is not a convex combination of other points of the set, so it must be one of the generating points; the converse fails (points of $F$ on the boundary or inside).
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. When is $P$ called ideal?
When $P \cap \Z^n = F$.
When $P = \mathrm{conv}(F)$.
When $P$ has at least one integer vertex.
When the LP relaxation over $P$ has an integer optimum for the given objective.
Explanation. Every formulation satisfies $P \cap \Z^n = F$; the ideal one coincides with the convex hull.
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. To conclude that $P$ is ideal, which check is sufficient?
That the optimum of the LP relaxation over $P$ is integer for the objective of the problem.
That $P$ is bounded and contains $F$.
That all vertices of $P$ are integer.
That $P$ has as many constraints as $\mathrm{conv}(F)$.
Explanation. If every vertex of $P$ lies in $F$, then $P = \mathrm{conv}(F)$; an integer optimum for a single objective is not enough.
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. What does the theorem on the LP relaxation over an ideal formulation state (with $F$ nonempty and $P$ bounded)?
The LP relaxation over $P = \mathrm{conv}(F)$ has an integer optimal solution and $z(\LP) = z(\ILP)$.
Every optimal solution of the LP relaxation over $P$ is integer, for every objective.
The LP relaxation over $P$ gives $z(\LP) = \lfloor z(\ILP) \rfloor$.
The LP relaxation over $P$ is infeasible if $F$ has more than one point.
Explanation. The optimum of a bounded LP is attained at a vertex, and the vertices of $\mathrm{conv}(F)$ are integer; with multiple optima there are fractional optima too.
In the proof that the LP relaxation over an ideal formulation $P = \mathrm{conv}(F)$ has an integer optimum, which property of linear programming is used?
Every LP has a unique optimal solution.
The dual of an LP always has an integer solution.
Every point of a polyhedron is a vertex.
A bounded LP has an optimum at a vertex.
Explanation. The optimum is attained at a vertex of $\mathrm{conv}(F)$, and those vertices are points of $F$.
$P_1$ and $P_2$ are formulations of the same maximization ILP problem with $P_1 \subseteq P_2$; $z(\LP_k)$ is the optimal value of the LP relaxation over $P_k$. Which relation holds?
$z(\ILP) \le z(\LP_2) \le z(\LP_1)$.
$z(\ILP) \le z(\LP_1) \le z(\LP_2)$.
$z(\LP_1) \le z(\ILP) \le z(\LP_2)$.
$z(\LP_1) = z(\LP_2)$, because they have the same integer points.
Explanation. The maximum over a smaller set is not larger: the stronger formulation gives an upper bound that is not worse.
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. Which statement about the ideal formulation is correct?
It is weaker than every other formulation, because it contains all points of $F$.
It cannot be compared with the other formulations, because it has different constraints.
It is the formulation with the fewest constraints.
It is stronger than every other formulation, because $\mathrm{conv}(F) \subseteq P$ for every formulation $P$.
Explanation. Every formulation is convex and contains $F$, so it contains $\mathrm{conv}(F)$.
For the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the original formulation gives the upper bound $\lfloor \frac{31}{2} \rfloor = 15$. Which upper bound does the ideal formulation give?
$14$, the optimal value $z(\ILP)$.
$15$, as the original formulation.
$13$, the value of rounding down.
$\frac{31}{2}$, without rounding.
Explanation. Over the ideal formulation the LP relaxation has an integer optimum: it gives exactly $z(\ILP) = 14$.
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. An inequality that removes a point of $F$ is added to $P$. What is obtained?
No longer a formulation of the same problem: a feasible integer point has been lost.
A stronger formulation of the same problem.
The ideal formulation, if the removed point is not optimal.
An equivalent formulation, because the objective does not change.
Explanation. A formulation must keep all of $F$: $P$ may shrink only down to $\mathrm{conv}(F)$.
Let $F$ be the feasible region of an ILP problem; a formulation is a polyhedron $P$ with $P \cap \Z^n = F$, and $\mathrm{conv}(F)$ is the convex hull of $F$. Which chain of inclusions holds for every formulation $P$?
$\mathrm{conv}(F) \subseteq F \subseteq P$.
$F \subseteq \mathrm{conv}(F) \subseteq P$.
$F \subseteq P \subseteq \mathrm{conv}(F)$.
$P \subseteq \mathrm{conv}(F) \subseteq F$.
Explanation. $P$ is convex and contains $F$, so it contains the smallest convex set containing $F$.
The feasible region of an ILP problem is $F = \{(0,0), (1,0), (0,1)\}$. Which formulation is ideal?
$x_1 + x_2 \le 1$, $x_1, x_2 \ge 0$.
$2x_1 + 2x_2 \le 3$, $x_1, x_2 \ge 0$.
$x_1 \le 1$, $x_2 \le 1$, $x_1, x_2 \ge 0$.
$x_1 + x_2 \le 2$, $x_1, x_2 \ge 0$.
Explanation. $\mathrm{conv}(F)$ is the triangle with vertices $(0,0)$, $(1,0)$, $(0,1)$. The second one has the same integer points but the fractional vertex $(\frac32, 0)$; the third contains $(1,1)$.
For the region $F = \{(0,0), (1,0), (0,1)\}$, the formulations $P_1: x_1 + x_2 \le 1$ and $P_2: 2x_1 + 2x_2 \le 3$ (with $x \ge 0$) have the same integer points. Which one is stronger?
$P_2$, because it has larger coefficients.
They are equivalent.
$P_1$, because $P_1 \subseteq P_2$.
Neither is a formulation of $F$.
Explanation. Every point with $x_1 + x_2 \le 1$ satisfies $2x_1 + 2x_2 \le 2 \le 3$; not conversely.
Let $F$ be the feasible region (set of feasible integer solutions) of an ILP problem and $P$ the polyhedron of a formulation of it. When is the inequality $\sum_j \alpha_j x_j \le \beta$ valid for the problem?
When it is satisfied by all the points of the polyhedron $P$.
When it cuts off the optimal solution of the relaxation.
When it is satisfied by all the points of $F$.
When at least one point of $F$ satisfies it with equality.
Explanation. Valid means that it cuts off no feasible integer solution; it can cut off fractional points of $P$. The last option describes a tight inequality.
What is the effect of adding a valid inequality (satisfied by all the feasible integer solutions $F$) to a formulation of a maximization ILP problem?
It reduces $F$ by removing integer solutions, and can improve the optimal value of the ILP problem.
$F$ does not change, the polyhedron shrinks and the upper bound of the relaxation does not get worse.
It always improves the rounded upper bound of the relaxation, even if it does not cut off the LP optimum.
It makes the formulation ideal, that is the polyhedron equals $\mathrm{conv}(F)$.
Explanation. A valid inequality removes no integer point, so the new formulation is stronger; but the upper bound improves only if the optimum of the relaxation is cut off.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the first constraint is multiplied by $\frac{1}{2}$ and, since the left-hand side is integer for every integer solution, the right-hand side is rounded down. Which valid inequality is obtained?
$5x_1 + 2x_2 \le 23$
$5x_1 + 2x_2 \le 21$
$5x_1 + 4x_2 \le 22$
$5x_1 + 2x_2 \le 22$
Explanation. $5x_1 + 2x_2 \le \frac{45}{2}$ with an integer left-hand side: the right-hand side is rounded down to $22$.
In a MIP problem the variable $x_2$ is continuous and the others are integer. The $\le$ constraints are combined with nonnegative multipliers. Can the right-hand side of the combination be rounded down, if $x_2$ has a nonzero coefficient in it?
No: the left-hand side is not necessarily integer.
Yes, provided that the multipliers are non-negative.
Yes, provided that the coefficients are integer.
Yes, but rounding up.
Explanation. Rounding is allowed only if the left-hand side is integer for every feasible solution, that is with integer variables and integer coefficients; with $x_2$ continuous this fails.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), the inequality $x_1 + x_2 \le 6$ is valid. What does it do with respect to the optimum of the LP relaxation $(\frac{7}{2}, \frac{5}{2})$?
It cuts it off and brings the rounded upper bound to $14$.
It does not cut it off, because at that point $x_1 + x_2$ equals exactly $6$.
It cuts it off, but the rounded upper bound stays $15$.
It is not valid, because it cuts off the integer solution $(4,1)$.
Explanation. $\frac{7}{2} + \frac{5}{2} = 6$: the point satisfies the inequality with equality. The tight inequality $x_1 + x_2 \le 5$ instead cuts it off; stopping at a loose right-hand side is a typical mistake.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the LP relaxation has optimal value $z(\LP) = \frac{31}{2}$ and rounded upper bound $\lfloor z(\LP) \rfloor = 15$. The valid inequalities $5x_1 + 2x_2 \le 22$ and $2x_1 + 7x_2 \le 24$ both cut off the optimum $(\frac{7}{2}, \frac{5}{2})$. What does the rounded upper bound become when one of them is added?
It drops to $14$ with either of them.
It drops to $13$ with either of them.
It stays $15$ with either of them.
It rises to $16$ with either of them.
Explanation. The new values are $\frac{472}{31}$ and $\frac{957}{62}$, both with integer part $15$: an inequality that cuts off the LP optimum does not always improve the rounded bound.
Combining the constraints of an ILP problem with multipliers $\pi_i \ge 0$ gives the valid inequality $2x_1 + 3x_2 \le \frac{37}{3}$, with $x_1, x_2 \in \Z_{\ge 0}$. What is the smallest right-hand side obtainable from this inequality alone by exploiting integrality?
$2x_1 + 3x_2 \le 13$
$2x_1 + 3x_2 \le \frac{38}{3}$
$2x_1 + 3x_2 \le 11$
$2x_1 + 3x_2 \le 12$
Explanation. The left-hand side is integer, so the right-hand side is rounded down: $\lfloor \frac{37}{3} \rfloor = 12$. Rounding up ($13$) is weaker; $11$ does not follow from this inequality.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), which inequality with coefficients $(1, 2)$ is valid and tight, that is satisfied by all the feasible integer points and with equality by at least one?
$x_1 + 2x_2 \le 7$
$x_1 + 2x_2 \le 8$
$x_1 + 2x_2 \le 6$
$x_1 + 2x_2 \le \frac{17}{2}$
Explanation. With $\beta = 8$ we get $x_1 = 8 - 2x_2$: the constraints give $x_2 \ge 3$ and $x_2 \le 2$, a contradiction. With $\beta = 7$ the points $(3,2)$ and $(1,3)$ are feasible: $x_1 + 2x_2 \le 7$ is tight.
Consider an ILP problem with constraints $\sum_j a_{ij} x_j \le b_i$ and $\vet x \in \Z^n_{\ge 0}$, and multipliers $\pi_i$. Which statement about the valid inequalities obtained by rounding is correct?
For multipliers $\pi_i$ of any sign, $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
If $\pi_i \ge 0$, $\sum_i \pi_i a_{ij} \ge \alpha_j$ and $\alpha_j \in \Z$ for every $j$, then $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
If $\pi_i \ge 0$ and $\sum_i \pi_i a_{ij} \ge \alpha_j$, then $\sum_j \alpha_j x_j \le \lceil \sum_i \pi_i b_i \rceil$ is valid and tight.
The rounded inequality is valid even if some variables are continuous.
Explanation. Non-negative multipliers, integer coefficients bounded by the combination and integer variables are needed; the right-hand side is rounded down.
Let $F$ be the set of feasible integer solutions of an ILP problem and $P$ the polyhedron of a formulation of it. Which statement about valid inequalities is correct?
Every inequality valid for $F$ is valid for $P$.
Every valid inequality is tight.
An inequality is valid for $F$ if and only if it is valid for $\mathrm{conv}(F)$.
An inequality valid for $\mathrm{conv}(F)$ can cut off a point of $F$.
Explanation. A half-space containing $F$ also contains its convex combinations; the inequalities of the ideal formulation are valid.
For an ILP problem with constraints $\sum_j a_{ij} x_j \le b_i$ and $\vet x \in \Z^n_{\ge 0}$, we want to prove that if $\pi_i \ge 0$, $\sum_i \pi_i a_{ij} \ge \alpha_j$ and $\alpha_j \in \Z$, then $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid. Which facts are needed?
Strong duality applied to the LP relaxation of the problem.
That the optimum of the LP relaxation is a fractional vertex.
$b_i \ge 0$ and $\alpha_j \ge 0$ for every $i$ and $j$, together with $\pi_i \ge 0$.
$\vet x \ge \vet 0$ and $\pi_i \ge 0$ to bound from above, $x_j$ and $\alpha_j$ integer to round.
Explanation. $\sum_j \alpha_j x_j \le \sum_j (\sum_i \pi_i a_{ij}) x_j \le \sum_i \pi_i b_i$; since the left-hand side is integer, it does not exceed the integer part of the right-hand side.
To prove that adding a valid inequality (satisfied by all the feasible integer solutions) to a formulation of a maximization ILP problem does not worsen the upper bound of the LP relaxation, what is needed?
That the integer solutions do not change and the maximum over a smaller set does not grow.
That the inequality is tight for at least one feasible solution.
That the inequality cuts off the optimal solution of the relaxation.
That the new relaxation is re-optimized with the dual simplex.
Explanation. The new formulation is stronger (same $F$, smaller polyhedron); for the mere non-worsening neither tightness nor cutting off the optimum is needed.
In the car production example ($10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) we look for the strongest valid inequality $x_1 + x_2 \le \beta$, lowering $\beta$ until a feasible integer point has $x_1 + x_2 = \beta$. With $\beta = 6$ and $x_2 = 6 - x_1$ the constraints give $x_1 \le \frac{7}{2}$ and $x_1 \ge \frac{7}{2}$. What is done?
We stop: $x_1 = \frac{7}{2}$ satisfies both, so $\beta = 6$ is tight.
We set $\beta = 7$: the two bounds coincide, so $\beta$ must be increased.
We stop with $\beta = 6$, because the two bounds do not contradict each other.
We set $\beta = 5$: for integer $x_1$ we need $x_1 \le 3$ and $x_1 \ge 4$, which contradict each other.
Explanation. The point must be integer: $x_1 \le \lfloor \frac{7}{2} \rfloor = 3$ and $x_1 \ge \lceil \frac{7}{2} \rceil = 4$. No integer point has sum $6$; with $\beta = 5$ we find $(3,2)$ and $(4,1)$.
With many variables the valid inequalities of an ILP problem are not chosen on a picture. Where do they come from in general?
From families for special structures (covers) and from rounding dictionary rows (Gomory).
Only from the ideal formulation, computed once and for all from the hull.
From rounding the components of the optimal solution of the relaxation.
From the upper bounds on the variables, which are always enough to get the convex hull.
Explanation. Cover inequalities exploit a constraint with positive coefficients of a binary problem; Gomory fractional cuts apply the rounding systematically to the rows of the optimal dictionary.
For the constraint $5x_1 + 4x_2 + 3x_3 \le 8$ with $x_1, x_2, x_3 \in \{0,1\}$, the inequality $x_1 + x_2 \le 1$ is valid because $5 + 4 > 8$. Which family does it belong to?
To the Gomory fractional cuts, obtained from a row of the optimal dictionary.
To the upper bounds on the variables $x_j \le \lfloor b / a_j \rfloor$.
To the cover inequalities of the constraint.
To the inequalities of the ideal formulation of the car production example.
Explanation. $\{1,2\}$ is a cover (coefficients summing to more than $8$): at most $|C| - 1 = 1$ of its variables equals $1$.
In the car production example ($10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) a student uses the multipliers $(\frac{1}{20}, \frac{1}{20})$: he gets $\frac{7}{10}x_1 + \frac{9}{10}x_2 \le \frac{47}{10}$ and writes $x_1 + x_2 \le 4$. What is wrong?
Nothing: it is valid and stronger than $x_1 + x_2 \le 5$, since $\frac{47}{10}$ rounds down to $4$.
The right-hand side should have been rounded up, to $5$, because the coefficients are below $1$.
The multipliers must be integer for the right-hand side to be rounded.
The combined coefficients are below $(1, 1)$: the rounding does not apply, and $(4,1)$ violates it.
Explanation. To write $x_1 + x_2 \le \lfloor \cdot \rfloor$ the combined coefficients must be at least $1$; here $\frac{7}{10}$ and $\frac{9}{10}$ are not enough. The feasible point $(4,1)$ has sum $5 > 4$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the feasible solution $(4,1)$ of value $14$ is known. With the valid inequality $x_1 + x_2 \le 5$ the relaxation has the optimum $(\frac{25}{6}, \frac{5}{6})$, of value $\frac{85}{6}$. What is concluded?
Nothing: the optimum of the relaxation is fractional, so more is needed.
$\lfloor \frac{85}{6} \rfloor = 14$: the upper bound equals $14$ and $(4,1)$ is certified optimal.
The upper bound is $15$, because $\frac{85}{6}$ is rounded up.
$(4,1)$ is optimal only if $x_1 + 2x_2 \le 7$ is added as well.
Explanation. With integer variables and costs $z(\ILP) \le \lfloor z(\LP) \rfloor = 14$; together with $z(\ILP) \ge 14$ the gap is zero.
For the car production example ($10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the valid inequalities $x_1 \le 4$, $x_2 \le 3$, $x_1 + x_2 \le 5$, $x_1 + 2x_2 \le 7$ were derived. Which polyhedron do they describe, with $\vet x \ge \vet 0$?
A formulation stronger than the original one, but with fractional vertices.
A polyhedron that excludes some feasible integer points.
The same polyhedron as the original LP relaxation.
The convex hull of the feasible integer points: the ideal formulation.
Explanation. The vertices are $(0,0)$, $(4,0)$, $(4,1)$, $(3,2)$, $(1,3)$, $(0,3)$, all integer and feasible: the four inequalities are the ideal formulation.
For the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), is the inequality $x_1 \le 4$ valid?
Yes: from the first constraint $10x_1 \le 45$.
No: the point $(4.5,\ 0)$ of the relaxation violates it.
No: it is valid only if $x_2 = 0$.
Yes, but only for the optimal solution $(4,1)$.
Explanation. Valid means satisfied by all points of $F$; it may cut off fractional points such as $(4.5,0)$.
In a canonical ILP problem $\mat A\,\vet x \le \vet b$, $\vet x \in \Z^n_{\ge 0}$, what does the proposition on valid inequalities by rounding state?
If $\pi_i \ge 0$ and $\sum_i \pi_i a_{ij} \le \alpha_j$ for every $j$, then $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
If $\pi_i \ge 0$ and $\alpha_j$ real with $\sum_i \pi_i a_{ij} \ge \alpha_j$, then $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
If $\pi_i \ge 0$, $\alpha_j$ integer and $\sum_i \pi_i a_{ij} \ge \alpha_j$, then $\sum_j \alpha_j x_j \le \lceil \sum_i \pi_i b_i \rceil - 1$ is valid.
If $\pi_i \ge 0$, $\alpha_j$ integer and $\sum_i \pi_i a_{ij} \ge \alpha_j$ for every $j$, then $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
Explanation. A nonnegative combination, then integer coefficients and integer variables allow rounding the right-hand side down.
For an ILP problem with finite feasible region $F \neq \emptyset$ and fixed coefficients $\alpha$, which right-hand side makes $\sum_j \alpha_j x_j \le \beta$ valid and tight?
$\beta = \max\{\sum_j \alpha_j x_j : \vet x \in P\}$, over the relaxation polyhedron.
$\beta = \max\{\sum_j \alpha_j x_j : \vet x \in F\}$.
$\beta = \lfloor \max\{\sum_j \alpha_j x_j : \vet x \in P\} \rfloor$, in every case.
$\beta = \min\{\sum_j \alpha_j x_j : \vet x \in F\}$.
Explanation. Valid requires $\beta \ge$ the maximum over $F$; tight requires some point to reach it: so $\beta$ is that maximum.
For the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the inequality $x_1 + x_2 \le 6$ is valid. Lowering the right-hand side until a feasible integer point reaches it, which tight inequality is obtained?
$x_1 + x_2 \le 5$.
$x_1 + x_2 \le 4$.
$x_1 + x_2 \le 6$.
$x_1 + x_2 \le 3$.
Explanation. No point of $F$ has $x_1 + x_2 = 6$; the maximum of $x_1 + x_2$ over $F$ is $5$, e.g. at $(3,2)$.
The algorithm that lowers by $1$ at a time the right-hand side $\beta$ of a valid inequality $\sum_j \alpha_j x_j \le \beta$ returns a tight inequality. Which assumptions are needed?
That the LP relaxation has an integer optimum.
That all coefficients $\alpha_j$ are positive.
$F \neq \emptyset$ and integer coefficients $\alpha_j$.
That the problem has exactly two variables.
Explanation. With integer values, stepping down by $1$ does not skip the maximum over $F$; with $F$ empty the algorithm would not stop.
A valid inequality that cuts off the fractional optimum of the LP relaxation of a maximization ILP problem is added. What happens to the upper bound $z(\LP)$?
It always decreases strictly.
It becomes equal to $z(\ILP)$.
It does not increase, but it can stay the same.
It increases, because the polyhedron changes.
Explanation. In the car production example $5x_1 + 2x_2 \le 22$ cuts off the optimum but the rounded bound stays at $15$.
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$, when is $C \subseteq \mathscr{I}$ a cover?
When $\sum_{j \in C} a_j \le b$.
When $\sum_{j \in C} a_j > b$.
When $|C| > b$.
When $\sum_{j \in C} a_j = b$.
Explanation. A cover is a set of variables that cannot all be equal to $1$: the sum of their coefficients exceeds $b$ (that is, it is at least $b+1$).
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$, with $x_j \in \{0,1\}$ and $a_j, b$ positive integers, a cover is a set $C \subseteq \mathscr{I}$ with $\sum_{j \in C} a_j > b$. What is the cover inequality associated with $C$?
$\sum_{j \in C} x_j \le |C|$
$\sum_{j \in C} a_j x_j \le b$
$\sum_{j \in C} x_j \le |C| - 1$
$\sum_{j \in C} x_j \ge 1$
Explanation. At most $|C| - 1$ variables of the cover can be equal to $1$ together.
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$, with $x_j \in \{0,1\}$ and $a_j, b$ positive integers, a cover is a set $C \subseteq \mathscr{I}$ with $\sum_{j \in C} a_j > b$. When is a cover $C$ minimal?
When no proper subset of $C$ is a cover.
When it has minimum cardinality among all the covers of the constraint.
When $\sum_{j \in C} a_j = b + 1$, that is it exceeds $b$ by one.
When it contains the index with the largest coefficient $a_j$.
Explanation. Since the coefficients are positive it is enough to remove one index at a time: $C$ is minimal if and only if $\sum_{j \in C} a_j - a_i \le b$ for every $i \in C$.
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$, with $x_j \in \{0,1\}$ and $a_j, b$ positive integers, a cover is a set $C \subseteq \mathscr{I}$ with $\sum_{j \in C} a_j > b$. The cover separation problem (CSP) for a point $\tilde{\vet x} \in [0,1]^n$ minimizes $\sum_{j \in C} (1 - \tilde x_j)$ over the covers $C$; $z(\mathrm{CSP})$ is its optimal value. When is there a cover inequality $\sum_{j \in C} x_j \le |C| - 1$ violated by $\tilde{\vet x}$?
When $z(\mathrm{CSP}) > 1$.
When $z(\mathrm{CSP}) = 0$.
When $z(\mathrm{CSP}) \le 1$.
When $z(\mathrm{CSP}) < 1$.
Explanation. The cost of a cover is $\sum_{j \in C} (1 - \tilde x_j)$, and the inequality of $C$ is violated if and only if this cost is less than $1$.
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$, with $x_j \in \{0,1\}$ and $a_j, b$ positive integers, a cover is a set $C \subseteq \mathscr{I}$ with $\sum_{j \in C} a_j > b$. For a cover $C$ let $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$. What is the right-hand side of the extended cover inequality $\sum_{j \in E(C)} x_j \le \;?$
$|E(C)| - 1$
$|C| - 1$
$|E(C)|$
$b$
Explanation. The right-hand side depends on $|C|$, not on $|E(C)|$: at most $|C| - 1$ variables of the whole set $E(C)$ can be equal to $1$.
For a constraint $\sum_j a_j x_j \le b$ with binary variables, the greedy separation heuristic finds no cover inequality ($\sum_{j \in C} x_j \le |C| - 1$, with $\sum_{j \in C} a_j > b$) violated by the fractional point $\tilde{\vet x}$. What can be concluded?
That $\tilde{\vet x}$ satisfies all the cover inequalities of the constraint.
That $\tilde{\vet x}$ is integer, because a fractional point always violates a cover.
Nothing: only an exact separation can rule out a violated inequality.
That $\tilde{\vet x}$ belongs to the convex hull of the binary solutions.
Explanation. The greedy is a heuristic for the separation problem: its failure is not a proof. Only the optimal value (or a lower bound) of the exact separation problem can prove that no inequality is violated.
For the constraint $2x_1 + 3x_2 + 6x_3 + 7x_4 \le 9$, $x_j \in \{0,1\}$, a cover is a set $C$ of indices whose coefficients sum to more than $9$; it is minimal if no proper subset of it is a cover. Which set is a minimal cover?
$\{1, 4\}$
$\{1, 2, 4\}$
$\{1, 3\}$
$\{1, 2, 3\}$
Explanation. $2 + 3 + 6 = 11 > 9$ and removing one index gives $9$, $8$ or $5$. $\{1,4\}$ has sum $9$ (not a cover), $\{1,2,4\}$ contains the cover $\{2,4\}$.
For the constraint $\sum_{j=1}^{n} x_j \le 1$ with $x_j \in \{0,1\}$ ($a_j = 1$ for every $j$, $b = 1$), how many covers are there, that is sets $C$ of indices with $\sum_{j \in C} a_j > b$?
$2^n - n - 1$
$n$
$\binom{n}{2}$
$2^n$
Explanation. Every subset with at least two indices is a cover: from the $2^n$ subsets remove the empty set and the $n$ singletons. This is why covers are separated instead of being added all at once.
For a binary constraint with cover $C = \{1, 2\}$ the cover inequality is $x_1 + x_2 \le 1$, violated by the point $\tilde{\vet x} = (\frac{7}{10}, 1)$. What is the Euclidean distance of $\tilde{\vet x}$ from the hyperplane $x_1 + x_2 = 1$?
$\frac{7}{10}$
$\frac{7}{10\sqrt{2}}$
$\frac{7}{20}$
$\frac{7}{10} \sqrt{2}$
Explanation. The violation is $v_C = \frac{7}{10} + 1 - 1 = \frac{7}{10}$ and the norm of the coefficients is $\sqrt{|C|} = \sqrt{2}$, so the distance is $\frac{7}{10\sqrt{2}}$. $\frac{7}{20}$ is the component $x_1^\perp$ of the projection.
Let $X = \{\vet x \in \{0,1\}^n : \sum_j a_j x_j \le b\}$ ($a_j, b$ positive integers). The inequality of a cover $C$ ($\sum_{j \in C} a_j > b$) is $\sum_{j \in C} x_j \le |C| - 1$; the cover closure is the polyhedron given by all these inequalities and by $\vet 0 \le \vet x \le \vet 1$. Which statement is correct?
The inequalities of the minimal covers describe $\mathrm{conv}(X)$.
The cover closure always coincides with $\mathrm{conv}(X)$.
The inequalities of the minimal covers, together with $x_j \le 1$, imply all the cover inequalities.
Every cover inequality is implied by the constraint $\sum_j a_j x_j \le b$ alone with $\vet x \in [0,1]^n$.
Explanation. One adds the inequality of a minimal cover $D \subseteq C$ and the upper bounds $x_j \le 1$ of the variables in $C \setminus D$. In general the convex hull of $X$ is strictly contained in the cover closure.
Let $X = \{\vet x \in \{0,1\}^n : \sum_j a_j x_j \le b\}$, with $a_j, b$ positive integers, and let $C$ be a cover ($\sum_{j \in C} a_j > b$), with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. Let $\widehat a(C) = \max_{j \in C} a_j$ and $E(C) = C \cup \{j \notin C : a_j \ge \widehat a(C)\}$. Which statement is correct?
$\sum_{j \in E(C)} x_j \le |C| - 1$ is valid for $X$ and dominates the cover inequality of $C$.
$\sum_{j \in E(C)} x_j \le |E(C)| - 1$ is the extended cover inequality.
$E(C)$ is obtained by adding the indices with $a_j \le \min_{j \in C} a_j$.
The extended cover inequality is implied by the one of $C$.
Explanation. Every set of $|C|$ indices of $E(C)$ has coefficient sum at least $\sum_{j \in C} a_j > b$; having more variables and the same right-hand side, the extended inequality dominates that of $C$.
Let $X = \{\vet x \in \{0,1\}^n : \sum_j a_j x_j \le b\}$, with $a_j, b$ positive integers, and let $C$ be a cover ($\sum_{j \in C} a_j > b$), with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. To prove that the cover inequality is valid for $X$, what is needed?
That $C$ is a minimal cover.
Binary variables and $a_j > 0$: if $x_j = 1$ for every $j \in C$, the constraint is violated.
That the optimum of the LP relaxation is fractional.
That $a_j \le b$ for every $j$, so that every variable can equal $1$.
Explanation. A point violating the inequality has all the variables of $C$ equal to $1$; with positive coefficients the constraint is violated. Minimality is not needed.
For the constraint $\sum_{j \in \mathscr{I}} a_j x_j \le b$, with $x_j \in \{0,1\}$ and $a_j, b$ positive integers, a cover is a set $C \subseteq \mathscr{I}$ with $\sum_{j \in C} a_j > b$. The cover separation problem (CSP) for a point $\tilde{\vet x} \in [0,1]^n$ minimizes $\sum_{j \in C} (1 - \tilde x_j)$ over the covers $C$; $z(\mathrm{CSP})$ is its optimal value. To prove that a cover inequality violated by $\tilde{\vet x}$ exists if and only if $z(\mathrm{CSP}) < 1$, what is needed?
That $\tilde{\vet x}$ is a vertex of the polyhedron of the LP relaxation, so that the CSP has an integer optimum.
That the greedy separation heuristic always finds a minimum-cost cover, that is the optimum of the CSP.
That $C$ is violated if and only if $\sum_{j \in C}(1 - \tilde x_j) < 1$, and that the CSP solutions are the covers.
That all the covers considered by the CSP are minimal, because only they give valid inequalities.
Explanation. Every feasible CSP solution is a cover with cost $\sum_{j \in C} (1 - \tilde x_j)$; taking the minimum gives both implications.
For the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$ we assume $a_j \le b$ for every $j$ and $\sum_{j} a_j > b$. What do the two assumptions guarantee?
The LP relaxation has an integer optimum for every objective.
Every variable can equal $1$ on its own, but not all of them together.
Every pair of variables can equal $1$ together.
The constraint is redundant with respect to $x_j \le 1$.
Explanation. $a_j \le b$ makes the vector with only $x_j = 1$ feasible; $\sum_j a_j > b$ excludes the all-ones vector, so at least one cover exists.
We maximize $9x_1 + 6x_2 + 4x_3$ subject to $7x_1 + 5x_2 + 4x_3 \le 10$, $x_j \in \{0,1\}$. The LP relaxation replaces $x_j \in \{0,1\}$ with $0 \le x_j \le 1$. What is its optimal value, and which bound does it give?
$\frac{63}{5}$, so the binary optimum is at most $13$.
$12$, with the solution $(1, 0, \frac{3}{4})$.
$\frac{63}{5}$, so the binary optimum is at most $12$.
$10$, with the solution $(0, 1, 1)$.
Explanation. By decreasing ratio $c_j / a_j$ ($\frac{9}{7} > \frac{6}{5} > 1$): $x_1 = 1$, then $x_2 = \frac{3}{5}$, value $9 + \frac{18}{5} = \frac{63}{5}$; with integer costs the bound is $\lfloor \frac{63}{5} \rfloor = 12$. $10$ is the binary optimum, not that of the relaxation.
In the cube $[0,1]^3$, with no other constraint, the two inequalities $x_1 + x_2 \le 1$ and $x_1 + x_3 \le 1$ are imposed. How many of the $8$ binary points of the cube satisfy both?
$5$
$4$
$6$
$7$
Explanation. With $x_1 = 1$ we need $x_2 = x_3 = 0$: the point $(1,0,0)$. With $x_1 = 0$ all $4$ points are fine. In total $(0,0,0)$, $(1,0,0)$, $(0,1,0)$, $(0,0,1)$, $(0,1,1)$.
Let $P_2 = \{\vet x \in [0,1]^2 : 10x_1 + 5x_2 \le 12\}$, with vertices $(0,0)$, $(1,0)$, $(1,\frac{2}{5})$, $(\frac{7}{10},1)$, $(0,1)$. The cover inequality $x_1 + x_2 \le 1$ of the cover $C = \{1,2\}$ is added. Which region is obtained?
The quadrilateral $(0,0)$, $(1,0)$, $(1,\frac{2}{5})$, $(0,1)$; the constraint stays active.
The segment from $(1,0)$ to $(0,1)$, because the cut holds with equality.
The triangle $(0,0)$, $(1,0)$, $(0,1)$; the original constraint becomes redundant.
The polygon $(0,0)$, $(1,0)$, $(\frac{7}{10},1)$, $(0,1)$; only $(1,\frac{2}{5})$ is cut off.
Explanation. On the triangle $10x_1 + 5x_2 \le 10 < 12$, so the constraint cuts off nothing any more; the three feasible binary points remain. $(\frac{7}{10},1)$ violates the cover.
For a constraint $\sum_{j} a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$, a cover is a set $C$ of indices with $\sum_{j \in C} a_j > b$, with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. The separation problem (CSP) at the point $\tilde{\vet x}$ is $\min \sum_j (1 - \tilde x_j) z_j$ with $\sum_j a_j z_j \ge b + 1$, $z_j \in \{0,1\}$. With $y_j = 1 - z_j$ it becomes a knapsack problem with constraint $\sum_j a_j y_j \le R$. For $2x_1 + 3x_2 + 6x_3 + 7x_4 \le 9$, what is $R$?
$R = 9$
$R = 8$
$R = 10$
$R = 18$
Explanation. $\sum_j a_j (1 - y_j) \ge b + 1$ is equivalent to $\sum_j a_j y_j \le \sum_j a_j - (b+1) = 18 - 10 = 8$. $9 = \sum_j a_j - b$ forgets the $+1$.
For the cover $C = \{1,2,3\}$ the cover inequality is $x_1 + x_2 + x_3 \le 2$, with boundary hyperplane $H_C = \{\vet x : x_1 + x_2 + x_3 = 2\}$. What is the orthogonal projection onto $H_C$ of the point $\tilde{\vet x} = (1, 1, \frac{1}{2}, 0) \in \R^4$?
Explanation. The violation is $\frac{5}{2} - 2 = \frac{1}{2}$; we subtract $\frac{1}{2} / |C| = \frac{1}{6}$ from the components in $C$ only (the normal of the hyperplane has $0$ on $x_4$).
For the constraint $3x_1 + 3x_2 + 5x_3 \le 7$, $x_j \in \{0,1\}$, the point $\tilde{\vet x} = (1, 1, \frac{1}{5})$ violates the inequality of the cover $C = \{1,2,3\}$ (coefficients summing to $11 > 7$): $x_1 + x_2 + x_3 \le 2$. To reduce $C$ to a minimal cover a student removes all the indices with $\tilde x_j = 1$. What is correct?
The minimal cover $\{3\}$ remains, with inequality $x_3 \le 0$ violated by $\frac{1}{5}$.
$\{3\}$ remains, which is not a cover; removing only $1$ gives $\{2,3\}$, with $x_2 + x_3 \le 1$ violated by $\frac{1}{5}$.
Nothing can be removed: $\{1,2,3\}$ is already a minimal cover.
Removing $3$ gives the minimal cover $\{1,2\}$, with $x_1 + x_2 \le 1$ violated by $1$.
Explanation. Indices are removed one at a time as long as the set is still a cover: $\{2,3\}$ has $8 > 7$, while $\{3\}$ ($5$) and $\{1,2\}$ ($6$) are not covers. Violation: $1 + \frac{1}{5} - 1 = \frac{1}{5}$.
For a constraint $\sum_{j} a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$, a cover is a set $C$ of indices with $\sum_{j \in C} a_j > b$, with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. At the point $\tilde{\vet x}$ the inequalities of the covers $C_1 = \{1,2\}$ and $C_2 = \{1,2,3,4\}$ have the same violation $\frac{1}{2}$. Which boundary hyperplane is farther from $\tilde{\vet x}$ (Euclidean distance)?
They are at the same distance, because the violation is the same.
That of $C_2$: $\frac{1}{4}$ against $\frac{1}{2\sqrt{2}}$.
That of $C_1$: $\frac{1}{2\sqrt{2}}$ against $\frac{1}{4}$.
That of $C_2$, because it contains more variables.
Explanation. The distance is the violation divided by the norm $\sqrt{|C|}$ of the coefficients: $\frac{1/2}{\sqrt 2} \approx 0.354$ and $\frac{1/2}{2} = 0.25$. Separation maximizes the violation, not the distance.
For a constraint $\sum_{j} a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$, a cover is a set $C$ of indices with $\sum_{j \in C} a_j > b$, with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. Why are cover inequalities not all added at once, but only those violated by the current point (separation)?
Because the inequalities of non-minimal covers are not valid.
Because adding all of them would remove feasible binary points.
Because all of them together would always give the convex hull.
Because the minimal covers can be exponentially many.
Explanation. The minimal covers are enough, but they can be exponentially many: they are separated, by looking for a cover of minimum cost $\sum_{j \in C}(1 - \tilde x_j) < 1$. All cover inequalities are valid.
For a constraint $\sum_{j} a_j x_j \le b$ with $x_j \in \{0,1\}$ and positive integers $a_j, b$, a cover is a set $C$ of indices with $\sum_{j \in C} a_j > b$, with cover inequality $\sum_{j \in C} x_j \le |C| - 1$. For $3x_1 + 3x_2 + 5x_3 \le 7$ the cover closure is the relaxation $\{\vet x \in [0,1]^3 : 3x_1 + 3x_2 + 5x_3 \le 7\}$ with all the cover inequalities. Which fractional point belongs to it?
$(\frac{1}{2}, \frac{1}{2}, \frac{1}{2})$
$(1, \frac{1}{3}, \frac{1}{3})$
$(\frac{1}{2}, 1, \frac{1}{2})$
$(1, 1, \frac{1}{5})$
Explanation. The minimal covers are $\{1,3\}$ and $\{2,3\}$: $x_1 + x_3 \le 1$, $x_2 + x_3 \le 1$. Only $(\frac{1}{2}, \frac{1}{2}, \frac{1}{2})$ satisfies them (and the constraint: $\frac{11}{2} \le 7$); the others have $x_1 + x_3$ or $x_2 + x_3$ larger than $1$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Why do we assume $a_j \le b$ for every $j$ and $\sum_j a_j > b$?
To guarantee that the LP relaxation has an integer optimum.
Otherwise variables fixed to $0$ or no covers.
To make every set of two indices a cover.
To be able to round the right-hand side down.
Explanation. With $a_j > b$ we have $x_j = 0$; with $\sum_j a_j \le b$ every binary point is feasible.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. For the constraint $5x_1 + 4x_2 + 3x_3 + 2x_4 \le 9$, what is the cover inequality of the cover $C = \{1,2,3\}$?
$x_1 + x_2 + x_3 \le 3$.
$x_1 + x_2 + x_3 \le 2$.
$5x_1 + 4x_2 + 3x_3 \le 9$.
$x_1 + x_2 + x_3 + x_4 \le 2$.
Explanation. $5 + 4 + 3 = 12 > 9$: it is a cover; the inequality is $\sum_{j \in C} x_j \le |C| - 1 = 2$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. What does the proposition on the validity of cover inequalities state?
For every cover $C$, $\sum_{j \in C} x_j \le |C| - 1$ is satisfied by all points of the LP relaxation.
For every set of indices $C$, $\sum_{j \in C} x_j \le |C| - 1$ is valid.
For every cover $C$, $\sum_{j \in C} x_j \le |C| - 2$ is valid.
For every cover $C$, $\sum_{j \in C} x_j \le |C| - 1$ is satisfied by all feasible binary points.
Explanation. If all variables of the cover were $1$, the left-hand side would exceed $b$; in the relaxation the inequality can be violated.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the proof of the validity of $\sum_{j \in C} x_j \le |C| - 1$, which assumption is essential?
That $C$ is a cover, with binary variables and nonnegative coefficients.
That $C$ is a minimal cover.
That the constraint is tight at the optimal solution of the relaxation.
That all coefficients $a_j$ are equal.
Explanation. Violating the inequality with binary variables means $x_j = 1$ on all of $C$, so $\sum_j a_j x_j \ge \sum_{j \in C} a_j > b$. Minimality is not needed.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. For the constraint $5x_1 + 4x_2 + 3x_3 + 2x_4 \le 9$, which of the following sets is a minimal cover?
$\{2,3,4\}$.
$\{1,2,3,4\}$.
$\{1,2,4\}$.
$\{1,2\}$.
Explanation. $5 + 4 + 2 = 11 > 9$ and removing one index gives $6$, $7$ or $9 \le 9$. $\{2,3,4\}$ and $\{1,2\}$ sum to $9$: not covers; $\{1,2,3,4\}$ contains the cover $\{1,2,4\}$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. What does the proposition on minimal covers state?
The minimal cover inequalities describe the convex hull of $X$.
Every minimal cover has exactly two indices.
Non-minimal cover inequalities cut off more fractional points than minimal ones.
The minimal cover inequalities, with the upper bounds $x_j \le 1$, imply every cover inequality.
Explanation. From a cover $C$ extract a minimal cover $D \subseteq C$ and add the upper bounds of the variables of $C \setminus D$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. What is the cover closure $P^{\mathrm{cov}}$ of the LP relaxation $P$?
The convex hull of the feasible binary points $X$.
The set of all covers of the constraint.
The polyhedron of the points of $P$ satisfying all cover inequalities.
The polyhedron of the points of $P$ violating at least one cover inequality.
Explanation. We have $\mathrm{conv}(X) \subseteq P^{\mathrm{cov}} \subseteq P$, and in general the first inclusion is strict.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. With $a_j = 1$ for every $j$ and $b = 1$, how many covers does the constraint with $n$ variables have?
$2^n - n - 1$.
$\binom{n}{2}$.
$2^n$.
$n - 1$.
Explanation. Every subset with at least two indices is a cover: remove from the $2^n$ subsets the empty set and the $n$ singletons.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Why are cover inequalities not all added to the formulation at once?
Because together they make the formulation infeasible.
They can be exponentially many in $n$.
Because only one of them is valid.
Because they cut off feasible binary points.
Explanation. Even minimal covers can number $\binom{2m}{m+1}$ with $n = 2m$, $a_j = 1$, $b = m$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Given $\tilde{\vet x} \in P$, what does the cover separation problem (CSP) ask?
Find the cover with the largest number of indices.
Find a binary point close to $\tilde{\vet x}$.
Find a cover $C$ with $\sum_{j \in C} \tilde x_j \le |C| - 1$.
A cover $C$ with $\sum_{j \in C} \tilde x_j > |C| - 1$, if any.
Explanation. We look for a cover inequality violated by $\tilde{\vet x}$, or a certificate that $\tilde{\vet x} \in P^{\mathrm{cov}}$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Which condition is equivalent to the violation $\sum_{j \in C} \tilde x_j > |C| - 1$ of the cover inequality of $C$ at $\tilde{\vet x}$?
$\sum_{j \in C} (1 - \tilde x_j) > 1$.
$\sum_{j \in C} (1 - \tilde x_j) < 1$.
$\sum_{j \in C} \tilde x_j < 1$.
$\sum_{j \in C} a_j \tilde x_j > b$.
Explanation. Write $|C| = \sum_{j \in C} 1$ and move everything to the left: $\sum_{j \in C}(1 - \tilde x_j) < 1$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the ILP formulation of the CSP with binary variables $z_j$ ($z_j = 1$ if $j$ is in the cover), what is the only constraint?
$\sum_j a_j z_j \le b$.
$\sum_j a_j z_j \ge b + 1$.
$\sum_j z_j \ge 2$.
$\sum_j (1 - \tilde x_j) z_j < 1$.
Explanation. The constraint forces the chosen set to be a cover; with integer data $> b$ is equivalent to $\ge b + 1$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. The CSP is $z(\mathrm{CSP}) = \min\{\sum_j (1 - \tilde x_j) z_j : \sum_j a_j z_j \ge b + 1,\ \vet z \in \{0,1\}^n\}$. Which statement is correct?
A cover inequality violated by $\tilde{\vet x}$ exists if and only if $z(\mathrm{CSP}) > 1$.
A violated cover inequality exists if and only if $z(\mathrm{CSP}) = 0$.
$z(\mathrm{CSP}) < 1$ implies that $\tilde{\vet x}$ is binary.
A cover inequality violated by $\tilde{\vet x}$ exists if and only if $z(\mathrm{CSP}) < 1$.
Explanation. The cost of a cover $C$ is $\sum_{j \in C}(1 - \tilde x_j)$, below $1$ exactly when its inequality is violated.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. The CSP is solved by a heuristic, which returns a cover of cost $\sum_{j \in C}(1 - \tilde x_j) = 1.2$. What is needed to conclude that no cover inequality is violated by $\tilde{\vet x}$?
The optimal value $z(\mathrm{CSP}) \ge 1$, obtained by an exact method.
Nothing: the cost $1.2 \ge 1$ is enough.
That the cover found is minimal.
That $\tilde{\vet x}$ is the optimum of the LP relaxation.
Explanation. A heuristic gives only an upper bound on $z(\mathrm{CSP})$; the exact minimum is needed to rule out violated covers.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. For the constraint $3x_1 + 3x_2 + 3x_3 \le 5$ and $\tilde{\vet x} = (1, \frac23, 0)$, what is the cost $\sum_{j \in C}(1 - \tilde x_j)$ of the cover $C = \{1,2\}$, and is its inequality violated?
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the passage from the CSP to the complementary problem we set $y_j = 1 - z_j$. What does the constraint $\sum_j a_j z_j \ge b + 1$ become?
$\sum_j a_j y_j \ge \sum_j a_j - (b + 1)$.
$\sum_j a_j y_j \le b + 1$.
$\sum_j a_j y_j \le b$.
$\sum_j a_j y_j \le \sum_j a_j - (b + 1)$.
Explanation. Substituting $z_j = 1 - y_j$: $\sum_j a_j - \sum_j a_j y_j \ge b + 1$. It is a knapsack constraint.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the complementary problem of the CSP, with $y_j = 1$ if $j$ stays out of the cover, what is the objective function?
$\min \sum_j (1 - \tilde x_j) y_j$.
$\max \sum_j \tilde x_j y_j$.
$\max \sum_j (1 - \tilde x_j) y_j$.
$\max \sum_j a_j y_j$.
Explanation. $\sum_j (1 - \tilde x_j)(1 - y_j)$ differs from $-\sum_j (1 - \tilde x_j) y_j$ by a constant: minimizing one is maximizing the other.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the greedy separation heuristic for the complementary problem, in which order are the indices scanned?
By nonincreasing $(1 - \tilde x_j)/a_j$.
By nonincreasing coefficient $a_j$.
By nonincreasing $\tilde x_j$.
By nonincreasing ratio $a_j/(1 - \tilde x_j)$.
Explanation. It is the knapsack greedy rule: profit $q_j = 1 - \tilde x_j$ divided by weight $a_j$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the greedy separation heuristic, what happens to the indices with $\tilde x_j = 1$ (profit $q_j = 0$)?
They are chosen first, because they have zero weight.
They are never chosen in the complementary problem.
They are removed from the problem before starting.
They make the cover inequality invalid.
Explanation. The rule sets $\bar y_j = 1$ only if $q_j > 0$; an index with $\bar y_j = 0$ belongs to the cover.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. A cover violated by $\tilde{\vet x}$ is reduced to a minimal one by removing indices one at a time while it remains a cover. Why is the resulting inequality still violated?
Because every minimal cover is violated by every fractional point.
Because the right-hand side $|C| - 1$ does not change.
Removing $j$ decreases the cost $\sum_{j \in C}(1 - \tilde x_j)$ by $1 - \tilde x_j \ge 0$, so it stays below $1$.
It is not true: the reduction can make the inequality satisfied.
Explanation. We need $0 \le \tilde x_j \le 1$: the cost does not increase and the violation does not decrease.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. For the constraint $6x_1 + 5x_2 + 3x_3 + 2x_4 + 2x_5 \le 9$ and the cover $C = \{2,3,4\}$ ($5+3+2 = 10 > 9$), what is the extended cover inequality $\sum_{j \in E(C)} x_j \le |C| - 1$, with $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$?
$x_1 + x_2 + x_3 + x_4 \le 2$.
$x_1 + x_2 + x_3 + x_4 \le 3$.
$x_1 + x_2 + x_3 + x_4 + x_5 \le 2$.
$x_2 + x_3 + x_4 \le 2$.
Explanation. $\max_{i \in C} a_i = 5$: only $x_1$ is added ($6 \ge 5$). The right-hand side stays $|C| - 1 = 2$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Let $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$. What does the proposition on extended cover inequalities state?
For every cover $C$, $\sum_{j \in E(C)} x_j \le |E(C)| - 1$ is valid, but weaker.
The extended inequality is valid only if $C$ is a minimal cover.
The extended inequality is implied by the cover inequality of $C$.
For every cover $C$, $\sum_{j \in E(C)} x_j \le |C| - 1$ is valid for the feasible binary points.
Explanation. Every set of $|C|$ indices of $E(C)$ weighs at least $\sum_{j \in C} a_j > b$; the extended inequality is stronger than that of $C$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. In the proof of the validity of $\sum_{j \in E(C)} x_j \le |C| - 1$ one takes $S \subseteq E(C)$ with $|S| = |C|$. Which fact is needed?
That $S$ is a minimal cover.
That $\sum_{j \in S} a_j \ge \sum_{j \in C} a_j$.
That all coefficients of $E(C)$ are equal.
That $|E(C)| \le 2|C|$.
Explanation. Swapping indices of $C$ for indices of no smaller weight keeps the total weight above $b$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Compared with the cover inequality of $C$, the extended inequality $\sum_{j \in E(C)} x_j \le |C| - 1$ is:
weaker: it has more variables on the left.
stronger: it has more variables on the left with the same right-hand side.
equivalent: the right-hand sides are equal.
not comparable, because it has a different right-hand side.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. The violation of the cover inequality of $C$ at $\tilde{\vet x}$ is $v_C = \max\{0, \sum_{j \in C}\tilde x_j - (|C| - 1)\}$. What is it for $C = \{1,2,3\}$ and $\tilde{\vet x} = (1, 1, \frac12)$?
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. What is the Euclidean distance of $\tilde{\vet x}$ from the hyperplane $\sum_{j \in C} x_j = |C| - 1$ when the cover inequality is violated by $v_C$?
$v_C / \sqrt{|C|}$.
$v_C$.
$v_C / |C|$.
$v_C \cdot \sqrt{|C|}$.
Explanation. The coefficients are $1$ on the indices of $C$: their Euclidean norm is $\sqrt{|C|}$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. For the constraint $4x_1 + 3x_2 + 3x_3 \le 7$, a student writes the inequality $x_1 + x_2 \le 1$. What is wrong?
Nothing: every pair of indices gives a valid inequality.
The right-hand side should be $2$, because $|C| = 2$.
$\{1,2\}$ is not a cover ($4 + 3 = 7 \le 7$).
The coefficients $4$ and $3$ are missing on the left-hand side.
Explanation. Before writing $\sum_{j \in C} x_j \le |C| - 1$ check that $\sum_{j \in C} a_j > b$.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. The greedy separation heuristic finds no cover inequality violated by $\tilde{\vet x}$. What can be concluded?
That $\tilde{\vet x}$ satisfies all cover inequalities.
That $\tilde{\vet x}$ is a binary point.
That the constraint has no covers.
Nothing: only the exact CSP proves it.
Explanation. The greedy is a heuristic for the complementary problem: it can miss a violated cover.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Between two cover inequalities with the same violation $v_C$ at $\tilde{\vet x}$, which one cuts deeper in terms of Euclidean distance?
The one with the larger cover.
They are equivalent, because they have the same violation.
The one with the smaller cover, because the distance is $v_C / \sqrt{|C|}$.
The one with the larger right-hand side.
Explanation. With equal violation the distance decreases with $|C|$: the CSP maximizes the violation, not the distance.
Consider the constraint $\sum_{j=1}^n a_j x_j \le b$ with $x_j \in \{0,1\}$, positive integer coefficients $a_j$ and right-hand side $b$; a cover is a set of indices $C$ with $\sum_{j \in C} a_j > b$. Which relation holds between the convex hull $\mathrm{conv}(X)$ of the feasible binary points, the cover closure $P^{\mathrm{cov}}$ and the LP relaxation $P$?
For the binary constraint $3x_1 + 3x_2 + 3x_3 \le 5$ (cover: set $C$ of indices with $\sum_{j \in C} a_j > 5$), which cover inequality does the point $\tilde{\vet x} = (1, \frac23, 0)$ violate?
$x_2 + x_3 \le 1$.
$x_1 + x_3 \le 1$.
$x_1 + x_2 + x_3 \le 2$.
$x_1 + x_2 \le 1$.
Explanation. $1 + \frac23 = \frac53 > 1$; the others give $\frac23$, $1$ and $\frac53 \le 2$.
To check that a cover $C$ of a binary constraint $\sum_j a_j x_j \le b$ is minimal, removing one index at a time suffices. Which assumption justifies it?
That $b$ is even.
Positive coefficients $a_j$.
That $C$ has exactly three indices.
That the constraint is active at the optimum.
Explanation. With positive coefficients the weight is monotone with respect to inclusion.
For the binary constraint $7x_1 + 4x_2 + 4x_3 + 3x_4 \le 10$ and the cover $C = \{2,3,4\}$, which set is $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$?
$\{2,3,4\}$.
$\{1,2,3\}$.
$\{1,2,3,4\}$.
$\{1\}$.
Explanation. $\max_{i \in C} a_i = 4$ and $a_1 = 7 \ge 4$: index $1$ is added.
Part: Exact methods (179)
6. The cutting plane algorithm with Gomory fractional cuts (53)
Let $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ be a row of a simplex dictionary ($\pazocal{N}$: indices of the nonbasic variables) of an ILP problem in which all variables, slacks included, are integer, with $\bar b_i$ fractional. Which Gomory fractional cut does the row generate?
Explanation. One takes the fractional parts of the coefficients $\bar a_{ij}$ and of the right-hand side, with the $\ge$ direction: at the basic solution the left-hand side is $0$ and the cut is violated.
For which problems are Gomory fractional cuts valid?
For every MIP problem, provided that the data are integer and the row has a fractional right-hand side.
For ILP problems with integer data, where all the variables, slack variables included, are integer.
Only for BIP problems, in which all the variables are binary and the slacks are continuous.
For every LP problem with a fractional solution, even without integrality constraints.
Explanation. The proof rounds using the integrality of all the variables of the dictionary; with continuous variables a cut can remove feasible solutions.
Can a Gomory fractional cut (from a row with fractional right-hand side) be generated from a feasible but non-optimal simplex dictionary of an ILP problem?
No, only from the optimal dictionary, because otherwise the cut is not valid.
Only from the objective-function row, the only one containing the reduced costs.
Only if the dictionary is dual feasible, that is with non-positive reduced costs.
Yes, from every feasible dictionary with a fractional basic solution.
Explanation. The validity of the cut uses only the row and the integrality of the variables, not optimality; in the cutting plane algorithm, however, the optimal dictionary of the current relaxation is used.
In the cutting plane algorithm, $\LP_k$ is the LP relaxation at iteration $k$. A Gomory cut is added to the optimal dictionary of $\LP_k$, with its slack variable in the basis. What is the new dictionary like?
Dual feasible but not primal feasible: it is re-optimized with the dual simplex algorithm.
Primal feasible but not dual feasible: it is re-optimized with the primal simplex algorithm.
Optimal.
Neither primal nor dual feasible: one restarts from the slack basis.
Explanation. The reduced costs do not change, while the slack variable of the cut has a negative value, because the cut removes the current solution.
In the cutting plane algorithm a Gomory fractional cut obtained from a row is added to the dictionary. Which procedure gives the strongest cut and a new integer slack variable?
Add a surplus variable to the cut as it is, written in the nonbasic variables of the dictionary.
Rewrite it in the original $x$, make it primitive (gcd, right-hand side rounded down), then add the slack.
Multiply it by the common denominator of the coefficients and add the slack, without rounding the right-hand side.
Add it as a branching constraint on the basic variable of the row, creating two children.
Explanation. The surplus of the fractional cut is not integer in general, and the version multiplied by the denominator is weaker when the gcd $g$ of the coefficients does not divide the right-hand side; the primitive form is the strongest and has an integer slack.
A Gomory cut, rewritten in the original integer variables $x_1, x_2$, is $6x_1 + 14x_2 \le 55$. What is its primitive form (coefficients divided by their gcd, right-hand side rounded down)?
$3x_1 + 7x_2 \le \frac{55}{2}$
$3x_1 + 7x_2 \le 28$
$3x_1 + 7x_2 \le 27$
$6x_1 + 14x_2 \le 54$
Explanation. The gcd of the coefficients is $g = 2$: $3x_1 + 7x_2 \le \lfloor \frac{55}{2} \rfloor = 27$. The version with $\frac{55}{2}$ is the weaker cut.
In the cutting plane algorithm for a maximization ILP problem with integer costs, $\LP_k$ is the LP relaxation at iteration $k$ (with the cuts added so far) and $z(\LP_k)$ its optimal value. What is the best upper bound on the optimal value available at iteration $k$?
$z(\LP_1)$
$\lceil z(\LP_k) \rceil$
The right-hand side of the last cut added
$\lfloor z(\LP_k) \rfloor$
Explanation. Every $\LP_k$ contains all the integer solutions; with integer variables and costs its value is rounded down.
For the problem $\max\ 2x_1 + 4x_2$, $-x_1 + x_2 \le 2$, $8x_1 + 2x_2 \le 19$, $x_1, x_2 \in \Z_{\ge 0}$, with slack variables $x_3 = 2 + x_1 - x_2$ and $x_4 = 19 - 8x_1 - 2x_2$, the row $x_1 = \frac{3}{2} + \frac{1}{5}x_3 - \frac{1}{10}x_4$ generates a Gomory fractional cut. How is it written in the original variables?
$x_2 \le 3$
$3x_1 + 2x_2 \le 9$
$x_1 \le 1$
$x_2 \le 4$
Explanation. $\bar a_{13} = -\frac{1}{5}$ has fractional part $\frac{4}{5}$: the cut is $\frac{4}{5}x_3 + \frac{1}{10}x_4 \ge \frac{1}{2}$, that is $8x_3 + x_4 \ge 5$; substituting the slack variables gives $x_2 \le 3$. With $\frac{1}{5}$ instead of $\frac{4}{5}$ (sign mistake) one would get $3x_1 + 2x_2 \le 9$.
Consider an ILP problem with integer data, in which all variables, slacks included, are integer. Which statement about Gomory fractional cuts is correct?
A cut eliminates all the fractional points of the polyhedron of the formulation.
A cut eliminates the fractional basic solution of its dictionary and no integer solution.
The cuts are valid also for MIP problems with some continuous variables.
A cut is generated only from a row with integer right-hand side $\bar b_i$.
Explanation. At the basic solution the left-hand side of the cut is $0 < \bar b_i - \lfloor \bar b_i \rfloor$, while every feasible integer solution satisfies the cut.
In the dictionary of a maximization ILP problem with integer costs the objective row is $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ ($\pazocal{N}$: nonbasic indices, $\bar c_j$: reduced costs), with $\bar z$ fractional. Which Gomory fractional cut does it generate?
$\sum_{j \in \pazocal{N}} (\bar c_j - \lfloor \bar c_j \rfloor) x_j \ge \bar z - \lfloor \bar z \rfloor$
$\sum_{j \in \pazocal{N}} (-\bar c_j - \lfloor -\bar c_j \rfloor) x_j \le \bar z - \lfloor \bar z \rfloor$
$\sum_{j \in \pazocal{N}} (-\bar c_j - \lfloor -\bar c_j \rfloor) x_j \ge \bar z - \lfloor \bar z \rfloor$
The objective-function row generates no cut.
Explanation. The row is rewritten as $z = \bar z - \sum_j (-\bar c_j) x_j$, in the same form as the other rows: the coefficients of the cut are the fractional parts of $-\bar c_j$.
Let $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ be a row of a simplex dictionary ($\pazocal{N}$: indices of the nonbasic variables) of an ILP problem in which all variables, slacks included, are integer, with $\bar b_i$ fractional. To prove that every feasible integer solution satisfies the cut $\sum_{j \in \pazocal{N}} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$, what is needed?
That the dictionary generating the cut is optimal.
Only $\bar b_i \ge 0$, that is the feasibility of the dictionary.
The dual feasibility of the dictionary, that is $\bar c_j \le 0$.
$x_j \ge 0$, $\lfloor \bar a_{ij} \rfloor \le \bar a_{ij}$ and the integrality of all the variables.
Explanation. From $x_i \le \bar b_i - \sum_j \lfloor \bar a_{ij} \rfloor x_j$ and the integrality of the left-hand side, $\bar b_i$ is rounded down; subtracting the row gives the cut.
Let $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ be a row of a simplex dictionary ($\pazocal{N}$: indices of the nonbasic variables) of an ILP problem in which all variables, slacks included, are integer, with $\bar b_i$ fractional. To prove that the cut $\sum_{j \in \pazocal{N}} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$ cuts off the basic solution of the dictionary, what is needed?
That the nonbasic variables are $0$ at the basic solution and $\bar b_i$ is fractional.
That the slack variables of the problem are integer, like the others.
That $\bar c_j \le 0$ for every $j$, that is the dictionary is optimal.
That the cut has been made primitive before adding it to the dictionary.
Explanation. At the basic solution the left-hand side is $0$, the right-hand side $\bar b_i - \lfloor \bar b_i \rfloor > 0$.
The cutting plane algorithm with Gomory fractional cuts solves the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$). The fourth cut, in the original variables, is $7x_1 + 7x_2 \le 40$; with its primitive form the relaxation has the optimum $(\frac{25}{6}, \frac{5}{6})$ of value $\frac{85}{6}$. What are the primitive cut and the upper bound $\UB = \lfloor z(\LP) \rfloor$?
$x_1 + x_2 \le \frac{40}{7}$ and $\UB = 14$
$x_1 + x_2 \le 6$ and $\UB = 15$
$x_1 + x_2 \le 5$ and $\UB = 14$
$7x_1 + 7x_2 \le 40$ and $\UB = 15$
Explanation. We divide by the gcd $7$ and round the right-hand side down: $\lfloor \frac{40}{7} \rfloor = 5$. Then $\lfloor \frac{85}{6} \rfloor = 14$.
The cutting plane algorithm with Gomory fractional cuts solves the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), for which the feasible solution $(4,1)$ of value $14$ is known. After the fourth cut $\lfloor z(\LP) \rfloor = 14$, but the optimum of the relaxation $(\frac{25}{6}, \frac{5}{6})$ is fractional. What does the algorithm do?
It stops: the bound does not improve any more, so $(4,1)$ is optimal.
It stops and returns $(\frac{25}{6}, \frac{5}{6})$ rounded, that is $(4,1)$.
It restarts from the original relaxation without the cuts, to avoid tailing off.
It goes on: it stops only with an integer LP optimum, which comes at the fifth cut, $(4,1)$.
Explanation. The algorithm uses no lower bounds: it stops when the solution of $\LP_k$ is integer. The fifth cut $9x_1 + 4x_2 \le 40$ gives the integer optimum $(4,1)$.
From a row $x_i = \bar b_i - \sum_{j} \bar a_{ij} x_j$ of the optimal dictionary (sum over the nonbasic variables, all integer) we derive the Gomory fractional cut $\sum_j (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor)\, x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. Which coefficient does $x_j$ get if $\bar a_{ij} = -\frac{4}{3}$?
$\frac{1}{3}$
$\frac{2}{3}$
$-\frac{1}{3}$
$\frac{4}{3}$
Explanation. $\lfloor -\frac{4}{3} \rfloor = -2$, so $-\frac{4}{3} + 2 = \frac{2}{3}$: the fractional part always lies in $[0,1)$, also for a negative number.
In the cutting plane algorithm the Gomory cut is generated from the row whose right-hand side has the largest fractional part (ties: smallest index of the basic variable, objective row last). The optimal dictionary has $x_1 = 4 - \dots$, $x_2 = \frac{7}{3} - \dots$ and $z = \frac{50}{3} - \dots$. Which row is used?
The row of $x_2$, the only fractional basic variable.
The row of $x_1$, the variable with the smallest index.
The row of $x_2$, because the objective row never gives cuts.
The objective row, with fractional part $\frac{2}{3}$.
Explanation. The fractional parts are $0$, $\frac{1}{3}$ and $\frac{2}{3}$: the objective row is a candidate when $\bar z$ is fractional, and here it has the largest part.
A Gomory fractional cut $\sum_j f_j x_j \ge f_0$ (sum over the nonbasic variables of the optimal dictionary, $f_j \ge 0$) is derived from a row whose right-hand side has fractional part $f_0 > 0$. Why does it cut off the current basic solution?
Because the basic solution has all variables fractional.
In the basic solution the nonbasic variables equal $0$, and $0 < f_0$.
Because the coefficients $f_j$ are all positive, so the left-hand side is positive.
Because the cut holds with equality at the basic solution.
Explanation. The left-hand side equals $0$ at the basic solution, while the right-hand side is $f_0 > 0$: the cut is violated. No feasible integer solution is cut off.
With Gomory fractional cuts on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), the value of the relaxation goes from $\frac{31}{2}$ to $\frac{232}{15}$, $\frac{891}{58}$ and $\frac{275}{18}$ after the first three cuts. What happens to the upper bound $\lfloor z(\LP_k) \rfloor$?
It drops by $1$ at every cut: $15$, $14$, $13$.
It goes up and down, because a cut can increase $z(\LP_k)$.
It stays $15$: $z(\LP_k)$ decreases at every cut, but stays above $15$.
It becomes $14$ at once, because every cut is valid and tight.
Explanation. $\frac{232}{15} \approx 15.47$, $\frac{891}{58} \approx 15.36$, $\frac{275}{18} \approx 15.28$: the value decreases, the rounded bound does not. The cuts lose effectiveness (tailing off).
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. What is the cut of the row $x_1 = \frac{7}{2} - \frac{1}{4} x_3 + \frac{3}{2} x_4$?
$\frac34 x_3 + \frac12 x_4 \ge \frac12$.
$\frac14 x_3 + \frac12 x_4 \ge \frac12$.
$\frac14 x_3 + \frac12 x_4 \le \frac12$.
$\frac14 x_3 + \frac12 x_4 \ge \frac72$.
Explanation. $\bar a_{13} = \frac14$, $\bar a_{14} = -\frac32$ (opposite sign to the one written in the row): fractional parts $\frac14$ and $-\frac32 - (-2) = \frac12$; $\bar b_1 - \lfloor \bar b_1 \rfloor = \frac12$.
The Gomory fractional cut uses the fractional parts $\bar a_{ij} - \lfloor \bar a_{ij} \rfloor$. What is the fractional part of $\bar a_{ij} = -\frac{5}{3}$?
$\frac23$.
$-\frac23$.
$\frac13$.
$-\frac53$.
Explanation. $\lfloor -\frac53 \rfloor = -2$, so $-\frac53 + 2 = \frac13$: the fractional part always lies in $[0,1)$.
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. What does the observation on the effect of the cut on the current basic solution state?
The cut removes the basic solution of the dictionary.
The cut removes all fractional basic solutions of the relaxation.
The cut is satisfied with equality by the current basic solution.
The cut removes the basic solution only if $\bar z$ is fractional.
Explanation. Nonbasic $x_j = 0$: the left-hand side is $0$ and the right-hand side $\bar b_i - \lfloor \bar b_i \rfloor > 0$.
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. To prove that the cut is valid (removes no feasible integer solution), which assumption is essential?
That row $i$ is the one with the largest fractional $\bar b_i$.
That the dictionary is primal feasible but not optimal.
That the coefficients $\bar a_{ij}$ are all positive.
That the slack variables are integer too.
Explanation. With integer data the slacks are integer; with a continuous variable the cut can remove feasible solutions.
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. Which statement about the validity of the Gomory fractional cut is correct?
The cut is satisfied by all points of the LP relaxation.
Every feasible integer solution satisfies the cut.
The cut is valid even if some variables are continuous.
The cut is valid only for the optimal integer solution.
Explanation. From $x_i + \sum_j \lfloor \bar a_{ij} \rfloor x_j \le \lfloor \bar b_i \rfloor$ (integers) and the dictionary row the cut follows.
In the cutting plane algorithm, after adding cuts the relaxation $\LP_k$ becomes infeasible. To conclude that the ILP problem is infeasible, what is needed?
That $\LP_1$ was unbounded.
That the cuts are in primitive form.
That all added cuts are valid.
That only one cut was added per iteration.
Explanation. If $F \subseteq P_k$ and $P_k = \emptyset$, then $F = \emptyset$.
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. In the optimal dictionary $\bar b_1 = \frac{15}{4}$, $\bar b_2 = \frac{5}{3}$ and $\bar z = \frac{62}{5}$. Which row does the largest right-hand side strategy choose?
The row of $x_2$, with right-hand side $\frac23$.
The row of $x_1$, with right-hand side $\frac34$.
The objective row, with right-hand side $\frac25$.
The objective row, because $\bar z$ is the largest value.
Explanation. Right-hand sides of the cuts: $\frac34$, $\frac23$, $\frac25$; the maximum is $\frac34$.
Before the cutting plane algorithm for a maximization ILP problem a heuristic finds a solution of value $\LB = 20$; at iteration $k$ we have $z(\LP_k) = 20.6$. What is concluded?
In the cutting plane algorithm on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the first primitive cut is $5x_1 + 14x_2 \le 52$ and the new optimum has value $\frac{232}{15}$. Which upper bound is obtained?
In the optimal dictionary of the LP relaxation of a canonical ILP problem with integer data, row $i$ is $x_i = \bar b_i - \sum_{j \in N} \bar a_{ij} x_j$ ($N$ = nonbasic indices) and its Gomory fractional cut is $\sum_{j \in N} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$. A student uses $\lfloor \bar a_{ij} \rfloor$ instead of $\bar a_{ij} - \lfloor \bar a_{ij} \rfloor$ in the coefficients. Why is it wrong?
It is not wrong: the two choices give equivalent cuts.
It is wrong only for negative coefficients.
It is wrong because $\lceil \bar a_{ij} \rceil$ should be used.
The cut uses the fractional parts.
Explanation. For instance for $\bar a_{ij} = -\frac53$ the correct coefficient is $\frac13$, not $-2$.
To conclude that the integer optimum $\tilde{\vet x}(\LP_k)$ found by the cutting plane algorithm is optimal for the original ILP problem, what is needed?
That the algorithm used the lexicographic dual simplex.
That the optimum was reached in fewer than $n$ iterations.
That all cuts are tight at the optimum.
That all added cuts are valid, so $F \subseteq P_k$ and $z(\ILP) \le z(\LP_k)$.
Explanation. $\tilde{\vet x}(\LP_k)$ is integer and feasible, and its value equals an upper bound on $z(\ILP)$.
The cutting plane algorithm is an exact method: if it ends with an integer optimum, that is optimal for the ILP problem. Which property of the cuts guarantees it?
That every cut is tight.
That every cut has the largest right-hand side.
That there are finitely many cuts.
The validity of the cuts.
Explanation. With valid cuts every $\LP_k$ is still a relaxation of the ILP problem.
In branch-and-bound, at node $k$ the solution of the LP relaxation $\tilde{\vet x}(\LP_k)$ has the integer variable $x_j$ with fractional value $\tilde x_j$. Binary branching on $x_j$ generates two children with which constraints?
Explanation. The strip $\lfloor \tilde x_j \rfloor < x_j < \lfloor \tilde x_j \rfloor + 1$ contains no integer point: every integer solution lies in one of the two children, and $\tilde{\vet x}(\LP_k)$ in neither.
In branch-and-bound for an ILP problem, a node is pruned by infeasibility (relaxation without solutions), by integrality (integer relaxation solution) or by bound (the relaxation cannot improve the incumbent). When several criteria hold, in which order are they checked?
Bound, integrality, infeasibility
Integrality, infeasibility, bound
Infeasibility, integrality, bound
Infeasibility, bound, integrality
Explanation. When both integrality and bound apply, the node is pruned by integrality (and the LB is updated if $z(\LP_k) > \LB$).
In branch-and-bound for a maximization ILP problem with integer costs, $\LP_k$ is the LP relaxation of node $k$ (original constraints plus the branching constraints of the node), with optimal value $z(\LP_k)$, and $\LB$ is the value of the incumbent (the best integer solution found). Node $k$ has a fractional solution and $\lfloor z(\LP_k) \rfloor = \LB$. What is done?
It is pruned by bound: the node contains no solution better than the incumbent.
The node enters the list of open nodes, because $z(\LP_k) > \LB$ may hold.
It is branched on immediately, without inserting it in the list of open nodes.
It is pruned by integrality, because the bound $\lfloor z(\LP_k) \rfloor$ is integer.
Explanation. Pruning by bound applies also with the equality $\lfloor z(\LP_k) \rfloor = \LB$: the node can contain solutions as good as the incumbent, not better. Using the strict inequality is a typical mistake.
In branch-and-bound for a maximization ILP problem with integer costs, $\LP_k$ is the LP relaxation of node $k$ (original constraints plus the branching constraints of the node), with optimal value $z(\LP_k)$, and $\LB$ is the value of the incumbent (the best integer solution found). Let $L$ be the list of open nodes (generated and not yet processed), nonempty. How is the upper bound $\UB$ on the optimal value computed during the execution?
It is the bound $\lfloor z(\LP_k) \rfloor$ of the last node solved, the most up to date.
It is $\lfloor z(\LP_1) \rfloor$ of the root for the whole execution, until the list is empty.
It is the value of the incumbent, that is of the best integer solution found.
It is the maximum of the bounds $\lfloor z(\LP_k) \rfloor$ of the nodes in the list $L$.
Explanation. Every solution better than the incumbent lies in the region of a node of the list; when the list is empty, $\UB = \LB$.
In branch-and-bound for a maximization ILP problem with integer costs, $\LP_k$ is the LP relaxation of node $k$ (original constraints plus the branching constraints of the node), with optimal value $z(\LP_k)$, and $\LB$ is the value of the incumbent (the best integer solution found). Node $k$ has been branched on and its first child has been solved (the incumbent may have changed). What does the skip rule say?
If now $\lfloor z(\LP_k) \rfloor \le \LB$, the second child is not solved and gets no index.
If the first child is infeasible, the second child is not solved and gets no index.
The nodes of the list with the same bound as the parent are skipped in the selection.
The second child is always solved, but it is not inserted in the list of open nodes.
Explanation. The bound of a child does not exceed the one of its parent: if the parent can no longer improve the incumbent, the second child is useless.
In branch-and-bound, the LIFO strategy selects the last node inserted in the list of open nodes. Which tree visit does it correspond to, and with which data structure?
Breadth-first search, with a queue.
Depth-first search, with a stack.
Best-first search, with a priority queue.
Depth-first search, with a queue.
Explanation. LIFO extracts the last node inserted (stack): it goes deep to find feasible solutions early; FIFO corresponds to breadth-first search with a queue.
How many nodes does a complete binary branch-and-bound tree with $n$ levels have (the root is the first level, every node of the first $n-1$ levels has two children)?
$2^n$
$2^{n-1}$
$2^n - 1$
$n^2$
Explanation. Level $j$ (with $j = 0, \dots, n-1$ starting from the root) has $2^j$ nodes: $\sum_{j=0}^{n-1} 2^j = 2^n - 1$; the leaves are $2^{n-1}$.
In branch-and-bound for a maximization problem, $z(\LP_k)$ is the optimal value of the LP relaxation of node $k$. Which node of the list of open nodes does the best bound strategy select?
The last node inserted into the list, as in a stack.
The node of the list with the smallest value $z(\LP_k)$ (ties: smallest index).
The deepest node of the list, that is with the most branching constraints.
The node of the list with the largest value $z(\LP_k)$ (ties: smallest index).
Explanation. The selected node determines the upper bound: processing it is the only way to decrease $\UB$.
In branch-and-bound, at node $k$ the relaxation has solution $\tilde{\vet x}(\LP_k) = (\frac{23}{10}, \frac{3}{2}, \frac{9}{10})$, with three integer variables. The maximum infeasibility rule chooses the variable farthest from an integer, the minimum infeasibility rule the closest one. Which variables do they choose, respectively?
$x_2$ and $x_3$
$x_3$ and $x_2$
$x_1$ and $x_3$
$x_2$ and $x_1$
Explanation. The fractional values $f_j = \min\{\tilde x_j - \lfloor \tilde x_j \rfloor, \lceil \tilde x_j \rceil - \tilde x_j\}$ are $\frac{3}{10}$, $\frac{1}{2}$, $\frac{1}{10}$: the farthest from an integer is $x_2$, the closest $x_3$.
In branch-and-bound for a maximization problem, $\LP_k$ is the LP relaxation of node $k$ (original constraints plus branching constraints) with optimal value $z(\LP_k)$. Which statement about the bound of the node is correct?
Every feasible solution in the region of $\LP_k$ has value at most $\lceil z(\LP_k) \rceil - 1$, for every problem.
If variables and costs are integer, every feasible solution in the region of $\LP_k$ has value at most $\lfloor z(\LP_k) \rfloor$.
The bound $\lfloor z(\LP_k) \rfloor$ also holds in a MIP with continuous variables.
The bound of a child can exceed the one of its parent.
Explanation. The value of an integer solution with integer costs is a sum of products of integers, hence integer, and does not exceed $z(\LP_k)$; in the mixed case the bound is $z(\LP_k)$.
In branch-and-bound node $k$ is branched on the integer variable $x_j$, fractional in the solution $\tilde{\vet x}(\LP_k)$ of the relaxation, with the children $x_j \le \lfloor \tilde x_j \rfloor$ and $x_j \ge \lfloor \tilde x_j \rfloor + 1$. Which fact guarantees that no solution is lost?
Both children still contain the solution $\tilde{\vet x}(\LP_k)$ of the parent.
The regions of the two children overlap in the strip between the two constraints.
Every integer solution in the region of the node satisfies one of the two constraints.
The optimal value of each child equals that of the parent.
Explanation. No integer solution is lost in branching; $\tilde{\vet x}(\LP_k)$, instead, is feasible in neither child.
In branch-and-bound for a maximization ILP problem, $z(\LP_k)$ is the optimal value of the LP relaxation of node $k$. To prove that every feasible solution in the region of the node has value at most $\lfloor z(\LP_k) \rfloor$, what is needed?
Integer costs and variables (the value is integer) and value not above $z(\LP_k)$.
Only that the matrix $\mat A$ and the vector $\vet b$ are integer.
That $\LP_k$ has an optimal vertex with all components integer.
That the value $\LB$ of the incumbent is an integer number.
Explanation. The value of an integer solution with integer costs is integer; an integer not exceeding $z(\LP_k)$ does not exceed its integer part.
In branch-and-bound on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the optimum of the relaxation has $x_1 = \frac{7}{2}$, and the two children $x_1 \le 3$ and $x_1 \ge 4$ are created. What is removed from the region of the relaxation?
The strip $3 < x_1 < 4$, which contains no integer point.
The integer points with $x_1 = 3$, which lie on the boundary.
The whole half-plane $x_1 \ge 4$, which does not contain the optimum.
Nothing: the two children overlap at the point $x_1 = \frac{7}{2}$.
Explanation. Every integer solution has $x_1 \le 3$ or $x_1 \ge 4$: together the children contain all the integer solutions and exclude only the strip in between.
In LP-based branch-and-bound for a maximization ILP problem, what are the bounding operations?
The computation of a lower bound by a heuristic at every node, to update the incumbent.
The addition of the upper bounds $x_j \le \lfloor b_i / a_{ij} \rfloor$ at every node.
The relaxation value of a node bounds its solutions, and decides whether to discard the node.
The limit on the depth of the tree, beyond which no branching is done.
Explanation. The relaxation of the node gives an upper bound on the solutions of its region: if it cannot beat the best solution found, the region is discarded.
In branch-and-bound on the car production example the row of $x_1$ in the optimal dictionary of the root is $x_1 = \frac{7}{2} - \frac{7}{62}x_3 + \frac{1}{31}x_4$ ($x_3, x_4$: slacks, nonbasic). For the child $x_1 \ge 4$ the surplus variable $x_5 = x_1 - 4 \ge 0$ is introduced. What is the new row of the dictionary?
Explanation. We substitute the row of $x_1$ into $x_1 - 4$: the right-hand side is $\frac{7}{2} - 4 = -\frac{1}{2}$ and the coefficients are those of $x_1$. The third option is the row of the child $x_1 \le 3$.
In LP-based branch-and-bound every child is solved from the optimal dictionary of its parent, adding the row of the branching constraint. Why is the dual simplex algorithm used?
The dictionary stays primal feasible, and the dual simplex is faster.
The primal simplex cannot handle the surplus variable of an up-branching constraint.
The dual simplex always returns integer solutions, so the child is pruned sooner.
Reduced costs are unchanged: the dictionary is dual feasible, a few dual pivots suffice.
Explanation. The new basic variable has a negative value, so the dictionary is not primal feasible, but it is dual feasible: the starting point of the dual simplex algorithm.
In branch-and-bound for a maximization problem, node $k$ has $z(\LP_k) = 20$ and three fractional variables. Solving the children: $x_1$ gives $18$ (down) and $19.5$ (up); $x_2$ gives $17$ and an infeasible child; $x_3$ gives $19$ and $16$. Strong branching selects the variable with the largest minimum decrease of the children (decrease $+\infty$ for an infeasible child). Which one?
$x_3$, with minimum decrease $1$.
$x_2$, with minimum decrease $3$.
$x_3$, with the largest decrease $4$ of a feasible child.
Branch-and-bound solves the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) in two ways: A (smallest index, LIFO) solves $6$ LP problems, B (largest index, best bound) solves $8$. What do they certify?
B finds a better solution than A, because best bound explores the best nodes first.
A certifies $(4,1)$, B the solution $(3,2)$ found first.
The same optimum $(4,1)$ of value $14$: strategies change the tree, not the optimum.
Different optimal solutions with the same value $14$, one for each strategy.
Explanation. Both executions are exact and the optimum $(4,1)$ is unique; B finds a solution of value $13$ earlier, but branching on $x_2$ it builds a larger tree.
In LP-based branch-and-bound for a maximization ILP problem with integer costs ($\LP_k$: relaxation of node $k$, that is the original constraints plus the branching constraints; $\LB$: value of the best integer solution found), on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) with $\LB = -\infty$, the root is branched on $x_1$. The children have $\tilde{\vet x}(\LP_2) = (3, \frac{37}{14})$, $z(\LP_2) = \frac{100}{7}$ and $\tilde{\vet x}(\LP_3) = (4, \frac{5}{4})$, $z(\LP_3) = \frac{29}{2}$. What is the upper bound $\UB$, the maximum of the bounds $\lfloor z(\LP_k) \rfloor$ of the open nodes?
$15$
$\frac{100}{7}$
$\frac{29}{2}$
$14$
Explanation. Both children are fractional and enter the list; $\lfloor \frac{100}{7} \rfloor = 14$ and $\lfloor \frac{29}{2} \rfloor = 14$. The root, already branched, is no longer in the list.
In branch-and-bound for an ILP problem with integer $x_1, x_2, x_3$, the relaxation of node $k$ has the solution $(3, \frac{5}{2}, 4)$. A student branches with $x_1 \le 3$ and $x_1 \ge 4$. What is wrong?
$x_1$ is already integer: the child $x_1 \le 3$ contains the same solution, and nothing is cut off.
Nothing: one can branch on any integer variable.
The children should have been $x_1 \le 2$ and $x_1 \ge 4$.
One should have branched on $x_3$, the variable with the largest value.
Explanation. The branching variable must be integer with a fractional value, here $x_2$: only then $\tilde{\vet x}(\LP_k)$ leaves both children.
In LP-based branch-and-bound for a maximization ILP problem with integer costs ($\LP_k$: relaxation of node $k$, that is the original constraints plus the branching constraints; $\LB$: value of the best integer solution found) the solved nodes receive consecutive indices. Node $3$ is branched on: the first child, solved, becomes node $4$; for the second child the skip rule applies (it is not solved). Which index does the next solved node receive?
$6$: the skipped child takes index $5$.
$4$: the index is reused after the skip.
$5$: the skipped child receives no index.
$5$, which is the skipped child, inserted as pruned.
Explanation. A child that is not solved receives no node index: the numbering continues with the next LP problem solved.
In branch-and-bound for a maximization MIP with $x_1$ integer and $x_2$ continuous, the relaxation of a node has the solution $(2, \frac{7}{3})$ of value $\frac{31}{2}$; the value of the best known solution is $\LB = 15$. What is done?
It is branched on $x_2$, with $x_2 \le 2$ and $x_2 \ge 3$.
It is pruned by bound, because $\lfloor \frac{31}{2} \rfloor = 15 \le \LB$.
The node is inserted in the list of open nodes, because $x_2$ is fractional.
Pruned by integrality: $(2, \frac{7}{3})$ is feasible and is the new best solution.
Explanation. Branching is done only on the integer variables, here all integer in the solution. In a MIP the bound of a node is $z(\LP_k)$, without rounding: $\frac{31}{2} > 15$.
In branch-and-bound the LP problems of the nodes can be solved with the bounded-variable simplex algorithm. What changes?
The LP problems of the nodes are solved with integer variables, without relaxation.
The branching constraints become bounds $l_j \le x_j \le u_j$, not new rows of the dictionary.
The branching constraints are replaced by equivalent Gomory cuts.
The number of nodes of the tree is limited a priori by the variable bounds.
Explanation. The bounded-variable simplex handles the bounds of the variables without adding constraints: the dictionary does not grow at every level of the tree.
Branch-and-bound for a maximization ILP problem starts with $\LB = -\infty$ and ends with the list of open nodes empty, without having found integer solutions ($\LB = -\infty$). What is concluded?
The ILP problem is unbounded.
The optimal value is the bound of the root $\lfloor z(\LP_1) \rfloor$.
It must be repeated with another branching strategy.
The ILP problem is infeasible.
Explanation. Branching loses no feasible solution: if all the nodes were pruned without finding an integer solution, none exists.
Branch-and-bound on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) is initialized with the solution $(3,2)$ of value $13$ (rounding the LP optimum down) instead of $\LB = -\infty$. What can change?
The optimal value, which can become $13$ if no better node is found.
The number of solved nodes, which can decrease; the optimum $14$ stays.
The bound of the root, which becomes $13$ instead of $15$.
Nothing: the initial solution is used only at the end, for comparison.
Explanation. A good initial $\LB$ allows more pruning by bound and changes the size of the tree, not the optimal value.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the relaxation solution has $\tilde x_1 = 3.5$. Which two subproblems are created by branching on $x_1$?
One with $x_1 \le 3$ and one with $x_1 \ge 4$.
One with $x_1 \le 3.5$ and one with $x_1 \ge 3.5$.
One with $x_1 = 3$ and one with $x_1 = 4$.
One with $x_1 \le 4$ and one with $x_1 \ge 3$.
Explanation. Every integer solution has $x_1 \le 3$ or $x_1 \ge 4$; the strip $3 < x_1 < 4$ contains no integer point.
In the chapter on branch-and-bound, the car production example $\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x \in \Z^2_{\ge 0}$ has which values of $n$ (variables) and $m$ (constraints)?
$n = 2$, $m = 2$.
$n = 2$, $m = 4$, counting nonnegativity.
$n = 4$, $m = 2$, counting slacks.
$n = 3$, $m = 2$.
Explanation. Two integer variables and two $\le$ constraints; nonnegativity belongs to the domain.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what do $\LP_k$, $\tilde{\vet x}(\LP_k)$ and $z(\LP_k)$ denote?
The $k$-th cut, the point cut off and the violation.
The LP problem of node $k$, its optimal solution and its optimal value.
The relaxation after $k$ cuts, the incumbent solution and the lower bound.
The ILP problem of level $k$, a feasible solution and the gap.
Explanation. Every branching node corresponds to an LP problem, obtained from the relaxation with branching constraints.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what are the incumbent solution $\bar{\vet x}$ and the lower bound $\LB$?
The optimal solution of the root node and its value.
The solution of the current node and its bound.
The best feasible integer solution found so far and its value.
The best fractional solution and the minimum of the bounds.
Explanation. $\LB$ grows during the algorithm; initially it is $-\infty$ if there is no heuristic solution.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, which relation holds between the bound of a child node and that of its parent?
$z(\text{child}) \le z(\text{parent})$, because the child has one more constraint.
$z(\text{child}) \ge z(\text{parent})$, because the child is closer to an integer solution.
$z(\text{child}) = z(\text{parent}) - 1$.
No general relation.
Explanation. The polyhedron of the child is contained in that of the parent: the maximum does not increase.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, to prove that the two children of a node contain all integer solutions of the parent, which assumption is needed?
That $\tilde x_j$ is the most fractional value among the variables.
That the parent has a bound larger than the lower bound.
That the two children are solved in LIFO order.
That the branching variable $x_j$ is integer.
Explanation. On a continuous variable the dichotomy would fail: the middle strip contains solutions.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, at node $k$ we have $\tilde x_2 = \frac{7}{3}$. Which branching constraints are added to the two children?
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what does the observation on rounding the bound of a node $k$ state?
Every feasible solution in the region of $\LP_k$ has value at most $\lceil z(\LP_k) \rceil$.
Every feasible solution in the region of $\LP_k$ has value at most $\lfloor z(\LP_k) \rfloor$.
The optimal value of the ILP problem is $\lfloor z(\LP_1) \rfloor$.
The bound of every node is an integer.
Explanation. With integer variables and costs the value of a feasible solution is integer, so it does not exceed $\lfloor z(\LP_k) \rfloor$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, node $k$ has $z(\LP_k) = 17.8$ and the lower bound is $\LB = 17$. Is the node pruned by bound?
No: $17.8 > 17$.
No: it is pruned only if $z(\LP_k) < \LB$.
Yes, but only if the solution of the node is integer.
Yes: $\lfloor 17.8 \rfloor = 17 \le \LB$.
Explanation. The node cannot contain solutions of value larger than $17$, so none better than the incumbent.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what determines the order in which LP problems are extracted from the list $L$?
The branching variable selection strategy.
The pruning rule.
The branching node selection strategy.
The numbering of the variables.
Explanation. The choice of the variable is a separate decision, taken after the node is extracted.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, when does the algorithm terminate, and what does it return?
When it finds the first integer solution.
When the bound of the root is integer.
After solving $2^n - 1$ nodes.
When the list $L$ is empty: the incumbent is optimal.
Explanation. With an empty list every region has been explored or pruned: $\UB = \LB$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the list contains three nodes with bounds $\mathrm{UB}(\LP_k)$ equal to $21$, $19$ and $20$, and $\LB = 18$. What is the gap $(\UB - \LB)/|\LB|$?
$\frac{1}{18} \approx 5.6\%$.
$\frac{2}{18} \approx 11.1\%$.
$\frac{3}{18} \approx 16.7\%$.
$\frac{3}{21} \approx 14.3\%$.
Explanation. $\UB$ is the maximum of the bounds of the listed nodes: $21$; gap $= (21 - 18)/18$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, to prove that $\UB = \max_{k \in L} \mathrm{UB}(\LP_k)$ is an upper bound on $z(\ILP)$ while $L \neq \emptyset$, what is needed?
That better solutions lie in open nodes.
That all nodes of the list have integer solutions.
That the list is managed in best bound order.
That the bound of the root is integer.
Explanation. Pruned nodes contain no solution better than the incumbent; better ones lie in the open nodes. $\LB$ also counts if larger.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, an initial heuristic finds a solution of value $\LB = 30$ and the root has $z(\LP_1) = 30.9$. What happens?
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, why is it worth initializing $\LB$ with a good heuristic solution?
It improves the upper bound of the root.
It avoids solving the relaxation of the root.
It allows pruning nodes earlier.
It guarantees that the heuristic solution is optimal.
Explanation. A high $\LB$ makes $\lfloor z(\LP_k) \rfloor \le \LB$ more frequent.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, with $\LB$ initialized by a heuristic, which property of the heuristic solution is needed for pruning by bound to remain correct?
That it is feasible for the ILP problem.
That it is optimal for the LP relaxation.
That it has at least one fractional variable.
That it was found in polynomial time.
Explanation. If it were infeasible, $\LB$ could exceed $z(\ILP)$ and nodes containing the optimum could be pruned.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, in which order are the pruning conditions of a node checked in the notes?
Bound, integrality, infeasibility.
Integrality, bound, infeasibility.
Bound, infeasibility, integrality.
Infeasibility, integrality, bound.
Explanation. An infeasible node has no bound; an integer one updates the incumbent; then $\lfloor z(\LP_k) \rfloor$ is compared with $\LB$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, node $k$ has an integer optimal solution of value $25$ and $\LB = 22$. What is done?
Branch on the node to look for better solutions.
Update the incumbent ($\LB = 25$) and prune the node by integrality.
Prune the node by bound without updating the incumbent.
Insert the node in the list.
Explanation. An integer solution is the best one in the region of the node: no need to explore it further.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the relaxation of the root is unbounded. What is concluded?
The ILP problem is unbounded.
Infeasible or unbounded.
Branching on the root.
The ILP problem is infeasible.
Explanation. It is one of the stopping cases of Step 0 of the pseudocode.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, after solving the first child of a node $k$ we have $\lfloor z(\LP_k) \rfloor \le \LB$. What does the skip rule prescribe?
The second child is solved anyway, for completeness.
The first child is discarded.
Restart from the root.
The second child is not solved and receives no node index.
Explanation. The bound of the second child does not exceed that of the parent, so it cannot improve the incumbent.
A complete binary branch-and-bound tree has $5$ levels. How many leaves does it have, and how many branching constraints are imposed along each root–leaf path?
$32$ leaves and $5$ constraints.
$31$ leaves and $4$ constraints.
$16$ leaves and $5$ constraints.
$16$ leaves and $4$ constraints.
Explanation. Leaves $2^{n-1} = 16$; one constraint for each level below the root: $n - 1 = 4$.
The formula $2^n - 1$ for the number of nodes of a binary branch-and-bound tree with $n$ levels is proved by induction. Which assumption on the tree is needed?
That the nodes are solved in best bound order.
That the problem has $n$ binary variables.
That it is complete: every inner node has two children.
That no node is pruned by bound.
Explanation. The inductive step doubles the leaves of a level: it holds only for complete trees.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, why are the children of a node solved with the dual simplex?
The child differs from the parent by one constraint.
Because the primal simplex does not accept branching constraints.
Because the dual of the child is always infeasible.
Because the children have fewer variables than the parent.
Explanation. Adding the row of the branching constraint keeps the reduced costs and breaks only primal feasibility.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, in the parent's optimal dictionary the branching variable has row $x_1 = \frac72 - \sum_{q \in N} \bar a_{1q} x_q$. In the down child $x_1 + x_s = 3$ is added. What row does the slack variable $x_s$ have?
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the node solution is $\tilde{\vet x} = (2, \frac53, \frac12, \frac{9}{4})$. Which variable does the lexicographic strategy (smallest index) choose?
$x_1$.
$x_3$.
$x_2$.
$x_4$.
Explanation. Among the fractional variables ($x_2, x_3, x_4$) take the smallest index; $x_1$ is integer.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, which advantage and which limitation does the lexicographic variable selection strategy have?
It needs no computation and is reproducible.
It always minimizes the size of the tree, but it is expensive.
It finds feasible solutions immediately, but bounds do not decrease.
It maximizes bound decrease, but requires solving the children.
Explanation. It is the rule used in the exercises precisely because it makes runs easy to reproduce.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, with the largest-index lexicographic strategy and $\tilde{\vet x} = (\frac32, 4, \frac13, 0)$, which variable is chosen?
$x_4$.
$x_1$.
$x_2$.
$x_3$.
Explanation. The fractional variables are $x_1$ and $x_3$; the largest index is $3$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, with $f_j = \min\{\tilde x_j - \lfloor \tilde x_j \rfloor, \lceil \tilde x_j \rceil - \tilde x_j\}$ and $\tilde{\vet x} = (\frac{9}{10}, \frac{12}{5}, \frac{13}{4})$, which variable does maximum infeasibility choose?
$x_3$, with $f_3 = \frac14$.
$x_2$, with $f_2 = \frac25$.
$x_1$, with $f_1 = \frac{1}{10}$.
$x_1$, with $f_1 = \frac{9}{10}$.
Explanation. $f_1 = \frac1{10}$, $f_2 = \frac25$, $f_3 = \frac14$: the maximum is $f_2$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what is the idea of the minimum infeasibility strategy?
Choose the variable farthest from an integer, to decrease the bounds most.
Choose the variable closest to an integer.
Choose the variable with the largest cost.
Choose the variable giving the largest bound decrease of the children.
Explanation. Maximum infeasibility instead tries to force the most uncertain decisions.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, strong branching on a node with $z(\LP_k) = 20$ gives, for $x_1$, children of values $18$ and $19$; for $x_2$, children with $17$ and $19.5$. Which variable does it choose, maximizing $\min\{\delta^d, \delta^u\}$?
$x_2$, with $\min\{3, 0.5\} = 0.5$.
$x_2$, with $\max\{3, 0.5\} = 3$.
$x_1$, with $\max\{2,1\} = 2$.
$x_1$, with $\min\{2, 1\} = 1$.
Explanation. Decreases: $x_1$: $(2, 1)$; $x_2$: $(3, 0.5)$. The largest minimum is $1$, for $x_1$.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, in strong branching what is the decrease $\delta$ of an infeasible child?
$+\infty$.
$0$.
$z(\LP_k)$.
The child is not considered.
Explanation. An infeasible child would be pruned immediately: the best case for the decrease.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, which node selection rule is obtained from the same pseudocost estimates?
Best bound.
LIFO.
Best estimate.
FIFO.
Explanation. Estimates of the value of the solutions in the subtrees guide the choice of the node.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, in all the variable selection strategies of the notes, how are ties broken?
By the smallest index.
By the largest index.
At random.
By the largest cost.
Explanation. The smallest-index rule makes runs reproducible.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the list contains nodes $3$, $5$ and $6$ with $z(\LP_k)$ equal to $14.5$, $15$ and $15$. Which node does the best bound strategy choose?
Node $6$.
Node $5$.
Node $3$.
The node inserted last.
Explanation. Largest $z(\LP_k) = 15$ (nodes $5$ and $6$); tie broken by the smallest node index.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, why is the best bound strategy the only way to lower the upper bound $\UB$?
Because it always finds integer solutions.
Because it explores the tree depth first.
Because it attains the maximum defining $\UB$.
Because it keeps the list short.
Explanation. As long as that node stays in the list, $\UB$ cannot decrease.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, the list received nodes $2$, $3$, $4$ in this order. Which node is processed with LIFO and which with FIFO?
LIFO: $4$; FIFO: $2$.
LIFO: $2$; FIFO: $4$.
Both: $2$.
Both: the node with the largest bound.
Explanation. LIFO is a stack (last inserted), FIFO a queue (first inserted).
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, to which tree traversals do the LIFO and FIFO strategies correspond?
LIFO to breadth-first search, FIFO to depth-first.
Both to depth-first search.
LIFO to best bound, FIFO to best estimate.
LIFO to depth-first search (DFS), FIFO to breadth-first search (BFS).
Explanation. LIFO goes down to the leaves and updates the incumbent early; FIFO explores level by level.
In branch-and-bound on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) the root has $\tilde{\vet x}(\LP_1) = (\frac72, \frac52)$ and $z(\LP_1) = \frac{31}{2}$. With the smallest-index lexicographic strategy, which variable and which branching constraints are used?
$x_2$, with $x_2 \le 2$ and $x_2 \ge 3$.
$x_1$, with $x_1 \le 3$ and $x_1 \ge 4$.
$x_1$, with $x_1 \le 4$ and $x_1 \ge 3$.
$x_2$, with $x_2 \le 3$ and $x_2 \ge 2$.
Explanation. Both fractional: smallest index $x_1$; $\lfloor \frac72 \rfloor = 3$, $\lceil \frac72 \rceil = 4$.
In branch-and-bound on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$), which upper bound does the root with $z(\LP_1) = \frac{31}{2}$ give, and what is the gap if $\LB = 14$?
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, a student prunes a node with $z(\LP_k) = 12.4$ when $\LB = 13$, writing «$12.4 < 13$». What can be said?
The pruning is wrong: one prunes only by integrality.
The pruning is wrong: $z(\LP_k) \le \LB - 1$ is needed.
The pruning is correct only with the LIFO strategy.
The pruning is correct.
Explanation. $12 \le 13$: the node contains no solution better than the incumbent.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, a student branches on $x_1$ with $\tilde x_1 = 4$ (integer) because it is the smallest-index variable. What is wrong?
Branching is done only on integer variables with fractional value.
Nothing: the lexicographic rule looks only at the index.
He should have used $x_1 \le 4$ and $x_1 \ge 4$.
He should have pruned the node by integrality.
Explanation. With integer $\tilde x_1$ one of the children would still contain the parent's solution.
In branch-and-bound for ILP problems, which extension allows treating branching constraints as bounds on the variables?
The cutting plane method.
The revised simplex without bounds.
Phase one of the simplex.
The bounded-variable simplex.
Explanation. The constraints $x_j \le \lfloor \tilde x_j \rfloor$ and $x_j \ge \lceil \tilde x_j \rceil$ become bounds on the variables, with no new rows.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, which statement about the correctness of the algorithm is correct?
When the list is empty, the incumbent is optimal.
The incumbent is optimal as soon as the first integer solution is found.
The algorithm is exact only with the best bound strategy.
The algorithm is exact only if the tree is complete.
Explanation. Branching and pruning keep all solutions better than the incumbent until the end.
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, to guarantee that the algorithm terminates after finitely many nodes, which assumption suffices?
That the best bound strategy is used.
That the relaxation polyhedron is bounded.
That the root has a fractional solution.
That all costs are positive.
Explanation. Each branching shrinks the range of a variable; with finite ranges the depth is bounded.
A cutting plane algorithm that adds cuts until the solution is integer, without ever branching.
A branch-and-bound algorithm in which only branching constraints are added to the LP problems of the nodes.
A heuristic that rounds the solutions of the nodes and discards the nodes with low value.
A branch-and-bound algorithm in which the LP problems of the nodes are strengthened with cutting planes before branching.
Explanation. Cuts decrease the bounds of the nodes, so more nodes are pruned by bound; branching guarantees termination when the cuts are no longer effective.
In branch-and-cut for an ILP problem, $F$ is the set of feasible integer solutions and $F_k \subseteq F$ the set of solutions that also satisfy the branching constraints of node $k$. What is a local cut of node $k$?
An inequality satisfied by all the solutions in $F_k$, to be used only in the subtree of $k$.
An inequality satisfied by all the solutions in $F$, to be used in the whole tree.
A cut generated at the root and stored in the pool for the later nodes.
A cut that removes at least one solution of $F_k$, to speed up pruning.
Explanation. A local cut can remove integer solutions lying in other branches of the tree: outside the subtree of $k$ it is not used.
In branch-and-cut, at a node a Gomory fractional cut is generated from a dictionary row in which the slack variable of a branching constraint has a nonzero coefficient. How does the algorithm treat it?
As global, because Gomory cuts are always valid.
It discards it.
As local: its derivation uses the branching constraint.
As global, if it cuts off the optimum of the node.
Explanation. The derivation uses the branching constraint, so the cut is guaranteed only in the subtree of the node. It may also happen to be valid everywhere, but the algorithm cannot check it at the node, so it keeps it local.
To store the open nodes of the list, with their bounds.
To store the feasible solutions found by the heuristics.
To choose the branching variable at every node.
To store the generated cuts, to be reused if violated.
Explanation. Before generating new cuts, the pool is searched for cuts violated by the solution of the node. Global cuts are kept in a global pool; local cuts are kept with their node and passed only to its descendants.
For a cut $\vet\alpha\T \vet x \le \beta$ and a point $\tilde{\vet x}$, the violation is $\vet\alpha\T \tilde{\vet x} - \beta$ and the efficacy is the (signed) Euclidean distance of $\tilde{\vet x}$ from the hyperplane $\vet\alpha\T \vet x = \beta$. What happens to the violation and the efficacy if the cut is multiplied by $2$?
Both double.
The violation doubles, the efficacy does not change.
The violation does not change, the efficacy doubles.
Neither of them changes.
Explanation. The efficacy is the Euclidean distance from the hyperplane, $\frac{\vet\alpha\T\tilde{\vet x} - \beta}{\|\vet\alpha\|}$: numerator and denominator both double.
In the branch-and-cut pseudocode at most $R$ rounds of cut generation are performed at each node before branching. What is obtained with $R = 0$ at every node?
Cut-and-branch.
The cutting plane algorithm.
Branch-and-bound.
A diving heuristic.
Explanation. Without cuts branch-and-bound remains; with $R = 0$ at every node except the root we obtain cut-and-branch.
For a cut $\vet\alpha\T \vet x \le \beta$ and a point $\tilde{\vet x}$, the violation is $\vet\alpha\T \tilde{\vet x} - \beta$ and the efficacy is the (signed) Euclidean distance of $\tilde{\vet x}$ from the hyperplane $\vet\alpha\T \vet x = \beta$. For $\tilde{\vet x} = (5, \frac{7}{2})$ and the cut $3x_1 - x_2 \le 11$, what are the violation and the efficacy?
Explanation. $3 \cdot 5 - \frac{7}{2} - 11 = \frac{1}{2}$ and $\|\vet\alpha\| = \sqrt{9 + 1} = \sqrt{10}$, so the efficacy is $\frac{1}{2\sqrt{10}} \approx 0.158$. Violation $1$ would come from the cut multiplied by $2$.
In branch-and-cut for an ILP problem, $F$ is the set of feasible integer solutions and $F_k \subseteq F$ the set of solutions that also satisfy the branching constraints of node $k$. A global cut is valid for $F$; a local cut of node $k$ is valid for $F_k$. Which statement is correct?
Every global cut is a local cut of every node, but not conversely.
Every local cut is global.
A local cut of node $k$ can be used at all the nodes solved after $k$.
A cut derived using a branching constraint is always global.
Explanation. Since $F_k \subseteq F$, an inequality valid for $F$ is valid for $F_k$; a local cut can remove integer solutions of other branches.
In branch-and-cut for a maximization ILP problem, which statement about the effect of the cuts (valid inequalities added to the relaxations of the nodes) is correct?
The cuts decrease the optimal value of the ILP problem, because they remove points of the polyhedron.
The cuts lower the values of the relaxations and the upper bound, not the optimal value.
Every cut added reduces the number of nodes of the tree by at least one.
The cut with the largest efficacy at the current point is always the strongest.
Explanation. Cuts are valid: they do not touch the integer solutions. Not all of them reduce the tree, and efficacy is measured only at the current point.
In branch-and-cut for an ILP problem, $F$ is the set of feasible integer solutions and $F_k \subseteq F$ the set of solutions that also satisfy the branching constraints of node $k$. The problem has the constraint $10x_1 + 4x_2 \le 45$ with $x_1, x_2 \in \Z_{\ge 0}$; at node $k$, with the branching constraint $x_1 \ge 4$, one derives $x_2 \le 1$. To prove that the cut is valid in the whole subtree of $k$, what is needed?
That the cut is satisfied by all the solutions of $F$.
The validity theorem of Gomory fractional cuts.
That the solutions of $F_k$ have $x_1 \ge 4$ and the descendants have $F_h \subseteq F_k$.
That the cut is tight for some solution of $F_k$.
Explanation. From $4x_2 \le 45 - 10x_1 \le 5$ and integrality, $x_2 \le 1$ in $F_k$; in the descendants only constraints are added.
In branch-and-cut, a global cut is valid for all the feasible integer solutions. To claim that a Gomory fractional cut generated at the root is global, what is needed?
That it cuts off the optimal solution of the root relaxation with the largest violation.
That it has been made primitive before adding it, so that its slack is integer.
That it has the largest efficacy among the cuts generated in the same round.
That it derives only from the original constraints and integrality, without branching constraints.
Explanation. At the root there are no branching constraints: the derivation holds for all the solutions of $F$.
For the problem $P10$ ($\max\ 5x_1 + 2x_2$, $-x_1 + 3x_2 \le 12$, $x_1 + 2x_2 \le 12$, $3x_1 - 2x_2 \le 8$, $x_1, x_2 \in \Z_{\ge 0}$, optimum $(4,4)$ of value $28$) the root relaxation has the optimum $(5, \frac{7}{2})$ of value $32$, and branch-and-bound without cuts solves $5$ LP problems. A cut-and-branch adds at the root the Gomory cut $3x_1 - x_2 \le 11$: the new optimum is $(\frac{34}{7}, \frac{25}{7})$, of value $\frac{220}{7}$. What is obtained?
$\UB = 32$: the cut does not change the bound, and the tree still solves $5$ LP problems.
$\UB = 31$, and the optimum $(4,4)$ is found at the root without branching.
$\UB = 31$ at the root, and the tree solves $3$ LP problems instead of $5$.
$\UB = \frac{220}{7}$: after a cut the bound can no longer be rounded.
Explanation. With integer data the bound is $\lfloor \frac{220}{7} \rfloor = 31$. The cut moves the root optimum: we branch on $x_1$ and the node $x_1 \le 4$ gives $(4,4)$ at once.
On the problem $P2$ ($\max\ x_1 + 3x_2$, $-4x_1 + 10x_2 \le 35$, $3x_1 + x_2 \le 12$, $x_1, x_2 \in \Z_{\ge 0}$, optimal value $14$) the first three rounds of Gomory cuts at the root bring $z(\LP_1)$ from $16$ to $15$, but the tree always has $4$ nodes; $5$ rounds are needed to reduce it to the root. What does the example show?
Not every cut reduces the tree: a cut-and-branch must decide when to stop cutting.
Gomory cuts are not valid on $P2$, because the data have different signs.
Every cut removes a node from the tree, so it always pays to cut.
The cuts lower the optimal value from $16$ to $15$, then to $14$.
Explanation. The bound improves slowly (tailing off) and the cost of each round is paid at every node. Cuts change $z(\LP_k)$, never $z(\ILP)$.
At node $3$ of the car production example (child $x_1 \ge 4$, $x_5 = x_1 - 4$) the local cut $x_2 \le 1$ is added with slack $x_6$. The dictionary has $x_6 = -\frac{1}{4} + \frac{1}{4}x_3 + \frac{5}{2}x_5$ and $z = \frac{29}{2} - \frac{1}{2}x_3 - 2x_5$; the dual simplex picks the column with the minimum ratio $\bar c_j / \bar a_{6j}$ among those with $\bar a_{6j} < 0$, with the convention $x_6 = \bar b_6 - \sum_j \bar a_{6j} x_j$. What is obtained?
$x_3$ enters; the optimum is $(4, 1)$ of value $14$, and the node is pruned by integrality.
$x_5$ enters; the optimum is $(4, 1)$ of value $14$, the integer optimum.
$x_5$ enters; the optimum is $(\frac{41}{10}, 1)$ of value $\frac{143}{10}$, as in the child $x_2 \le 1$ of node $3$.
$x_3$ enters; the optimum is $(\frac{41}{10}, 1)$ of value $\frac{143}{10}$.
Explanation. Ratios: $\frac{-1/2}{-1/4} = 2$ for $x_3$ and $\frac{-2}{-5/2} = \frac{4}{5}$ for $x_5$, so $x_5$ enters and $z = \frac{29}{2} - \frac{4}{5} \cdot \frac{1}{4} = \frac{143}{10}$. The local cut acts as a branching constraint without creating a node.
In branch-and-cut, for a cut $\vet\alpha\T \vet x \le \beta$ the efficacy at the point $\tilde{\vet x}$ is the Euclidean distance $(\vet\alpha\T \tilde{\vet x} - \beta) / \|\vet\alpha\|$. Cut A is dominated by cut B (every point satisfying B satisfies A), but at $\tilde{\vet x}$ A has a larger efficacy. Is it possible?
No: the cut with the larger efficacy always dominates the others.
Yes: efficacy is measured at the current point only.
No: two cuts with the same violation have the same efficacy.
Yes, but only if A and B have the same coefficients.
Explanation. Dominance concerns the whole polyhedron, efficacy a single point: choosing the cut with the largest efficacy does not mean choosing the strongest one.
For the problem $P10$ ($\max\ 5x_1 + 2x_2$, $-x_1 + 3x_2 \le 12$, $x_1 + 2x_2 \le 12$, $3x_1 - 2x_2 \le 8$, $x_1, x_2 \in \Z_{\ge 0}$, optimum $(4,4)$ of value $28$) the cut-and-branch with one Gomory cut at the root ($3x_1 - x_2 \le 11$) solves $3$ LP problems. A second round adds the cut $x_1 \le 4$, and the root relaxation has the optimum $(4,4)$ of value $28$. What happens?
Branching is done anyway, and $3$ LP problems are still needed.
The bound stays $31$, because the second cut is local.
$2$ LP problems are needed: the root and a child to certify the optimum.
The root is pruned by integrality: $\LB = \UB = 28$ after a single LP problem.
Explanation. An integer optimum of the relaxation is feasible and optimal for the node: with strong enough cuts the tree reduces to the root.
In a branch-and-cut algorithm (at most $R$ rounds of cuts per node), which sequence describes the processing of a node?
It is branched at once, and the cuts are added only to the children already solved.
Solve the LP; add violated cuts and re-optimize for at most $R$ rounds; then prune or branch.
The LP is solved and cuts are generated only if the node is pruned.
After each cut the LP is solved from scratch with the primal simplex, and then the node is always branched.
Explanation. Cuts strengthen the relaxation of the node before branching; after each cut the LP is re-optimized with the dual simplex from the previous dictionary.
In a branch-and-cut algorithm for a maximization ILP problem with integer data, let $F_k$ be the set of feasible integer solutions satisfying the branching constraints of node $k$. When is an inequality locally valid for node $k$?
When it is satisfied by all points of $F$.
When it is satisfied by all points of $F_k$ (but maybe not by all those of $F$).
When it is violated by the optimal solution of $\LP_k$.
When it is satisfied only by the optimal solution of the ILP problem.
Explanation. A local cut is used only in the subtree of $k$; a global one holds for all of $F$.
In a branch-and-cut algorithm for a maximization ILP problem with integer data, in the node subroutine with at most $R$ rounds of cuts, when does cutting stop and branching start?
When no violated cut is found or $R$ rounds are reached.
As soon as the node solution becomes fractional.
After a single cut, always.
When the node bound exceeds $\LB$.
Explanation. If the solution becomes integer or the bound drops below the incumbent, the node is pruned instead.
In the cut-and-branch example of the branch-and-cut chapter on problem $P10$ ($\max\ 5x_1 + 2x_2$, $-x_1 + 3x_2 \le 12$, $x_1 + 2x_2 \le 12$, $3x_1 - 2x_2 \le 8$, $x \in \Z^2_{\ge 0}$), what is the bound of a node with $z(\LP_k) = 28.6$?
$29$.
$28$.
$28.6$.
$27$.
Explanation. Integer data: the bound of a node is $\lfloor z(\LP_k) \rfloor$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x \in \Z^2_{\ge 0}$), node $3$ has the branching constraint $x_1 \ge 4$. A cut derived using this constraint is:
local: valid only with $x_1 \ge 4$.
global, because it is a Gomory cut.
invalid, because cuts are not generated at nodes.
global, because node $3$ is close to the root.
Explanation. The derivation uses $x_1 \ge 4$: the cut holds only in $F_3$.
In the car production example, at the node with $x_1 \ge 4$ ($10x_1 + 4x_2 \le 45$) we have $4x_2 \le 45 - 10x_1 \le 5$, so $x_2 \le 1$. Is this inequality valid for the whole problem?
Yes: it is derived from the constraints of the problem.
Yes: it is satisfied by the optimal solution $(4,1)$.
No: it is not valid even at the node.
No: $(3,2)$ is feasible and violates it; it is a local cut of the node.
Explanation. The derivation uses $x_1 \ge 4$; outside the subtree it can remove feasible solutions.
In a branch-and-cut algorithm for a maximization ILP problem with integer data, the efficacy of a cut $\vet\alpha\T\vet x \le \beta$ at $\tilde{\vet x}$ is $(\vet\alpha\T\tilde{\vet x} - \beta)/\|\vet\alpha\|_2$. Why is it preferred to the violation $\vet\alpha\T\tilde{\vet x} - \beta$?
It is always larger than the violation.
It does not depend on the cut's scale.
It does not require knowing $\tilde{\vet x}$.
It is always an integer.
Explanation. Multiplying the cut by $2$ doubles the violation but does not move the hyperplane.
In a branch-and-cut algorithm for a maximization ILP problem with integer data, the open nodes have bounds $40$, $38$, $41$ after the cuts and $\LB = 37$. What is the gap $(\UB - \LB)/|\LB|$?
In a branch-and-cut algorithm for a maximization ILP problem with integer data, to prove that $\UB = \max_{k \in L} \mathrm{UB}(\LP_k)$ computed after the cuts is still a valid upper bound, what is needed?
That all cuts are global.
That the cuts are selected by efficacy.
That every cut used at node $k$ is valid for $F_k$.
That the cut pool is empty.
Explanation. Local validity is enough: the node keeps its integer solutions.
In a branch-and-cut algorithm for a maximization ILP problem with integer data, a student adds to the global pool a Gomory cut generated at node $5$ (with branching constraints). Why is this risky?
The cut may depend on the branching constraints.
It is not risky: Gomory cuts are always global.
Because the global pool accepts only cover cuts.
Because node $5$ will be pruned.
Explanation. The algorithm keeps a cut generated at a node local, unless it is proved not to use branching constraints.
In a maximization problem, what do the columns $\texttt{Incumbent}$ and $\texttt{BestBd}$ of the Gurobi log report?
$\texttt{Incumbent}$ is the lower bound (primal side), $\texttt{BestBd}$ the upper bound (dual side).
$\texttt{Incumbent}$ is the upper bound (dual side), $\texttt{BestBd}$ the lower bound (primal side).
Both are upper bounds: the incumbent of the root, the best bound of the open nodes.
$\texttt{BestBd}$ is the value of the relaxation of the current node, not a global bound.
Explanation. The incumbent is the best feasible solution; the best bound is the maximum of the bounds of the open nodes. The value of the current node is in the column $\texttt{Obj}$.
The Gurobi log of a <u>minimization</u> problem whose objective takes integer values on the feasible solutions reports $\texttt{Incumbent} = 812$ and $\texttt{BestBd} = 795.3$. What are the best bounds on the optimal value $z$?
$795 \le z \le 812$
$796 \le z \le 812$
$796 \le z \le 811$
$812$ is a lower bound and $796$ an upper bound.
Explanation. In minimization $\texttt{Incumbent}$ is the upper bound and $\texttt{BestBd}$ the lower bound; with integer values the lower bound is rounded up: $\lceil 795.3 \rceil = 796$. $795$ is valid but weaker, and $811$ is not guaranteed.
At the end of a Gurobi run on a MIP the log reports the message $\texttt{Optimal solution found (tolerance 1.00e-04)}$. What does it mean?
That the solution is optimal, with certainty.
That the whole tree has been explored.
That the incumbent is optimal up to a relative gap of $10^{-4}$.
That the solution violates the constraints by at most $10^{-4}$.
Explanation. The solver stops when the gap falls below $\texttt{MIPGap}$; with a larger tolerance it writes the same sentence for a solution that may not be optimal.
What does the Gurobi parameter $\texttt{IntFeasTol}$ (default $10^{-5}$) control?
The relative gap between incumbent and best bound at which the solver stops.
The maximum allowed violation of a linear constraint.
The tolerance on the reduced costs in the optimality test of the simplex.
How far a variable can be from an integer to be considered integer.
Explanation. The solver works in floating point: the gap is $\texttt{MIPGap}$, the constraint violation $\texttt{FeasibilityTol}$, the reduced costs $\texttt{OptimalityTol}$.
With $x_1, x_2, x_3 \in \{0,1\}$, the constraint $6x_1 + 6x_2 + 3x_3 \le 10$ has the same feasible binary points as which constraint with a stronger relaxation?
$6x_1 + 6x_2 + 3x_3 \le 9$
$7x_1 + 7x_2 + 3x_3 \le 10$
$6x_1 + 6x_2 + 4x_3 \le 10$
$x_1 + x_2 + x_3 \le 1$
Explanation. Only $x_1 = x_2 = 1$ violates both; the other points have left-hand sides at most $9$ and $10$. The relaxation decreases from $\frac{13}{6}$ to $2$.
In the choice of the branching variable of a MIP solver, strong branching evaluates the candidates by solving the relaxations of the children; pseudocosts estimate the same effect from past branchings. What is reliability branching?
Strong branching applied to all the fractional variables at every node of the tree.
The choice of the fractional variable with minimum index, the easiest to reproduce.
Maximum infeasibility, with ties broken at random to avoid cycles.
Strong branching on a variable while its pseudocosts are unreliable, then pseudocosts.
Explanation. Strong branching gives small trees but is expensive; pseudocosts are cheap but unreliable at the beginning.
A maximization problem with integer data stops with $\texttt{Incumbent} = 593$ and best bound $597$; $\texttt{MIPGap} = 0.01$ and Gurobi computes the gap as $|\text{bound} - \text{incumbent}| / |\text{incumbent}|$. What is the gap, and what can be said about the solution?
$\approx 0.67\%$: the solution is within $0.67\%$ of the optimum, but it is not certified optimal.
$\approx 0.67\%$: the solution is certified optimal, because the gap is below $\texttt{MIPGap}$.
$\approx 0.67\%$ computed on $597$, the best bound: the solver continues.
$4\%$, the absolute difference: the solver continues until a zero gap.
Explanation. $\frac{597 - 593}{593} \approx 0.67\% < 1\%$: the solver stops and writes the same sentence as for the optimum, but without exploring the remaining nodes it cannot know whether $593$ is optimal.
Presolve can change the optimal value, but it always improves it by removing redundant constraints.
Presolve keeps the optimal value, allows an original optimal solution to be recovered and can strengthen the relaxation.
Presolve only removes fixed variables, without touching constraints and coefficients.
Presolve is a primal heuristic that gives the first incumbent of the solver.
Explanation. The problem after presolve is equivalent; coefficient tightening, for example, shrinks the relaxation without changing the integer solutions.
In a maximization problem the best bound of the last node in the Gurobi log is $597.40703$ and the solver uses $597$ as upper bound. What justifies the rounding?
The integrality tolerance $\texttt{IntFeasTol}$, which rounds values close to an integer.
The presolve, which rescales the objective function to integer coefficients.
The skip rule of branch-and-bound, applied to the last node.
Integer variables and integer costs: the value of every solution is integer.
Explanation. With integer solution values an upper bound is rounded down.
In which order does a MIP solver (Gurobi, CPLEX, HiGHS, …) execute its main phases?
Branch-and-cut tree, then presolve on the open nodes, then cuts at the root.
Heuristics up to the optimal solution, then presolve to certify it.
Presolve, root node (LP, cuts, heuristics), branch-and-cut tree, stop when the gap is below the tolerance.
Root node without cuts, then presolve, then cuts only at the leaves.
Explanation. The core is branch-and-cut; presolve simplifies the model before the root, and the solver stops when the gap between the bounds falls below the tolerance or a limit is reached.
The same MIP instance, solved with Gurobi with two sets of parameters, needs $47$ and $223$ nodes. What can be concluded?
The second run is wrong, because the number of nodes is fixed by the model.
The first set of parameters is better on every instance.
The first run found a different optimal value.
Little: the nodes depend on version, computer, seed and parameters; one instance proves nothing.
Explanation. The number of nodes is not a property of the instance: it changes with the version of the solver, the machine, the seed and the parameters, while the optimal value stays the same.
On a MIP instance the model is solved with Gurobi several times, switching off one component each time (cuts, heuristics, presolve). What does the experiment show?
Which component changes the optimal value of the instance.
Which components make the solver exact instead of heuristic.
How much time and how many nodes each component saves on that instance.
That without a component the solver no longer certifies the optimum.
Explanation. With or without components the solver stays exact (within the tolerance) and the optimal value does not change; time and number of nodes change.
Problem $P41$ of the chapter on solvers ($\max\ 2x_1 + x_2 + 3x_3$, $x_1 + x_2 + x_3 \le 4$, $x_2 \le 2$, $x_3 \le 3$, $3x_1 + x_3 \le 6$, $x \in \Z^3_{\ge 0}$) is solved by Gurobi without exploring nodes beyond the root. What does that mean?
The problem is infeasible.
Gurobi used complete enumeration.
The LP relaxation is unbounded.
The root suffices to close the gap.
Explanation. With default parameters most of the work happens outside the tree.
The generic MIP $G_1$ of the chapter on solvers has $30$ variables $x_j \in \{0,1,2,3\}$, $10$ constraints, $a_{ij} \in \{1,\dots,20\}$ and $b_i = \sum_j a_{ij}$. Which point is certainly feasible?
$x_j = 3$ for every $j$.
$x_j = 2$ for every $j$.
No point with all variables positive.
$x_j = 1$ for every $j$.
Explanation. With $x_j = 1$ the left-hand side is $\sum_j a_{ij} = b_i$.
In the chapter on solvers the values of VarBranch are compared on $G_1$ and $G_2$ (presolve, cuts and heuristics off). What does the table of nodes show?
Strong branching always explores more nodes.
No strategy is best on all instances.
Maximum infeasibility is always the best.
All strategies explore the same number of nodes.
Explanation. On $G_1$ maximum infeasibility explores $223$ nodes, on $G_2$ it explores $527$, fewer than automatic ($566$).
With presolve, cuts and heuristics off, on $G_1$ VarBranch $=-1$ (automatic) and VarBranch $=0$ (pseudo reduced cost) both explore $119$ nodes. What does this suggest?
That VarBranch has no effect on any instance.
That strong branching is switched off by Gurobi.
That the tree is complete.
That here automatic uses pseudo reduced costs.
Explanation. With other settings (e.g. VarBranch $=1$ or $2$) the number of nodes changes.
In the generic MIP $G_1$ ($x_j \in \{0,1,2,3\}$, $a_{ij} \ge 1$, $b_i = \sum_j a_{ij}$), to prove that the point with all $x_j = 1$ is feasible, what is needed?
That the costs $c_j$ are positive.
That the LP relaxation has an integer optimum.
That presolve is active.
Only the definition $b_i = \sum_j a_{ij}$.
Explanation. $\sum_j a_{ij} \cdot 1 = b_i$ for every $i$, and $1 \in \{0,1,2,3\}$.
What kind of bound on the optimal value does a heuristic (even ILP-based) give?
A dual bound: an upper bound in maximization.
A primal bound: a lower bound in maximization.
Both, if the heuristic uses the LP relaxation.
No bound, because the solution may not be optimal.
Explanation. The heuristic returns a feasible solution; its quality is measured only with a dual bound, for example the one of the solver's branch-and-bound.
Let $\mathcal{L} = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet l \le \vet x \le \vet u\}$ be the region of the LP relaxation of a MIP, and let $\lfloor \tilde{\vet x} \rfloor$ be the point obtained from $\tilde{\vet x}$ by rounding the integer variables down. All coefficients of $\mat A$ are nonnegative, $\vet b \ge \vet 0$ and $\vet l = \vet 0$. What can be guaranteed for $\tilde{\vet x} \in \mathcal{L}$?
That $\lfloor \tilde{\vet x} \rfloor$ belongs to $\mathcal{L}$.
That rounding to the nearest integer belongs to $\mathcal{L}$.
That $\lfloor \tilde{\vet x} \rfloor$ is an optimal solution of the MIP.
That rounding up belongs to $\mathcal{L}$.
Explanation. Rounding down does not increase any left-hand side with nonnegative coefficients, and stays $\ge \vet 0$; in the car production example ($\max\ 3x_1 + 2x_2$) the point obtained is not optimal ($13$ instead of $14$).
A diving heuristic solves the LP relaxation, fixes (or restricts) a fractional variable and repeats. What is the relation between diving and branch-and-bound?
Diving is a complete branch-and-bound with the best bound strategy.
Diving explores the whole tree, visiting it breadth-first.
Diving fixes the variables without solving any LP problem.
Diving follows a single path from the root, without backtracking.
Explanation. Fixing $x_j$ to the rounded value is a branching decision: diving is a depth-first visit without backtracking, and every step re-optimizes the LP problem with the dual simplex.
In the feasibility pump, $\Delta(\vet x, \bar{\vet x}) = \sum_j |x_j - \bar x_j|$ is the distance between a point $\vet x \in [0,1]^n$ of the relaxation and a binary point $\bar{\vet x}$. How is it written in linear form in $\vet x$?
Explanation. For $x_j \in [0,1]$, $|x_j - \bar x_j|$ equals $x_j$ if $\bar x_j = 0$ and $1 - x_j$ if $\bar x_j = 1$: the distance is linear in $\vet x$.
The RINS heuristic uses the incumbent $\bar{\vet x}$ and the solution $\tilde{\vet x}$ of the LP relaxation of a node, and solves a sub-MIP with some variables fixed. Which variables does it fix?
All the integer variables, at the values of the solution $\tilde{\vet x}$ rounded.
The integer variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ agree, at the common value.
A number $k$ of integer variables chosen at random, at the values of $\bar{\vet x}$.
The integer variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ differ, at the values of $\bar{\vet x}$.
Explanation. Where the two «advisers» agree the value is probably right; the sub-MIP decides the rest. It is hard fixing.
Local branching around a binary point $\bar{\vet x}$ adds the constraint $\Delta(\vet x, \bar{\vet x}) \le k$, where $\Delta$ counts the binary variables in which $\vet x$ differs from $\bar{\vet x}$. With $k = 1$, which binary points does the neighbourhood contain?
Only $\bar{\vet x}$.
All the binary points.
$\bar{\vet x}$ and the points obtained by changing the value of a single variable.
The points that differ from $\bar{\vet x}$ in exactly two variables.
Explanation. The constraint counts the variables that change: with $k = 1$ at most one can change, so the neighbourhood has $1 + n$ binary points ($n$ binary variables).
In relax-and-fix the integer variables of a MIP are split into blocks $B_1, \dots, B_p$ and at step $r = 1, \dots, p$ a MIP is solved. At step $r$, how are the variables of the blocks treated?
All integer, but with only the constraints that contain $B_r$.
$B_r$ continuous, $B_1, \dots, B_{r-1}$ fixed, the others integer.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) fractional diving is applied: the fractional variable closest to an integer is fixed to the nearest integer (ties by minimum index, $\frac{1}{2}$ rounded up) and the relaxation is solved again, starting from its optimum $(\frac{7}{2}, \frac{5}{2})$. What does it return?
$(4,1)$, of value $14$
$(3,2)$, of value $13$
$(4,3)$, of value $18$
It fails: the LP problem becomes infeasible
Explanation. Tie at distance $\frac{1}{2}$: $x_1 = 4$ is fixed; the new optimum is $(4, \frac{5}{4})$, $x_2 = 1$ is fixed and the solution $(4,1)$ is integer, and it is the optimum of the problem.
In proximity search for a MIP $\min f(\vet x)$ with incumbent $\bar{\vet x}$, the proximity sub-MIP minimizes the distance $\Delta(\vet x, \bar{\vet x})$ over the feasible solutions with the constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$, where $\theta > 0$. Which statement is correct?
If the proximity sub-MIP is infeasible for any $\theta > 0$, even with non-integer $f$, the incumbent is optimal.
If $f$ is integer on all the feasible solutions and the sub-MIP with $\theta = 1$ is infeasible, $\bar{\vet x}$ is optimal.
If the local branching sub-MIP with $k = 1$ around $\bar{\vet x}$ is infeasible, the incumbent is optimal.
If RINS, with the variables on which LP and incumbent agree fixed, finds no better solution, the incumbent is optimal.
Explanation. With $\theta = 1$ and integer values the constraint $f(\vet x) \le f(\bar{\vet x}) - 1$ excludes exactly the solutions not better than $\bar{\vet x}$: if nothing is left, $\bar{\vet x}$ is optimal.
Which statement about ILP-based heuristics (diving, feasibility pump, RINS, local branching) is correct?
A heuristic gives a dual bound on the optimal value of the problem.
The feasibility pump always returns an optimal solution.
Inside a solver its solution has a known gap, and a zero gap certifies optimality.
Diving always finds a feasible solution, if one exists.
Explanation. Inside a solver the dual bound of branch-and-bound is available. The feasibility pump only looks for feasibility, and diving can fail, because it fixes variables without backtracking.
Let $\mathcal{L} = \{\vet x \in \R^n : \mat A\,\vet x \le \vet b,\ \vet l \le \vet x \le \vet u\}$ be the region of the LP relaxation of a MIP, and let $\lfloor \tilde{\vet x} \rfloor$ be the point obtained from $\tilde{\vet x}$ by rounding the integer variables down. To prove that, if $\tilde{\vet x} \in \mathcal{L}$, also $\lfloor \tilde{\vet x} \rfloor \in \mathcal{L}$, what is needed?
$\vet b \le \vet 0$ and $\vet l = \vet 0$.
That $\tilde{\vet x}$ is an optimal vertex of the relaxation.
That $\vet b$ and $\vet u$ are integer.
$a_{ij} \ge 0$, so that no left-hand side increases, and $\vet l = \vet 0$.
In proximity search for a MIP $\min f(\vet x)$ with incumbent $\bar{\vet x}$, the proximity sub-MIP minimizes the distance $\Delta(\vet x, \bar{\vet x})$ over the feasible solutions with the constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$, where $\theta > 0$. To prove that, if $f$ is integer on all the feasible solutions and the sub-MIP with $\theta = 1$ is infeasible, $\bar{\vet x}$ is optimal, what is needed?
For the problem $P7$ ($\max\ 3x_1 + x_2$, $x_1 + 4x_2 \le 12$, $2x_1 + x_2 \le 5$, $x_1, x_2 \in \Z_{\ge 0}$) the LP relaxation has the optimum $(\frac{5}{2}, 0)$ of value $\frac{15}{2}$. Which statement is correct?
Rounding down gives $(2,0)$, of value $6$, which is optimal.
$(3,0)$, of value $9$, is the optimal solution.
The optimal value is $\frac{15}{2}$, that of the relaxation.
$\lfloor \frac{15}{2} \rfloor = 7$ and $(2,1)$, of value $7$, is feasible: it is optimal.
Explanation. $(2,1)$: $2 + 4 = 6 \le 12$ and $4 + 1 = 5 \le 5$. The bound $7$ is attained, so $(2,1)$ is certified optimal. $(3,0)$ violates $2x_1 + x_2 \le 5$.
In the chapter a MIP has $N$ variables and $\mathscr{D} \subseteq \{1, \dots, N\}$ is the set of the indices of the integer variables. The examples (car production, $P7$, $P42$, $P46$, $P72$) are ILP problems in canonical maximization form with integer data. What holds for them?
$\mathscr{D} = \emptyset$, because the heuristics work on the relaxation.
$\mathscr{D} = \{1, \dots, N\}$, and the upper bound is $\lfloor z(\LP) \rfloor$.
$\mathscr{D} = \{1, \dots, N\}$, but the bound is $z(\LP)$ without rounding.
$\mathscr{D}$ is the set of the fractional variables in the LP optimum.
Explanation. All the variables are integer and the objective has integer costs, so it takes integer values on the feasible solutions and the bound is rounded down.
The feasibility pump on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) rounds the LP optimum $(\frac{7}{2}, \frac{5}{2})$ to $(4,3)$, which is infeasible, and after two flips returns $(3,2)$, of value $13$, while the optimal value is $14$. Why is the solution not optimal?
Because the flips are random and the pump must be repeated with another seed.
Because the $L_1$ distance is not linear on general integer variables.
Because the pump always returns the LP optimum rounded down.
After the first LP the pump ignores the objective: it looks for feasibility only.
Explanation. The projections minimize the distance $\Delta$ from the last integer point, not the objective: the pump finds a first feasible solution, quality is the job of the improvement methods.
Relax-and-fix solves a sequence of MIPs: at step $r$ the variables of block $B_r$ are integer, those of the previous blocks fixed, the later ones relaxed. On $P46$ ($\max\ 5x_1 + 6x_2 + 10x_3$, three constraints, optimum $(0,1,1)$ of value $16$) with blocks $\{x_1\}, \{x_2\}, \{x_3\}$ it gives $(0,2,0)$ of value $12$; with $\{x_1\}, \{x_2, x_3\}$ it gives the optimum. Why?
Because larger blocks relax more variables, and the relaxation is stronger.
With $x_3$ relaxed, $x_2 = 2$ looks convenient; the block $\{x_2, x_3\}$ sees the interaction.
Because with one-variable blocks relax-and-fix finds no feasible solution.
Because relax-and-fix solves only the LP relaxation of each block.
Explanation. The relaxed blocks are optimistic (myopia): once $x_2 = 2$ is fixed, the second constraint leaves room only for $x_3 \le \frac{2}{3}$, that is $x_3 = 0$.
A solution of a MIP computed outside the solver by a heuristic is passed to Gurobi as a MIP start (attribute $\texttt{Start}$ of the variables). What does the solver do with it?
It uses it as initial simplex basis at the root node, and then discards it.
It fixes the variables to those values and optimizes only the continuous variables.
It uses it as initial incumbent, for pruning and for RINS, and never returns anything worse.
It uses it only if it is optimal; otherwise it ignores it.
Explanation. The MIP start gives a primal bound at once: nodes whose bound is not better are pruned, and RINS works around it.
Before the root LP, at the root after the LP (rounding, diving, pump), and at some nodes (RINS).
Only at the end of branch-and-bound, to improve the last solution found.
Only before presolve, because afterwards the model changes.
At every node of the tree, all of them, with the same frequency.
Explanation. Heuristics without a relaxation look for a first solution, LP-based ones work at the root, and sub-MIP heuristics use the LP solution of some nodes; the solutions found appear in the log with $\texttt{H}$.
On $P7$ and $P42$ (maximization ILP problems with integer data) the rounded value $\lfloor z(\LP) \rfloor$ of the relaxation already equals the optimal value. What is then the difficulty for a MIP heuristic?
Proving the bound, which requires exploring the whole tree.
None: the rounded LP optimum is always feasible and optimal.
Finding a solution that attains the bound: then the gap is $0$ and the optimum is certified.
The bound is not valid, so the heuristic cannot certify anything.
Explanation. The dual bound is already tight: a solution of value $\lfloor z(\LP) \rfloor$ is enough for a zero gap.
In the Python codes of the chapter, $\texttt{evaluate(m, x\_int)}$ fixes the integer variables of the model $\texttt{m}$ to the values of $\texttt{x\_int}$ and optimizes the continuous ones. When does it return $\texttt{None}$?
When $\texttt{x\_int}$ has fractional components, which cannot be fixed.
When the point cannot be completed: the LP with the integers fixed is infeasible.
When the value obtained is worse than that of the incumbent solution.
When the LP relaxation of the original model is unbounded or infeasible.
Explanation. With the integers fixed an LP in the continuous variables remains: if it has no solution, the integer point cannot be completed and the function returns $\texttt{None}$.
In the codes of the chapter, $\texttt{distance}$ builds in linear form $\Delta(\vet x, \tilde{\vet x}) = \sum_{j \in \mathscr{D}} |x_j - \tilde x_j|$. If $\tilde x_j$ is at its lower bound $l_j$ it uses $x_j - l_j$, if at its upper bound $u_j$ it uses $u_j - x_j$. And otherwise?
The quadratic term $(x_j - \tilde x_j)^2$, which the solver handles.
The term $x_j - \tilde x_j$, ignoring the sign.
No term: the variable does not enter the distance.
An auxiliary variable $d_j$ with $d_j \ge x_j - \tilde x_j$ and $d_j \ge \tilde x_j - x_j$.
Explanation. At the minimum of the distance $d_j = |x_j - \tilde x_j|$; so $\Delta$ stays linear also for general integer variables.
A MIP has the constraint $x_1 + x_2 + x_3 = 2$ with $x_j \in \Z_{\ge 0}$, and the relaxation has the solution $(\frac{2}{3}, \frac{2}{3}, \frac{2}{3})$. What does rounding to the nearest integer give?
$(1,1,0)$, feasible, because the rounding respects the constraint.
$(1,1,1)$, infeasible: independent roundings rarely satisfy an equality.
$(0,0,0)$, feasible, because $\frac{2}{3}$ is rounded down.
$(1,1,1)$, feasible, because the constraint is read as $\le$.
Explanation. Every component becomes $1$ and the sum is $3 \neq 2$. With equality constraints rounding fails, and a dive that fixes the variables one at a time is needed.
A sub-MIP heuristic (RINS, local branching) for a MIP $\min f(\vet x)$ with incumbent $\bar{\vet x}$ solves a sub-MIP in a neighbourhood of $\bar{\vet x}$. What is the cutoff constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$, with $\theta > 0$, for?
It makes the sub-MIP smaller, fixing the variables on which LP and incumbent agree.
It guarantees that the sub-MIP always has a solution better than $\bar{\vet x}$.
Without it, the sub-MIP can return $\bar{\vet x}$; with it, an infeasible sub-MIP proves a local optimum.
It makes the distance $\Delta(\vet x, \bar{\vet x})$ from the incumbent linear.
Explanation. The cutoff excludes the solutions that are not better by at least $\theta$: if the sub-MIP is infeasible, the neighbourhood contains nothing better.
A MIP heuristic run inside the solver on the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$) finds $(3,2)$, of value $13$, while the dual bound is $\lfloor z(\LP) \rfloor = 15$. What is the relative gap $(\UB - \LB)/\LB$?
$\frac{2}{13} \approx 15.4\%$
$\frac{2}{15} \approx 13.3\%$
$\frac{1}{14} \approx 7.1\%$
It cannot be computed: a heuristic gives no dual bounds.
Explanation. $\frac{15 - 13}{13} = \frac{2}{13}$. Inside a solver the dual bound is available, so the gap of the heuristic solution is always known.
Consider a MIP $\min\{f(\vet x) : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u,\ x_j \in \Z\ \forall j \in D\}$ with linear $f$ and $D$ the set of integer variables. What is the region $\mathcal{L}$ of its LP relaxation?
$\mathcal{L} = \{\vet x \in \R^N : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u\}$.
$\mathcal{L} = \{\vet x \in \Z^N : A\,\vet x \le b\}$.
$\mathcal{L} = \{\vet x \in \R^N : A\,\vet x \le b\}$, without the bounds on the variables.
The set of feasible solutions of the MIP.
Explanation. Only the integrality constraints are dropped; the bounds $\vet l \le \vet x \le \vet u$ stay.
Consider a MIP $\min\{f(\vet x) : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u,\ x_j \in \Z\ \forall j \in D\}$ with linear $f$ and $D$ the set of integer variables. In the chapter on MIP heuristics, what are the rounding of a real value $v$ to the nearest integer and the completion of a point?
The floor and the sum of the continuous variables.
$\lfloor v + \frac12 \rfloor$, and an LP on the continuous ones.
The nearest integer and the removal of the continuous variables.
The ceiling and the computation of the gap.
Explanation. Completion fixes the integer variables and optimizes the continuous ones on the remaining LP.
Problem $P7$ of the chapter on MIP heuristics is $\max\ 3x_1 + x_2$, $x_1 + 4x_2 \le 12$, $2x_1 + x_2 \le 5$, $x \in \Z^2_{\ge 0}$. Which integer solution has value $7$?
$(1,2)$.
$(2,1)$.
$(2,0)$.
$(3,0)$.
Explanation. $(2,1)$: $6 \le 12$, $5 \le 5$, value $7$. $(3,0)$ violates $2x_1 + x_2 \le 5$; $(1,2)$ is worth $5$; $(2,0)$ is worth $6$.
The examples of the chapter on MIP heuristics (car production, $P7$, $P42$, $P46$, $P72$) are maximization problems, while the definitions use $\min f(\vet x)$. How are they reconciled?
The heuristics hold only for minimization problems.
The direction of all constraints is reversed.
Every variable $x_j$ is replaced by $-x_j$.
A maximum of $\vet c\T \vet x$ is a minimum of $f(\vet x) = -\vet c\T \vet x$.
In the car production example ($\max\ 3x_1 + 2x_2$, $10x_1 + 4x_2 \le 45$, $4x_1 + 14x_2 \le 49$), the relaxation has optimum $(\frac72, \frac52)$. What does the nearest-integer rounding heuristic return?
Failure: $(4,3)$ violates $10x_1 + 4x_2 \le 45$.
The feasible solution $(4,3)$ of value $18$.
The solution $(3,2)$ of value $13$.
The optimal solution $(4,1)$.
Explanation. $\frac72$ and $\frac52$ round up to $4$ and $3$; the point is infeasible and rounding fails.
In a maximization problem $\max\{\vet c\T\vet x : A\vet x \le b,\ \vet x \in \Z^n_{\ge 0}\}$, rounding down $\lfloor \tilde{\vet x} \rfloor$ an LP solution is always feasible if:
all costs $c_j$ are positive.
the relaxation has a unique optimal solution.
the right-hand side $b$ is even.
all coefficients $a_{ij}$ are nonnegative.
Explanation. Lowering the variables increases no left-hand side when $a_{ij} \ge 0$, and keeps $x \ge 0$.
In the feasibility pump, when the distance $\Delta(\vet x^*, \tilde{\vet x})$ between the LP point $\vet x^*$ and the integer point $\tilde{\vet x}$ becomes $0$, what can be concluded?
$\vet x^*$ is the optimal solution of the MIP.
$\vet x^*$ is feasible for the MIP.
The MIP is infeasible.
The integer point must be perturbed.
Explanation. Zero distance means the LP point coincides with an integer point on the integer variables.
Consider a MIP $\min\{f(\vet x) : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u,\ x_j \in \Z\ \forall j \in D\}$ with linear $f$ and $D$ the set of integer variables. With incumbent $\bar{\vet x} = (1, 0, 2, 3)$ and LP solution $\tilde{\vet x} = (1, \frac12, 2, \frac52)$, which variables does RINS fix?
$x_2$ and $x_4$.
Only $x_1 = 1$.
All, at the incumbent values.
$x_1 = 1$ and $x_3 = 2$.
Explanation. RINS fixes the integer variables on which incumbent and LP solution agree.
Consider a MIP $\min\{f(\vet x) : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u,\ x_j \in \Z\ \forall j \in D\}$ with linear $f$ and $D$ the set of integer variables. In the RINS sub-MIP with incumbent $\bar{\vet x}$ and step $\theta > 0$, what does the cutoff constraint impose?
$f(\vet x) \ge f(\bar{\vet x}) + \theta$.
$\Delta(\vet x, \bar{\vet x}) \le \theta$.
$f(\vet x) \le f(\bar{\vet x}) - \theta$.
$f(\vet x) = f(\bar{\vet x})$.
Explanation. In a minimization problem, improving means lowering $f$ by at least $\theta$.
In the car production example, rounding down gives $(3,2)$ with $\LB = 13$ and the relaxation gives $\UB = \lfloor z(\LP) \rfloor = 15$. What is the gap $(\UB - \LB)/|\LB|$?
In the Python implementations of the chapter on MIP heuristics, which module collects LP relaxation, rounding, completion, distance and cutoff constraint?
models.py.
gurobipy.
rins.py.
common.py.
Explanation. common.py contains the solver environment and the shared operations; models.py the model of the examples.
To guarantee that the RINS sub-MIP (agreeing variables fixed, cutoff $f(\vet x) \le f(\bar{\vet x}) - \theta$) returns, if feasible, a solution better than the incumbent, what is needed?
The cutoff constraint with $\theta > 0$.
That the LP solution is integer.
That all variables are binary.
That the sub-MIP has more free variables than fixed ones.
Explanation. Without cutoff the sub-MIP could return the incumbent itself or a worse solution.
In the chapter on MIP heuristics, for binary variables and a binary point $\bar{\vet x}$, which statement about the distance $\Delta(\vet x, \bar{\vet x}) = \sum_{j: \bar x_j = 1}(1 - x_j) + \sum_{j: \bar x_j = 0} x_j$ is correct?
It is quadratic in $\vet x$, so it cannot be used in a linear constraint.
It counts the components equal to $\bar{\vet x}$.
It is linear in $\vet x$ and, on binary points, counts the components that differ from $\bar{\vet x}$.
It is always $0$ on the points of the relaxation.
Explanation. For binary variables the Hamming distance is written linearly thanks to the fixed $\bar{\vet x}$.
How many points does the feasible region $F$ of an ILP problem with the constraints $5\,x_1 + 3\,x_2 \le 15$, $4\,x_1 + 2\,x_2 \le 8$ and $x_1, x_2 \in \Z_{\ge 0}$ have?
$10$
$15$
$9$
$8$
Explanation. $F = P \cap \Z^2$: we count the non-negative integer points satisfying both constraints, including the origin and the points on the axes; there are $9$. The box of the bounds $0 \le x_1 \le 2$, $0 \le x_2 \le 4$ contains more points.
How many points does the feasible region $F$ of an ILP problem with the constraints $3\,x_1 + 4\,x_2 \le 10$, $2\,x_1 + 2\,x_2 \le 15$ and $x_1, x_2 \in \Z_{\ge 0}$ have?
$8$
$12$
$7$
$9$
Explanation. $F = P \cap \Z^2$: we count the non-negative integer points satisfying both constraints, including the origin and the points on the axes; there are $8$. The box of the bounds $0 \le x_1 \le 3$, $0 \le x_2 \le 2$ contains more points.
Consider the ILP problem $\max\ 2\,x_1 + 3\,x_2$ subject to $5\,x_1 + 4\,x_2 \le 23$, $5\,x_1 + 2\,x_2 \le 19$, $x_1, x_2 \in \Z_{\ge 0}$ and let $z(\ILP)$ be its optimal value. What is $z(\ILP)$, and how many optimal solutions are there?
$z(\ILP) = 17$, with $1$ optimal solution
$z(\ILP) = 15$, with $1$ optimal solution
$z(\ILP) = 15$, with $3$ optimal solutions
$z(\ILP) = 15$, with $2$ optimal solutions
Explanation. Enumerating the $18$ feasible integer points, the maximum value is $15$, attained at $(0,5)$. The LP relaxation has value $\frac{69}{4}$: its integer part $17$ is only an upper bound.
Consider the ILP problem $\max\ 3\,x_1 + x_2$ subject to $7\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 3\,x_2 \le 18$, $x_1, x_2 \in \Z_{\ge 0}$ and let $z(\ILP)$ be its optimal value. What is $z(\ILP)$, and how many optimal solutions are there?
$z(\ILP) = 8$, with $1$ optimal solution
$z(\ILP) = 7$, with $2$ optimal solutions
$z(\ILP) = 6$, with $1$ optimal solution
$z(\ILP) = 7$, with $1$ optimal solution
Explanation. Enumerating the $12$ feasible integer points, the maximum value is $7$, attained at $(2,1)$. The LP relaxation has value $\frac{60}{7}$: its integer part $8$ is only an upper bound.
The ILP problem $\min\ 4\,x_1 + 5\,x_2$ subject to $5\,x_1 + 6\,x_2 \ge 5$, $5\,x_1 + 4\,x_2 \le 29$, $x_1, x_2 \in \Z_{\ge 0}$ must be written in canonical maximization form (objective to maximize, only $\le$ constraints, $\vet x \in \Z^2_{\ge 0}$). Which writing is correct?
Explanation. $\min f = -\max(-f)$: change the sign of the costs. The $\ge$ constraint is multiplied by $-1$ on both sides, so it becomes $\le$; the $\le$ constraint stays as it is.
The ILP problem $\min\ 3\,x_1 + 6\,x_2$ subject to $2\,x_1 + x_2 \ge 10$, $6\,x_1 + 5\,x_2 \le 30$, $x_1, x_2 \in \Z_{\ge 0}$ must be written in canonical maximization form (objective to maximize, only $\le$ constraints, $\vet x \in \Z^2_{\ge 0}$). Which writing is correct?
Explanation. $\min f = -\max(-f)$: change the sign of the costs. The $\ge$ constraint is multiplied by $-1$ on both sides, so it becomes $\le$; the $\le$ constraint stays as it is.
Consider the ILP problem $\max\ 8\,x_1 + 8\,x_2 + 10\,x_3$ subject to $7\,x_1 + 2\,x_2 + 6\,x_3 \le 9$, $x_1 \le 2$, $x_2 \le 2$, $x_3 \le 3$, $\vet x \in \Z^3_{\ge 0}$. What are the (unique) optimal solution and the optimal value?
$\tilde{\vet x} = (0, 4, 0)$, $z = 32$
$\tilde{\vet x} = (0, 2, 0)$, $z = 16$
$\tilde{\vet x} = (0, 1, 1)$, $z = 18$
$\tilde{\vet x} = (1, 1, 0)$, $z = 16$
Explanation. The feasible region is finite: enumerating the points with $x_j \le u_j$ and $7\,x_1 + 2\,x_2 + 6\,x_3 \le 9$ the maximum is $18$ at $(0, 1, 1)$. The greedy by ratio $c_j/a_j$ gives $(0, 2, 0)$ of value $16$; $(0, 4, 0)$ violates an upper bound.
Consider the ILP problem $\max\ 3\,x_1 + 6\,x_2 + 4\,x_3$ subject to $7\,x_1 + 6\,x_2 + 2\,x_3 \le 16$, $x_1 \le 2$, $x_2 \le 3$, $x_3 \le 3$, $\vet x \in \Z^3_{\ge 0}$. What are the (unique) optimal solution and the optimal value?
$\tilde{\vet x} = (0, 2, 1)$, $z = 16$
$\tilde{\vet x} = (0, 0, 8)$, $z = 32$
$\tilde{\vet x} = (0, 2, 2)$, $z = 20$
$\tilde{\vet x} = (0, 1, 3)$, $z = 18$
Explanation. The feasible region is finite: enumerating the points with $x_j \le u_j$ and $7\,x_1 + 6\,x_2 + 2\,x_3 \le 16$ the maximum is $20$ at $(0, 2, 2)$. The greedy by ratio $c_j/a_j$ gives $(0, 1, 3)$ of value $18$; $(0, 0, 8)$ violates an upper bound.
In the ILP problem $\max\ 3\,x_1 + 5\,x_2$ subject to $9\,x_1 + 6\,x_2 \le 42$, $6\,x_1 + 12\,x_2 \le 35$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $\tilde{\vet x}(\LP) = (\frac{49}{12}, \frac{7}{8})$ of value $z(\LP) = \frac{133}{8}$. Rounding down gives the feasible solution $(4, 0)$. What is the tightest interval for the optimal value $z(\ILP)$ of the ILP problem certified by these data?
$12 \le z(\ILP) \le 16$
$12 \le z(\ILP) \le 17$
$12 \le z(\ILP) \le \frac{133}{8}$
$z(\ILP) = 12$
Explanation. The rounded solution gives the lower bound $12$; variables and costs are integer, so $z(\ILP) \le \lfloor z(\LP) \rfloor = 16$. Rounding up is not valid, and the rounded solution is not certified optimal.
In the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $\tilde{\vet x}(\LP) = (\frac{1}{5}, 8)$ of value $z(\LP) = \frac{206}{5}$. Rounding down gives the feasible solution $(0, 8)$. What is the tightest interval for the optimal value $z(\ILP)$ of the ILP problem certified by these data?
$40 \le z(\ILP) \le \frac{206}{5}$
$40 \le z(\ILP) \le 41$
$z(\ILP) = 40$
$40 \le z(\ILP) \le 42$
Explanation. The rounded solution gives the lower bound $40$; variables and costs are integer, so $z(\ILP) \le \lfloor z(\LP) \rfloor = 41$. Rounding up is not valid, and the rounded solution is not certified optimal.
In a maximization ILP problem with integer variables and costs we know a feasible solution of value $\LB = 39$ (lower bound) and the optimal value of the LP relaxation $z(\LP) = \frac{229}{5}$. What is the optimality gap $\frac{\UB - \LB}{|\LB|}$, where $\UB$ is the best upper bound given by these data?
$\frac{7}{39}$
$\frac{34}{195}$
$\frac{2}{15}$
$\frac{2}{13}$
Explanation. With integer variables and costs $\UB = \lfloor z(\LP) \rfloor = 45$, so the gap is $\frac{45 - 39}{39}$: the denominator is $|\LB|$, not the upper bound.
In a maximization ILP problem with integer variables and costs we know a feasible solution of value $\LB = 29$ (lower bound) and the optimal value of the LP relaxation $z(\LP) = \frac{212}{7}$. What is the optimality gap $\frac{\UB - \LB}{|\LB|}$, where $\UB$ is the best upper bound given by these data?
$\frac{1}{29}$
$\frac{2}{29}$
$\frac{1}{30}$
$\frac{9}{203}$
Explanation. With integer variables and costs $\UB = \lfloor z(\LP) \rfloor = 30$, so the gap is $\frac{30 - 29}{29}$: the denominator is $|\LB|$, not the upper bound.
An ILP problem with $x_1, x_2 \in \Z_{\ge 0}$ has the constraints $9\,x_1 + 3\,x_2 \le 39$, $4\,x_1 + 2\,x_2 \le 21$, $4\,x_1 - x_2 \le 10$. Considering one constraint at a time, we look for bounds of the form $x_1 \le \lfloor b_i / a_{ij} \rfloor$. What is the best valid upper bound on $x_1$ obtained in this way?
$x_1 \le \frac{13}{3}$
$x_1 \le 2$
$x_1 \le 4$
$x_1 \le 5$
Explanation. Only the constraints with all coefficients non-negative are used: $\min\{\lfloor \frac{13}{3} \rfloor, \lfloor \frac{21}{4} \rfloor\} = 4$. The third constraint has a negative coefficient and gives no bound; the bound is rounded down and the smallest one is kept.
An ILP problem with $x_1, x_2 \in \Z_{\ge 0}$ has the constraints $5\,x_1 + 8\,x_2 \le 51$, $4\,x_1 + 2\,x_2 \le 45$, $-2\,x_1 + 8\,x_2 \le 19$. Considering one constraint at a time, we look for bounds of the form $x_2 \le \lfloor b_i / a_{ij} \rfloor$. What is the best valid upper bound on $x_2$ obtained in this way?
$x_2 \le 6$
$x_2 \le 2$
$x_2 \le \frac{51}{8}$
$x_2 \le 22$
Explanation. Only the constraints with all coefficients non-negative are used: $\min\{\lfloor \frac{51}{8} \rfloor, \lfloor \frac{45}{2} \rfloor\} = 6$. The third constraint has a negative coefficient and gives no bound; the bound is rounded down and the smallest one is kept.
In the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ the two constraints are multiplied by $\pi_1$ and $\pi_2$ and summed, to obtain an upper bound $\UB = 20\pi_1 + 26\pi_2$ on the optimal value $z(\ILP)$. Which choice gives a valid upper bound, and what is its value?
Explanation. We need $\pi_1, \pi_2 \ge 0$ with $9\pi_1 + 4\pi_2 \ge 3$ and $4\pi_1 + 8\pi_2 \ge 4$; then $z(\ILP) \le 20\pi_1 + 26\pi_2$. The other vectors have a negative multiplier or a combined coefficient smaller than the cost.
In the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ the two constraints are multiplied by $\pi_1$ and $\pi_2$ and summed, to obtain an upper bound $\UB = 50\pi_1 + 49\pi_2$ on the optimal value $z(\ILP)$. Which choice gives a valid upper bound, and what is its value?
Explanation. We need $\pi_1, \pi_2 \ge 0$ with $10\pi_1 + 5\pi_2 \ge 6$ and $6\pi_1 + 6\pi_2 \ge 5$; then $z(\ILP) \le 50\pi_1 + 49\pi_2$. The other vectors have a negative multiplier or a combined coefficient smaller than the cost.
In the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $12\,x_1 + 6\,x_2 \le 45$, $2\,x_1 + 10\,x_2 \le 33$, $x_1, x_2 \in \Z_{\ge 0}$ the two-step heuristic sets first $x_1$ to its maximum value and then $x_2$ to its maximum value with the residual right-hand sides (largest integer values allowed by the constraints). Which solution is obtained, and what is its value $\LB$ (lower bound)?
$\bar{\vet x} = (3, 3)$, $\LB = 33$
$\bar{\vet x} = (3, 0)$, $\LB = 18$
$\bar{\vet x} = (1, 3)$, $\LB = 21$
$\bar{\vet x} = (3, 1)$, $\LB = 23$
Explanation. $x_1 = \min\{\lfloor 45/12 \rfloor, \lfloor 33/2 \rfloor\} = 3$; with the residuals $9$ and $27$ we get $x_2 = 1$. Using the original right-hand sides in the second step can give an infeasible point.
In the ILP problem $\max\ 5\,x_1 + 3\,x_2$ subject to $10\,x_1 + 4\,x_2 \le 27$, $2\,x_1 + 6\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ the two-step heuristic sets first $x_1$ to its maximum value and then $x_2$ to its maximum value with the residual right-hand sides (largest integer values allowed by the constraints). Which solution is obtained, and what is its value $\LB$ (lower bound)?
$\bar{\vet x} = (1, 4)$, $\LB = 17$
$\bar{\vet x} = (2, 1)$, $\LB = 13$
$\bar{\vet x} = (2, 4)$, $\LB = 22$
$\bar{\vet x} = (2, 0)$, $\LB = 10$
Explanation. $x_1 = \min\{\lfloor 27/10 \rfloor, \lfloor 26/2 \rfloor\} = 2$; with the residuals $7$ and $22$ we get $x_2 = 1$. Using the original right-hand sides in the second step can give an infeasible point.
In the ILP problem $\max\ 2\,x_1 - 3\,x_2$ subject to $4\,x_1 + 3\,x_2 \le 30$, $5\,x_1 + 5\,x_2 \le 32$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimum $(\frac{32}{5}, 0)$ of value $z(\LP) = \frac{64}{5}$. The upper bounds on the variables derived from the constraints, $x_j \le \min_i \lfloor b_i / a_{ij} \rfloor$, are added. What are the optimal value $z(\LP')$ of the new relaxation and the upper bound $\lfloor z(\LP') \rfloor$ on $z(\ILP)$?
$z(\LP') = 12$, bound $13$
$z(\LP') = \frac{64}{5}$, bound $12$
$z(\LP') = 12$, bound $12$
$z(\LP') = 12$, bound $11$
Explanation. The coefficients of the constraints are positive, so $x_1 \le 6$ and $x_2 \le 6$. The optimum $(\frac{32}{5}, 0)$ violates at least one of them: the new optimum is $(6, 0)$, of value $12$, and with integer data the bound is $\lfloor 12 \rfloor = 12$.
In the ILP problem $\max\ 5\,x_1 - 2\,x_2$ subject to $12\,x_1 + 7\,x_2 \le 23$, $6\,x_1 + 11\,x_2 \le 38$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimum $(\frac{23}{12}, 0)$ of value $z(\LP) = \frac{115}{12}$. The upper bounds on the variables derived from the constraints, $x_j \le \min_i \lfloor b_i / a_{ij} \rfloor$, are added. What are the optimal value $z(\LP')$ of the new relaxation and the upper bound $\lfloor z(\LP') \rfloor$ on $z(\ILP)$?
$z(\LP') = \frac{115}{12}$, bound $9$
$z(\LP') = 5$, bound $4$
$z(\LP') = 5$, bound $5$
$z(\LP') = 5$, bound $9$
Explanation. The coefficients of the constraints are positive, so $x_1 \le 1$ and $x_2 \le 3$. The optimum $(\frac{23}{12}, 0)$ violates at least one of them: the new optimum is $(1, 0)$, of value $5$, and with integer data the bound is $\lfloor 5 \rfloor = 5$.
Consider the ILP problem $\max\ 3\,x_1 + 5\,x_2$ subject to $9\,x_1 + 6\,x_2 \le 42$, $6\,x_1 + 12\,x_2 \le 35$, $x_1, x_2 \in \Z_{\ge 0}$. What are the optimal value $z(\LP)$ of the LP relaxation and the optimal value $z(\ILP)$ of the ILP problem?
$z(\LP) = \frac{133}{8}$, $z(\ILP) = 14$
$z(\LP) = 16$, $z(\ILP) = 14$
$z(\LP) = \frac{133}{8}$, $z(\ILP) = 12$
$z(\LP) = \frac{133}{8}$, $z(\ILP) = 16$
Explanation. The optimum of the relaxation is the vertex $(\frac{49}{12}, \frac{7}{8})$ of the two constraints, with value $\frac{133}{8}$; enumerating the feasible integer points the maximum is $14$. We have $z(\ILP) \le \lfloor z(\LP) \rfloor$; rounding down to $(4, 0)$ gives only $12$.
Consider the ILP problem $\max\ 2\,x_1 + 5\,x_2$ subject to $7\,x_1 + 2\,x_2 \le 46$, $2\,x_1 + 14\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$. What are the optimal value $z(\LP)$ of the LP relaxation and the optimal value $z(\ILP)$ of the ILP problem?
$z(\LP) = \frac{1096}{47}$, $z(\ILP) = 20$
$z(\LP) = \frac{1096}{47}$, $z(\ILP) = 23$
$z(\LP) = 23$, $z(\ILP) = 22$
$z(\LP) = \frac{1096}{47}$, $z(\ILP) = 22$
Explanation. The optimum of the relaxation is the vertex $(\frac{278}{47}, \frac{108}{47})$ of the two constraints, with value $\frac{1096}{47}$; enumerating the feasible integer points the maximum is $22$. We have $z(\ILP) \le \lfloor z(\LP) \rfloor$; rounding down to $(5, 2)$ gives only $20$.
Example 1 · pli-g-dual-ub · level complessa · notes
For the ILP problem $\max\ 3\,x_1 + 2\,x_2$ subject to $12\,x_1 + 6\,x_2 \le 45$, $4\,x_1 + 14\,x_2 \le 25$, $x_1, x_2 \in \Z_{\ge 0}$ the two constraints are combined with multipliers $\pi_1, \pi_2 \ge 0$ such that the combined coefficients are at least the costs ($\mat A\T \vet \pi \ge \vet c$). What is the optimal solution $\tilde{\vet \pi}$ of the dual of the LP relaxation, and which upper bound $\UB$ on $z(\ILP)$ follows (with the legitimate rounding)?
Explanation. The dual is $\min\ 45\pi_1 + 25\pi_2$ with $12\pi_1 + 4\pi_2 \ge 3$, $6\pi_1 + 14\pi_2 \ge 2$, $\vet \pi \ge \vet 0$: optimum $(\frac{17}{72}, \frac{1}{24})$ of value $\frac{35}{3} = z(\LP)$. Integer variables and costs: $\UB = 11$.
Example 2 · pli-g-dual-ub · level complessa · notes
For the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ the two constraints are combined with multipliers $\pi_1, \pi_2 \ge 0$ such that the combined coefficients are at least the costs ($\mat A\T \vet \pi \ge \vet c$). What is the optimal solution $\tilde{\vet \pi}$ of the dual of the LP relaxation, and which upper bound $\UB$ on $z(\ILP)$ follows (with the legitimate rounding)?
An ILP problem has the constraints $5\,x_1 + 3\,x_2 \le 22$, $4\,x_1 + 2\,x_2 \le 11$ and $x_1, x_2 \in \Z_{\ge 0}$. Let $F$ be the set of its feasible (integer) solutions. How many vertices does the convex hull $\mathrm{conv}(F)$ have?
$6$
$5$
$4$
$3$
Explanation. List the $12$ points of $F$ and take the smallest convex polygon containing them: its vertices are $(0,0), (2,0), (2,1), (0,5)$. Points on the edges that are not vertices do not count, and the vertices of the polyhedron $P$ of the constraints ($3$) are not all integer.
An ILP problem has the constraints $4\,x_1 + 4\,x_2 \le 14$, $2\,x_1 + 2\,x_2 \le 22$ and $x_1, x_2 \in \Z_{\ge 0}$. Let $F$ be the set of its feasible (integer) solutions. How many vertices does the convex hull $\mathrm{conv}(F)$ have?
$3$
$2$
$4$
$5$
Explanation. List the $10$ points of $F$ and take the smallest convex polygon containing them: its vertices are $(0,0), (3,0), (0,3)$. Points on the edges that are not vertices do not count, and the vertices of the polyhedron $P$ of the constraints ($3$) are not all integer.
Example 1 · pli-g-hull-facet · level complessa · notes
An ILP problem has the constraints $5\,x_1 + 3\,x_2 \le 22$, $4\,x_1 + 2\,x_2 \le 11$ and $x_1, x_2 \in \Z_{\ge 0}$; let $F$ be the set of its feasible integer solutions. Which inequality defines an edge (facet) of $\mathrm{conv}(F)$, that is it is satisfied by all the points of $F$ and with equality by at least two distinct points of $F$?
$x_1 \le 3$
$x_1 \le 1$
$x_1 + x_2 \le 5$
$x_1 \le 2$
Explanation. The vertices of $\mathrm{conv}(F)$ are $(0,0), (2,0), (2,1), (0,5)$. The line through $(2,0)$ and $(2,1)$ is $x_1 = 2$, and no point of $F$ lies beyond it. With right-hand side $3$ the inequality is valid but not tight, with $1$ it cuts off two vertices; $x_1 + x_2 \le 5$ is tight at a single point.
Example 2 · pli-g-hull-facet · level complessa · notes
An ILP problem has the constraints $6\,x_1 + 3\,x_2 \le 19$, $4\,x_1 + 6\,x_2 \le 22$ and $x_1, x_2 \in \Z_{\ge 0}$; let $F$ be the set of its feasible integer solutions. Which inequality defines an edge (facet) of $\mathrm{conv}(F)$, that is it is satisfied by all the points of $F$ and with equality by at least two distinct points of $F$?
$x_1 + 3\,x_2 \le 10$
$x_2 \le 4$
$x_2 \le 2$
$x_2 \le 3$
Explanation. The vertices of $\mathrm{conv}(F)$ are $(0,0), (3,0), (2,2), (1,3), (0,3)$. The line through $(1,3)$ and $(0,3)$ is $x_2 = 3$, and no point of $F$ lies beyond it. With right-hand side $4$ the inequality is valid but not tight, with $2$ it cuts off two vertices; $x_1 + 3\,x_2 \le 10$ is tight at a single point.
Example 1 · pli-g-hull-line · level facile · notes
Let $F$ be the set of integer points of $P = \{\vet x \in \R^2 : 4x_1 + 4x_2 \le 19,\ \vet x \ge \vet 0\}$. A formulation is ideal if its polyhedron is the convex hull $\mathrm{conv}(F)$. Which constraint, together with $\vet x \ge \vet 0$, gives the ideal formulation?
$4x_1 + 4x_2 \le 19$
$x_1 + x_2 \le 5$
$x_1 + x_2 \le 4$
$x_1 + x_2 \le \frac{19}{4}$
Explanation. The integer points satisfy $x_1 + x_2 \le \lfloor 19/4 \rfloor = 4$; the triangle with vertices $(0,0)$, $(4,0)$, $(0,4)$ has integer vertices, so it is $\mathrm{conv}(F)$. The original constraint has fractional vertices.
Example 2 · pli-g-hull-line · level facile · notes
Let $F$ be the set of integer points of $P = \{\vet x \in \R^2 : 3x_1 + 3x_2 \le 19,\ \vet x \ge \vet 0\}$. A formulation is ideal if its polyhedron is the convex hull $\mathrm{conv}(F)$. Which constraint, together with $\vet x \ge \vet 0$, gives the ideal formulation?
$x_1 + x_2 \le \frac{19}{3}$
$3x_1 + 3x_2 \le 19$
$x_1 + x_2 \le 7$
$x_1 + x_2 \le 6$
Explanation. The integer points satisfy $x_1 + x_2 \le \lfloor 19/3 \rfloor = 6$; the triangle with vertices $(0,0)$, $(6,0)$, $(0,6)$ has integer vertices, so it is $\mathrm{conv}(F)$. The original constraint has fractional vertices.
Example 1 · pli-g-stronger-bound · level facile · notes
For the ILP problem $\max\ 6\,x_1 + x_2$, $x_1, x_2 \in \Z_{\ge 0}$, two formulations with the same integer points are compared: $P_1$: $4x_1 + 4x_2 \le 19$ and $P_2$: $x_1 + x_2 \le 4$ (both with $\vet x \ge \vet 0$). What are the optimal values $z(\LP_1)$ and $z(\LP_2)$ of the LP relaxations?
$z(\LP_1) = \frac{57}{2}$, $z(\LP_2) = 24$
$z(\LP_1) = \frac{19}{4}$, $z(\LP_2) = 4$
$z(\LP_1) = 24$, $z(\LP_2) = \frac{57}{2}$
$z(\LP_1) = \frac{57}{2}$, $z(\LP_2) = 30$
Explanation. The optimum is at the vertex on the axis of the variable with the larger cost ($6$): over $P_1$ it is $6 \cdot \frac{19}{4}$, over $P_2$ it is $6 \cdot 4$. $P_2 \subseteq P_1$ is stronger and gives the better bound.
Example 2 · pli-g-stronger-bound · level facile · notes
For the ILP problem $\max\ x_1 + 3\,x_2$, $x_1, x_2 \in \Z_{\ge 0}$, two formulations with the same integer points are compared: $P_1$: $3x_1 + 3x_2 \le 19$ and $P_2$: $x_1 + x_2 \le 6$ (both with $\vet x \ge \vet 0$). What are the optimal values $z(\LP_1)$ and $z(\LP_2)$ of the LP relaxations?
$z(\LP_1) = 19$, $z(\LP_2) = 18$
$z(\LP_1) = 18$, $z(\LP_2) = 19$
$z(\LP_1) = \frac{19}{3}$, $z(\LP_2) = 6$
$z(\LP_1) = 19$, $z(\LP_2) = 21$
Explanation. The optimum is at the vertex on the axis of the variable with the larger cost ($3$): over $P_1$ it is $3 \cdot \frac{19}{3}$, over $P_2$ it is $3 \cdot 6$. $P_2 \subseteq P_1$ is stronger and gives the better bound.
Example 1 · pli-g-ideal-vert · level media · notes
Let $P = \{\vet x \in \R^2 : 3\,x_1 + 3\,x_2 \le 12,\ 4\,x_1 + x_2 \le 7,\ \vet x \ge \vet 0\}$ be the formulation of an ILP problem with feasible region $F = P \cap \Z^2$. Is $P$ ideal ($P = \mathrm{conv}(F)$)?
Yes: all vertices of $P$ are integer
No: $(\frac{7}{8}, 0)$ is a fractional vertex of $P$
No: $(\frac{7}{4}, 0)$ is a fractional vertex of $P$
Yes: $P \cap \Z^2 = F$ is enough for $P$ to be ideal
Explanation. The vertices of $P$ are $(1, 3)$, $(0, 4)$, $(\frac{7}{4}, 0)$, $(0, 0)$. A fractional vertex is not in $\mathrm{conv}(F)$, whose vertices are integer: $P$ is not ideal. $(\frac{7}{8}, 0)$ lies in $P$ but is not a vertex.
Example 2 · pli-g-ideal-vert · level media · notes
Let $P = \{\vet x \in \R^2 : 5\,x_1 + x_2 \le 15,\ x_1 + x_2 \le 12,\ \vet x \ge \vet 0\}$ be the formulation of an ILP problem with feasible region $F = P \cap \Z^2$. Is $P$ ideal ($P = \mathrm{conv}(F)$)?
Yes: all vertices of $P$ are integer
Yes: $P \cap \Z^2 = F$ is enough for $P$ to be ideal
No: $(\frac{3}{8}, \frac{45}{8})$ is a fractional vertex of $P$
No: $(\frac{3}{4}, \frac{45}{4})$ is a fractional vertex of $P$
Explanation. The vertices of $P$ are $(\frac{3}{4}, \frac{45}{4})$, $(3, 0)$, $(0, 12)$, $(0, 0)$. A fractional vertex is not in $\mathrm{conv}(F)$, whose vertices are integer: $P$ is not ideal. $(\frac{3}{8}, \frac{45}{8})$ lies in $P$ but is not a vertex.
4. Valid inequalities (3)
Example 1 · pli-g-rounding-vi · level facile · notes
An ILP problem with $x_1, x_2 \in \Z_{\ge 0}$ has the constraints $8\,x_1 + x_2 \le 18$ and $8\,x_1 + 2\,x_2 \le 11$. With the multipliers $\pi_1 = 0$, $\pi_2 = \frac{1}{4}$ the multiplied constraints are summed, the coefficients $\alpha_j = \lfloor \pi_1 a_{1j} + \pi_2 a_{2j} \rfloor$ are taken and the integrality of the left-hand side is exploited. Which valid inequality is obtained?
$2\,x_1 \le 3$
$2\,x_1 \le \frac{11}{4}$
$2\,x_1 \le 2$
$2\,x_1 + x_2 \le 2$
Explanation. The combination is $2\,x_1 + \frac{1}{2}\,x_2 \le \frac{11}{4}$; with $\alpha = (2, 0)$ the left-hand side is integer, so the right-hand side is rounded down to $2$. Rounding up the right-hand side or the coefficients does not give the strongest inequality obtainable.
Example 2 · pli-g-rounding-vi · level facile · notes
An ILP problem with $x_1, x_2 \in \Z_{\ge 0}$ has the constraints $4\,x_1 + 8\,x_2 \le 22$ and $3\,x_1 + x_2 \le 36$. With the multipliers $\pi_1 = \frac{2}{3}$, $\pi_2 = \frac{1}{2}$ the multiplied constraints are summed, the coefficients $\alpha_j = \lfloor \pi_1 a_{1j} + \pi_2 a_{2j} \rfloor$ are taken and the integrality of the left-hand side is exploited. Which valid inequality is obtained?
$4\,x_1 + 5\,x_2 \le 32$
$4\,x_1 + 5\,x_2 \le 33$
$5\,x_1 + 6\,x_2 \le 32$
$4\,x_1 + 5\,x_2 \le \frac{98}{3}$
Explanation. The combination is $\frac{25}{6}\,x_1 + \frac{35}{6}\,x_2 \le \frac{98}{3}$; with $\alpha = (4, 5)$ the left-hand side is integer, so the right-hand side is rounded down to $32$. Rounding up the right-hand side or the coefficients does not give the strongest inequality obtainable.
In the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ we look for an inequality with coefficients $\alpha = (2, 3)$. Which of the following is valid (satisfied by all the feasible integer points $F$) and tight (satisfied with equality by at least one point of $F$)?
$2\,x_1 + 3\,x_2 \le 8$
$2\,x_1 + 3\,x_2 \le 9$
$2\,x_1 + 3\,x_2 \le 11$
$2\,x_1 + 3\,x_2 \le 10$
Explanation. The smallest valid right-hand side is the maximum of $2\,x_1 + 3\,x_2$ over $F$, that is $9$, attained by a feasible integer point (lower the right-hand side until the line touches a point of $F$). With $8$ a feasible solution is lost; with a larger right-hand side it is valid but not tight.
In the ILP problem $\max\ 5\,x_1 + 6\,x_2$ subject to $8\,x_1 + 5\,x_2 \le 35$, $3\,x_1 + 6\,x_2 \le 41$, $x_1, x_2 \in \Z_{\ge 0}$ we look for an inequality with coefficients $\alpha = (1, 2)$. Which of the following is valid (satisfied by all the feasible integer points $F$) and tight (satisfied with equality by at least one point of $F$)?
$x_1 + 2\,x_2 \le 13$
$x_1 + 2\,x_2 \le 11$
$x_1 + 2\,x_2 \le 12$
$x_1 + 2\,x_2 \le 14$
Explanation. The smallest valid right-hand side is the maximum of $x_1 + 2\,x_2$ over $F$, that is $12$, attained by a feasible integer point (lower the right-hand side until the line touches a point of $F$). With $11$ a feasible solution is lost; with a larger right-hand side it is valid but not tight.
Example 1 · pli-g-vi-bound · level complessa · notes
In the ILP problem $\max\ 3\,x_1 + 5\,x_2$ subject to $9\,x_1 + 6\,x_2 \le 42$, $6\,x_1 + 12\,x_2 \le 35$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimum $(\frac{49}{12}, \frac{7}{8})$ of value $\frac{133}{8}$. The valid and tight inequality with coefficients $\alpha = (3, 2)$ is added (smallest right-hand side satisfied by all the feasible integer points). What are the inequality and the new upper bound $\lfloor z(\LP) \rfloor$?
$3\,x_1 + 2\,x_2 \le 13$, bound $16$
$3\,x_1 + 2\,x_2 \le 12$, bound $16$
$3\,x_1 + 2\,x_2 \le 12$, bound $17$
$3\,x_1 + 2\,x_2 \le 11$, bound $15$
Explanation. The maximum of $3\,x_1 + 2\,x_2$ over the feasible integer points is $12$, while the LP optimum gives $14$: the inequality cuts it off. The new relaxation has the optimum $(\frac{37}{12}, \frac{11}{8})$ of value $\frac{129}{8}$, so the bound is $16$ (before it was $16$).
Example 2 · pli-g-vi-bound · level complessa · notes
In the ILP problem $\max\ 5\,x_1 + 6\,x_2$ subject to $8\,x_1 + 5\,x_2 \le 35$, $3\,x_1 + 6\,x_2 \le 41$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimum $(\frac{5}{33}, \frac{223}{33})$ of value $\frac{1363}{33}$. The valid and tight inequality with coefficients $\alpha = (1, 2)$ is added (smallest right-hand side satisfied by all the feasible integer points). What are the inequality and the new upper bound $\lfloor z(\LP) \rfloor$?
$x_1 + 2\,x_2 \le 12$, bound $41$
$x_1 + 2\,x_2 \le 13$, bound $39$
$x_1 + 2\,x_2 \le 12$, bound $37$
$x_1 + 2\,x_2 \le 11$, bound $35$
Explanation. The maximum of $x_1 + 2\,x_2$ over the feasible integer points is $12$, while the LP optimum gives $\frac{41}{3}$: the inequality cuts it off. The new relaxation has the optimum $(\frac{10}{11}, \frac{61}{11})$ of value $\frac{416}{11}$, so the bound is $37$ (before it was $41$).
5. Cover inequalities (6)
Example 1 · pli-g-cover-min · level facile · notes
Consider the constraint $8\,x_1 + 8\,x_2 + 10\,x_3 + 2\,x_4 + 10\,x_5 \le 22$, $x_j \in \{0,1\}$. A cover is a set $C$ of indices with $\sum_{j \in C} a_j > 22$, minimal if no proper subset of it is a cover; its inequality is $\sum_{j \in C} x_j \le |C| - 1$. Which of the following is the inequality of a minimal cover?
$x_1 + x_2 + x_3 + x_4 \le 3$
$x_1 + x_2 + x_5 \le 3$
$x_1 + x_2 + x_5 \le 2$
$x_1 + x_3 \le 1$
Explanation. $C = \{1, 2, 5\}$ has $\sum_{j \in C} a_j = 26 > 22$ and removing any index brings the sum to $\le 22$; the inequality is $\sum_{j \in C} x_j \le |C| - 1$. A set with sum $\le b$ is not a cover, and a cover containing a smaller cover is not minimal.
Example 2 · pli-g-cover-min · level facile · notes
Consider the constraint $4\,x_1 + 8\,x_2 + 7\,x_3 + 2\,x_4 + 3\,x_5 \le 15$, $x_j \in \{0,1\}$. A cover is a set $C$ of indices with $\sum_{j \in C} a_j > 15$, minimal if no proper subset of it is a cover; its inequality is $\sum_{j \in C} x_j \le |C| - 1$. Which of the following is the inequality of a minimal cover?
$x_2 + x_3 + x_4 \le 2$
$x_2 + x_5 \le 1$
$x_1 + x_2 + x_4 + x_5 \le 4$
$x_1 + x_2 + x_3 + x_4 \le 3$
Explanation. $C = \{2, 3, 4\}$ has $\sum_{j \in C} a_j = 17 > 15$ and removing any index brings the sum to $\le 15$; the inequality is $\sum_{j \in C} x_j \le |C| - 1$. A set with sum $\le b$ is not a cover, and a cover containing a smaller cover is not minimal.
For the constraint $2\,x_1 + 7\,x_2 + 6\,x_3 + 8\,x_4 + 2\,x_5 \le 22$, $x_j \in \{0,1\}$ we separate the point $\tilde{\vet x} = (\frac{3}{5}, \frac{2}{3}, 1, 1, \frac{1}{2})$. A cover is a set $C$ of indices with $\sum_{j \in C} a_j > 22$, with inequality $\sum_{j \in C} x_j \le |C| - 1$; the violation is the left-hand side at $\tilde{\vet x}$ minus the right-hand side. Which cover inequality is maximally violated by $\tilde{\vet x}$, and by how much?
Explanation. We look for the cover of minimum cost $\sum_{j \in C} (1 - \tilde x_j)$: it is $\{1, 2, 3, 4\}$ with cost $z(\mathrm{CSP}) = \frac{11}{15} < 1$, so the maximum violation is $1 - z(\mathrm{CSP}) = \frac{4}{15}$. Removing an index with $\tilde x_j = 1$ can bring the sum of the coefficients below $b$: it is no longer a cover.
For the constraint $2\,x_1 + 2\,x_2 + 6\,x_3 + 7\,x_4 + 10\,x_5 \le 21$, $x_j \in \{0,1\}$ we separate the point $\tilde{\vet x} = (\frac{3}{4}, \frac{1}{3}, 1, \frac{4}{5}, \frac{3}{5})$. A cover is a set $C$ of indices with $\sum_{j \in C} a_j > 21$, with inequality $\sum_{j \in C} x_j \le |C| - 1$; the violation is the left-hand side at $\tilde{\vet x}$ minus the right-hand side. Which cover inequality is maximally violated by $\tilde{\vet x}$, and by how much?
Explanation. We look for the cover of minimum cost $\sum_{j \in C} (1 - \tilde x_j)$: it is $\{3, 4, 5\}$ with cost $z(\mathrm{CSP}) = \frac{3}{5} < 1$, so the maximum violation is $1 - z(\mathrm{CSP}) = \frac{2}{5}$. Removing an index with $\tilde x_j = 1$ can bring the sum of the coefficients below $b$: it is no longer a cover.
Example 1 · pli-g-cover-ext · level facile · notes
For the constraint $7\,x_1 + 10\,x_2 + 8\,x_3 + 11\,x_4 + 11\,x_5 \le 24$, $x_j \in \{0,1\}$ consider the cover $C = \{1, 3, 5\}$ ($\sum_{j \in C} a_j > 24$). Let $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$. What is the extended cover inequality of $C$, on the variables of $E(C)$?
$x_1 + x_3 + x_5 \le 2$
$x_1 + x_3 + x_4 + x_5 \le 2$
$x_1 + x_3 + x_4 + x_5 \le 3$
$x_1 + x_2 + x_3 + x_4 + x_5 \le 2$
Explanation. $\widehat a(C) = 11$, so $E(C) = C \cup \{j \notin C : a_j \ge 11\} = \{1, 3, 4, 5\}$, and the right-hand side stays $|C| - 1 = 2$, not $|E(C)| - 1$.
Example 2 · pli-g-cover-ext · level facile · notes
For the constraint $9\,x_1 + 7\,x_2 + 6\,x_3 + 5\,x_4 + 8\,x_5 \le 18$, $x_j \in \{0,1\}$ consider the cover $C = \{3, 4, 5\}$ ($\sum_{j \in C} a_j > 18$). Let $E(C) = C \cup \{j \notin C : a_j \ge \max_{i \in C} a_i\}$. What is the extended cover inequality of $C$, on the variables of $E(C)$?
$x_1 + x_3 + x_4 + x_5 \le 2$
$x_1 + x_2 + x_3 + x_4 + x_5 \le 2$
$x_1 + x_3 + x_4 + x_5 \le 3$
$x_3 + x_4 + x_5 \le 2$
Explanation. $\widehat a(C) = 8$, so $E(C) = C \cup \{j \notin C : a_j \ge 8\} = \{1, 3, 4, 5\}$, and the right-hand side stays $|C| - 1 = 2$, not $|E(C)| - 1$.
Example 1 · pli-g-cover-greedy · level complessa · notes
For the constraint $10\,x_1 + 2\,x_2 + 6\,x_3 + 10\,x_4 + 3\,x_5 \le 20$, $x_j \in \{0,1\}$ a cover is a set $C$ of indices with $\sum_{j \in C} a_j > 20$. The point $\tilde{\vet x} = (\frac{4}{5}, \frac{3}{4}, \frac{3}{5}, \frac{1}{3}, \frac{4}{5})$ is separated with the greedy heuristic: $r := \sum_j a_j - (b + 1)$; the indices are scanned by non-increasing ratio $(1 - \tilde x_j)/a_j$ (ties: smaller index) and $j$ is taken out of the cover ($r := r - a_j$) if $1 - \tilde x_j > 0$ and $a_j \le r$. Which cover $C$ (the remaining indices) is obtained, and what is its cost $\sum_{j \in C}(1 - \tilde x_j)$?
$C = \{1, 4\}$, cost $\frac{13}{15}$
$C = \{1, 2, 3, 5\}$, cost $\frac{21}{20}$
$C = \{1, 4, 5\}$, cost $\frac{16}{15}$
$C = \{2, 3\}$, cost $\frac{13}{20}$
Explanation. We start from $r = 10$. The indices taken out of the cover are $\{2, 3\}$; $C = \{1, 4, 5\}$ remains, with cost $\frac{16}{15}$, not less than $1$: the inequality is not violated, but the heuristic does not prove that no cover is violated.
Example 2 · pli-g-cover-greedy · level complessa · notes
For the constraint $6\,x_1 + 5\,x_2 + 2\,x_3 + 11\,x_4 + 4\,x_5 \le 22$, $x_j \in \{0,1\}$ a cover is a set $C$ of indices with $\sum_{j \in C} a_j > 22$. The point $\tilde{\vet x} = (0, \frac{2}{3}, \frac{2}{3}, \frac{4}{5}, \frac{1}{3})$ is separated with the greedy heuristic: $r := \sum_j a_j - (b + 1)$; the indices are scanned by non-increasing ratio $(1 - \tilde x_j)/a_j$ (ties: smaller index) and $j$ is taken out of the cover ($r := r - a_j$) if $1 - \tilde x_j > 0$ and $a_j \le r$. Which cover $C$ (the remaining indices) is obtained, and what is its cost $\sum_{j \in C}(1 - \tilde x_j)$?
$C = \{2, 3, 4, 5\}$, cost $\frac{23}{15}$
$C = \{1, 2, 3, 4, 5\}$, cost $\frac{38}{15}$
$C = \{1, 2, 4, 5\}$, cost $\frac{11}{5}$
$C = \{1, 2, 3, 4\}$, cost $\frac{28}{15}$
Explanation. We start from $r = 5$. The indices taken out of the cover are $\{3\}$; $C = \{1, 2, 4, 5\}$ remains, with cost $\frac{11}{5}$, not less than $1$: the inequality is not violated, but the heuristic does not prove that no cover is violated.
Example 1 · pli-g-cover-check · level facile · notes
Consider the binary constraint $6\,x_1 + 7\,x_2 + 8\,x_3 + 9\,x_4 \le 16$, $x_j \in \{0,1\}$. A cover is a set of indices $C$ with $\sum_{j \in C} a_j > 16$. For $C = \{1, 2, 4\}$ and the fractional point $\tilde{\vet x} = (0, 1, 0, 1)$, which statement about the cover inequality of $C$ is correct?
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: violated
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $16$: violated
$\sum_{j \in C} x_j \le 3$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
Explanation. $\sum_{j \in C} a_j = 22 > 16$: $C$ is a cover and its inequality is $\sum_{j \in C} x_j \le |C| - 1 = 2$. At $\tilde{\vet x}$ the sum of the components in $C$ (without weights $a_j$) is $2$.
Example 2 · pli-g-cover-check · level facile · notes
Consider the binary constraint $5\,x_1 + 8\,x_2 + 5\,x_3 + 3\,x_4 \le 14$, $x_j \in \{0,1\}$. A cover is a set of indices $C$ with $\sum_{j \in C} a_j > 14$. For $C = \{1, 2, 3\}$ and the fractional point $\tilde{\vet x} = (1, 0, 1, \frac{3}{4})$, which statement about the cover inequality of $C$ is correct?
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $10$: violated
$\sum_{j \in C} x_j \le 3$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
$\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: violated
Explanation. $\sum_{j \in C} a_j = 18 > 14$: $C$ is a cover and its inequality is $\sum_{j \in C} x_j \le |C| - 1 = 2$. At $\tilde{\vet x}$ the sum of the components in $C$ (without weights $a_j$) is $2$.
Example 1 · pli-g-cover-count · level media · notes
Consider the binary constraint $6\,x_1 + 8\,x_2 + 8\,x_3 + 2\,x_4 + 8\,x_5 \le 23$, $x_j \in \{0,1\}$. A cover is a set of indices $C$ with $\sum_{j \in C} a_j > 23$, and it is minimal if no proper subset of it is a cover. How many minimal covers does the constraint have?
$7$
$4$
$0$
$5$
Explanation. The constraint has $7$ covers; minimal are those for which removing any index brings the weight to $\le 23$ (with positive coefficients removing one index at a time suffices): $4$.
Example 2 · pli-g-cover-count · level media · notes
Consider the binary constraint $9\,x_1 + 9\,x_2 + 7\,x_3 + 7\,x_4 \le 15$, $x_j \in \{0,1\}$. A cover is a set of indices $C$ with $\sum_{j \in C} a_j > 15$, and it is minimal if no proper subset of it is a cover. How many minimal covers does the constraint have?
$4$
$5$
$10$
$6$
Explanation. The constraint has $10$ covers; minimal are those for which removing any index brings the weight to $\le 15$ (with positive coefficients removing one index at a time suffices): $5$.
6. The cutting plane algorithm with Gomory fractional cuts (4)
Example 1 · pli-g-gomory-row · level facile · notes
The row $z = \frac{24}{5} - \frac{1}{4}\,x_4 - \frac{1}{2}\,x_5$ belongs to a feasible dictionary of the LP relaxation (in standard form) of an ILP problem with integer data, in which all variables, slacks included, are integer; $x_4$ and $x_5$ are non-basic. What is the Gomory fractional cut generated by this row?
Explanation. Writing the row as $z = \bar b - \sum_j \bar a_j x_j$, the cut is $\sum_j (\bar a_j - \lfloor \bar a_j \rfloor) x_j \ge \bar b - \lfloor \bar b \rfloor$: the fractional part is taken of the coefficient $\bar a_j$ (with the sign opposite to the one shown in the row), and $\lfloor -\frac{1}{5} \rfloor = -1$.
Example 2 · pli-g-gomory-row · level facile · notes
The row $z = \frac{24}{5} - \frac{3}{2}\,x_3 - \frac{5}{8}\,x_6$ belongs to a feasible dictionary of the LP relaxation (in standard form) of an ILP problem with integer data, in which all variables, slacks included, are integer; $x_3$ and $x_6$ are non-basic. What is the Gomory fractional cut generated by this row?
Explanation. Writing the row as $z = \bar b - \sum_j \bar a_j x_j$, the cut is $\sum_j (\bar a_j - \lfloor \bar a_j \rfloor) x_j \ge \bar b - \lfloor \bar b \rfloor$: the fractional part is taken of the coefficient $\bar a_j$ (with the sign opposite to the one shown in the row), and $\lfloor -\frac{1}{5} \rfloor = -1$.
Example 1 · pli-g-gomory-primitive · level media · notes
Consider the ILP problem $\max\ 3\,x_1 + 5\,x_2$ subject to $9\,x_1 + 6\,x_2 \le 42$, $6\,x_1 + 12\,x_2 \le 35$, $x_1, x_2 \in \Z_{\ge 0}$. With the slack variables $x_3 = 42 - 9\,x_1 - 6\,x_2$, $x_4 = 35 - 6\,x_1 - 12\,x_2$, the optimal dictionary of the LP relaxation is $x_1 = \frac{49}{12} - \frac{1}{6}\,x_3 + \frac{1}{12}\,x_4$, $\;x_2 = \frac{7}{8} + \frac{1}{12}\,x_3 - \frac{1}{8}\,x_4$, $\;z = \frac{133}{8} - \frac{1}{12}\,x_3 - \frac{3}{8}\,x_4$. A Gomory fractional cut is generated from the row whose right-hand side has the largest fractional part (ties: the basic variable with the smallest index; the objective-function row last), rewritten in the original variables and made primitive (divided by the gcd of the coefficients, right-hand side rounded down). Which cut is obtained?
$9\,x_1 + 7\,x_2 \le 42$
$3\,x_1 + 5\,x_2 \le 16$
$6\,x_1 + 11\,x_2 \le 33$
$9\,x_1 + 7\,x_2 \le 41$
Explanation. We choose the row of $x_2$ (fractional part $\frac{7}{8}$); the cut in the slack variables, after substituting $x_3$ and $x_4$, becomes $9\,x_1 + 7\,x_2 \le 42$, and the primitive form is $9\,x_1 + 7\,x_2 \le 42$. Only then the slack variable is added: without rounding the right-hand side we get the weaker cut.
Example 2 · pli-g-gomory-primitive · level media · notes
Consider the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$. With the slack variables $x_3 = 50 - 10\,x_1 - 6\,x_2$, $x_4 = 49 - 5\,x_1 - 6\,x_2$, the optimal dictionary of the LP relaxation is $x_1 = \frac{1}{5} - \frac{1}{5}\,x_3 + \frac{1}{5}\,x_4$, $\;x_2 = 8 + \frac{1}{6}\,x_3 - \frac{1}{3}\,x_4$, $\;z = \frac{206}{5} - \frac{11}{30}\,x_3 - \frac{7}{15}\,x_4$. A Gomory fractional cut is generated from the row whose right-hand side has the largest fractional part (ties: the basic variable with the smallest index; the objective-function row last), rewritten in the original variables and made primitive (divided by the gcd of the coefficients, right-hand side rounded down). Which cut is obtained?
$x_1 + x_2 \le \frac{49}{6}$
$x_1 + x_2 \le 8$
$3\,x_1 + 2\,x_2 \le 16$
$x_1 + x_2 \le 9$
Explanation. We choose the row of $x_1$ (fractional part $\frac{1}{5}$); the cut in the slack variables, after substituting $x_3$ and $x_4$, becomes $6\,x_1 + 6\,x_2 \le 49$, and the primitive form is $x_1 + x_2 \le 8$. Only then the slack variable is added: without rounding the right-hand side we get the weaker cut.
Example 1 · pli-g-gomory-reopt · level complessa · notes
Consider the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$. With the slack variables $x_3 = 20 - 9\,x_1 - 4\,x_2$, $x_4 = 26 - 4\,x_1 - 8\,x_2$, the optimal dictionary of the LP relaxation is $x_1 = 1 - \frac{1}{7}\,x_3 + \frac{1}{14}\,x_4$, $\;x_2 = \frac{11}{4} + \frac{1}{14}\,x_3 - \frac{9}{56}\,x_4$, $\;z = 14 - \frac{1}{7}\,x_3 - \frac{3}{7}\,x_4$. A Gomory fractional cut is generated from the row whose right-hand side has the largest fractional part (ties: the basic variable with the smallest index; the objective-function row last), rewritten in the original variables and made primitive (divided by the gcd of the coefficients, right-hand side rounded down). The cut is added to the relaxation, which is re-optimized (dual simplex algorithm). What is the optimal solution of the new problem $\LP_2$?
Explanation. The primitive cut is $9\,x_1 + 5\,x_2 \le 22$ (from the row of $x_2$). Added to the constraints, the optimum of $\LP_2$ is $(\frac{23}{26}, \frac{73}{26})$ with $z(\LP_2) = \frac{361}{26}$, hence $z(\ILP) \le 13$.
Example 2 · pli-g-gomory-reopt · level complessa · notes
Consider the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$. With the slack variables $x_3 = 50 - 10\,x_1 - 6\,x_2$, $x_4 = 49 - 5\,x_1 - 6\,x_2$, the optimal dictionary of the LP relaxation is $x_1 = \frac{1}{5} - \frac{1}{5}\,x_3 + \frac{1}{5}\,x_4$, $\;x_2 = 8 + \frac{1}{6}\,x_3 - \frac{1}{3}\,x_4$, $\;z = \frac{206}{5} - \frac{11}{30}\,x_3 - \frac{7}{15}\,x_4$. A Gomory fractional cut is generated from the row whose right-hand side has the largest fractional part (ties: the basic variable with the smallest index; the objective-function row last), rewritten in the original variables and made primitive (divided by the gcd of the coefficients, right-hand side rounded down). The cut is added to the relaxation, which is re-optimized (dual simplex algorithm). What is the optimal solution of the new problem $\LP_2$?
Explanation. The primitive cut is $x_1 + x_2 \le 8$ (from the row of $x_1$). Added to the constraints, the optimum of $\LP_2$ is $(\frac{1}{2}, \frac{15}{2})$ with $z(\LP_2) = \frac{81}{2}$, hence $z(\ILP) \le 40$.
Example 1 · pli-g-gomory-select · level facile · notes
In the cutting plane algorithm for a canonical maximization ILP problem with integer data, the current optimal dictionary has basic $x_1$, $x_2$, $x_3$ with values $\bar b_1 = \frac{31}{4}$, $\bar b_2 = \frac{13}{2}$, $\bar b_3 = 8$, and value $\bar z = \frac{33}{2}$. With the largest right-hand side strategy (right-hand side of the cut $= $ fractional part; ties: smallest index, objective row last), from which row is the Gomory cut generated?
the row of $x_2$
the objective row
the row of $x_1$
the row of $x_3$
Explanation. Fractional parts: $\frac{3}{4}$, $\frac{1}{2}$, $0$, $\frac{1}{2}$ (rows of $x_1$, $x_2$, $x_3$ and objective); rows with integer value generate no cut. The largest fractional part is chosen.
Example 2 · pli-g-gomory-select · level facile · notes
In the cutting plane algorithm for a canonical maximization ILP problem with integer data, the current optimal dictionary has basic $x_1$, $x_2$, $x_3$ with values $\bar b_1 = \frac{10}{3}$, $\bar b_2 = \frac{23}{3}$, $\bar b_3 = \frac{41}{6}$, and value $\bar z = 38$. With the largest right-hand side strategy (right-hand side of the cut $= $ fractional part; ties: smallest index, objective row last), from which row is the Gomory cut generated?
the row of $x_1$
the row of $x_3$
the objective row
the row of $x_2$
Explanation. Fractional parts: $\frac{1}{3}$, $\frac{2}{3}$, $\frac{5}{6}$, $0$ (rows of $x_1$, $x_2$, $x_3$ and objective); rows with integer value generate no cut. The largest fractional part is chosen.
At node $k$ of a branch-and-bound algorithm for an ILP problem with four integer variables, the LP relaxation has solution $\tilde{\vet x}(\LP_k) = (3, \frac{11}{5}, 4, \frac{43}{8})$. With the lexicographic (smallest index) branching-variable selection strategy, what are the constraints of the two children?
$x_2 \le 2$ and $x_2 \ge 3$
$x_2 \le 3$ and $x_2 \ge 4$
$x_4 \le 5$ and $x_4 \ge 6$
$x_1 \le 3$ and $x_1 \ge 4$
Explanation. The strategy selects $x_2 = \frac{11}{5}$; the children have $x_2 \le \lfloor \frac{11}{5} \rfloor = 2$ and $x_2 \ge 3$. A variable with an integer value does not cut off $\tilde{\vet x}(\LP_k)$, and with $x_2 \le 3$ the down-branching child still contains $\tilde{\vet x}(\LP_k)$.
At node $k$ of a branch-and-bound algorithm for an ILP problem with four integer variables, the LP relaxation has solution $\tilde{\vet x}(\LP_k) = (\frac{21}{5}, \frac{47}{10}, 4, \frac{1}{2})$. With the lexicographic (smallest index) branching-variable selection strategy, what are the constraints of the two children?
$x_4 \le 0$ and $x_4 \ge 1$
$x_1 \le 4$ and $x_1 \ge 5$
$x_1 \le 5$ and $x_1 \ge 6$
$x_3 \le 4$ and $x_3 \ge 5$
Explanation. The strategy selects $x_1 = \frac{21}{5}$; the children have $x_1 \le \lfloor \frac{21}{5} \rfloor = 4$ and $x_1 \ge 5$. A variable with an integer value does not cut off $\tilde{\vet x}(\LP_k)$, and with $x_1 \le 5$ the down-branching child still contains $\tilde{\vet x}(\LP_k)$.
In a branch-and-bound algorithm for a maximization ILP problem with integer variables and costs, the incumbent (best integer solution found) has value $\LB = 27$. The LP relaxation $\LP_k$ of node $k$ is solved: it has optimal value $z(\LP_k) = 31$ and an optimal solution $\tilde{\vet x}(\LP_k)$ that is integer. What happens to the node?
pruned by integrality, $\LB$ unchanged
pruned by bound
inserted into the list of open nodes
pruned by integrality, with $\LB \leftarrow 31$
Explanation. The criteria are checked in the order infeasibility, integrality, bound; the bound of the node is $\lfloor z(\LP_k) \rfloor = 31$ and the node is pruned also with the equality $\lfloor z(\LP_k) \rfloor = \LB$. With an integer solution the LB is updated only if $z(\LP_k) > \LB$.
In a branch-and-bound algorithm for a maximization ILP problem with integer variables and costs, the incumbent (best integer solution found) has value $\LB = 21$. The LP relaxation $\LP_k$ of node $k$ is solved: it has optimal value $z(\LP_k) = 21$ and an optimal solution $\tilde{\vet x}(\LP_k)$ that is integer. What happens to the node?
pruned by integrality, $\LB$ unchanged
pruned by integrality, with $\LB \leftarrow 21$
inserted into the list of open nodes
pruned by bound
Explanation. The criteria are checked in the order infeasibility, integrality, bound; the bound of the node is $\lfloor z(\LP_k) \rfloor = 21$ and the node is pruned also with the equality $\lfloor z(\LP_k) \rfloor = \LB$. With an integer solution the LB is updated only if $z(\LP_k) > \LB$.
In a branch-and-bound algorithm for a maximization ILP problem with integer variables and costs the incumbent solution has value $\LB = 43$ and the list of open nodes contains three nodes, whose LP relaxations have optimal values $z(\LP_{3}) = \frac{97}{2}$, $z(\LP_{6}) = \frac{246}{5}$, $z(\LP_{9}) = \frac{453}{10}$ (the last one is the node just solved). What are the upper bound $\UB$ on the optimal value and the optimality gap $\frac{\UB - \LB}{|\LB|}$?
$\UB = \frac{246}{5}$, gap $= \frac{31}{215}$
$\UB = 45$, gap $= \frac{2}{43}$
$\UB = 49$, gap $= \frac{6}{49}$
$\UB = 49$, gap $= \frac{6}{43}$
Explanation. $\UB = \max_{k \in L} \lfloor z(\LP_k) \rfloor = 49$, not the bound of the last node solved; the gap is $\frac{\UB - \LB}{|\LB|} = \frac{6}{43}$.
In a branch-and-bound algorithm for a maximization ILP problem with integer variables and costs the incumbent solution has value $\LB = 52$ and the list of open nodes contains three nodes, whose LP relaxations have optimal values $z(\LP_{2}) = \frac{117}{2}$, $z(\LP_{5}) = \frac{221}{4}$, $z(\LP_{7}) = \frac{269}{5}$ (the last one is the node just solved). What are the upper bound $\UB$ on the optimal value and the optimality gap $\frac{\UB - \LB}{|\LB|}$?
$\UB = 58$, gap $= \frac{3}{26}$
$\UB = 53$, gap $= \frac{1}{52}$
$\UB = \frac{117}{2}$, gap $= \frac{1}{8}$
$\UB = 58$, gap $= \frac{3}{29}$
Explanation. $\UB = \max_{k \in L} \lfloor z(\LP_k) \rfloor = 58$, not the bound of the last node solved; the gap is $\frac{\UB - \LB}{|\LB|} = \frac{6}{52}$.
Example 1 · pli-g-dual-pivot · level media · notes
In the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$, with the slack variables $x_3 = 20 - 9\,x_1 - 4\,x_2$, $x_4 = 26 - 4\,x_1 - 8\,x_2$, the optimal dictionary of the root is $x_1 = 1 - \frac{1}{7}\,x_3 + \frac{1}{14}\,x_4$, $\;x_2 = \frac{11}{4} + \frac{1}{14}\,x_3 - \frac{9}{56}\,x_4$, $\;z = 14 - \frac{1}{7}\,x_3 - \frac{3}{7}\,x_4$. The child with the branching constraint $x_2 \ge 3$ (slack or surplus variable $x_5$, row added to the dictionary) is solved starting from this dictionary, with the dual simplex algorithm (pivot row with negative right-hand side, pivot column from the minimum ratio). What are the pivot column of the first dual pivoting operation and the new objective value?
pivot column $x_4$, new value $\frac{44}{3}$
pivot column $x_3$, new value $\frac{27}{2}$
pivot column $x_4$, new value $\frac{40}{3}$
pivot column $x_3$, new value $\frac{29}{2}$
Explanation. The new row is $x_5 = -\frac{1}{4} + \frac{1}{14}\,x_3 - \frac{9}{56}\,x_4$, with $\bar b_5 = -\frac{1}{4} < 0$. Only $x_3$ has $\bar a_{5j} < 0$, with ratio $s_m = 2$; the value becomes $\bar z + s_m \bar b_5 = \frac{27}{2}$, which does not exceed $\bar z$.
Example 2 · pli-g-dual-pivot · level media · notes
In the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$, with the slack variables $x_3 = 50 - 10\,x_1 - 6\,x_2$, $x_4 = 49 - 5\,x_1 - 6\,x_2$, the optimal dictionary of the root is $x_1 = \frac{1}{5} - \frac{1}{5}\,x_3 + \frac{1}{5}\,x_4$, $\;x_2 = 8 + \frac{1}{6}\,x_3 - \frac{1}{3}\,x_4$, $\;z = \frac{206}{5} - \frac{11}{30}\,x_3 - \frac{7}{15}\,x_4$. The child with the branching constraint $x_1 \ge 1$ (slack or surplus variable $x_5$, row added to the dictionary) is solved starting from this dictionary, with the dual simplex algorithm (pivot row with negative right-hand side, pivot column from the minimum ratio). What are the pivot column of the first dual pivoting operation and the new objective value?
pivot column $x_3$, new value $\frac{596}{15}$
pivot column $x_3$, new value $\frac{128}{3}$
pivot column $x_4$, new value $\frac{118}{3}$
pivot column $x_4$, new value $\frac{646}{15}$
Explanation. The new row is $x_5 = -\frac{4}{5} - \frac{1}{5}\,x_3 + \frac{1}{5}\,x_4$, with $\bar b_5 = -\frac{4}{5} < 0$. Only $x_4$ has $\bar a_{5j} < 0$, with ratio $s_m = \frac{7}{3}$; the value becomes $\bar z + s_m \bar b_5 = \frac{118}{3}$, which does not exceed $\bar z$.
Example 1 · pli-g-bb-lifo · level complessa · notes
The ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ is solved with the branch-and-bound algorithm: lexicographic branching variable (smallest index), LIFO node selection, down-branching child first, a node pruned if $\lfloor z(\LP_k) \rfloor \le \LB$ ($\LB$: value of the incumbent, $-\infty$ at the start), skip rule (after the first child, the second is not solved if the bound of the parent no longer exceeds $\LB$). The root has $\tilde{\vet x}(\LP_1) = (1, \frac{11}{4})$, $z(\LP_1) = 14$. How many LP problems are solved (root included) and which solution is certified optimal?
$7$ LP problems solved; optimum $(0, 3)$, value $12$
$7$ LP problems solved; optimum $(1, 2)$, value $11$
$8$ LP problems solved; optimum $(0, 3)$, value $12$
$6$ LP problems solved; optimum $(0, 3)$, value $12$
Explanation. Running the algorithm, $7$ LP problems are solved and at the end the list is empty with $\LB = \UB = 12$ at $(0, 3)$. Skipped children are not solved and get no index; the rounded root solution is not certified optimal.
Example 2 · pli-g-bb-lifo · level complessa · notes
The ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ is solved with the branch-and-bound algorithm: lexicographic branching variable (smallest index), LIFO node selection, down-branching child first, a node pruned if $\lfloor z(\LP_k) \rfloor \le \LB$ ($\LB$: value of the incumbent, $-\infty$ at the start), skip rule (after the first child, the second is not solved if the bound of the parent no longer exceeds $\LB$). The root has $\tilde{\vet x}(\LP_1) = (\frac{1}{5}, 8)$, $z(\LP_1) = \frac{206}{5}$. How many LP problems are solved (root included) and which solution is certified optimal?
$9$ LP problems solved; optimum $(0, 8)$, value $40$
$8$ LP problems solved; optimum $(0, 8)$, value $40$
$7$ LP problems solved; optimum $(0, 8)$, value $40$
$4$ LP problems solved; optimum $(0, 8)$, value $40$
Explanation. Running the algorithm, $8$ LP problems are solved and at the end the list is empty with $\LB = \UB = 40$ at $(0, 8)$. Skipped children are not solved and get no index; the rounded root solution is not certified optimal.
Example 1 · pli-g-bb-best · level complessa · notes
The ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ is solved with the branch-and-bound algorithm: lexicographic branching variable (smallest index), best bound (ties: smallest node index) node selection, down-branching child first, a node pruned if $\lfloor z(\LP_k) \rfloor \le \LB$ ($\LB$: value of the incumbent, $-\infty$ at the start), skip rule (after the first child, the second is not solved if the bound of the parent no longer exceeds $\LB$). The root has $\tilde{\vet x}(\LP_1) = (1, \frac{11}{4})$, $z(\LP_1) = 14$. How many LP problems are solved (root included) and which solution is certified optimal?
$7$ LP problems solved; optimum $(0, 3)$, value $12$
$7$ LP problems solved; optimum $(1, 2)$, value $11$
$8$ LP problems solved; optimum $(0, 3)$, value $12$
$6$ LP problems solved; optimum $(0, 3)$, value $12$
Explanation. Running the algorithm, $7$ LP problems are solved and at the end the list is empty with $\LB = \UB = 12$ at $(0, 3)$. Skipped children are not solved and get no index; the rounded root solution is not certified optimal.
Example 2 · pli-g-bb-best · level complessa · notes
The ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ is solved with the branch-and-bound algorithm: lexicographic branching variable (smallest index), best bound (ties: smallest node index) node selection, down-branching child first, a node pruned if $\lfloor z(\LP_k) \rfloor \le \LB$ ($\LB$: value of the incumbent, $-\infty$ at the start), skip rule (after the first child, the second is not solved if the bound of the parent no longer exceeds $\LB$). The root has $\tilde{\vet x}(\LP_1) = (\frac{1}{5}, 8)$, $z(\LP_1) = \frac{206}{5}$. How many LP problems are solved (root included) and which solution is certified optimal?
$5$ LP problems solved; optimum $(0, 8)$, value $40$
$4$ LP problems solved; optimum $(0, 8)$, value $40$
$3$ LP problems solved; optimum $(0, 8)$, value $40$
$8$ LP problems solved; optimum $(0, 8)$, value $40$
Explanation. Running the algorithm, $4$ LP problems are solved and at the end the list is empty with $\LB = \UB = 40$ at $(0, 8)$. Skipped children are not solved and get no index; the rounded root solution is not certified optimal.
In branch-and-cut, at the optimal solution $\tilde{\vet x}(\LP_k) = (\frac{9}{2}, \frac{11}{2})$ of the relaxation of node $k$ we evaluate the cut $5\,x_1 + 12\,x_2 \le 88$. What are its violation (left-hand side at the point minus right-hand side) and its efficacy (Euclidean distance of the point from the hyperplane of the cut)?
violation $\frac{1}{2}$, efficacy $\frac{1}{338}$
violation $\frac{1}{26}$, efficacy $\frac{1}{2}$
violation $\frac{1}{2}$, efficacy $\frac{1}{26}$
violation $\frac{1}{2}$, efficacy $\frac{13}{2}$
Explanation. Violation $\vet\alpha\T\tilde{\vet x} - \beta = \frac{177}{2} - 88 = \frac{1}{2}$; efficacy $= \frac{\frac{1}{2}}{\|\vet\alpha\|}$ with $\|\vet\alpha\| = \sqrt{5^2 + 12^2} = 13$. The efficacy does not change if the cut is multiplied by a positive constant, the violation does.
In branch-and-cut, at the optimal solution $\tilde{\vet x}(\LP_k) = (\frac{21}{4}, \frac{3}{2})$ of the relaxation of node $k$ we evaluate the cut $6\,x_1 + 8\,x_2 \le 42$. What are its violation (left-hand side at the point minus right-hand side) and its efficacy (Euclidean distance of the point from the hyperplane of the cut)?
violation $\frac{3}{2}$, efficacy $\frac{3}{20}$
violation $\frac{3}{2}$, efficacy $\frac{3}{200}$
violation $\frac{3}{20}$, efficacy $\frac{3}{2}$
violation $\frac{3}{2}$, efficacy $15$
Explanation. Violation $\vet\alpha\T\tilde{\vet x} - \beta = \frac{87}{2} - 42 = \frac{3}{2}$; efficacy $= \frac{\frac{3}{2}}{\|\vet\alpha\|}$ with $\|\vet\alpha\| = \sqrt{6^2 + 8^2} = 10$. The efficacy does not change if the cut is multiplied by a positive constant, the violation does.
Example 1 · pli-g-local-cut · level facile · notes
In the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ node $k$ has the branching constraint $x_1 \ge 2$. From the first constraint and $x_1 \ge 2$ we derive a cut on $x_2$, rounding the right-hand side. Which cut is obtained, and is it global (valid for all the feasible integer solutions) or local (valid only in the subtree of the node)?
$x_2 \le 0$, only locally valid
$x_2 \le 0$, globally valid
$x_2 \le 2$, only locally valid
$x_2 \le \frac{1}{2}$, only locally valid
Explanation. $4\,x_2 \le 20 - 9\,x_1 \le 2$, so $x_2 \le \lfloor \frac{1}{2} \rfloor = 0$. The derivation uses the branching constraint: the feasible point $(0,3)$ violates it, so it is a local cut, to be used only in the subtree of the node.
Example 2 · pli-g-local-cut · level facile · notes
In the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $10\,x_1 + 6\,x_2 \le 50$, $5\,x_1 + 6\,x_2 \le 49$, $x_1, x_2 \in \Z_{\ge 0}$ node $k$ has the branching constraint $x_1 \ge 1$. From the first constraint and $x_1 \ge 1$ we derive a cut on $x_2$, rounding the right-hand side. Which cut is obtained, and is it global (valid for all the feasible integer solutions) or local (valid only in the subtree of the node)?
$x_2 \le 6$, globally valid
$x_2 \le 6$, only locally valid
$x_2 \le \frac{20}{3}$, only locally valid
$x_2 \le 8$, only locally valid
Explanation. $6\,x_2 \le 50 - 10\,x_1 \le 40$, so $x_2 \le \lfloor \frac{20}{3} \rfloor = 6$. The derivation uses the branching constraint: the feasible point $(0,8)$ violates it, so it is a local cut, to be used only in the subtree of the node.
Example 1 · pli-g-cut-select · level media · notes
In branch-and-cut the point $\tilde{\vet x} = (\frac{21}{4}, \frac{7}{2})$ violates all four cuts proposed in the answers. The cut with maximum efficacy is chosen, that is the one with the largest Euclidean distance of $\tilde{\vet x}$ from the hyperplane of the cut. Which cut is chosen?
$x_1 \le 4$
$3\,x_1 + 4\,x_2 \le 26$
$12\,x_1 + 5\,x_2 \le 80$
$15\,x_1 + 8\,x_2 \le 105$
Explanation. The efficacy is the violation divided by $\|\vet\alpha\|$; for the four cuts it is $3\,x_1 + 4\,x_2 \le 26$: $\frac{15}{4}/5 = \frac{3}{4}$; $15\,x_1 + 8\,x_2 \le 105$: $\frac{7}{4}/17 = \frac{7}{68}$; $x_1 \le 4$: $\frac{5}{4}/1 = \frac{5}{4}$; $12\,x_1 + 5\,x_2 \le 80$: $\frac{1}{2}/13 = \frac{1}{26}$. The cut with the largest violation is not the most effective: the violation depends on the scale of the coefficients.
Example 2 · pli-g-cut-select · level media · notes
In branch-and-cut the point $\tilde{\vet x} = (\frac{19}{4}, \frac{9}{2})$ violates all four cuts proposed in the answers. The cut with maximum efficacy is chosen, that is the one with the largest Euclidean distance of $\tilde{\vet x}$ from the hyperplane of the cut. Which cut is chosen?
$x_1 \le 2$
$15\,x_1 + 8\,x_2 \le 104$
$5\,x_1 + 12\,x_2 \le 74$
$8\,x_1 + 15\,x_2 \le 105$
Explanation. The efficacy is the violation divided by $\|\vet\alpha\|$; for the four cuts it is $x_1 \le 2$: $\frac{11}{4}/1 = \frac{11}{4}$; $15\,x_1 + 8\,x_2 \le 104$: $\frac{13}{4}/17 = \frac{13}{68}$; $5\,x_1 + 12\,x_2 \le 74$: $\frac{15}{4}/13 = \frac{15}{52}$; $8\,x_1 + 15\,x_2 \le 105$: $\frac{1}{2}/17 = \frac{1}{34}$. The cut with the largest violation is not the most effective: the violation depends on the scale of the coefficients.
Example 1 · pli-g-local-valid · level media · notes
In a branch-and-cut algorithm for the ILP problem $\max\ x_1 + x_2$, $6\,x_1 + 5\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$, node $k$ has the branching constraint $x_1 \ge 6$. Which inequality is valid for all integer solutions of the node, is tight at one of them, and is not valid for the whole problem (local cut)?
$x_2 \le 2$
$x_2 \le 8$
$x_2 \le 0$
$x_2 \le 1$
Explanation. With $x_1 \ge 6$: $5x_2 \le 44 - 6 \cdot 6$, so $x_2 \le 1$, tight at $(6, 1)$. Outside the node $(0, 8)$ is feasible and violates it. $x_2 \le 8$ is global; $x_2 \le 0$ cuts off $(6, 1)$; $x_2 \le 2$ is not tight.
Example 2 · pli-g-local-valid · level media · notes
In a branch-and-cut algorithm for the ILP problem $\max\ x_1 + x_2$, $5\,x_1 + 7\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$, node $k$ has the branching constraint $x_1 \ge 5$. Which inequality is valid for all integer solutions of the node, is tight at one of them, and is not valid for the whole problem (local cut)?
$x_2 \le 2$
$x_2 \le 6$
$x_2 \le 1$
$x_2 \le 3$
Explanation. With $x_1 \ge 5$: $7x_2 \le 44 - 5 \cdot 5$, so $x_2 \le 2$, tight at $(5, 2)$. Outside the node $(0, 6)$ is feasible and violates it. $x_2 \le 6$ is global; $x_2 \le 1$ cuts off $(5, 2)$; $x_2 \le 3$ is not tight.
9. MIP solvers: what they do (6)
Example 1 · pli-g-solver-gap · level facile · notes
In a maximization problem a line of the Gurobi log reports $\texttt{Incumbent} = 764$ and $\texttt{BestBd} = 784$, with the parameter $\texttt{MIPGap} = 2\%$. What is Gurobi's relative gap, $|\texttt{BestBd} - \texttt{Incumbent}| / |\texttt{Incumbent}|$, and does the solver stop?
Gap $= 2.62\%$, the solver stops
Gap $= 2.55\%$, the solver continues
Gap $= 2.62\%$, the solver continues
Gap $= 2.55\%$, the solver stops
Explanation. The gap is $\frac{|\texttt{BestBd} - \texttt{Incumbent}|}{|\texttt{Incumbent}|} = \frac{20}{764} \approx 2.62\%$ (the incumbent is in the denominator, also in minimization, where the incumbent is the upper bound). The solver stops when the gap does not exceed $\texttt{MIPGap}$.
Example 2 · pli-g-solver-gap · level facile · notes
In a maximization problem a line of the Gurobi log reports $\texttt{Incumbent} = 801$ and $\texttt{BestBd} = 825$, with the parameter $\texttt{MIPGap} = 2\%$. What is Gurobi's relative gap, $|\texttt{BestBd} - \texttt{Incumbent}| / |\texttt{Incumbent}|$, and does the solver stop?
Gap $= 3.00\%$, the solver continues
Gap $= 2.91\%$, the solver continues
Gap $= 3.00\%$, the solver stops
Gap $= 2.91\%$, the solver stops
Explanation. The gap is $\frac{|\texttt{BestBd} - \texttt{Incumbent}|}{|\texttt{Incumbent}|} = \frac{24}{801} \approx 3.00\%$ (the incumbent is in the denominator, also in minimization, where the incumbent is the upper bound). The solver stops when the gap does not exceed $\texttt{MIPGap}$.
In the presolve of a MIP solver the constraint $6\,x_1 + 8\,x_2 + 8\,x_3 + 2\,x_4 \le 20$, $x_j \in \{0,1\}$ is considered. What is the largest value to which the coefficient of $x_3$ can be raised (the others unchanged) without changing the set of feasible binary points?
$11$
$10$
$9$
$8$
Explanation. With $x_3 = 1$ the other variables have left-hand side at most $10$ (the maximum among the combinations not exceeding $20 - 8$). The coefficient can be raised to $20 - 10 = 10$: the same points stay feasible, and the LP relaxation becomes stronger. With $11$ a point is lost.
In the presolve of a MIP solver the constraint $7\,x_1 + 9\,x_2 + 8\,x_3 + 7\,x_4 \le 28$, $x_j \in \{0,1\}$ is considered. What is the largest value to which the coefficient of $x_4$ can be raised (the others unchanged) without changing the set of feasible binary points?
$10$
$12$
$7$
$11$
Explanation. With $x_4 = 1$ the other variables have left-hand side at most $17$ (the maximum among the combinations not exceeding $28 - 7$). The coefficient can be raised to $28 - 17 = 11$: the same points stay feasible, and the LP relaxation becomes stronger. With $12$ a point is lost.
Example 1 · pli-g-presolve-bound · level facile · notes
In the presolve of a MIP solver, the constraint $4\,x_1 + 5\,x_2 + 5\,x_3 \le 40$ has integer variables with $x_1 \ge 3$, $x_2 \ge 0$, $x_3 \ge 1$. Which upper bound on $x_2$ does bound tightening derive?
$x_2 \le 4$
$x_2 \le 5$
$x_2 \le 8$
$x_2 \le \frac{23}{5}$
Explanation. With $x_1$ and $x_3$ at their lower bounds: $5x_2 \le 40 - 4 \cdot 3 - 5 \cdot 1 = 23$, and integer $x_2$ gives $x_2 \le \lfloor 23/5 \rfloor = 4$.
Example 2 · pli-g-presolve-bound · level facile · notes
In the presolve of a MIP solver, the constraint $3\,x_1 + 7\,x_2 + 3\,x_3 \le 42$ has integer variables with $x_1 \ge 1$, $x_2 \ge 0$, $x_3 \ge 2$. Which upper bound on $x_2$ does bound tightening derive?
$x_2 \le 4$
$x_2 \le \frac{33}{7}$
$x_2 \le 6$
$x_2 \le 5$
Explanation. With $x_1$ and $x_3$ at their lower bounds: $7x_2 \le 42 - 3 \cdot 1 - 3 \cdot 2 = 33$, and integer $x_2$ gives $x_2 \le \lfloor 33/7 \rfloor = 4$.
Example 1 · pli-g-solver-minmax · level facile · notes
The Gurobi log for a minimization problem with (unknown) optimal value $z^*$ stops with Incumbent $= 248$ and BestBd $= 228$. What can be stated?
The optimal value is $z^* = 248$, the incumbent value
Incumbent ($248$) is a lower bound and BestBd ($228$) an upper bound on $z^*$
Incumbent ($248$) is an upper bound and BestBd ($228$) a lower bound on $z^*$
The optimal value is $z^* = 228$, the best bound
Explanation. Incumbent is the value of a feasible solution (primal side), BestBd the bound of branch-and-cut (dual side). In a minimization problem the incumbent is an upper bound; with a nonzero gap $z^*$ is unknown, only $228 \le z^* \le 248$.
Example 2 · pli-g-solver-minmax · level facile · notes
The Gurobi log for a maximization problem with (unknown) optimal value $z^*$ stops with Incumbent $= 343$ and BestBd $= 351$. What can be stated?
The optimal value is $z^* = 351$, the best bound
The optimal value is $z^* = 343$, the incumbent value
Incumbent ($343$) is an upper bound and BestBd ($351$) a lower bound on $z^*$
Incumbent ($343$) is a lower bound and BestBd ($351$) an upper bound on $z^*$
Explanation. Incumbent is the value of a feasible solution (primal side), BestBd the bound of branch-and-cut (dual side). In a maximization problem the incumbent is a lower bound; with a nonzero gap $z^*$ is unknown, only $343 \le z^* \le 351$.
Example 1 · pli-g-presolve-chain · level media · notes
In the presolve of a MIP solver the integer variables $x_1 \in [0, 18]$, $x_2 \in [3, +\infty)$ appear in the constraints $6x_1 + 1x_2 \le 17$ and $-2x_1 + 2x_2 \le 3$. Bound tightening first derives an upper bound on $x_1$ from the first constraint, then uses it in the second for $x_2$. Which bounds are obtained?
$x_1 \le 2$, $x_2 \le 19$
$x_1 \le 3$, $x_2 \le 4$
$x_1 \le 2$, $x_2 \le 3$
$x_1 \le 2$, $x_2 \le 4$
Explanation. First constraint with $x_2 \ge 3$: $6x_1 \le 14$, so $x_1 \le 2$. Second constraint: $2x_2 \le 3 + 2x_1 \le 7$, so $x_2 \le 3$. Using the old bound $x_1 \le 18$ gives $x_2 \le 19$.
Example 2 · pli-g-presolve-chain · level media · notes
In the presolve of a MIP solver the integer variables $x_1 \in [0, 25]$, $x_2 \in [2, +\infty)$ appear in the constraints $6x_1 + 4x_2 \le 37$ and $-4x_1 + 2x_2 \le 15$. Bound tightening first derives an upper bound on $x_1$ from the first constraint, then uses it in the second for $x_2$. Which bounds are obtained?
$x_1 \le 4$, $x_2 \le 57$
$x_1 \le 4$, $x_2 \le 15$
$x_1 \le 4$, $x_2 \le 16$
$x_1 \le 6$, $x_2 \le 19$
Explanation. First constraint with $x_2 \ge 2$: $6x_1 \le 29$, so $x_1 \le 4$. Second constraint: $2x_2 \le 15 + 4x_1 \le 31$, so $x_2 \le 15$. Using the old bound $x_1 \le 25$ gives $x_2 \le 57$.
Example 1 · pli-g-log-stop · level complessa · notes
A MIP solver solves a maximization problem with integer data and MIPGap $= 2\%$; the gap is $\frac{\text{BestBd} - \text{Incumbent}}{|\text{Incumbent}|}$ and the solver stops at the first log row where the gap is at most MIPGap. The log rows are: row 1: Incumbent $206$, BestBd $237$; row 2: Incumbent $206$, BestBd $229$; row 3: Incumbent $206$, BestBd $217$; row 4: Incumbent $208$, BestBd $211$; row 5: Incumbent $208$, BestBd $208$. At which row does it stop?
row 4
none: the solver does not stop
row 3
row 5
Explanation. Gaps of the rows: $\frac{31}{206}$, $\frac{23}{206}$, $\frac{11}{206}$, $\frac{3}{208}$, $0$, to be compared with $\frac{2}{100}$. The denominator is the incumbent, not the best bound. The returned solution is optimal only up to the tolerance.
Example 2 · pli-g-log-stop · level complessa · notes
A MIP solver solves a maximization problem with integer data and MIPGap $= 2\%$; the gap is $\frac{\text{BestBd} - \text{Incumbent}}{|\text{Incumbent}|}$ and the solver stops at the first log row where the gap is at most MIPGap. The log rows are: row 1: Incumbent $361$, BestBd $400$; row 2: Incumbent $365$, BestBd $389$; row 3: Incumbent $365$, BestBd $381$; row 4: Incumbent $365$, BestBd $371$; row 5: Incumbent $365$, BestBd $365$. At which row does it stop?
row 4
row 5
row 3
none: the solver does not stop
Explanation. Gaps of the rows: $\frac{39}{361}$, $\frac{24}{365}$, $\frac{16}{365}$, $\frac{6}{365}$, $0$, to be compared with $\frac{2}{100}$. The denominator is the incumbent, not the best bound. The returned solution is optimal only up to the tolerance.
In the ILP problem $\max\ 3\,x_1 + 5\,x_2$ subject to $9\,x_1 + 6\,x_2 \le 42$, $6\,x_1 + 12\,x_2 \le 35$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $\tilde{\vet x} = (\frac{49}{12}, \frac{7}{8})$. What does the rounding heuristic (to the nearest integer, $\lfloor v + \frac{1}{2} \rfloor$) do?
it fails: $(4, 1)$ violates constraint 2
it returns $(4, 0)$, of value $12$
it returns $(4, 1)$, of value $17$
it returns $(5, 1)$, of value $20$
Explanation. Rounding to the nearest integer gives $(4, 1)$, which violates constraint 2: the heuristic fails. Rounding all components down (or up) is a different rule.
In the ILP problem $\max\ 2\,x_1 + 5\,x_2$ subject to $7\,x_1 + 2\,x_2 \le 46$, $2\,x_1 + 14\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $\tilde{\vet x} = (\frac{278}{47}, \frac{108}{47})$. What does the rounding heuristic (to the nearest integer, $\lfloor v + \frac{1}{2} \rfloor$) do?
it fails: $(6, 2)$ violates constraint 1
it returns $(6, 3)$, of value $27$
it returns $(5, 2)$, of value $20$
it returns $(6, 2)$, of value $22$
Explanation. Rounding to the nearest integer gives $(6, 2)$, which satisfies the constraints. Rounding all components down (or up) is a different rule.
In the ILP problem $\max\ 3\,x_1 + 4\,x_2$ subject to $9\,x_1 + 4\,x_2 \le 20$, $4\,x_1 + 8\,x_2 \le 26$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $(1, \frac{11}{4})$. Fractional diving is applied: the fractional variable closest to an integer (ties: smallest index) is fixed to the rounded value $\lfloor \tilde x_j + \frac{1}{2} \rfloor$ and the relaxation is solved again, until the solution is integer or the LP problem is infeasible. What does it return?
it fails: an LP problem becomes infeasible
it returns $(1, 2)$, of value $11$
it returns $(1, 3)$, of value $15$
it returns $(0, 3)$, of value $12$
Explanation. After $2$ fixings the LP problem is infeasible: the dive fails. At each step the LP problem is solved again with the fixings taken so far; it is not a rounding of the root solution alone, and it does not guarantee the optimum.
In the ILP problem $\max\ 5\,x_1 + 6\,x_2$ subject to $9\,x_1 + 5\,x_2 \le 23$, $4\,x_1 + 14\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$ the LP relaxation has the optimal solution $(\frac{51}{53}, \frac{152}{53})$. Fractional diving is applied: the fractional variable closest to an integer (ties: smallest index) is fixed to the rounded value $\lfloor \tilde x_j + \frac{1}{2} \rfloor$ and the relaxation is solved again, until the solution is integer or the LP problem is infeasible. What does it return?
it fails: an LP problem becomes infeasible
it returns $(1, 3)$, of value $23$
it returns $(0, 2)$, of value $12$
it returns $(0, 3)$, of value $18$
Explanation. After $2$ fixings the LP problem is infeasible: the dive fails. At each step the LP problem is solved again with the fixings taken so far; it is not a rounding of the root solution alone, and it does not guarantee the optimum.
Example 1 · pli-g-fp-distance · level facile · notes
In the feasibility pump, with binary variables, the integer point is $\bar{\vet x} = (1, 1, 0, 1, 1)$ and the point of the relaxation is $\tilde{\vet x} = (\frac{1}{5}, \frac{3}{5}, \frac{3}{5}, \frac{1}{5}, 0)$. What is the feasibility pump distance $\Delta(\tilde{\vet x}, \bar{\vet x})$, that is the $1$-norm distance between the two points?
$\frac{7}{5}$
$\frac{3}{5}$
$\frac{18}{5}$
$4$
Explanation. $\Delta = \sum_{j : \bar x_j = 0} \tilde x_j + \sum_{j : \bar x_j = 1} (1 - \tilde x_j) = \frac{18}{5}$: it is the sum of the differences $|\tilde x_j - \bar x_j|$, not the number of components that differ after rounding.
Example 2 · pli-g-fp-distance · level facile · notes
In the feasibility pump, with binary variables, the integer point is $\bar{\vet x} = (0, 0, 0, 1, 1)$ and the point of the relaxation is $\tilde{\vet x} = (\frac{3}{5}, 0, \frac{3}{5}, \frac{1}{5}, \frac{2}{5})$. What is the feasibility pump distance $\Delta(\tilde{\vet x}, \bar{\vet x})$, that is the $1$-norm distance between the two points?
$\frac{13}{5}$
$\frac{12}{5}$
$4$
$\frac{6}{5}$
Explanation. $\Delta = \sum_{j : \bar x_j = 0} \tilde x_j + \sum_{j : \bar x_j = 1} (1 - \tilde x_j) = \frac{13}{5}$: it is the sum of the differences $|\tilde x_j - \bar x_j|$, not the number of components that differ after rounding.
In the RINS heuristic, which solves a sub-MIP with some variables fixed, the incumbent is $\bar{\vet x} = (2, 4, 4, 0, 0, 1)$ and the solution of the LP relaxation is $\tilde{\vet x} = (3, 4, \frac{14}{3}, \frac{1}{2}, 0, 0)$ (all variables are integer). Which variables are fixed in the sub-MIP?
$\{x_{2}, x_{5}\}$
$\{x_{2}, x_{3}, x_{4}, x_{5}\}$
$\{x_{1}, x_{3}, x_{4}, x_{6}\}$
$\{x_{1}, x_{2}, x_{5}, x_{6}\}$
Explanation. The variables on which the two solutions agree, $\tilde x_j = \bar x_j$, are fixed: they are $\{x_{2}, x_{5}\}$. An integer component of $\tilde{\vet x}$ different from $\bar x_j$ stays free, and rounding $\tilde x_j$ does not count as agreement.
In the RINS heuristic, which solves a sub-MIP with some variables fixed, the incumbent is $\bar{\vet x} = (1, 1, 4, 3, 4, 1)$ and the solution of the LP relaxation is $\tilde{\vet x} = (\frac{1}{4}, \frac{4}{3}, \frac{14}{3}, 3, \frac{13}{3}, \frac{5}{4})$ (all variables are integer). Which variables are fixed in the sub-MIP?
$\{x_{2}, x_{4}, x_{5}, x_{6}\}$
$\{x_{2}, x_{3}, x_{4}, x_{5}, x_{6}\}$
$\{x_{1}, x_{2}, x_{3}, x_{5}, x_{6}\}$
$\{x_{4}\}$
Explanation. The variables on which the two solutions agree, $\tilde x_j = \bar x_j$, are fixed: they are $\{x_{4}\}$. An integer component of $\tilde{\vet x}$ different from $\bar x_j$ stays free, and rounding $\tilde x_j$ does not count as agreement.
A MIP has $11$ binary variables (set $\mathscr{D}$). Local branching around the incumbent $\bar{\vet x}$ uses the neighbourhood $\Delta(\vet x, \bar{\vet x}) \le 3$, where $\Delta$ counts the binary variables in which $\vet x$ differs from $\bar{\vet x}$. How many binary points does the neighbourhood contain (incumbent included)?
$165$
$232$
$231$
$88$
Explanation. The points at distance $i$ are obtained by changing $i$ variables: $\sum_{i=0}^{3} \binom{11}{i} = 232$. Counting only $\binom{11}{3}$ forgets the closer points, including $\bar{\vet x}$ ($i = 0$).
A MIP has $9$ binary variables (set $\mathscr{D}$). Local branching around the incumbent $\bar{\vet x}$ uses the neighbourhood $\Delta(\vet x, \bar{\vet x}) \le 3$, where $\Delta$ counts the binary variables in which $\vet x$ differs from $\bar{\vet x}$. How many binary points does the neighbourhood contain (incumbent included)?
$72$
$129$
$130$
$84$
Explanation. The points at distance $i$ are obtained by changing $i$ variables: $\sum_{i=0}^{3} \binom{9}{i} = 130$. Counting only $\binom{9}{3}$ forgets the closer points, including $\bar{\vet x}$ ($i = 0$).
Example 1 · pli-g-relax-fix · level complessa · notes
Relax-and-fix is applied to the ILP problem $\max\ 6\,x_1 + 5\,x_2$ subject to $7\,x_1 + 4\,x_2 \le 28$, $6\,x_1 + 10\,x_2 \le 39$, $x_1, x_2 \in \Z_{\ge 0}$ with the blocks $B_1 = \{x_1\}$ and $B_2 = \{x_2\}$. Step 1: the problem is solved with $x_1$ integer and $x_2 \ge 0$ continuous. Step 2: $x_1$ is fixed to the value found and the problem is solved with $x_2$ integer. Which solution is obtained?
$(2, 2)$, value $22$
$(4, 0)$, value $24$
$(3, 2)$, value $28$
$(3, 1)$, value $23$
Explanation. At step 1, for every integer value of $x_1$, $x_2$ takes the largest value allowed by the constraints: the best is $x_1 = 3$. At step 2 $x_2 = 1$, the largest feasible integer. The value is $23$; the optimum of the problem is $24$: the relaxed blocks are optimistic, and the decision of step 1 is not revised.
Example 2 · pli-g-relax-fix · level complessa · notes
Relax-and-fix is applied to the ILP problem $\max\ 5\,x_1 + 6\,x_2$ subject to $9\,x_1 + 5\,x_2 \le 23$, $4\,x_1 + 14\,x_2 \le 44$, $x_1, x_2 \in \Z_{\ge 0}$ with the blocks $B_1 = \{x_1\}$ and $B_2 = \{x_2\}$. Step 1: the problem is solved with $x_1$ integer and $x_2 \ge 0$ continuous. Step 2: $x_1$ is fixed to the value found and the problem is solved with $x_2$ integer. Which solution is obtained?
$(1, 2)$, value $17$
$(0, 2)$, value $12$
$(0, 3)$, value $18$
$(1, 3)$, value $23$
Explanation. At step 1, for every integer value of $x_1$, $x_2$ takes the largest value allowed by the constraints: the best is $x_1 = 1$. At step 2 $x_2 = 2$, the largest feasible integer. The value is $17$; the optimum of the problem is $18$: the relaxed blocks are optimistic, and the decision of step 1 is not revised.
In a MIP with $6$ binary variables, local branching around the incumbent $\bar{\vet x} = (0, 0, 0, 1, 0, 0)$ adds the constraint $\Delta(\vet x, \bar{\vet x}) = \sum_{j: \bar x_j = 1}(1 - x_j) + \sum_{j: \bar x_j = 0} x_j \le 2$. Which of the following binary points belongs to the neighbourhood?
$(0, 1, 1, 1, 0, 0)$
$(0, 0, 1, 0, 1, 0)$
$(1, 0, 1, 0, 0, 0)$
$(1, 1, 0, 0, 1, 0)$
Explanation. On binary points $\Delta$ counts the components that differ from $\bar{\vet x}$: the correct point changes $2 \le 2$, the others at least $3$.
In a MIP with $6$ binary variables, local branching around the incumbent $\bar{\vet x} = (0, 1, 1, 1, 0, 0)$ adds the constraint $\Delta(\vet x, \bar{\vet x}) = \sum_{j: \bar x_j = 1}(1 - x_j) + \sum_{j: \bar x_j = 0} x_j \le 1$. Which of the following binary points belongs to the neighbourhood?
$(1, 1, 1, 1, 0, 0)$
$(0, 0, 1, 1, 0, 1)$
$(0, 1, 1, 1, 1, 1)$
$(1, 1, 1, 1, 1, 1)$
Explanation. On binary points $\Delta$ counts the components that differ from $\bar{\vet x}$: the correct point changes $1 \le 1$, the others at least $2$.
In proximity search for a MIP $\min f(\vet x)$ with integer $f$, the incumbent has $f(\bar{\vet x}) = 41$ and $\theta = 1$ is used. The sub-MIP minimizes the distance $\Delta(\vet x, \bar{\vet x})$ with the constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$. The feasible solutions of the MIP are only: $S_1$: $f = 35$, $\Delta = 6$; $S_2$: $f = 41$, $\Delta = 7$; $S_3$: $f = 44$, $\Delta = 3$; $S_4$: $f = 37$, $\Delta = 5$; $S_5$: $f = 41$, $\Delta = 5$. Which one does the sub-MIP return?
$S_2$
$S_4$
$S_3$
$S_1$
Explanation. Only solutions with $f \le 40$ are allowed; among them the closest one is taken, $S_4$. The closest overall violates the cutoff; the best for $f$ is not the closest.
In proximity search for a MIP $\min f(\vet x)$ with integer $f$, the incumbent has $f(\bar{\vet x}) = 36$ and $\theta = 1$ is used. The sub-MIP minimizes the distance $\Delta(\vet x, \bar{\vet x})$ with the constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$. The feasible solutions of the MIP are only: $S_1$: $f = 32$, $\Delta = 3$; $S_2$: $f = 31$, $\Delta = 6$; $S_3$: $f = 37$, $\Delta = 3$; $S_4$: $f = 35$, $\Delta = 8$; $S_5$: $f = 36$, $\Delta = 1$. Which one does the sub-MIP return?
$S_5$
$S_2$
$S_1$
$S_3$
Explanation. Only solutions with $f \le 35$ are allowed; among them the closest one is taken, $S_1$. The closest overall violates the cutoff; the best for $f$ is not the closest.
RINS is applied to the binary knapsack problem $\max\ 9\,x_1 + 8\,x_2 + 12\,x_3 + 11\,x_4 + 15\,x_5$, $3\,x_1 + 5\,x_2 + 2\,x_3 + 3\,x_4 + 4\,x_5 \le 14$, $\vet x \in \{0,1\}^5$, with incumbent $\bar{\vet x} = (1, 1, 0, 0, 0)$ and LP relaxation solution $\tilde{\vet x} = (1, \frac{2}{5}, 1, 1, 1)$. RINS fixes the variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ coincide and solves the sub-MIP on the others with the cutoff $\text{value} \ge 17 + 1$. What is the value of the solution RINS returns (the incumbent, if the sub-MIP is infeasible)?
$48$
$50$
$47$
$17$
Explanation. The free variables are $x_2, x_3, x_4, x_5$; enumerating them (the others fixed) the best feasible value with cutoff is $47$. The global optimum is $47$: fixing may exclude it.
RINS is applied to the binary knapsack problem $\max\ 10\,x_1 + 5\,x_2 + 15\,x_3 + 7\,x_4 + 12\,x_5$, $6\,x_1 + 4\,x_2 + 8\,x_3 + 8\,x_4 + 8\,x_5 \le 21$, $\vet x \in \{0,1\}^5$, with incumbent $\bar{\vet x} = (0, 0, 1, 0, 1)$ and LP relaxation solution $\tilde{\vet x} = (1, 0, 1, 0, \frac{7}{8})$. RINS fixes the variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ coincide and solves the sub-MIP on the others with the cutoff $\text{value} \ge 27 + 1$. What is the value of the solution RINS returns (the incumbent, if the sub-MIP is infeasible)?
$27$
$35$
$28$
$32$
Explanation. The free variables are $x_1, x_5$; enumerating them (the others fixed) the best feasible value does not exceed $27$: the sub-MIP is infeasible and the incumbent stays. The global optimum is $32$: fixing may exclude it.