← Back to the site

Question bank

570 fixed questions · 55 generated questions

Fixed questions (570)

Part: Models and bounds (85)

1. Integer linear programming (33)

pli-f-001 · level facile · notes
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?
  1. $F = P \cap \Z^n$
  2. $F = P$
  3. $F = \mathrm{conv}(P \cap \Z^n)$
  4. $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.
pli-f-002 · level facile · notes
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$?
  1. It is convex, because it is the intersection of the polyhedron $P$ with the lattice, both convex.
  2. In general it is not convex: the midpoint of two feasible solutions can be non-integer.
  3. It is convex if and only if the polyhedron $P$ is bounded, because then $F$ is finite.
  4. 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.
pli-f-003 · level facile · notes
What is a linear programming problem called in which only some of the variables must be integer?
  1. A BIP problem
  2. A pure ILP problem
  3. A MIP problem
  4. An LP relaxation
Explanation. If only some variables are integer the problem is mixed (MIP); if all the variables are in $\{0,1\}$ it is a BIP problem.
pli-f-004 · level facile · notes
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?
  1. The problem can be unbounded, because $F$ is not convex.
  2. $F$ can contain infinitely many points, but the maximum exists.
  3. It has an optimal solution only if the LP relaxation has an integer optimum.
  4. $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.
pli-f-005 · level facile · notes
What can be said about the problem $\max\{x_1 : 2x_1 \le 1,\ -2x_1 \le -1,\ x_1 \in \Z_{\ge 0}\}$?
  1. It is infeasible, although the LP problem with the same data is feasible.
  2. Its optimal value is $\frac{1}{2}$, attained at the only feasible point.
  3. Its optimal value is $0$, attained by rounding $x_1 = \frac{1}{2}$ down.
  4. 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}$.
pli-f-006 · level facile · notes
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?
  1. Twice as many variables
  2. About $10$ variables
  3. About $1000$ variables
  4. About $100$ variables
Explanation. Since $2^{10} = 1024 \approx 1000$, a factor $1000$ in speed compensates only about $10$ more variables.
pli-f-007 · level facile · notes
How many solutions do $n$ binary variables without other constraints have?
  1. $n^2$
  2. $2n$
  3. $2^n$
  4. $n!$
Explanation. Each variable is $0$ or $1$ independently of the others: the solutions are the $2^n$ vertices of the $n$-dimensional hypercube.
pli-f-008 · level facile · notes
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$?
  1. $(2,2)$
  2. $(4,1)$
  3. $(0,3)$
  4. $(4,2)$
Explanation. $(4,2)$ violates the first constraint: $10 \cdot 4 + 4 \cdot 2 = 48 > 45$. The other three points satisfy both constraints.
pli-f-009 · level media · notes
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?
  1. $z(\ILP) = 3$, with $4$ optimal solutions
  2. $z(\ILP) = \frac{7}{2}$, with a unique optimal solution
  3. $z(\ILP) = 3$, with the unique optimal solution $(3,0)$
  4. $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.
pli-f-010 · level teorema · notes
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?
  1. If the polyhedron $P$ is unbounded and $F \neq \emptyset$, the problem can still have an optimal solution.
  2. If the LP problem with the same data is feasible, the ILP problem is feasible as well.
  3. If the polyhedron $P$ is unbounded, the ILP problem is unbounded.
  4. 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.
pli-f-011 · level teorema · notes
Which of the following statements on ILP problems is correct?
  1. If the LP relaxation is unbounded, the ILP problem is unbounded.
  2. An ILP problem is infeasible if and only if its LP relaxation is infeasible.
  3. If an ILP problem has an optimal solution, it is unique.
  4. 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.
pli-f-012 · level ipotesi · notes
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?
  1. The convexity of $F$ and the linearity of the objective function.
  2. The finiteness of $F$ and the existence of the maximum on a finite nonempty set.
  3. An optimal vertex of the LP relaxation that is also integer.
  4. 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.
pli-f-013 · level ipotesi · notes
To prove that complete enumeration of $n$ binary variables without other constraints examines $2^n$ solutions, what is used?
  1. That every variable takes $2$ values independently of the others (product rule).
  2. That the cube $[0,1]^n$ has exactly $n$ vertices, one per variable.
  3. That the $n$ variables can be ordered in $n!$ different ways.
  4. That the LP relaxation has at most $2^n$ optimal vertices.
Explanation. With two choices for each of the $n$ variables there are $2 \cdot 2 \cdots 2 = 2^n$ combinations: the vertices of the hypercube.
pli-f-131 · level facile · notes
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?
  1. Nothing: a feasible solution that is never improved is optimal.
  2. An upper (dual) bound on the optimal value $z(\ILP)$ equal to $14$.
  3. That $\bar{\vet x}$ is a vertex of the polyhedron $P$ of the problem.
  4. 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.
pli-f-132 · level facile · notes
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?
  1. It needs $60^2 = 3600$ evaluations: enumeration is the best choice.
  2. It needs $2 \cdot 60 = 120$ evaluations, one per value of each variable.
  3. It needs $2^{60} \approx 1.15 \cdot 10^{18}$ evaluations: bounds on the optimal value are needed instead.
  4. 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).
pli-f-133 · level facile · notes
Consider a maximization ILP problem and the LP problem with the same data without the integrality constraints. Which combination of outcomes is possible?
  1. The LP problem is infeasible and the ILP problem has an optimal solution.
  2. The ILP problem has optimal value $10$ and the LP problem optimal value $8$.
  3. The LP problem is infeasible and the ILP problem is unbounded.
  4. 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.
pli-f-205 · level facile · notes
In the canonical maximization form of an integer linear programming (ILP) problem, which constraints appear besides $\mat A\,\vet x \le \vet b$?
  1. Only $\vet x \ge \vet 0$; integrality is imposed afterwards, by rounding.
  2. $\vet x \in \{0,1\}^n$, because every integer variable is binary.
  3. $\vet x \ge \vet 0$ and $\vet x$ integer, that is $\vet x \in \Z^n_{\ge 0}$.
  4. $\mat A\,\vet x = \vet b$ and $\vet x \in \Z^n$, with free variables.
Explanation. The canonical form has $\le$ constraints and nonnegative integer variables: $\vet x \in \Z^n_{\ge 0}$.
pli-f-206 · level facile · notes
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?
  1. A MIP problem (mixed integer linear programming).
  2. A BIP problem (binary integer programming).
  3. A pure ILP problem, because at least one variable is integer.
  4. The LP relaxation of the ILP problem.
Explanation. ILP: all variables integer; BIP: all binary; MIP: some integer and some continuous.
pli-f-207 · level teorema · notes
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?
  1. The feasible region is the polyhedron $P$, because the constraints are linear.
  2. The feasible region is the convex hull of $P$.
  3. The feasible region is $P \cap \{0,1\}^n$ for every ILP problem.
  4. 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$.
pli-f-208 · level facile · notes
In the ILP problem $\max\ x_1 + x_2$ with $2x_1 + 2x_2 \le 5$, $x_1, x_2 \in \Z_{\ge 0}$, how many points does the feasible region $F$ have?
  1. $3$.
  2. $6$.
  3. $10$.
  4. Infinitely many, because the polyhedron has positive area.
Explanation. We need $x_1 + x_2 \le 2$: the nonnegative integer points are $(0,0),(1,0),(2,0),(0,1),(1,1),(0,2)$.
pli-f-209 · level facile · notes
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)$?
  1. They are the same thing: both denote the maximum of the objective function.
  2. $\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.
  3. $z(\ILP)$ is a point of $F$; $\tilde{\vet x}(\ILP)$ is the objective function value.
  4. $\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.
pli-f-210 · level facile · notes
In the ILP problem $\max\ 2x_1 + x_2$ with $x_1 + x_2 \le 2$, $x_1, x_2 \in \Z_{\ge 0}$, what are the optimal solution and the optimal value?
  1. $\tilde{\vet x}(\ILP) = (1,1)$ and $z(\ILP) = 3$.
  2. $\tilde{\vet x}(\ILP) = (2,0)$ and $z(\ILP) = 2$.
  3. $\tilde{\vet x}(\ILP) = (0,2)$ and $z(\ILP) = 4$.
  4. $\tilde{\vet x}(\ILP) = (2,0)$ and $z(\ILP) = 4$.
Explanation. Among the points with $x_1 + x_2 \le 2$ the largest value of $2x_1 + x_2$ is $4$, attained only at $(2,0)$.
pli-f-211 · level teorema · notes
For a maximization ILP problem with a nonempty and finite feasible region $F$, which statement about the optimal solution is correct?
  1. An optimal solution always exists, but it need not be unique.
  2. There is always a unique optimal solution, because $F$ is finite.
  3. An optimal solution exists only if the LP relaxation has an integer optimum.
  4. The optimal solution is always a vertex of the constraint polyhedron $P$.
Explanation. On a nonempty finite set the maximum exists; several points can share the maximum value.
pli-f-212 · level ipotesi · notes
We want to prove that a maximization ILP problem has an optimal solution. Which assumption suffices, together with $F \neq \emptyset$?
  1. That the matrix $\mat A$ has all integer coefficients.
  2. That the cost vector $\vet c$ has positive components.
  3. That the constraint polyhedron $P$ is bounded, so $F$ is finite.
  4. That there are at least as many constraints as variables.
Explanation. With $P$ bounded, $F$ is finite and nonempty, so the maximum exists; without boundedness the problem can be unbounded.
pli-f-213 · level facile · notes
In the graphical method for a maximization ILP problem in two variables, how is an optimal solution found?
  1. Find the optimal vertex of the polyhedron and round it to the nearest integer point.
  2. Move the level line against the gradient up to the first integer point.
  3. Pick the integer point of the polyhedron farthest from the origin.
  4. Move the level line of $\vet c\T \vet x$ in the gradient direction up to the last integer point of the polyhedron.
Explanation. The level line moves along $\nabla f = \vet c$; the last lattice point of $P$ it touches is optimal.
pli-f-214 · level facile · notes
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?
  1. $(4,1)$ is optimal and $z(\ILP) = 15$, the value of the LP relaxation.
  2. $(4,1)$ is only a primal bound: further checks are needed.
  3. $(4,1)$ is the unique optimal solution and $z(\ILP) = 14$.
  4. 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.
pli-f-215 · level facile · notes
Complete enumeration of an ILP problem with $n$ binary variables and no other constraint evaluates how many solutions?
  1. $2^n$.
  2. $n^2$.
  3. $n!$.
  4. $2n$.
Explanation. Each variable is $0$ or $1$ independently of the others: $2^n$ combinations.
pli-f-216 · level facile · notes
A student claims that the midpoint of two feasible solutions of an ILP problem is always feasible. Why is this wrong?
  1. The midpoint can violate $\mat A\,\vet x \le \vet b$ even though $P$ is convex.
  2. The feasible region $F = P \cap \Z^n$ is not convex: the midpoint need not be integer.
  3. It is wrong only when the two solutions have the same objective value.
  4. It is not wrong: $F$ is convex because it is an intersection of half-spaces.
Explanation. The midpoint lies in $P$ (convex), but e.g. between $(0,0)$ and $(1,0)$ lies $(\frac12,0) \notin \Z^2$.
pli-f-217 · level facile · notes
An ILP problem has a feasible LP relaxation (same constraints, without integrality). What can be said about the ILP problem?
  1. It is always feasible, because the polyhedron is nonempty.
  2. It is feasible if and only if the polyhedron is bounded.
  3. It can be infeasible: the polyhedron may contain no integer point.
  4. It is feasible and has the same optimal value as the relaxation.
Explanation. For instance $\{x : 2x = 1,\ x \ge 0\}$ is nonempty but contains no integer point.
pli-f-218 · level teorema · notes
What are the possible outcomes of an ILP problem in canonical maximization form (with integer data)?
  1. Infeasible, unbounded, or with an optimal solution.
  2. Only infeasible or with an optimal solution, because $F$ is finite.
  3. With an optimal solution, or with a finite supremum that is not attained.
  4. Infeasible, unbounded, or with infinitely many non-integer optimal solutions.
Explanation. They are the same three outcomes as in linear programming; $F$ is finite only when the polyhedron is bounded.
pli-f-219 · level ipotesi · notes
We want to prove that complete enumeration terminates on an ILP problem. Which assumption is needed?
  1. That the problem has at most two variables, so it can be drawn.
  2. That the LP relaxation has an integer optimal solution.
  3. That all coefficients of the objective function are positive.
  4. That the feasible region $F$ is finite, e.g. because the polyhedron is bounded.
Explanation. Enumeration evaluates every point of $F$: it terminates only if $F$ is a finite set.
pli-f-220 · level ipotesi · notes
To prove that a feasible solution $\bar{\vet x}$ of a maximization ILP problem is optimal, without enumerating, what is needed?
  1. That $\bar{\vet x}$ was found by the best available heuristic.
  2. A dual bound $\UB$ with $\UB = \vet c\T \bar{\vet x}$.
  3. That $\bar{\vet x}$ is close to the optimal solution of the LP relaxation.
  4. A second feasible point with value lower than $\vet c\T \bar{\vet x}$.
Explanation. From $\vet c\T \bar{\vet x} \le z(\ILP) \le \UB$ with $\UB = \vet c\T \bar{\vet x}$ we get $z(\ILP) = \vet c\T \bar{\vet x}$.
pli-f-221 · level teorema · notes
Which statement about the outcomes of an ILP problem and of its LP relaxation (same constraints, real $\vet x \ge \vet 0$) is correct?
  1. If the LP relaxation is feasible, the ILP problem is feasible too.
  2. If the ILP problem is feasible, the LP relaxation is feasible too.
  3. If the LP relaxation is unbounded, the ILP problem is unbounded.
  4. The two problems always have the same outcome.
Explanation. $F \subseteq P$: a feasible integer point is also a point of the polyhedron. The converse fails.

2. Primal and dual bounds (52)

pli-f-014 · level facile · notes
In a maximization ILP problem with optimal value $z(\ILP)$, what are primal bounds and dual bounds?
  1. Primal bounds (values of feasible solutions) are lower bounds; dual bounds are upper bounds.
  2. Primal bounds are upper bounds; dual bounds are lower bounds.
  3. Both are upper bounds on $z(\ILP)$.
  4. Primal bounds come from the LP relaxation, dual bounds from heuristics.
Explanation. The value of a feasible solution does not exceed the optimum (lower bound); a dual bound holds for all feasible solutions (upper bound).
pli-f-015 · level facile · notes
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:
  1. $R \subseteq F$
  2. $F \subseteq R$
  3. $R \cap F \neq \emptyset$
  4. $R$ is convex
Explanation. A relaxation has a larger region with the same objective function: this is why $z(\ILP) \le z(R)$.
pli-f-016 · level facile · notes
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)$?
  1. Yes, an upper bound.
  2. Yes, a lower bound.
  3. In general it is neither a lower bound nor an upper bound.
  4. 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.
pli-f-017 · level facile · notes
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?
  1. $23$
  2. $24$
  3. $22$
  4. $\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)$.
pli-f-018 · level facile · notes
In a maximization ILP problem, when is a feasible solution $\bar{\vet x}$ certified optimal?
  1. When the gap between its value and a dual bound (upper bound) is zero.
  2. When it is obtained by rounding the optimum of the LP relaxation.
  3. When a local search heuristic finds no better solution.
  4. When it satisfies all the constraints of the problem with equality.
Explanation. A bound from the other side is needed: if the value of $\bar{\vet x}$ (lower bound) equals an upper bound, no solution can be better.
pli-f-019 · level facile · notes
What is obtained by rounding the optimal solution of the LP relaxation of an ILP problem?
  1. An optimal solution, if every variable is rounded to the nearest integer.
  2. An integer point that may be infeasible and, if feasible, not optimal.
  3. Always a feasible solution, which however is in general not optimal.
  4. 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.
pli-f-020 · level facile · notes
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?
  1. $\pi_i$ of any sign and $\sum_i a_{ij}\pi_i = c_j$ for every $j$.
  2. $\pi_i \ge 0$ and $\sum_i a_{ij}\pi_i \le c_j$ for every $j$.
  3. $\pi_i \ge 0$ and $\sum_i a_{ij}\pi_i \ge c_j$ for every $j$.
  4. $\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$.
pli-f-021 · level facile · notes
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)$?
  1. $14 \le z(\ILP) \le \frac{31}{2}$
  2. $13 \le z(\ILP) \le 16$
  3. $z(\ILP) = 15$
  4. $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.
pli-f-022 · level media · notes
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?
  1. $15$
  2. $\frac{31}{2}$
  3. $16$
  4. $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.
pli-f-023 · level teorema · notes
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?
  1. $z(\ILP) \ge z(\LP)$, because the ILP problem has more constraints and hence a higher value.
  2. $z(\ILP) \le z(\LP)$, and if an optimal solution of the relaxation is integer, it is optimal for the ILP problem.
  3. If $z(\LP)$ is integer, then $\tilde{\vet x}(\LP)$ is integer and optimal for the ILP problem.
  4. $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)$.
pli-f-024 · level teorema · notes
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?
  1. If all the variables are integer, $z(\ILP) \le \lfloor z(\LP) \rfloor$ whatever the costs.
  2. If $\mat A$ and $\vet b$ are integer, $z(\MIP) \le \lfloor z(\LP) \rfloor$ also with continuous variables.
  3. If all the variables and all the costs are integer, $z(\ILP) \le \lfloor z(\LP) \rfloor$.
  4. 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.
pli-f-025 · level ipotesi · notes
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?
  1. Only $a_{ij} > 0$, with no other hypothesis on constraint $i$.
  2. $b_i \ge 0$ and a bounded LP relaxation.
  3. Integer costs $c_j$ and $a_{ij} > 0$.
  4. $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.
pli-f-026 · level ipotesi · notes
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?
  1. $\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$.
  2. $\bar{\vet \pi}$ of any sign with $\sum_i a_{ij} \bar\pi_i = c_j$ for every $j$.
  3. $\bar{\vet \pi} \ge \vet 0$ and $\sum_i a_{ij} \bar\pi_i \le c_j$ for every $j$.
  4. $\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.
pli-f-134 · level facile · notes
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?
  1. $\LB = 20$, with the solution $(4, 0)$.
  2. $\LB = 9$, with the solution $(0, 3)$.
  3. $\LB = 45$, with the solution $(9, 0)$.
  4. $\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.
pli-f-135 · level facile · notes
For a maximization ILP problem with optimal value $z(\ILP)$, a heuristic algorithm returns a feasible solution of value $37$. What can be concluded?
  1. That $z(\ILP) \le 37$: the value is a dual bound.
  2. That $z(\ILP) = 37$, if the heuristic was run to the end.
  3. That $z(\ILP) \ge 37$: the value is a primal bound.
  4. Nothing about $z(\ILP)$, until the LP relaxation is known.
Explanation. Every feasible solution has value at most $z(\ILP)$; a heuristic gives no guarantee of optimality, so its value is only a lower bound.
pli-f-136 · level facile · notes
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?
  1. Rounding the LP optimum down always gives the integer optimum.
  2. The nearest integer point, $(2, 5)$, is feasible and therefore optimal.
  3. The bound $z(\LP)$ is useless, because the LP optimum is far from $(5, 0)$.
  4. 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$.
pli-f-137 · level facile · notes
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?
  1. Nothing: upper bounds on the variables never cut off the LP optimum.
  2. The new LP optimum is $(4, 0)$, integer and hence optimal; the rounded bound was already $4$.
  3. The LP value goes from $\frac{9}{2}$ to $4$ and the rounded bound from $5$ to $4$.
  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.
pli-f-138 · level facile · notes
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?
  1. Yes: it is enough that the coefficient of $x_1$ is positive.
  2. Yes, but only for the LP relaxation, not for the integer points.
  3. No: the bound holds only if $\frac{7}{3}$ is an integer.
  4. 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$.
pli-f-139 · level facile · notes
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?
  1. $(\pi_1, \pi_2) = (1, -\frac{1}{14})$
  2. $(\pi_1, \pi_2) = (\frac{3}{10}, \frac{1}{7})$
  3. $(\pi_1, \pi_2) = (\frac{3}{10}, 0)$
  4. $(\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$.
pli-f-140 · level media · notes
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?
  1. $52 \le z(\ILP) \le 55$
  2. $52 \le z(\ILP) \le \frac{107}{2}$
  3. $52 \le z(\ILP) \le 53$
  4. $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$.
pli-f-141 · level facile · notes
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?
  1. The best ones solve the dual of the LP relaxation, and equal $z(\LP)$.
  2. With well chosen multipliers one goes below $z(\LP)$, down to $z(\ILP)$.
  3. The optimal value of the dual problem is equal to $z(\ILP)$.
  4. 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.
pli-f-222 · level facile · notes
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|$?
  1. $20\%$.
  2. $10\%$.
  3. $80\%$.
  4. $25\%$.
Explanation. $(50 - 40)/40 = 0.25$. The wrong $20\%$ divides by $\UB$ instead of $|\LB|$.
pli-f-223 · level facile · notes
In a maximization ILP problem with optimal value $z(\ILP)$, what is the difference between a primal bound $\LB$ and a dual bound $\UB$?
  1. $\LB$ is the value of one feasible solution; $\UB$ bounds the value of all feasible solutions from above.
  2. $\LB$ bounds all feasible solutions from above; $\UB$ is the value of one feasible solution.
  3. Both are values of feasible solutions, one of the ILP problem and one of the relaxation.
  4. $\LB$ comes from the dual problem, $\UB$ from the primal problem.
Explanation. In a maximization problem primal bounds are lower bounds and dual bounds are upper bounds: $\LB \le z(\ILP) \le \UB$.
pli-f-224 · level ipotesi · notes
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?
  1. That the LP relaxation has an integer optimal solution.
  2. That $\UB$ is the optimal value of the dual of the relaxation.
  3. Nothing: from $\LB \le z(\ILP) \le \UB$ and $\UB = \LB$ we get $z(\ILP) = \LB$.
  4. 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.
pli-f-225 · level facile · notes
What are the floors $\lfloor 3.7 \rfloor$ and $\lfloor -1.2 \rfloor$, with $\lfloor y \rfloor = \max\{q \in \Z : q \le y\}$?
  1. $3$ and $-1$.
  2. $4$ and $-1$.
  3. $4$ and $-2$.
  4. $3$ and $-2$.
Explanation. The floor is the largest integer not exceeding $y$: for $-1.2$ it is $-2$, not $-1$.
pli-f-226 · level facile · notes
What does a heuristic algorithm guarantee on a maximization ILP problem?
  1. It finds an optimal solution, but without proving it.
  2. It provides a dual bound on the optimal value $z(\ILP)$.
  3. It quickly finds feasible solutions.
  4. It always finds a feasible solution, if the problem is feasible.
Explanation. A heuristic gives feasible solutions (lower bounds in a maximization problem), and it may also fail.
pli-f-227 · level facile · notes
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?
  1. $(4,0)$ with $\LB = 12$.
  2. $(4.5,\ 0)$ with $\LB = 13.5$.
  3. $(12,0)$ with $\LB = 36$.
  4. $(5,0)$ with $\LB = 15$.
Explanation. $\bar x_1 = \min\{\lfloor 45/10 \rfloor, \lfloor 49/4 \rfloor\} = \min\{4,12\} = 4$, so $\LB = 3 \cdot 4 = 12$.
pli-f-228 · level facile · notes
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?
  1. Drop the constraints $\mat A\,\vet x \le \vet b$ and keep integrality.
  2. Replace $\vet x \in \Z^n_{\ge 0}$ by $\vet x \in \R^n_{\ge 0}$, keeping objective and constraints unchanged.
  3. Round down the right-hand sides $\vet b$ and solve the integer problem.
  4. 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\}$.
pli-f-229 · level teorema · notes
Let $P$ be the feasible region of the LP relaxation of an ILP problem and $F$ that of the ILP problem. Which relation always holds?
  1. $P \subseteq F$, because the relaxation has fewer constraints.
  2. $F = P$ when the data $\mat A$ and $\vet b$ are integer.
  3. $F \subseteq P$, because $F = P \cap \Z^n$.
  4. $F$ and $P$ are disjoint, because $P$ contains fractional points.
Explanation. Every feasible integer point also satisfies the constraints of the relaxation: $F = P \cap \Z^n \subseteq P$.
pli-f-230 · level teorema · notes
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?
  1. $z(\ILP) \le z(\LP)$.
  2. $z(\ILP) \ge z(\LP)$.
  3. $z(\ILP) = \lfloor z(\LP) \rfloor$.
  4. $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.
pli-f-231 · level ipotesi · notes
In a maximization ILP problem, when can $\lfloor z(\LP) \rfloor$ be used instead of $z(\LP)$ as an upper bound on $z(\ILP)$?
  1. Always, even in a MIP problem with continuous variables.
  2. When the matrix $\mat A$ and the vector $\vet b$ are integer, whatever the costs.
  3. Only when the optimal solution of the relaxation is integer.
  4. When all variables are integer and all costs $c_j$ are integer.
Explanation. With integer variables and costs every feasible value is integer, so $z(\ILP) \le z(\LP)$ implies $z(\ILP) \le \lfloor z(\LP) \rfloor$.
pli-f-232 · level ipotesi · notes
In the proof of $z(\ILP) \le z(\LP)$ for a maximization ILP problem, which fact is essential?
  1. The LP relaxation has an optimal solution at an integer vertex.
  2. Every ILP solution is feasible for the relaxation.
  3. All costs $c_j$ are nonnegative.
  4. The dual of the relaxation is infeasible.
Explanation. From $F \subseteq P$ and the same objective: $z(\ILP) = \max_F \vet c\T \vet x \le \max_P \vet c\T \vet x = z(\LP)$.
pli-f-233 · level facile · notes
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?
  1. $(4,3)$, which is feasible with value $18$.
  2. $(4,3)$, which is infeasible because $10 \cdot 4 + 4 \cdot 3 = 52 > 45$.
  3. $(3,2)$, which is the optimal solution of the ILP problem.
  4. $(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.
pli-f-234 · level facile · notes
Rounding down the optimum $\tilde{\vet x}(\LP)$ of the LP relaxation of an ILP problem gives a feasible point. What can be said about it?
  1. It is always the optimal solution of the ILP problem.
  2. Its value is an upper bound on the optimal value $z(\ILP)$.
  3. It always has value $\lfloor z(\LP) \rfloor$.
  4. It is a feasible solution, hence a primal bound.
Explanation. In the car production example rounding down gives $(3,2)$ with value $13$, while $z(\ILP) = 14$.
pli-f-235 · level facile · notes
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$?
  1. $x_2 \le 3$.
  2. $x_2 \le 3.4$.
  3. $x_2 \le 4$.
  4. $x_2 \le 17$.
Explanation. $x_2 \le \lfloor 17/5 \rfloor = 3$: nonnegative coefficients and integer variable.
pli-f-236 · level ipotesi · notes
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?
  1. $b_i > 0$ and $a_{ij}$ divides $b_i$.
  2. That the constraint is active at the optimal solution of the LP relaxation.
  3. $a_{ik} \ge 0$ for every $k$, so no other term can compensate $a_{ij} x_j$.
  4. 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.
pli-f-237 · level facile · notes
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?
  1. Always, because constraints are added.
  2. Never, because the bounds cut off no integer point.
  3. Only if the problem has binary variables.
  4. 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.
pli-f-238 · level facile · notes
Two constraints of an ILP problem with nonnegative coefficients give the bounds $x_1 \le 4$ and $x_1 \le 6$. Which one is kept?
  1. $x_1 \le 6$, the largest.
  2. $x_1 \le 5$, the average.
  3. $x_1 \le 4$, the smallest.
  4. $x_1 \le 10$, the sum.
Explanation. Both are valid; the tightest is $x_1 \le 4$.
pli-f-239 · level teorema · notes
For an ILP problem $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \in \Z^n_{\ge 0}\}$, what does the proposition on dual bounds state?
  1. For every $\bar{\vet \pi} \ge \vet 0$ with $\bar{\vet \pi}\T \mat A \ge \vet c\T$ we have $z(\ILP) \le \vet b\T \bar{\vet \pi}$.
  2. For every $\bar{\vet \pi} \ge \vet 0$ we have $z(\ILP) \le \vet b\T \bar{\vet \pi}$.
  3. For every $\bar{\vet \pi}$ with $\bar{\vet \pi}\T \mat A \ge \vet c\T$ we have $z(\ILP) \ge \vet b\T \bar{\vet \pi}$.
  4. For every $\bar{\vet \pi} \ge \vet 0$ with $\bar{\vet \pi}\T \mat A \le \vet c\T$ we have $z(\ILP) \le \vet b\T \bar{\vet \pi}$.
Explanation. A feasible dual solution gives an upper bound: $\vet c\T \vet x \le \bar{\vet \pi}\T \mat A\,\vet x \le \bar{\vet \pi}\T \vet b$.
pli-f-240 · level ipotesi · notes
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?
  1. In the first step: it is used to compare $\vet c\T$ with $\bar{\vet \pi}\T \mat A$.
  2. In the second: to keep the direction of $\mat A\,\vet x \le \vet b$.
  3. In no step: $\bar{\vet \pi}\T \mat A \ge \vet c\T$ is enough.
  4. 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$.
pli-f-241 · level facile · notes
What is the dual problem $\mathrm{D(LP)}$ of the LP relaxation $\max\{\vet c\T \vet x : \mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0\}$?
  1. $\max\{\vet b\T \vet \pi : \mat A\T \vet \pi \le \vet c,\ \vet \pi \ge \vet 0\}$.
  2. $\min\{\vet c\T \vet \pi : \mat A\,\vet \pi \ge \vet b,\ \vet \pi \ge \vet 0\}$.
  3. $\min\{\vet b\T \vet \pi : \mat A\T \vet \pi \ge \vet c,\ \vet \pi \ge \vet 0\}$.
  4. $\min\{\vet b\T \vet \pi : \mat A\T \vet \pi \ge \vet c,\ \vet \pi \in \Z^m_{\ge 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$.
pli-f-242 · level facile · notes
In the notation of the chapter on bounds, what do $\bar{\vet x}$, $\tilde{\vet x}(\LP)$ and $\tilde{\vet \pi}(\mathrm{D(LP)})$ denote?
  1. A feasible solution of the ILP problem, the optimum of the LP relaxation and the optimum of its dual.
  2. The optimum of the ILP problem, a feasible solution of the relaxation and any dual solution.
  3. Three optimal solutions of the same problem found by different methods.
  4. The average solution, the optimum of the ILP problem and the cost vector.
Explanation. A bar denotes feasible solutions, a tilde optimal solutions of the problem given in parentheses.
pli-f-243 · level facile · notes
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}$?
  1. $\LB(\bar{\vet x}) \le z(\LP) \le z(\ILP) \le \vet b\T \bar{\vet \pi}$.
  2. $z(\ILP) \le \LB(\bar{\vet x}) \le z(\LP) \le \vet b\T \bar{\vet \pi}$.
  3. $\LB(\bar{\vet x}) \le z(\ILP) \le \vet b\T \bar{\vet \pi} \le z(\LP)$.
  4. $\LB(\bar{\vet x}) \le z(\ILP) \le z(\LP) \le \vet b\T \bar{\vet \pi}$.
Explanation. By weak duality of the relaxation, $z(\LP) = z(\mathrm{D(LP)}) \le \vet b\T \bar{\vet \pi}$.
pli-f-244 · level facile · notes
In a maximization ILP problem, is the value of an arbitrary (non-optimal) feasible solution of the LP relaxation a bound on $z(\ILP)$?
  1. Yes, it is an upper bound, because the relaxation contains $F$.
  2. No: only the optimal value $z(\LP)$ (or a dual feasible value) is.
  3. Yes, it is a lower bound, because it is the value of a feasible point.
  4. Yes, but only if the point is integer.
Explanation. An arbitrary point of $P$ can have value below $z(\ILP)$; only a feasible integer point would give a lower bound.
pli-f-245 · level facile · notes
A maximization MIP problem (some continuous variables) has LP relaxation with $z(\LP) = 17.6$. Which upper bound on $z(\MIP)$ is legitimate?
  1. $17$.
  2. $17.6$.
  3. $18$.
  4. $16.6$.
Explanation. Rounding to $\lfloor z(\LP) \rfloor$ requires all variables and costs integer; with continuous variables it is not allowed.
pli-f-246 · level facile · notes
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?
  1. Using fractional multipliers instead of integer ones.
  2. Getting combined coefficients strictly larger than the costs.
  3. Using a zero multiplier for some constraint.
  4. 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.
pli-f-247 · level facile · notes
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?
  1. $13 \le z(\ILP) \le 15$.
  2. $13 \le z(\ILP) \le 15.5$.
  3. $13 \le z(\ILP) \le 16$.
  4. $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.
pli-f-248 · level teorema · notes
For a maximization ILP problem, which statement about the dual $\mathrm{D(LP)}$ of the LP relaxation is correct?
  1. The optimal value of the dual always equals $z(\ILP)$.
  2. The dual gives bounds better than $z(\LP)$ when the variables are integer.
  3. The best dual bound obtainable with constraint multipliers is $z(\mathrm{D(LP)}) = z(\LP)$.
  4. The dual gives a lower bound on $z(\ILP)$.
Explanation. By strong duality of the relaxation the best multipliers give exactly $z(\LP)$, not less.
pli-f-249 · level facile · notes
The problem $\max\{g(\vet x) : \vet x \in R\}$ is a relaxation of $\max\{f(\vet x) : \vet x \in F\}$. Which conditions define it?
  1. $R \subseteq F$ and $g(\vet x) \le f(\vet x)$ for every $\vet x \in R$.
  2. $F \subseteq R$ and $g = f$ on all of $R$.
  3. $R = F$ and $g(\vet x) \ge f(\vet x)$ for every $\vet x$.
  4. $F \subseteq R$ and $g(\vet x) \ge f(\vet x)$ for every $\vet x \in F$.
Explanation. A relaxation has more solutions and an objective that does not underestimate: its optimum is an upper bound.
pli-f-556 · level facile · notes
What is the LP relaxation of the ILP problem $\max\ 2x_1 + 3x_2$, $x_1 + x_2 \le 4$, $x_1, x_2 \in \Z_{\ge 0}$?
  1. $\max\ 2x_1 + 3x_2$, $x_1 + x_2 \le 4$, $x_1, x_2 \in \{0,1\}$.
  2. $\max\ 2x_1 + 3x_2$, $x_1 + x_2 \le 4$, real $x_1, x_2 \ge 0$.
  3. $\max\ 2x_1 + 3x_2$, $x_1, x_2 \in \Z_{\ge 0}$, with no constraints.
  4. $\min\ 4\pi$, $\pi \ge 2$, $\pi \ge 3$.
Explanation. Only the integrality constraints are removed. The last option is the dual, not the relaxation.
pli-f-557 · level ipotesi · notes
If the LP relaxation of an ILP problem has an integer optimal solution, it is optimal for the ILP problem too. What is needed to prove it?
  1. That the relaxation has a unique optimal solution.
  2. That it is feasible for the ILP problem.
  3. That the costs are positive.
  4. That the dual has an integer solution.
Explanation. Its value is $z(\LP)$, an upper bound on $z(\ILP)$, attained by a point of $F$.
pli-f-558 · level facile · notes
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)$?
  1. $11.8 \le z(\ILP) \le 12$.
  2. $z(\ILP) = 12.5$.
  3. $z(\ILP) \ge 12.5$.
  4. $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.

Part: Strengthening the formulation (129)

3. Ideal formulations (36)

pli-f-027 · level facile · notes
What is the convex hull $\mathrm{conv}(S)$ of a set $S \subseteq \R^n$?
  1. The set of the linear combinations of points of $S$.
  2. The set of all the convex combinations of points of $S$.
  3. The smallest bounded polyhedron containing $S$ and its integer points.
  4. 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$.
pli-f-028 · level facile · notes
Let $F$ be the finite set of feasible solutions of an ILP problem. What is known about the vertices of $\mathrm{conv}(F)$?
  1. They can be fractional points.
  2. They coincide with all the points of $F$.
  3. They are points of $F$, hence feasible integer solutions.
  4. They are the vertices of the polyhedron of the LP relaxation.
Explanation. The vertices of the hull of a finite set are points of the set; the other points of $F$ lie on the boundary or in the interior.
pli-f-029 · level facile · notes
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$?
  1. When $P \cap \Z^n = F$.
  2. When $P = F$.
  3. When $P \subseteq \mathrm{conv}(F)$.
  4. 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.
pli-f-030 · level facile · notes
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)$?
  1. $P \subseteq \mathrm{conv}(F)$
  2. $P \cap \mathrm{conv}(F) = \emptyset$
  3. $P = \mathrm{conv}(F)$ always
  4. $\mathrm{conv}(F) \subseteq P$
Explanation. $P$ is convex and contains $F$, so it contains the smallest convex set containing $F$.
pli-f-031 · level facile · notes
Let $F$ be the feasible region of an ILP problem. When is a formulation $P$ (a polyhedron with $P \cap \Z^n = F$) ideal?
  1. When the optimum of the relaxation is integer for the given objective function.
  2. When $P = \mathrm{conv}(F)$.
  3. When $P$ has the smallest possible number of constraints.
  4. 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.
pli-f-032 · level facile · notes
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?
  1. $z(\LP_1) \ge z(\LP_2)$
  2. $z(\LP_1) = z(\LP_2)$
  3. $z(\ILP) \le z(\LP_1) \le z(\LP_2)$
  4. $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.
pli-f-033 · level facile · notes
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?
  1. $16$
  2. $4$
  3. $5$
  4. $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.
pli-f-034 · level facile · notes
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)$?
  1. Because the point $(\frac{7}{2}, \frac{5}{2})$ of $P$ violates $x_1 + x_2 \le 5$, valid for $\mathrm{conv}(F)$.
  2. Because the ILP problem has several optimal solutions and the relaxation only one.
  3. Because some points of $F$ lie on the boundary of $\mathrm{conv}(F)$ without being vertices.
  4. 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$.
pli-f-035 · level media · notes
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?
  1. $10$
  2. $5$
  3. $6$
  4. $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.
pli-f-036 · level teorema · notes
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?
  1. Every optimal solution of the relaxation is integer, even with several optima.
  2. $P$ is ideal if and only if the relaxation has an integer optimum for one objective.
  3. The relaxation has an optimal vertex, every optimal vertex is optimal for the ILP problem, and $z(\LP) = z(\ILP)$.
  4. $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.
pli-f-037 · level teorema · notes
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?
  1. It exists only if $F$ is bounded, and it uses at most $2n$ inequalities.
  2. It does not exist when $F$ is infinite, even with rational data.
  3. It is always obtained by adding upper bounds on the variables.
  4. 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.
pli-f-038 · level ipotesi · notes
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?
  1. An optimal vertex exists, the vertices of $\mathrm{conv}(F)$ lie in $F$, and $z(\ILP) \le z(\LP)$.
  2. Strong duality and the complementary slackness conditions on the relaxation.
  3. The convexity of $F$ and the linearity of the objective function.
  4. 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)$.
pli-f-039 · level ipotesi · notes
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?
  1. That $P_1$ and $P_2$ are both ideal formulations.
  2. The same objective function: the maximum on a subset is not larger.
  3. That both polyhedra are bounded and have integer vertices.
  4. 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.
pli-f-142 · level facile · notes
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?
  1. The formulation is replaced by the polyhedron of the non-negativity constraints only.
  2. All the points of $F$ are enumerated and their convex hull is computed.
  3. The given formulation is kept and valid inequalities that cut off fractional points are added.
  4. 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$.
pli-f-143 · level facile · notes
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?
  1. Strictly inside the hull.
  2. On the boundary of the hull, on two edges.
  3. Outside the hull, because they are not vertices.
  4. 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.
pli-f-144 · level facile · notes
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)$)?
  1. Yes: an integer optimum proves that all the vertices of $P$ are integer.
  2. Yes, if the integer optimum is unique.
  3. No: an ideal formulation never has integer optima.
  4. 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.
pli-f-145 · level facile · notes
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>?
  1. The vertices of $\mathrm{conv}(F)$ are feasible integer solutions.
  2. $\mathrm{conv}(F)$ contains fractional points that are not convex combinations of points of $F$.
  3. $\mathrm{conv}(F)$ is contained in every formulation of the problem.
  4. $\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$.
pli-f-146 · level facile · notes
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?
  1. Down to the set $F$ itself, which is a polyhedron.
  2. Down to the optimal point only, removing the other points of $F$.
  3. Down to $\mathrm{conv}(F)$, never removing points of $F$.
  4. 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).
pli-f-250 · level facile · notes
What is the convex hull $\mathrm{conv}(F)$ of the finite set $F$ of integer solutions of an ILP problem?
  1. The set of all linear combinations of the points of $F$.
  2. The constraint polyhedron $\mat A\,\vet x \le \vet b,\ \vet x \ge \vet 0$.
  3. The set of all convex combinations of the points of $F$.
  4. The set of integer points of the constraint polyhedron.
Explanation. $\mathrm{conv}(F)$ is the smallest convex set containing $F$: the combinations with nonnegative weights summing to $1$.
pli-f-251 · level teorema · notes
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?
  1. Every vertex of $\mathrm{conv}(F)$ is a point of $F$, hence integer.
  2. Every point of $F$ is a vertex of $\mathrm{conv}(F)$.
  3. The vertices of $\mathrm{conv}(F)$ coincide with those of $P$.
  4. $\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).
pli-f-252 · level facile · notes
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?
  1. When $P \cap \Z^n = F$.
  2. When $P = \mathrm{conv}(F)$.
  3. When $P$ has at least one integer vertex.
  4. 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.
pli-f-253 · level ipotesi · notes
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?
  1. That the optimum of the LP relaxation over $P$ is integer for the objective of the problem.
  2. That $P$ is bounded and contains $F$.
  3. That all vertices of $P$ are integer.
  4. 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.
pli-f-254 · level teorema · notes
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)?
  1. The LP relaxation over $P = \mathrm{conv}(F)$ has an integer optimal solution and $z(\LP) = z(\ILP)$.
  2. Every optimal solution of the LP relaxation over $P$ is integer, for every objective.
  3. The LP relaxation over $P$ gives $z(\LP) = \lfloor z(\ILP) \rfloor$.
  4. 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.
pli-f-255 · level ipotesi · notes
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?
  1. Every LP has a unique optimal solution.
  2. The dual of an LP always has an integer solution.
  3. Every point of a polyhedron is a vertex.
  4. 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$.
pli-f-256 · level facile · notes
$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?
  1. $z(\ILP) \le z(\LP_2) \le z(\LP_1)$.
  2. $z(\ILP) \le z(\LP_1) \le z(\LP_2)$.
  3. $z(\LP_1) \le z(\ILP) \le z(\LP_2)$.
  4. $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.
pli-f-257 · level facile · notes
Given two formulations $P_1$ and $P_2$ of the same ILP problem, when is $P_1$ stronger than $P_2$?
  1. When $P_1$ has more constraints than $P_2$.
  2. When $P_1 \subseteq P_2$.
  3. When $P_1 \supseteq P_2$.
  4. When $P_1$ contains more integer points than $P_2$.
Explanation. Stronger means a smaller polyhedron; the integer points are the same in all formulations.
pli-f-258 · level teorema · notes
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?
  1. It is weaker than every other formulation, because it contains all points of $F$.
  2. It cannot be compared with the other formulations, because it has different constraints.
  3. It is the formulation with the fewest constraints.
  4. 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)$.
pli-f-259 · level facile · notes
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?
  1. $14$, the optimal value $z(\ILP)$.
  2. $15$, as the original formulation.
  3. $13$, the value of rounding down.
  4. $\frac{31}{2}$, without rounding.
Explanation. Over the ideal formulation the LP relaxation has an integer optimum: it gives exactly $z(\ILP) = 14$.
pli-f-260 · level facile · notes
Does an ideal formulation always exist for an ILP problem with integer (or rational) data?
  1. No: it exists only if the problem has two variables.
  2. Yes, and it is always the given formulation, if the data are integer.
  3. Yes: the convex hull of the integer points is a polyhedron (Meyer's theorem).
  4. No: the convex hull always needs infinitely many constraints.
Explanation. $\mathrm{conv}(F)$ is described by finitely many linear inequalities, but a huge number may be needed.
pli-f-261 · level facile · notes
Why, in practice, does one not write the ideal formulation of an ILP problem and solve a single LP?
  1. Because the ideal formulation does not exist for bounded problems.
  2. Because the LP relaxation of the ideal formulation is infeasible.
  3. Because the ideal formulation gives a worse upper bound.
  4. It may need very many inequalities, hard to find.
Explanation. One starts from the available formulation and adds valid inequalities that cut off fractional points.
pli-f-262 · level facile · notes
The LP relaxation of a formulation $P$ of an ILP problem has an integer optimum for the given objective. Can we conclude that $P$ is ideal?
  1. Yes: an integer optimum implies that all vertices are integer.
  2. Yes, if the problem has a unique optimal solution.
  3. No: for another objective the optimum could be fractional.
  4. No: an ideal formulation never has integer optima.
Explanation. Being ideal concerns all vertices of $P$, not only the one optimal for one objective.
pli-f-263 · level facile · notes
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?
  1. No longer a formulation of the same problem: a feasible integer point has been lost.
  2. A stronger formulation of the same problem.
  3. The ideal formulation, if the removed point is not optimal.
  4. 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)$.
pli-f-264 · level facile · notes
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$?
  1. $\mathrm{conv}(F) \subseteq F \subseteq P$.
  2. $F \subseteq \mathrm{conv}(F) \subseteq P$.
  3. $F \subseteq P \subseteq \mathrm{conv}(F)$.
  4. $P \subseteq \mathrm{conv}(F) \subseteq F$.
Explanation. $P$ is convex and contains $F$, so it contains the smallest convex set containing $F$.
pli-f-265 · level ipotesi · notes
Two formulations $P_1 \subseteq P_2$ of the same maximization ILP problem. To prove $z(\LP_1) \le z(\LP_2)$, what is needed?
  1. That $P_1$ is the ideal formulation.
  2. That both relaxations have integer optima.
  3. Only $P_1 \subseteq P_2$ and the same objective.
  4. That $P_2$ has more vertices than $P_1$.
Explanation. Every point of $P_1$ lies in $P_2$ with the same value, so the maximum over $P_2$ is not smaller.
pli-f-559 · level facile · notes
The feasible region of an ILP problem is $F = \{(0,0), (1,0), (0,1)\}$. Which formulation is ideal?
  1. $x_1 + x_2 \le 1$, $x_1, x_2 \ge 0$.
  2. $2x_1 + 2x_2 \le 3$, $x_1, x_2 \ge 0$.
  3. $x_1 \le 1$, $x_2 \le 1$, $x_1, x_2 \ge 0$.
  4. $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)$.
pli-f-560 · level facile · notes
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?
  1. $P_2$, because it has larger coefficients.
  2. They are equivalent.
  3. $P_1$, because $P_1 \subseteq P_2$.
  4. 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.

4. Valid inequalities (32)

pli-f-040 · level facile · notes
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?
  1. When it is satisfied by all the points of the polyhedron $P$.
  2. When it cuts off the optimal solution of the relaxation.
  3. When it is satisfied by all the points of $F$.
  4. 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.
pli-f-041 · level facile · notes
Let $F$ be the feasible region of an ILP problem. An inequality valid for $F$ (satisfied by all the points of $F$) is called tight when:
  1. at least one point of $F$ satisfies it with equality.
  2. all the points of $F$ satisfy it with equality.
  3. it cuts off the optimal solution of the LP relaxation.
  4. its right-hand side is integer.
Explanation. The right-hand side of a tight inequality cannot be decreased without losing a feasible solution.
pli-f-042 · level facile · notes
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?
  1. It reduces $F$ by removing integer solutions, and can improve the optimal value of the ILP problem.
  2. $F$ does not change, the polyhedron shrinks and the upper bound of the relaxation does not get worse.
  3. It always improves the rounded upper bound of the relaxation, even if it does not cut off the LP optimum.
  4. 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.
pli-f-043 · level facile · notes
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?
  1. $5x_1 + 2x_2 \le 23$
  2. $5x_1 + 2x_2 \le 21$
  3. $5x_1 + 4x_2 \le 22$
  4. $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$.
pli-f-044 · level facile · notes
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?
  1. No: the left-hand side is not necessarily integer.
  2. Yes, provided that the multipliers are non-negative.
  3. Yes, provided that the coefficients are integer.
  4. 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.
pli-f-045 · level facile · notes
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})$?
  1. It cuts it off and brings the rounded upper bound to $14$.
  2. It does not cut it off, because at that point $x_1 + x_2$ equals exactly $6$.
  3. It cuts it off, but the rounded upper bound stays $15$.
  4. 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.
pli-f-046 · level facile · notes
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?
  1. It drops to $14$ with either of them.
  2. It drops to $13$ with either of them.
  3. It stays $15$ with either of them.
  4. 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.
pli-f-047 · level facile · notes
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?
  1. $2x_1 + 3x_2 \le 13$
  2. $2x_1 + 3x_2 \le \frac{38}{3}$
  3. $2x_1 + 3x_2 \le 11$
  4. $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.
pli-f-048 · level media · notes
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?
  1. $x_1 + 2x_2 \le 7$
  2. $x_1 + 2x_2 \le 8$
  3. $x_1 + 2x_2 \le 6$
  4. $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.
pli-f-049 · level teorema · notes
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?
  1. For multipliers $\pi_i$ of any sign, $\sum_j \alpha_j x_j \le \lfloor \sum_i \pi_i b_i \rfloor$ is valid.
  2. 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.
  3. 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.
  4. 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.
pli-f-050 · level teorema · notes
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?
  1. Every inequality valid for $F$ is valid for $P$.
  2. Every valid inequality is tight.
  3. An inequality is valid for $F$ if and only if it is valid for $\mathrm{conv}(F)$.
  4. 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.
pli-f-051 · level ipotesi · notes
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?
  1. Strong duality applied to the LP relaxation of the problem.
  2. That the optimum of the LP relaxation is a fractional vertex.
  3. $b_i \ge 0$ and $\alpha_j \ge 0$ for every $i$ and $j$, together with $\pi_i \ge 0$.
  4. $\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.
pli-f-052 · level ipotesi · notes
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?
  1. That the integer solutions do not change and the maximum over a smaller set does not grow.
  2. That the inequality is tight for at least one feasible solution.
  3. That the inequality cuts off the optimal solution of the relaxation.
  4. 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.
pli-f-147 · level facile · notes
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?
  1. We stop: $x_1 = \frac{7}{2}$ satisfies both, so $\beta = 6$ is tight.
  2. We set $\beta = 7$: the two bounds coincide, so $\beta$ must be increased.
  3. We stop with $\beta = 6$, because the two bounds do not contradict each other.
  4. 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)$.
pli-f-148 · level facile · notes
With many variables the valid inequalities of an ILP problem are not chosen on a picture. Where do they come from in general?
  1. From families for special structures (covers) and from rounding dictionary rows (Gomory).
  2. Only from the ideal formulation, computed once and for all from the hull.
  3. From rounding the components of the optimal solution of the relaxation.
  4. 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.
pli-f-149 · level facile · notes
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?
  1. To the Gomory fractional cuts, obtained from a row of the optimal dictionary.
  2. To the upper bounds on the variables $x_j \le \lfloor b / a_j \rfloor$.
  3. To the cover inequalities of the constraint.
  4. 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$.
pli-f-150 · level facile · notes
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?
  1. Nothing: it is valid and stronger than $x_1 + x_2 \le 5$, since $\frac{47}{10}$ rounds down to $4$.
  2. The right-hand side should have been rounded up, to $5$, because the coefficients are below $1$.
  3. The multipliers must be integer for the right-hand side to be rounded.
  4. 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$.
pli-f-151 · level facile · notes
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?
  1. Nothing: the optimum of the relaxation is fractional, so more is needed.
  2. $\lfloor \frac{85}{6} \rfloor = 14$: the upper bound equals $14$ and $(4,1)$ is certified optimal.
  3. The upper bound is $15$, because $\frac{85}{6}$ is rounded up.
  4. $(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.
pli-f-152 · level facile · notes
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$?
  1. A formulation stronger than the original one, but with fractional vertices.
  2. A polyhedron that excludes some feasible integer points.
  3. The same polyhedron as the original LP relaxation.
  4. 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.
pli-f-266 · level facile · notes
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?
  1. Yes: from the first constraint $10x_1 \le 45$.
  2. No: the point $(4.5,\ 0)$ of the relaxation violates it.
  3. No: it is valid only if $x_2 = 0$.
  4. 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)$.
pli-f-267 · level teorema · notes
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?
  1. 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.
  2. 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.
  3. 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.
  4. 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.
pli-f-268 · level facile · notes
For an ILP problem with feasible region $F$, when is a valid inequality $\sum_j \alpha_j x_j \le \beta$ tight?
  1. When it cuts off the optimal solution of the LP relaxation.
  2. When at least one point of $F$ satisfies it with equality.
  3. When all points of $F$ satisfy it with equality.
  4. When its right-hand side is integer.
Explanation. The right-hand side of a tight inequality cannot be lowered without losing a feasible point.
pli-f-269 · level teorema · notes
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?
  1. $\beta = \max\{\sum_j \alpha_j x_j : \vet x \in P\}$, over the relaxation polyhedron.
  2. $\beta = \max\{\sum_j \alpha_j x_j : \vet x \in F\}$.
  3. $\beta = \lfloor \max\{\sum_j \alpha_j x_j : \vet x \in P\} \rfloor$, in every case.
  4. $\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.
pli-f-270 · level facile · notes
In the algorithm that improves a valid inequality $\sum_j \alpha_j x_j \le \beta$ of an ILP problem, what is done at each step?
  1. Increase $\beta$ by $1$ until the inequality becomes valid.
  2. Change the coefficients $\alpha_j$ until the inequality cuts off the fractional optimum.
  3. Divide everything by the greatest common divisor of the coefficients.
  4. If no feasible integer point satisfies $\sum_j \alpha_j x_j = \beta$, set $\beta \leftarrow \beta - 1$ and repeat.
Explanation. Start from a valid right-hand side (Step 0) and lower it until a point of $F$ reaches it: the inequality is then tight.
pli-f-271 · level facile · notes
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?
  1. $x_1 + x_2 \le 5$.
  2. $x_1 + x_2 \le 4$.
  3. $x_1 + x_2 \le 6$.
  4. $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)$.
pli-f-272 · level ipotesi · notes
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?
  1. That the LP relaxation has an integer optimum.
  2. That all coefficients $\alpha_j$ are positive.
  3. $F \neq \emptyset$ and integer coefficients $\alpha_j$.
  4. 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.
pli-f-273 · level facile · notes
From which two sources do the valid inequalities used in integer linear programming come, in general?
  1. From the dual problem and from heuristic solutions.
  2. From the variable upper bounds and from the objective function.
  3. From the picture of the problem, in any dimension.
  4. Families for specific constraint structures.
Explanation. With two variables we look at pictures; in general we use structural families or systematic rounding.
pli-f-274 · level facile · notes
In an ILP problem, what is meant by a cut with respect to a fractional point $\vet x^*$ of the LP relaxation?
  1. A constraint that removes the optimal integer solution.
  2. An inequality satisfied by $\vet x^*$ with equality.
  3. A valid inequality violated by $\vet x^*$.
  4. An upper bound on the optimal value.
Explanation. A cut separates $\vet x^*$ from $F$: it is satisfied by all integer points and violated by $\vet x^*$.
pli-f-275 · level facile · notes
Combining the constraints of an ILP problem with nonnegative multipliers yields $x_1 + 2x_2 \le 7.5$. Which inequality can be derived by rounding?
  1. $x_1 + 2x_2 \le 7$.
  2. $x_1 + 2x_2 \le 8$.
  3. $x_1 + x_2 \le 7$.
  4. $x_1 + 2x_2 \le 6$.
Explanation. Integer variables and coefficients: the left-hand side is integer, so we round down; rounding up gains nothing.
pli-f-276 · level facile · notes
A MIP problem has $x_1$ integer and $x_2$ continuous; a combination of the constraints gives $x_1 + x_2 \le 3.5$. Can we write $x_1 + x_2 \le 3$?
  1. Yes: it is enough that one variable is integer.
  2. No: with continuous $x_2$ it can be $3.5$.
  3. Yes: the coefficients are integer.
  4. No: we must write $x_1 + x_2 \le 4$.
Explanation. Rounding requires all variables involved integer and integer coefficients; e.g. $(3, 0.5)$ may be feasible.
pli-f-277 · level facile · notes
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)$?
  1. It always decreases strictly.
  2. It becomes equal to $z(\ILP)$.
  3. It does not increase, but it can stay the same.
  4. 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$.
pli-f-278 · level ipotesi · notes
To prove that adding a valid inequality to a formulation $P$ of an ILP problem gives again a formulation of the same problem, what is needed?
  1. That the inequality is satisfied by all points of $F$.
  2. That the inequality cuts off the optimum of the LP relaxation.
  3. That the inequality is tight.
  4. That the coefficients of the inequality are positive.
Explanation. The new polyhedron $P'$ satisfies $P' \cap \Z^n = F$ because no point of $F$ is removed and $P' \subseteq P$.

5. Cover inequalities (61)

pli-f-053 · level facile · notes
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?
  1. When $\sum_{j \in C} a_j \le b$.
  2. When $\sum_{j \in C} a_j > b$.
  3. When $|C| > b$.
  4. 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$).
pli-f-054 · level facile · notes
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$?
  1. $\sum_{j \in C} x_j \le |C|$
  2. $\sum_{j \in C} a_j x_j \le b$
  3. $\sum_{j \in C} x_j \le |C| - 1$
  4. $\sum_{j \in C} x_j \ge 1$
Explanation. At most $|C| - 1$ variables of the cover can be equal to $1$ together.
pli-f-055 · level facile · notes
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?
  1. When no proper subset of $C$ is a cover.
  2. When it has minimum cardinality among all the covers of the constraint.
  3. When $\sum_{j \in C} a_j = b + 1$, that is it exceeds $b$ by one.
  4. 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$.
pli-f-056 · level facile · notes
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}$?
  1. When $z(\mathrm{CSP}) > 1$.
  2. When $z(\mathrm{CSP}) = 0$.
  3. When $z(\mathrm{CSP}) \le 1$.
  4. 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$.
pli-f-057 · level facile · notes
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 \;?$
  1. $|E(C)| - 1$
  2. $|C| - 1$
  3. $|E(C)|$
  4. $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$.
pli-f-058 · level facile · notes
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?
  1. That $\tilde{\vet x}$ satisfies all the cover inequalities of the constraint.
  2. That $\tilde{\vet x}$ is integer, because a fractional point always violates a cover.
  3. Nothing: only an exact separation can rule out a violated inequality.
  4. 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.
pli-f-059 · level facile · notes
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. $\{1, 4\}$
  2. $\{1, 2, 4\}$
  3. $\{1, 3\}$
  4. $\{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\}$.
pli-f-060 · level facile · notes
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$?
  1. $2^n - n - 1$
  2. $n$
  3. $\binom{n}{2}$
  4. $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.
pli-f-061 · level media · notes
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$?
  1. $\frac{7}{10}$
  2. $\frac{7}{10\sqrt{2}}$
  3. $\frac{7}{20}$
  4. $\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.
pli-f-062 · level teorema · notes
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?
  1. The inequalities of the minimal covers describe $\mathrm{conv}(X)$.
  2. The cover closure always coincides with $\mathrm{conv}(X)$.
  3. The inequalities of the minimal covers, together with $x_j \le 1$, imply all the cover inequalities.
  4. 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.
pli-f-063 · level teorema · notes
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?
  1. $\sum_{j \in E(C)} x_j \le |C| - 1$ is valid for $X$ and dominates the cover inequality of $C$.
  2. $\sum_{j \in E(C)} x_j \le |E(C)| - 1$ is the extended cover inequality.
  3. $E(C)$ is obtained by adding the indices with $a_j \le \min_{j \in C} a_j$.
  4. 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$.
pli-f-064 · level ipotesi · notes
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?
  1. That $C$ is a minimal cover.
  2. Binary variables and $a_j > 0$: if $x_j = 1$ for every $j \in C$, the constraint is violated.
  3. That the optimum of the LP relaxation is fractional.
  4. 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.
pli-f-065 · level ipotesi · notes
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?
  1. That $\tilde{\vet x}$ is a vertex of the polyhedron of the LP relaxation, so that the CSP has an integer optimum.
  2. That the greedy separation heuristic always finds a minimum-cost cover, that is the optimum of the CSP.
  3. 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.
  4. 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.
pli-f-153 · level facile · notes
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?
  1. The LP relaxation has an integer optimum for every objective.
  2. Every variable can equal $1$ on its own, but not all of them together.
  3. Every pair of variables can equal $1$ together.
  4. 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.
pli-f-154 · level media · notes
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?
  1. $\frac{63}{5}$, so the binary optimum is at most $13$.
  2. $12$, with the solution $(1, 0, \frac{3}{4})$.
  3. $\frac{63}{5}$, so the binary optimum is at most $12$.
  4. $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.
pli-f-155 · level facile · notes
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?
  1. $5$
  2. $4$
  3. $6$
  4. $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)$.
pli-f-156 · level facile · notes
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?
  1. The quadrilateral $(0,0)$, $(1,0)$, $(1,\frac{2}{5})$, $(0,1)$; the constraint stays active.
  2. The segment from $(1,0)$ to $(0,1)$, because the cut holds with equality.
  3. The triangle $(0,0)$, $(1,0)$, $(0,1)$; the original constraint becomes redundant.
  4. 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.
pli-f-157 · level facile · notes
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$?
  1. $R = 9$
  2. $R = 8$
  3. $R = 10$
  4. $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$.
pli-f-158 · level media · notes
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$?
  1. $(\frac{7}{8}, \frac{7}{8}, \frac{3}{8}, -\frac{1}{8})$
  2. $(1, 1, 0, 0)$
  3. $(\frac{3}{4}, \frac{3}{4}, \frac{1}{4}, 0)$
  4. $(\frac{5}{6}, \frac{5}{6}, \frac{1}{3}, 0)$
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$).
pli-f-159 · level media · notes
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?
  1. The minimal cover $\{3\}$ remains, with inequality $x_3 \le 0$ violated by $\frac{1}{5}$.
  2. $\{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}$.
  3. Nothing can be removed: $\{1,2,3\}$ is already a minimal cover.
  4. 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}$.
pli-f-160 · level facile · notes
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)?
  1. They are at the same distance, because the violation is the same.
  2. That of $C_2$: $\frac{1}{4}$ against $\frac{1}{2\sqrt{2}}$.
  3. That of $C_1$: $\frac{1}{2\sqrt{2}}$ against $\frac{1}{4}$.
  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.
pli-f-161 · level facile · notes
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)?
  1. Because the inequalities of non-minimal covers are not valid.
  2. Because adding all of them would remove feasible binary points.
  3. Because all of them together would always give the convex hull.
  4. 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.
pli-f-162 · level facile · notes
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?
  1. $(\frac{1}{2}, \frac{1}{2}, \frac{1}{2})$
  2. $(1, \frac{1}{3}, \frac{1}{3})$
  3. $(\frac{1}{2}, 1, \frac{1}{2})$
  4. $(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$.
pli-f-279 · level facile · notes
For the binary constraint $\sum_j a_j x_j \le b$, $x_j \in \{0,1\}$, of the chapter on cover inequalities, what is the LP relaxation $P$?
  1. $P = \{\vet x \in \R^n : \sum_j a_j x_j \le b\}$.
  2. $P = \{\vet x \in \{0,1\}^n : \sum_j a_j x_j \le b\}$.
  3. $P = \{\vet x \in [0,1]^n : \sum_j x_j \le b\}$.
  4. $P = \{\vet x \in [0,1]^n : \sum_j a_j x_j \le b\}$.
Explanation. Replace $x_j \in \{0,1\}$ by $0 \le x_j \le 1$; the set of feasible binary points is $X$.
pli-f-280 · level facile · notes
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$?
  1. To guarantee that the LP relaxation has an integer optimum.
  2. Otherwise variables fixed to $0$ or no covers.
  3. To make every set of two indices a cover.
  4. 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.
pli-f-281 · level facile · notes
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\}$?
  1. $x_1 + x_2 + x_3 \le 3$.
  2. $x_1 + x_2 + x_3 \le 2$.
  3. $5x_1 + 4x_2 + 3x_3 \le 9$.
  4. $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$.
pli-f-282 · level teorema · notes
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?
  1. For every cover $C$, $\sum_{j \in C} x_j \le |C| - 1$ is satisfied by all points of the LP relaxation.
  2. For every set of indices $C$, $\sum_{j \in C} x_j \le |C| - 1$ is valid.
  3. For every cover $C$, $\sum_{j \in C} x_j \le |C| - 2$ is valid.
  4. 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.
pli-f-283 · level ipotesi · notes
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?
  1. That $C$ is a cover, with binary variables and nonnegative coefficients.
  2. That $C$ is a minimal cover.
  3. That the constraint is tight at the optimal solution of the relaxation.
  4. 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.
pli-f-284 · level facile · notes
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?
  1. $\{2,3,4\}$.
  2. $\{1,2,3,4\}$.
  3. $\{1,2,4\}$.
  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\}$.
pli-f-285 · level teorema · notes
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?
  1. The minimal cover inequalities describe the convex hull of $X$.
  2. Every minimal cover has exactly two indices.
  3. Non-minimal cover inequalities cut off more fractional points than minimal ones.
  4. 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$.
pli-f-286 · level facile · notes
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$?
  1. The convex hull of the feasible binary points $X$.
  2. The set of all covers of the constraint.
  3. The polyhedron of the points of $P$ satisfying all cover inequalities.
  4. 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.
pli-f-287 · level facile · notes
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?
  1. $2^n - n - 1$.
  2. $\binom{n}{2}$.
  3. $2^n$.
  4. $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.
pli-f-288 · level facile · notes
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?
  1. Because together they make the formulation infeasible.
  2. They can be exponentially many in $n$.
  3. Because only one of them is valid.
  4. 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$.
pli-f-289 · level facile · notes
In the unit square $[0,1]^2$ with binary variables, which binary points does the cover inequality $x_1 + x_2 \le 1$ remove?
  1. $(1,0)$ and $(0,1)$.
  2. None.
  3. Only $(1,1)$.
  4. $(0,0)$ and $(1,1)$.
Explanation. $(0,0)$, $(1,0)$ and $(0,1)$ have sum at most $1$; only $(1,1)$ has sum $2$.
pli-f-290 · level facile · notes
In the unit cube $[0,1]^3$, the cover inequality $x_1 + x_2 + x_3 \le 2$ removes which binary point, and which fractional point of the cube?
  1. $(1,1,1)$, and for instance $(1, 1, \frac12)$.
  2. The binary point $(1,1,0)$, and the point $(\frac12,\frac12,\frac12)$.
  3. No binary point, and the point $(1, \frac12, \frac12)$.
  4. All points with two coordinates equal to $1$.
Explanation. $(1,1,\frac12)$ has sum $\frac52 > 2$; $(\frac12,\frac12,\frac12)$ has sum $\frac32$ and remains.
pli-f-291 · level facile · notes
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?
  1. Find the cover with the largest number of indices.
  2. Find a binary point close to $\tilde{\vet x}$.
  3. Find a cover $C$ with $\sum_{j \in C} \tilde x_j \le |C| - 1$.
  4. 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}}$.
pli-f-292 · level facile · notes
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}$?
  1. $\sum_{j \in C} (1 - \tilde x_j) > 1$.
  2. $\sum_{j \in C} (1 - \tilde x_j) < 1$.
  3. $\sum_{j \in C} \tilde x_j < 1$.
  4. $\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$.
pli-f-293 · level facile · notes
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?
  1. $\sum_j a_j z_j \le b$.
  2. $\sum_j a_j z_j \ge b + 1$.
  3. $\sum_j z_j \ge 2$.
  4. $\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$.
pli-f-294 · level teorema · notes
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?
  1. A cover inequality violated by $\tilde{\vet x}$ exists if and only if $z(\mathrm{CSP}) > 1$.
  2. A violated cover inequality exists if and only if $z(\mathrm{CSP}) = 0$.
  3. $z(\mathrm{CSP}) < 1$ implies that $\tilde{\vet x}$ is binary.
  4. 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.
pli-f-295 · level ipotesi · notes
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}$?
  1. The optimal value $z(\mathrm{CSP}) \ge 1$, obtained by an exact method.
  2. Nothing: the cost $1.2 \ge 1$ is enough.
  3. That the cover found is minimal.
  4. 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.
pli-f-296 · level facile · notes
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?
  1. Cost $\frac53$: violated.
  2. Cost $\frac13$: not violated.
  3. Cost $\frac13$: violated, because $\frac13 < 1$.
  4. Cost $1$: violated.
Explanation. $(1 - 1) + (1 - \frac23) = \frac13 < 1$; indeed $x_1 + x_2 = \frac53 > 1$.
pli-f-297 · level facile · notes
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?
  1. $\sum_j a_j y_j \ge \sum_j a_j - (b + 1)$.
  2. $\sum_j a_j y_j \le b + 1$.
  3. $\sum_j a_j y_j \le b$.
  4. $\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.
pli-f-298 · level facile · notes
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?
  1. $\min \sum_j (1 - \tilde x_j) y_j$.
  2. $\max \sum_j \tilde x_j y_j$.
  3. $\max \sum_j (1 - \tilde x_j) y_j$.
  4. $\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.
pli-f-299 · level facile · notes
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?
  1. By nonincreasing $(1 - \tilde x_j)/a_j$.
  2. By nonincreasing coefficient $a_j$.
  3. By nonincreasing $\tilde x_j$.
  4. 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$.
pli-f-300 · level facile · notes
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$)?
  1. They are chosen first, because they have zero weight.
  2. They are never chosen in the complementary problem.
  3. They are removed from the problem before starting.
  4. 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.
pli-f-301 · level ipotesi · notes
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?
  1. Because every minimal cover is violated by every fractional point.
  2. Because the right-hand side $|C| - 1$ does not change.
  3. 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$.
  4. 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.
pli-f-302 · level facile · notes
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\}$?
  1. $x_1 + x_2 + x_3 + x_4 \le 2$.
  2. $x_1 + x_2 + x_3 + x_4 \le 3$.
  3. $x_1 + x_2 + x_3 + x_4 + x_5 \le 2$.
  4. $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$.
pli-f-303 · level teorema · notes
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?
  1. For every cover $C$, $\sum_{j \in E(C)} x_j \le |E(C)| - 1$ is valid, but weaker.
  2. The extended inequality is valid only if $C$ is a minimal cover.
  3. The extended inequality is implied by the cover inequality of $C$.
  4. 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$.
pli-f-304 · level ipotesi · notes
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?
  1. That $S$ is a minimal cover.
  2. That $\sum_{j \in S} a_j \ge \sum_{j \in C} a_j$.
  3. That all coefficients of $E(C)$ are equal.
  4. That $|E(C)| \le 2|C|$.
Explanation. Swapping indices of $C$ for indices of no smaller weight keeps the total weight above $b$.
pli-f-305 · level facile · notes
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:
  1. weaker: it has more variables on the left.
  2. stronger: it has more variables on the left with the same right-hand side.
  3. equivalent: the right-hand sides are equal.
  4. not comparable, because it has a different right-hand side.
Explanation. With $x \ge 0$, $\sum_{E(C)} x_j \le |C| - 1$ implies $\sum_C x_j \le |C| - 1$.
pli-f-306 · level facile · notes
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)$?
  1. $\frac52$.
  2. $0$.
  3. $\frac32$.
  4. $\frac12$.
Explanation. $1 + 1 + \frac12 - 2 = \frac12$.
pli-f-307 · level facile · notes
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$?
  1. $v_C / \sqrt{|C|}$.
  2. $v_C$.
  3. $v_C / |C|$.
  4. $v_C \cdot \sqrt{|C|}$.
Explanation. The coefficients are $1$ on the indices of $C$: their Euclidean norm is $\sqrt{|C|}$.
pli-f-308 · level facile · notes
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?
  1. Nothing: every pair of indices gives a valid inequality.
  2. The right-hand side should be $2$, because $|C| = 2$.
  3. $\{1,2\}$ is not a cover ($4 + 3 = 7 \le 7$).
  4. 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$.
pli-f-309 · level facile · notes
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?
  1. That $\tilde{\vet x}$ satisfies all cover inequalities.
  2. That $\tilde{\vet x}$ is a binary point.
  3. That the constraint has no covers.
  4. Nothing: only the exact CSP proves it.
Explanation. The greedy is a heuristic for the complementary problem: it can miss a violated cover.
pli-f-310 · level facile · notes
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?
  1. The one with the larger cover.
  2. They are equivalent, because they have the same violation.
  3. The one with the smaller cover, because the distance is $v_C / \sqrt{|C|}$.
  4. 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.
pli-f-311 · level teorema · notes
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$?
  1. $\mathrm{conv}(X) \subseteq P^{\mathrm{cov}} \subseteq P$.
  2. $\mathrm{conv}(X) = P^{\mathrm{cov}} \subseteq P$ for every constraint.
  3. $P \subseteq P^{\mathrm{cov}} \subseteq \mathrm{conv}(X)$.
  4. $P^{\mathrm{cov}} \subseteq \mathrm{conv}(X) \subseteq P$.
Explanation. Cover inequalities are valid (first inclusion) and are added to $P$ (second); in general they do not give the hull.
pli-f-561 · level facile · notes
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?
  1. $x_2 + x_3 \le 1$.
  2. $x_1 + x_3 \le 1$.
  3. $x_1 + x_2 + x_3 \le 2$.
  4. $x_1 + x_2 \le 1$.
Explanation. $1 + \frac23 = \frac53 > 1$; the others give $\frac23$, $1$ and $\frac53 \le 2$.
pli-f-562 · level teorema · notes
Which statement about the cover inequality $\sum_{j \in C} x_j \le |C| - 1$ of a binary constraint $\sum_j a_j x_j \le b$ is correct?
  1. It says that at most one variable of the cover can equal $1$.
  2. It says that at least one variable of the cover equals $1$.
  3. It says that not all variables of the cover can equal $1$ together.
  4. It holds even if $\sum_{j \in C} a_j \le b$.
Explanation. With $|C|$ binary variables, a sum of at most $|C| - 1$ means at least one is $0$.
pli-f-563 · level teorema · notes
For a binary constraint $\sum_j a_j x_j \le b$ with $a_j > 0$, which condition characterizes a minimal cover $C$?
  1. $\sum_{j \in C} a_j > b$ and $\sum_{j \in C} a_j - a_i \le b$ for every $i \in C$.
  2. $\sum_{j \in C} a_j > b$ and $|C| = 2$.
  3. $\sum_{j \in C} a_j = b + 1$.
  4. $\sum_{j \in C} a_j > b$ and $\sum_{j \in C} a_j - a_i > b$ for every $i \in C$.
Explanation. Removing any index the set is no longer a cover; with positive coefficients checking one index at a time suffices.
pli-f-564 · level ipotesi · notes
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?
  1. That $b$ is even.
  2. Positive coefficients $a_j$.
  3. That $C$ has exactly three indices.
  4. That the constraint is active at the optimum.
Explanation. With positive coefficients the weight is monotone with respect to inclusion.
pli-f-565 · level facile · notes
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\}$?
  1. $\{2,3,4\}$.
  2. $\{1,2,3\}$.
  3. $\{1,2,3,4\}$.
  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)

pli-f-066 · level facile · notes
Let $\tilde{\vet x}(\LP)$ be the optimal, fractional, solution of the LP relaxation of an ILP problem. What is a cutting plane?
  1. A valid inequality for the ILP problem that cuts off $\tilde{\vet x}(\LP)$.
  2. A constraint that cuts off $\tilde{\vet x}(\LP)$ and at least one integer solution.
  3. A branching constraint $x_j \le \lfloor \tilde x_j \rfloor$.
  4. An inequality satisfied with equality at $\tilde{\vet x}(\LP)$.
Explanation. A cut removes no feasible integer solution, but it removes the current fractional optimum.
pli-f-067 · level facile · notes
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?
  1. $\sum_{j \in \pazocal{N}} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \le \bar b_i - \lfloor \bar b_i \rfloor$
  2. $\sum_{j \in \pazocal{N}} (\lceil \bar a_{ij} \rceil - \bar a_{ij}) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$
  3. $\sum_{j \in \pazocal{N}} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \bar b_i - \lfloor \bar b_i \rfloor$
  4. $\sum_{j \in \pazocal{N}} (\bar a_{ij} - \lfloor \bar a_{ij} \rfloor) x_j \ge \lceil \bar b_i \rceil - \bar b_i$
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.
pli-f-068 · level facile · notes
For which problems are Gomory fractional cuts valid?
  1. For every MIP problem, provided that the data are integer and the row has a fractional right-hand side.
  2. For ILP problems with integer data, where all the variables, slack variables included, are integer.
  3. Only for BIP problems, in which all the variables are binary and the slacks are continuous.
  4. 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.
pli-f-069 · level facile · notes
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?
  1. No, only from the optimal dictionary, because otherwise the cut is not valid.
  2. Only from the objective-function row, the only one containing the reduced costs.
  3. Only if the dictionary is dual feasible, that is with non-positive reduced costs.
  4. 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.
pli-f-070 · level facile · notes
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?
  1. Dual feasible but not primal feasible: it is re-optimized with the dual simplex algorithm.
  2. Primal feasible but not dual feasible: it is re-optimized with the primal simplex algorithm.
  3. Optimal.
  4. 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.
pli-f-071 · level facile · notes
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?
  1. Add a surplus variable to the cut as it is, written in the nonbasic variables of the dictionary.
  2. Rewrite it in the original $x$, make it primitive (gcd, right-hand side rounded down), then add the slack.
  3. Multiply it by the common denominator of the coefficients and add the slack, without rounding the right-hand side.
  4. 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.
pli-f-072 · level facile · notes
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)?
  1. $3x_1 + 7x_2 \le \frac{55}{2}$
  2. $3x_1 + 7x_2 \le 28$
  3. $3x_1 + 7x_2 \le 27$
  4. $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.
pli-f-073 · level facile · notes
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$?
  1. $z(\LP_1)$
  2. $\lceil z(\LP_k) \rceil$
  3. The right-hand side of the last cut added
  4. $\lfloor z(\LP_k) \rfloor$
Explanation. Every $\LP_k$ contains all the integer solutions; with integer variables and costs its value is rounded down.
pli-f-074 · level media · notes
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?
  1. $x_2 \le 3$
  2. $3x_1 + 2x_2 \le 9$
  3. $x_1 \le 1$
  4. $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$.
pli-f-075 · level teorema · notes
Consider an ILP problem with integer data, in which all variables, slacks included, are integer. Which statement about Gomory fractional cuts is correct?
  1. A cut eliminates all the fractional points of the polyhedron of the formulation.
  2. A cut eliminates the fractional basic solution of its dictionary and no integer solution.
  3. The cuts are valid also for MIP problems with some continuous variables.
  4. 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.
pli-f-076 · level teorema · notes
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?
  1. $\sum_{j \in \pazocal{N}} (\bar c_j - \lfloor \bar c_j \rfloor) x_j \ge \bar z - \lfloor \bar z \rfloor$
  2. $\sum_{j \in \pazocal{N}} (-\bar c_j - \lfloor -\bar c_j \rfloor) x_j \le \bar z - \lfloor \bar z \rfloor$
  3. $\sum_{j \in \pazocal{N}} (-\bar c_j - \lfloor -\bar c_j \rfloor) x_j \ge \bar z - \lfloor \bar z \rfloor$
  4. 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$.
pli-f-077 · level ipotesi · notes
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?
  1. That the dictionary generating the cut is optimal.
  2. Only $\bar b_i \ge 0$, that is the feasibility of the dictionary.
  3. The dual feasibility of the dictionary, that is $\bar c_j \le 0$.
  4. $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.
pli-f-078 · level ipotesi · notes
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?
  1. That the nonbasic variables are $0$ at the basic solution and $\bar b_i$ is fractional.
  2. That the slack variables of the problem are integer, like the others.
  3. That $\bar c_j \le 0$ for every $j$, that is the dictionary is optimal.
  4. 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$.
pli-f-163 · level facile · notes
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$?
  1. $x_1 + x_2 \le \frac{40}{7}$ and $\UB = 14$
  2. $x_1 + x_2 \le 6$ and $\UB = 15$
  3. $x_1 + x_2 \le 5$ and $\UB = 14$
  4. $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$.
pli-f-164 · level facile · notes
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?
  1. It stops: the bound does not improve any more, so $(4,1)$ is optimal.
  2. It stops and returns $(\frac{25}{6}, \frac{5}{6})$ rounded, that is $(4,1)$.
  3. It restarts from the original relaxation without the cuts, to avoid tailing off.
  4. 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)$.
pli-f-165 · level facile · notes
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}$?
  1. $\frac{1}{3}$
  2. $\frac{2}{3}$
  3. $-\frac{1}{3}$
  4. $\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.
pli-f-166 · level facile · notes
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?
  1. The row of $x_2$, the only fractional basic variable.
  2. The row of $x_1$, the variable with the smallest index.
  3. The row of $x_2$, because the objective row never gives cuts.
  4. 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.
pli-f-167 · level facile · notes
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?
  1. Because the basic solution has all variables fractional.
  2. In the basic solution the nonbasic variables equal $0$, and $0 < f_0$.
  3. Because the coefficients $f_j$ are all positive, so the left-hand side is positive.
  4. 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.
pli-f-168 · level facile · notes
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$?
  1. It drops by $1$ at every cut: $15$, $14$, $13$.
  2. It goes up and down, because a cut can increase $z(\LP_k)$.
  3. It stays $15$: $z(\LP_k)$ decreases at every cut, but stays above $15$.
  4. 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).
pli-f-312 · level facile · notes
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$?
  1. $\frac34 x_3 + \frac12 x_4 \ge \frac12$.
  2. $\frac14 x_3 + \frac12 x_4 \ge \frac12$.
  3. $\frac14 x_3 + \frac12 x_4 \le \frac12$.
  4. $\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$.
pli-f-313 · level facile · notes
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}$?
  1. $\frac23$.
  2. $-\frac23$.
  3. $\frac13$.
  4. $-\frac53$.
Explanation. $\lfloor -\frac53 \rfloor = -2$, so $-\frac53 + 2 = \frac13$: the fractional part always lies in $[0,1)$.
pli-f-314 · level teorema · notes
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?
  1. The cut removes the basic solution of the dictionary.
  2. The cut removes all fractional basic solutions of the relaxation.
  3. The cut is satisfied with equality by the current basic solution.
  4. 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$.
pli-f-315 · level ipotesi · notes
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?
  1. That row $i$ is the one with the largest fractional $\bar b_i$.
  2. That the dictionary is primal feasible but not optimal.
  3. That the coefficients $\bar a_{ij}$ are all positive.
  4. 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.
pli-f-316 · level teorema · notes
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?
  1. The cut is satisfied by all points of the LP relaxation.
  2. Every feasible integer solution satisfies the cut.
  3. The cut is valid even if some variables are continuous.
  4. 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.
pli-f-317 · level facile · notes
A Gomory cut, rewritten in the original variables of an ILP problem, is $4x_1 + 6x_2 \le 21$. What is its primitive form?
  1. $2x_1 + 3x_2 \le 10.5$.
  2. $2x_1 + 3x_2 \le 10$.
  3. $2x_1 + 3x_2 \le 11$.
  4. $4x_1 + 6x_2 \le 20$.
Explanation. Divide by $g = \gcd(4,6) = 2$ and round down: $\lfloor 21/2 \rfloor = 10$.
pli-f-318 · level facile · notes
To insert a Gomory cut into the simplex dictionary of the relaxation of an ILP problem, in which order are the steps performed?
  1. Add the slack variable, then make it primitive.
  2. Make it primitive in the dictionary variables, without rewriting it.
  3. Add it as it is as a new row, without a slack variable.
  4. Original variables, primitive form, then slack.
Explanation. The slack is added only after the primitive form, so it stays integer.
pli-f-319 · level facile · notes
On which two operations is the cutting plane algorithm with Gomory fractional cuts for an ILP problem based?
  1. Cut generation and re-optimization of the LP relaxation.
  2. Branching on fractional variables and bounding.
  3. Rounding of the solution and local search.
  4. Enumeration of the integer points and comparison of values.
Explanation. Cuts removing the fractional optimum are added and the tighter relaxation is solved again.
pli-f-320 · level teorema · notes
In the cutting plane algorithm for a maximization ILP problem, $\LP_k$ is the relaxation after $k - 1$ cut iterations. Which statement is correct?
  1. $z(\LP_1) \le z(\LP_2) \le \dots \le z(\ILP)$.
  2. $z(\LP_k)$ decreases strictly at every iteration.
  3. $z(\LP_1) \ge z(\LP_2) \ge \dots \ge z(\ILP)$.
  4. Every $\LP_k$ has fewer integer solutions than the previous one.
Explanation. The cuts are valid: only fractional points are removed, and the optimal value does not increase.
pli-f-321 · level facile · notes
In the cutting plane algorithm for an ILP problem, how is the problem $\LP_k$ obtained for $k \ge 2$?
  1. By removing a constraint from $\LP_{k-1}$.
  2. By fixing a fractional variable of $\LP_{k-1}$.
  3. By solving the original LP relaxation from scratch.
  4. By adding to $\LP_{k-1}$ the Gomory cuts generated at iteration $k - 1$.
Explanation. $\LP_1$ is the LP relaxation; each step adds one or more cuts.
pli-f-322 · level facile · notes
In the cutting plane algorithm for a maximization ILP problem with integer data, which upper bound does the relaxation $\LP_k$ give at iteration $k$?
  1. $\UB = \lceil z(\LP_k) \rceil$.
  2. $\UB = z(\LP_1)$ at every iteration.
  3. $\UB = \lfloor z(\LP_k) \rfloor$.
  4. $\UB = z(\LP_k) - 1$.
Explanation. Integer variables and costs allow rounding down the bound of the current relaxation.
pli-f-323 · level facile · notes
In the cutting plane algorithm for an ILP problem, when does it stop with an optimal solution?
  1. When the optimal solution $\tilde{\vet x}(\LP_k)$ of the current relaxation is integer.
  2. After a fixed number of cuts.
  3. When $z(\LP_k)$ is integer, even if $\tilde{\vet x}(\LP_k)$ is fractional.
  4. When the generated cut is tight.
Explanation. An integer optimum of the relaxation, which contains $F$, is also optimal for the ILP problem.
pli-f-324 · level facile · notes
At the initialization of the cutting plane algorithm the relaxation $\LP_1$ of an ILP problem is unbounded. What is concluded?
  1. The ILP problem is unbounded.
  2. The ILP problem is infeasible or unbounded.
  3. The ILP problem is infeasible.
  4. A cut is added and the algorithm continues.
Explanation. An unbounded relaxation does not guarantee feasible integer points: the algorithm stops without deciding between the two cases.
pli-f-325 · level ipotesi · notes
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?
  1. That $\LP_1$ was unbounded.
  2. That the cuts are in primitive form.
  3. That all added cuts are valid.
  4. That only one cut was added per iteration.
Explanation. If $F \subseteq P_k$ and $P_k = \emptyset$, then $F = \emptyset$.
pli-f-326 · level facile · notes
After adding a Gomory cut to the optimal dictionary of the relaxation of an ILP problem, in what state is the dictionary?
  1. Dual feasible but not primal feasible.
  2. Primal feasible but not dual feasible.
  3. Optimal: the cut does not change the solution.
  4. Neither primal nor dual feasible.
Explanation. The reduced costs do not change; the cut removes the basic solution, so its slack is negative.
pli-f-327 · level facile · notes
With which algorithm is the LP relaxation re-optimized after adding a cut, in the cutting plane algorithm for an ILP problem?
  1. With the primal simplex, restarting from the slack basis.
  2. With phase one of the simplex.
  3. With the graphical method.
  4. With the dual simplex, starting from the previous optimal dictionary.
Explanation. The dictionary is dual feasible: the dual simplex restores primal feasibility in a few pivots.
pli-f-328 · level facile · notes
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?
  1. The row of $x_2$, with right-hand side $\frac23$.
  2. The row of $x_1$, with right-hand side $\frac34$.
  3. The objective row, with right-hand side $\frac25$.
  4. The objective row, because $\bar z$ is the largest value.
Explanation. Right-hand sides of the cuts: $\frac34$, $\frac23$, $\frac25$; the maximum is $\frac34$.
pli-f-329 · level facile · notes
In the generation of Gomory cuts for a maximization ILP problem, when is the objective row a candidate cut?
  1. Never: only the rows of basic variables generate cuts.
  2. When the value $\bar z$ of the dictionary is fractional.
  3. Always, even if $\bar z$ is integer.
  4. Only when all basic variables are integer.
Explanation. With integer costs $z$ is an integer variable too: its row gives a cut with right-hand side $\bar z - \lfloor \bar z \rfloor$.
pli-f-330 · level facile · notes
In the largest right-hand side strategy for Gomory cuts, how are ties broken in the notes?
  1. By the largest index of the basic variable.
  2. By always choosing the objective row.
  3. By choosing the cut with the most nonzero coefficients.
  4. Smallest index, objective row last.
Explanation. It is the rule fixed in the notes to make runs reproducible.
pli-f-331 · level facile · notes
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?
  1. The gap $(\lfloor 20.6 \rfloor - 20)/20$ is zero.
  2. The gap is $3\%$: cutting continues.
  3. Nothing, because $z(\LP_k)$ is not integer.
  4. The optimal solution has value $20.6$.
Explanation. $\UB = \lfloor z(\LP_k) \rfloor = 20 = \LB$: zero gap, optimality certified.
pli-f-332 · level facile · notes
What is the heuristic initialization for in the cutting plane algorithm for an ILP problem?
  1. It gives an upper bound better than $z(\LP_1)$.
  2. It replaces the first LP relaxation.
  3. It gives a lower bound $\LB$ to measure the gap.
  4. It chooses which cut to generate.
Explanation. The cuts improve the upper bound; the heuristic solution provides the other side of the gap.
pli-f-333 · level ipotesi · notes
To stop the cutting plane algorithm declaring the heuristic solution of value $\LB$ optimal, which condition is needed?
  1. That the heuristic solution is close to $\tilde{\vet x}(\LP_k)$.
  2. That the current cut is tight at the heuristic solution.
  3. That $z(\LP_k)$ decreased in the last iteration.
  4. $\lfloor z(\LP_k) \rfloor = \LB$ at some iteration $k$ (zero gap).
Explanation. $\LB \le z(\ILP) \le \lfloor z(\LP_k) \rfloor = \LB$.
pli-f-334 · level facile · notes
What is meant by tailing off in the cutting plane algorithm with Gomory cuts?
  1. The algorithm generates invalid cuts after many iterations.
  2. The bound gets worse at every iteration.
  3. The cuts improve the bound less and less.
  4. The cuts all become parallel to the objective function.
Explanation. That is why Gomory cuts are used mostly inside branch-and-cut.
pli-f-335 · level facile · notes
Finite termination of the cutting plane algorithm with Gomory fractional cuts is guaranteed:
  1. only with precise rules.
  2. always, with any row selection rule.
  3. never: the algorithm can only approximate the optimum.
  4. only if the problem has two variables.
Explanation. With arbitrary rules the algorithm may need a very large number of iterations.
pli-f-336 · level teorema · notes
Which statement about the practical use of Gomory fractional cuts is correct?
  1. They are used alone, because the cutting plane algorithm is always the fastest.
  2. They are often used to strengthen the relaxations at the nodes of a branch-and-bound tree (branch-and-cut).
  3. They are no longer used, because they are not valid for large problems.
  4. They are used only for problems with continuous variables.
Explanation. Tailing off makes the pure algorithm inefficient; combined with branching they are very useful.
pli-f-337 · level facile · notes
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?
  1. $16$.
  2. $14$.
  3. $15$.
  4. $\frac{232}{15}$, without rounding.
Explanation. $\frac{232}{15} \approx 15.47$, so $\UB = \lfloor \frac{232}{15} \rfloor = 15$.
pli-f-338 · level facile · notes
In the car production example solved by cutting planes, the cut $6x_1 + 14x_2 \le 55$ is made primitive. Which inequality is added?
  1. $3x_1 + 7x_2 \le 27$.
  2. $3x_1 + 7x_2 \le 27.5$.
  3. $3x_1 + 7x_2 \le 28$.
  4. $6x_1 + 14x_2 \le 54$.
Explanation. $\gcd(6,14) = 2$ and $\lfloor 55/2 \rfloor = 27$.
pli-f-339 · level facile · notes
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?
  1. It is not wrong: the two choices give equivalent cuts.
  2. It is wrong only for negative coefficients.
  3. It is wrong because $\lceil \bar a_{ij} \rceil$ should be used.
  4. The cut uses the fractional parts.
Explanation. For instance for $\bar a_{ij} = -\frac53$ the correct coefficient is $\frac13$, not $-2$.
pli-f-340 · level facile · notes
A Gomory fractional cut is generated from a dictionary row of a MIP problem in which a continuous variable appears. What is the risk?
  1. None: the cut is valid for every linear problem.
  2. The cut can remove feasible solutions.
  3. The cut does not remove the current fractional solution.
  4. The dictionary becomes dual infeasible.
Explanation. The validity proof uses the integrality of all variables of the row.
pli-f-341 · level facile · notes
Which summary describes Gomory's cutting plane algorithm for a canonical ILP problem with integer data?
  1. Split the problem into two subproblems at every iteration.
  2. Cuts from fractional rows, primitive form, dual simplex.
  3. Round the solution of the relaxation and improve it by local search.
  4. Solve the dual of the ILP problem with the primal simplex.
Explanation. Repeat until the optimum of the current relaxation is integer (or the relaxation is infeasible).
pli-f-342 · level ipotesi · notes
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?
  1. That the algorithm used the lexicographic dual simplex.
  2. That the optimum was reached in fewer than $n$ iterations.
  3. That all cuts are tight at the optimum.
  4. 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)$.
pli-f-566 · level facile · notes
In the chapter on Gomory cuts, why are canonical ILP problems with integer data considered?
  1. So that the slacks are integer too.
  2. Because the simplex works only with integer data.
  3. Because otherwise the dictionary has no fractional rows.
  4. Because cuts are generated only from equality constraints.
Explanation. The slack $b_i - \sum_j a_{ij} x_j$ is integer if $a_{ij}$, $b_i$ and $x_j$ are.
pli-f-567 · level ipotesi · notes
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?
  1. That every cut is tight.
  2. That every cut has the largest right-hand side.
  3. That there are finitely many cuts.
  4. The validity of the cuts.
Explanation. With valid cuts every $\LP_k$ is still a relaxation of the ILP problem.
pli-f-568 · level facile · notes
In the cutting plane algorithm, the optimum of $\LP_k$ is fractional. What is done?
  1. Branching on the fractional variable.
  2. A Gomory cut is added and the LP re-optimized.
  3. The solution is rounded and the algorithm stops.
  4. The problem is declared infeasible.
Explanation. The cut removes the current fractional optimum without losing integer points.

7. LP-based branch-and-bound (80)

pli-f-079 · level facile · notes
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?
  1. $x_j \le \lfloor \tilde x_j \rfloor$ and $x_j \ge \lfloor \tilde x_j \rfloor$
  2. $x_j \le \lfloor \tilde x_j \rfloor$ and $x_j \ge \lfloor \tilde x_j \rfloor + 1$
  3. $x_j \le \tilde x_j$ and $x_j \ge \tilde x_j$
  4. $x_j = \lfloor \tilde x_j \rfloor$ and $x_j = \lceil \tilde x_j \rceil$
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.
pli-f-080 · level facile · notes
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?
  1. Bound, integrality, infeasibility
  2. Integrality, infeasibility, bound
  3. Infeasibility, integrality, bound
  4. 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$).
pli-f-081 · level facile · notes
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?
  1. It is pruned by bound: the node contains no solution better than the incumbent.
  2. The node enters the list of open nodes, because $z(\LP_k) > \LB$ may hold.
  3. It is branched on immediately, without inserting it in the list of open nodes.
  4. 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.
pli-f-082 · level facile · notes
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?
  1. It is the bound $\lfloor z(\LP_k) \rfloor$ of the last node solved, the most up to date.
  2. It is $\lfloor z(\LP_1) \rfloor$ of the root for the whole execution, until the list is empty.
  3. It is the value of the incumbent, that is of the best integer solution found.
  4. 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$.
pli-f-083 · level facile · notes
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?
  1. If now $\lfloor z(\LP_k) \rfloor \le \LB$, the second child is not solved and gets no index.
  2. If the first child is infeasible, the second child is not solved and gets no index.
  3. The nodes of the list with the same bound as the parent are skipped in the selection.
  4. 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.
pli-f-084 · level facile · notes
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?
  1. Breadth-first search, with a queue.
  2. Depth-first search, with a stack.
  3. Best-first search, with a priority queue.
  4. 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.
pli-f-085 · level facile · notes
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)?
  1. $2^n$
  2. $2^{n-1}$
  3. $2^n - 1$
  4. $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}$.
pli-f-086 · level facile · notes
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?
  1. The last node inserted into the list, as in a stack.
  2. The node of the list with the smallest value $z(\LP_k)$ (ties: smallest index).
  3. The deepest node of the list, that is with the most branching constraints.
  4. 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$.
pli-f-087 · level media · notes
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?
  1. $x_2$ and $x_3$
  2. $x_3$ and $x_2$
  3. $x_1$ and $x_3$
  4. $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$.
pli-f-088 · level teorema · notes
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?
  1. Every feasible solution in the region of $\LP_k$ has value at most $\lceil z(\LP_k) \rceil - 1$, for every problem.
  2. If variables and costs are integer, every feasible solution in the region of $\LP_k$ has value at most $\lfloor z(\LP_k) \rfloor$.
  3. The bound $\lfloor z(\LP_k) \rfloor$ also holds in a MIP with continuous variables.
  4. 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)$.
pli-f-089 · level teorema · notes
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?
  1. Both children still contain the solution $\tilde{\vet x}(\LP_k)$ of the parent.
  2. The regions of the two children overlap in the strip between the two constraints.
  3. Every integer solution in the region of the node satisfies one of the two constraints.
  4. 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.
pli-f-090 · level ipotesi · notes
To prove that a complete binary tree with $n$ levels (the root is the first, every non-leaf node has two children) has $2^n - 1$ nodes, what is used?
  1. Strong duality applied to the relaxation of the root.
  2. The skip rule, which eliminates one of the two children.
  3. The number of dual simplex pivots in every node.
  4. Induction on $n$, with $2^j$ nodes at level $j$.
Explanation. Level $j$ (counting from $0$) has $2^j$ nodes; the inductive step is $2^n - 1 + 2^n = 2^{n+1} - 1$.
pli-f-091 · level ipotesi · notes
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?
  1. Integer costs and variables (the value is integer) and value not above $z(\LP_k)$.
  2. Only that the matrix $\mat A$ and the vector $\vet b$ are integer.
  3. That $\LP_k$ has an optimal vertex with all components integer.
  4. 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.
pli-f-169 · level facile · notes
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?
  1. The strip $3 < x_1 < 4$, which contains no integer point.
  2. The integer points with $x_1 = 3$, which lie on the boundary.
  3. The whole half-plane $x_1 \ge 4$, which does not contain the optimum.
  4. 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.
pli-f-170 · level facile · notes
In LP-based branch-and-bound for a maximization ILP problem, what are the bounding operations?
  1. The computation of a lower bound by a heuristic at every node, to update the incumbent.
  2. The addition of the upper bounds $x_j \le \lfloor b_i / a_{ij} \rfloor$ at every node.
  3. The relaxation value of a node bounds its solutions, and decides whether to discard the node.
  4. 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.
pli-f-171 · level facile · notes
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?
  1. $x_5 = \frac{1}{2} - \frac{7}{62}x_3 + \frac{1}{31}x_4$
  2. $x_5 = -\frac{1}{2} - \frac{7}{62}x_3 + \frac{1}{31}x_4$
  3. $x_5 = -\frac{1}{2} + \frac{7}{62}x_3 - \frac{1}{31}x_4$
  4. $x_5 = \frac{1}{2} + \frac{7}{62}x_3 - \frac{1}{31}x_4$
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$.
pli-f-172 · level facile · notes
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?
  1. The dictionary stays primal feasible, and the dual simplex is faster.
  2. The primal simplex cannot handle the surplus variable of an up-branching constraint.
  3. The dual simplex always returns integer solutions, so the child is pruned sooner.
  4. 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.
pli-f-173 · level media · notes
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?
  1. $x_3$, with minimum decrease $1$.
  2. $x_2$, with minimum decrease $3$.
  3. $x_3$, with the largest decrease $4$ of a feasible child.
  4. $x_1$, the variable with the smallest index.
Explanation. Minimum decreases: $x_1$: $\min\{2, 0.5\} = 0.5$; $x_2$: $\min\{3, +\infty\} = 3$; $x_3$: $\min\{1, 4\} = 1$.
pli-f-174 · level facile · notes
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?
  1. B finds a better solution than A, because best bound explores the best nodes first.
  2. A certifies $(4,1)$, B the solution $(3,2)$ found first.
  3. The same optimum $(4,1)$ of value $14$: strategies change the tree, not the optimum.
  4. 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.
pli-f-175 · level facile · notes
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?
  1. $15$
  2. $\frac{100}{7}$
  3. $\frac{29}{2}$
  4. $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.
pli-f-176 · level facile · notes
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?
  1. $x_1$ is already integer: the child $x_1 \le 3$ contains the same solution, and nothing is cut off.
  2. Nothing: one can branch on any integer variable.
  3. The children should have been $x_1 \le 2$ and $x_1 \ge 4$.
  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.
pli-f-177 · level facile · notes
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?
  1. $6$: the skipped child takes index $5$.
  2. $4$: the index is reused after the skip.
  3. $5$: the skipped child receives no index.
  4. $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.
pli-f-178 · level facile · notes
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?
  1. It is branched on $x_2$, with $x_2 \le 2$ and $x_2 \ge 3$.
  2. It is pruned by bound, because $\lfloor \frac{31}{2} \rfloor = 15 \le \LB$.
  3. The node is inserted in the list of open nodes, because $x_2$ is fractional.
  4. 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$.
pli-f-179 · level facile · notes
In branch-and-bound the LP problems of the nodes can be solved with the bounded-variable simplex algorithm. What changes?
  1. The LP problems of the nodes are solved with integer variables, without relaxation.
  2. The branching constraints become bounds $l_j \le x_j \le u_j$, not new rows of the dictionary.
  3. The branching constraints are replaced by equivalent Gomory cuts.
  4. 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.
pli-f-180 · level facile · notes
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?
  1. The ILP problem is unbounded.
  2. The optimal value is the bound of the root $\lfloor z(\LP_1) \rfloor$.
  3. It must be repeated with another branching strategy.
  4. The ILP problem is infeasible.
Explanation. Branching loses no feasible solution: if all the nodes were pruned without finding an integer solution, none exists.
pli-f-181 · level facile · notes
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?
  1. The optimal value, which can become $13$ if no better node is found.
  2. The number of solved nodes, which can decrease; the optimum $14$ stays.
  3. The bound of the root, which becomes $13$ instead of $15$.
  4. 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.
pli-f-343 · level facile · notes
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$?
  1. One with $x_1 \le 3$ and one with $x_1 \ge 4$.
  2. One with $x_1 \le 3.5$ and one with $x_1 \ge 3.5$.
  3. One with $x_1 = 3$ and one with $x_1 = 4$.
  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.
pli-f-344 · level facile · notes
Why is the branch-and-bound algorithm for ILP problems called LP-based?
  1. Because it solves only the LP relaxation of the original problem.
  2. Because it adds linear cuts to the relaxation.
  3. Because its bounds come from LP relaxations.
  4. Because it rounds the solution of the LP relaxation.
Explanation. Every node of the tree is an LP problem; its optimal value is an upper bound on the subproblem.
pli-f-345 · level facile · notes
In the chapter on branch-and-bound, what data does an ILP problem in canonical maximization form have?
  1. Real costs, equality constraints and binary variables.
  2. Integer data, $\ge$ constraints and free variables.
  3. Integer costs, $\le$ constraints and nonnegative continuous variables.
  4. Integer data, $\le$ constraints, variables in $\Z_{\ge 0}$.
Explanation. It is form (7.1): $\max \sum_j c_j x_j$, $\sum_j a_{ij} x_j \le b_i$, $x_j \in \Z_{\ge 0}$, integer data.
pli-f-346 · level facile · notes
Why does the chapter on branch-and-bound require the costs $c_j$ of the ILP problem to be integer too?
  1. Because otherwise the LP relaxation has no solution.
  2. Because the dual simplex works only with integer costs.
  3. To be able to round the bound down.
  4. Because otherwise branching is impossible.
Explanation. With integer costs $\sum_j c_j \bar x_j \in \Z$, so every solution in the node has value at most $\lfloor z(\LP_k) \rfloor$.
pli-f-347 · level facile · notes
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)?
  1. $n = 2$, $m = 2$.
  2. $n = 2$, $m = 4$, counting nonnegativity.
  3. $n = 4$, $m = 2$, counting slacks.
  4. $n = 3$, $m = 2$.
Explanation. Two integer variables and two $\le$ constraints; nonnegativity belongs to the domain.
pli-f-348 · level facile · notes
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?
  1. The $k$-th cut, the point cut off and the violation.
  2. The LP problem of node $k$, its optimal solution and its optimal value.
  3. The relaxation after $k$ cuts, the incumbent solution and the lower bound.
  4. 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.
pli-f-349 · level facile · notes
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$?
  1. The optimal solution of the root node and its value.
  2. The solution of the current node and its bound.
  3. The best feasible integer solution found so far and its value.
  4. 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.
pli-f-350 · level teorema · notes
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?
  1. $z(\text{child}) \le z(\text{parent})$, because the child has one more constraint.
  2. $z(\text{child}) \ge z(\text{parent})$, because the child is closer to an integer solution.
  3. $z(\text{child}) = z(\text{parent}) - 1$.
  4. No general relation.
Explanation. The polyhedron of the child is contained in that of the parent: the maximum does not increase.
pli-f-351 · level ipotesi · notes
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?
  1. That $\tilde x_j$ is the most fractional value among the variables.
  2. That the parent has a bound larger than the lower bound.
  3. That the two children are solved in LIFO order.
  4. That the branching variable $x_j$ is integer.
Explanation. On a continuous variable the dichotomy would fail: the middle strip contains solutions.
pli-f-352 · level facile · notes
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?
  1. $x_2 \le 3$ and $x_2 \ge 2$.
  2. $x_2 \le 2$ and $x_2 \ge 3$.
  3. $x_2 \le 2$ and $x_2 \ge 2$.
  4. $x_2 \le \frac73$ and $x_2 \ge \frac73$.
Explanation. $\lfloor \frac73 \rfloor = 2$ and $\lceil \frac73 \rceil = 3$.
pli-f-353 · level teorema · notes
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?
  1. Every feasible solution in the region of $\LP_k$ has value at most $\lceil z(\LP_k) \rceil$.
  2. Every feasible solution in the region of $\LP_k$ has value at most $\lfloor z(\LP_k) \rfloor$.
  3. The optimal value of the ILP problem is $\lfloor z(\LP_1) \rfloor$.
  4. 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$.
pli-f-354 · level facile · notes
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?
  1. No: $17.8 > 17$.
  2. No: it is pruned only if $z(\LP_k) < \LB$.
  3. Yes, but only if the solution of the node is integer.
  4. 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.
pli-f-355 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what does the list $L$ contain?
  1. The open nodes to process.
  2. The integer solutions found.
  3. The nodes already pruned.
  4. The cuts generated at the nodes.
Explanation. The order of extraction from the list is the node selection strategy.
pli-f-356 · level facile · notes
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$?
  1. The branching variable selection strategy.
  2. The pruning rule.
  3. The branching node selection strategy.
  4. The numbering of the variables.
Explanation. The choice of the variable is a separate decision, taken after the node is extracted.
pli-f-357 · level facile · notes
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?
  1. When it finds the first integer solution.
  2. When the bound of the root is integer.
  3. After solving $2^n - 1$ nodes.
  4. When the list $L$ is empty: the incumbent is optimal.
Explanation. With an empty list every region has been explored or pruned: $\UB = \LB$.
pli-f-358 · level facile · notes
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|$?
  1. $\frac{1}{18} \approx 5.6\%$.
  2. $\frac{2}{18} \approx 11.1\%$.
  3. $\frac{3}{18} \approx 16.7\%$.
  4. $\frac{3}{21} \approx 14.3\%$.
Explanation. $\UB$ is the maximum of the bounds of the listed nodes: $21$; gap $= (21 - 18)/18$.
pli-f-359 · level ipotesi · notes
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?
  1. That better solutions lie in open nodes.
  2. That all nodes of the list have integer solutions.
  3. That the list is managed in best bound order.
  4. 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.
pli-f-360 · level facile · notes
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?
  1. Branching on the root, because $30.9 > 30$.
  2. The root is pruned by bound.
  3. The heuristic solution is discarded.
  4. A Gomory cut is added.
Explanation. $\lfloor 30.9 \rfloor = 30 \le \LB$.
pli-f-361 · level facile · notes
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?
  1. It improves the upper bound of the root.
  2. It avoids solving the relaxation of the root.
  3. It allows pruning nodes earlier.
  4. It guarantees that the heuristic solution is optimal.
Explanation. A high $\LB$ makes $\lfloor z(\LP_k) \rfloor \le \LB$ more frequent.
pli-f-362 · level ipotesi · notes
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?
  1. That it is feasible for the ILP problem.
  2. That it is optimal for the LP relaxation.
  3. That it has at least one fractional variable.
  4. 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.
pli-f-363 · level facile · notes
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?
  1. Bound, integrality, infeasibility.
  2. Integrality, bound, infeasibility.
  3. Bound, infeasibility, integrality.
  4. 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$.
pli-f-364 · level facile · notes
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?
  1. Branch on the node to look for better solutions.
  2. Update the incumbent ($\LB = 25$) and prune the node by integrality.
  3. Prune the node by bound without updating the incumbent.
  4. 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.
pli-f-365 · level facile · notes
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?
  1. The ILP problem is unbounded.
  2. Infeasible or unbounded.
  3. Branching on the root.
  4. The ILP problem is infeasible.
Explanation. It is one of the stopping cases of Step 0 of the pseudocode.
pli-f-366 · level facile · notes
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?
  1. The second child is solved anyway, for completeness.
  2. The first child is discarded.
  3. Restart from the root.
  4. 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.
pli-f-367 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, how are the nodes numbered in the notes?
  1. In the order in which their LP problems are solved: $1, 2, \dots, c$.
  2. By level, from left to right.
  3. In the order in which they are created, skipped children included.
  4. According to the value of their bound.
Explanation. Skipped children get no index; in the notes the down child is solved first.
pli-f-368 · level teorema · notes
How many nodes in total does a complete binary branch-and-bound tree with $n \ge 1$ levels have?
  1. $2^n$.
  2. $2^{n-1}$.
  3. $2^n - 1$.
  4. $n^2$.
Explanation. $\sum_{j=0}^{n-1} 2^j = 2^n - 1$: the levels have $1, 2, 4, \dots, 2^{n-1}$ nodes.
pli-f-369 · level facile · notes
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?
  1. $32$ leaves and $5$ constraints.
  2. $31$ leaves and $4$ constraints.
  3. $16$ leaves and $5$ constraints.
  4. $16$ leaves and $4$ constraints.
Explanation. Leaves $2^{n-1} = 16$; one constraint for each level below the root: $n - 1 = 4$.
pli-f-370 · level ipotesi · notes
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?
  1. That the nodes are solved in best bound order.
  2. That the problem has $n$ binary variables.
  3. That it is complete: every inner node has two children.
  4. That no node is pruned by bound.
Explanation. The inductive step doubles the leaves of a level: it holds only for complete trees.
pli-f-371 · level facile · notes
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?
  1. The child differs from the parent by one constraint.
  2. Because the primal simplex does not accept branching constraints.
  3. Because the dual of the child is always infeasible.
  4. 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.
pli-f-372 · level facile · notes
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?
  1. $x_s = \frac12 - \sum_{q \in N} \bar a_{1q} x_q$.
  2. $x_s = -\frac12 + \sum_{q \in N} \bar a_{1q} x_q$.
  3. $x_s = 3 - \sum_{q \in N} \bar a_{1q} x_q$.
  4. $x_s = -\frac12 - \sum_{q \in N} \bar a_{1q} x_q$.
Explanation. $x_s = 3 - x_1 = 3 - \frac72 + \sum_q \bar a_{1q} x_q$: value $-\frac12 < 0$, the dictionary is not primal feasible.
pli-f-373 · level facile · notes
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?
  1. $x_1$.
  2. $x_3$.
  3. $x_2$.
  4. $x_4$.
Explanation. Among the fractional variables ($x_2, x_3, x_4$) take the smallest index; $x_1$ is integer.
pli-f-374 · level facile · notes
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?
  1. It needs no computation and is reproducible.
  2. It always minimizes the size of the tree, but it is expensive.
  3. It finds feasible solutions immediately, but bounds do not decrease.
  4. 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.
pli-f-375 · level facile · notes
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?
  1. $x_4$.
  2. $x_1$.
  3. $x_2$.
  4. $x_3$.
Explanation. The fractional variables are $x_1$ and $x_3$; the largest index is $3$.
pli-f-376 · level facile · notes
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?
  1. $x_3$, with $f_3 = \frac14$.
  2. $x_2$, with $f_2 = \frac25$.
  3. $x_1$, with $f_1 = \frac{1}{10}$.
  4. $x_1$, with $f_1 = \frac{9}{10}$.
Explanation. $f_1 = \frac1{10}$, $f_2 = \frac25$, $f_3 = \frac14$: the maximum is $f_2$.
pli-f-377 · level facile · notes
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?
  1. Choose the variable farthest from an integer, to decrease the bounds most.
  2. Choose the variable closest to an integer.
  3. Choose the variable with the largest cost.
  4. Choose the variable giving the largest bound decrease of the children.
Explanation. Maximum infeasibility instead tries to force the most uncertain decisions.
pli-f-378 · level facile · notes
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\}$?
  1. $x_2$, with $\min\{3, 0.5\} = 0.5$.
  2. $x_2$, with $\max\{3, 0.5\} = 3$.
  3. $x_1$, with $\max\{2,1\} = 2$.
  4. $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$.
pli-f-379 · level facile · notes
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?
  1. $+\infty$.
  2. $0$.
  3. $z(\LP_k)$.
  4. The child is not considered.
Explanation. An infeasible child would be pruned immediately: the best case for the decrease.
pli-f-380 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what is the main cost of strong branching?
  1. Computing the fractional parts of the variables.
  2. Sorting the list of nodes.
  3. Solving the two children for every fractional candidate variable.
  4. It gives no information about the bounds.
Explanation. It gives excellent choices at a high price: that is why solvers approximate it.
pli-f-381 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what are the pseudocosts used by solvers?
  1. The reduced costs of the variables in the optimal dictionary.
  2. The costs of the variables after presolve.
  3. Penalties added to the objective function.
  4. Estimates of the bound decreases.
Explanation. They approximate strong branching at a much lower cost.
pli-f-382 · level facile · notes
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?
  1. Best bound.
  2. LIFO.
  3. Best estimate.
  4. FIFO.
Explanation. Estimates of the value of the solutions in the subtrees guide the choice of the node.
pli-f-383 · level facile · notes
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?
  1. By the smallest index.
  2. By the largest index.
  3. At random.
  4. By the largest cost.
Explanation. The smallest-index rule makes runs reproducible.
pli-f-384 · level facile · notes
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?
  1. Node $6$.
  2. Node $5$.
  3. Node $3$.
  4. The node inserted last.
Explanation. Largest $z(\LP_k) = 15$ (nodes $5$ and $6$); tie broken by the smallest node index.
pli-f-385 · level facile · notes
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$?
  1. Because it always finds integer solutions.
  2. Because it explores the tree depth first.
  3. Because it attains the maximum defining $\UB$.
  4. Because it keeps the list short.
Explanation. As long as that node stays in the list, $\UB$ cannot decrease.
pli-f-386 · level facile · notes
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?
  1. LIFO: $4$; FIFO: $2$.
  2. LIFO: $2$; FIFO: $4$.
  3. Both: $2$.
  4. Both: the node with the largest bound.
Explanation. LIFO is a stack (last inserted), FIFO a queue (first inserted).
pli-f-387 · level facile · notes
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?
  1. LIFO to breadth-first search, FIFO to depth-first.
  2. Both to depth-first search.
  3. LIFO to best bound, FIFO to best estimate.
  4. 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.
pli-f-388 · level facile · notes
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?
  1. $x_2$, with $x_2 \le 2$ and $x_2 \ge 3$.
  2. $x_1$, with $x_1 \le 3$ and $x_1 \ge 4$.
  3. $x_1$, with $x_1 \le 4$ and $x_1 \ge 3$.
  4. $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$.
pli-f-389 · level facile · notes
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$?
  1. $\UB = 15.5$ and gap $\frac{1.5}{14}$.
  2. $\UB = 15$ and gap $\frac{1}{14} \approx 7.1\%$.
  3. $\UB = 16$ and gap $\frac{2}{14}$.
  4. $\UB = 15$ and gap $\frac{1}{15}$.
Explanation. $\lfloor 15.5 \rfloor = 15$; gap $= (15 - 14)/14$.
pli-f-390 · level facile · notes
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?
  1. The pruning is wrong: one prunes only by integrality.
  2. The pruning is wrong: $z(\LP_k) \le \LB - 1$ is needed.
  3. The pruning is correct only with the LIFO strategy.
  4. The pruning is correct.
Explanation. $12 \le 13$: the node contains no solution better than the incumbent.
pli-f-391 · level facile · notes
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?
  1. Branching is done only on integer variables with fractional value.
  2. Nothing: the lexicographic rule looks only at the index.
  3. He should have used $x_1 \le 4$ and $x_1 \ge 4$.
  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.
pli-f-392 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with some continuous variables (mixed), how does the algorithm change?
  1. Branching is done on continuous variables too.
  2. The bound of a node stays $\lfloor z(\LP_k) \rfloor$.
  3. Branch only on integers, bound $z(\LP_k)$.
  4. Branch-and-bound cannot be used.
Explanation. With continuous variables the value of a solution need not be integer.
pli-f-393 · level facile · notes
In branch-and-bound for ILP problems, which extension allows treating branching constraints as bounds on the variables?
  1. The cutting plane method.
  2. The revised simplex without bounds.
  3. Phase one of the simplex.
  4. 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.
pli-f-394 · level facile · notes
In the LP-based branch-and-bound (B&B) algorithm for a maximization ILP problem with integer data, what are the three reasons to prune a node?
  1. Maximum depth, number of nodes, time.
  2. Integrality, unboundedness, gap.
  3. Infeasibility, integrality, bound.
  4. Bound, integer branching variable, full list.
Explanation. They are the three conditions of the pseudocode, checked in this order.
pli-f-395 · level teorema · notes
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?
  1. When the list is empty, the incumbent is optimal.
  2. The incumbent is optimal as soon as the first integer solution is found.
  3. The algorithm is exact only with the best bound strategy.
  4. The algorithm is exact only if the tree is complete.
Explanation. Branching and pruning keep all solutions better than the incumbent until the end.
pli-f-396 · level ipotesi · notes
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?
  1. That the best bound strategy is used.
  2. That the relaxation polyhedron is bounded.
  3. That the root has a fractional solution.
  4. That all costs are positive.
Explanation. Each branching shrinks the range of a variable; with finite ranges the depth is bounded.

8. Branch-and-cut (46)

pli-f-092 · level facile · notes
What is a branch-and-cut algorithm?
  1. A cutting plane algorithm that adds cuts until the solution is integer, without ever branching.
  2. A branch-and-bound algorithm in which only branching constraints are added to the LP problems of the nodes.
  3. A heuristic that rounds the solutions of the nodes and discards the nodes with low value.
  4. 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.
pli-f-093 · level facile · notes
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$?
  1. An inequality satisfied by all the solutions in $F_k$, to be used only in the subtree of $k$.
  2. An inequality satisfied by all the solutions in $F$, to be used in the whole tree.
  3. A cut generated at the root and stored in the pool for the later nodes.
  4. 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.
pli-f-094 · level facile · notes
What does a cut-and-branch algorithm do?
  1. It generates cuts at every node of the tree, before branching, and stores them in the pool.
  2. It executes some rounds of cuts at the root, adds them to the problem and then executes branch-and-bound without further cuts.
  3. It alternates one branching and one round of cuts at every node, until an integer solution.
  4. It uses only local cuts, valid in the subtree of the node where they are generated.
Explanation. At the root there are no branching constraints, so the cuts generated there are all global.
pli-f-095 · level facile · notes
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?
  1. As global, because Gomory cuts are always valid.
  2. It discards it.
  3. As local: its derivation uses the branching constraint.
  4. 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.
pli-f-096 · level facile · notes
In branch-and-cut, what is the cut pool for?
  1. To store the open nodes of the list, with their bounds.
  2. To store the feasible solutions found by the heuristics.
  3. To choose the branching variable at every node.
  4. 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.
pli-f-097 · level facile · notes
What is meant by tailing off in the cutting plane algorithm (relaxation strengthened by one cut at a time)?
  1. After the first iterations the cuts yield less and less: the value of the relaxation decreases ever more slowly.
  2. The branch-and-bound tree grows without limit, because the cuts generate new nodes.
  3. Local cuts are used outside their subtree and remove feasible solutions.
  4. The dual simplex cycles during re-optimization, and the value of the relaxation stays fixed.
Explanation. It is one of the reasons to combine cuts and branching: when cuts give little, one branches.
pli-f-098 · level facile · notes
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$?
  1. Both double.
  2. The violation doubles, the efficacy does not change.
  3. The violation does not change, the efficacy doubles.
  4. 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.
pli-f-099 · level facile · notes
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?
  1. Cut-and-branch.
  2. The cutting plane algorithm.
  3. Branch-and-bound.
  4. A diving heuristic.
Explanation. Without cuts branch-and-bound remains; with $R = 0$ at every node except the root we obtain cut-and-branch.
pli-f-100 · level media · notes
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?
  1. Violation $\frac{1}{2}$, efficacy $\frac{\sqrt{10}}{2}$
  2. Violation $\frac{1}{2\sqrt{10}}$, efficacy $\frac{1}{2}$
  3. Violation $1$, efficacy $\frac{1}{\sqrt{40}}$
  4. Violation $\frac{1}{2}$, efficacy $\frac{1}{2\sqrt{10}}$
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$.
pli-f-101 · level teorema · notes
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?
  1. Every global cut is a local cut of every node, but not conversely.
  2. Every local cut is global.
  3. A local cut of node $k$ can be used at all the nodes solved after $k$.
  4. 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.
pli-f-102 · level teorema · notes
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?
  1. The cuts decrease the optimal value of the ILP problem, because they remove points of the polyhedron.
  2. The cuts lower the values of the relaxations and the upper bound, not the optimal value.
  3. Every cut added reduces the number of nodes of the tree by at least one.
  4. 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.
pli-f-103 · level ipotesi · notes
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?
  1. That the cut is satisfied by all the solutions of $F$.
  2. The validity theorem of Gomory fractional cuts.
  3. That the solutions of $F_k$ have $x_1 \ge 4$ and the descendants have $F_h \subseteq F_k$.
  4. 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.
pli-f-104 · level ipotesi · notes
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?
  1. That it cuts off the optimal solution of the root relaxation with the largest violation.
  2. That it has been made primitive before adding it, so that its slack is integer.
  3. That it has the largest efficacy among the cuts generated in the same round.
  4. 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$.
pli-f-182 · level media · notes
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?
  1. $\UB = 32$: the cut does not change the bound, and the tree still solves $5$ LP problems.
  2. $\UB = 31$, and the optimum $(4,4)$ is found at the root without branching.
  3. $\UB = 31$ at the root, and the tree solves $3$ LP problems instead of $5$.
  4. $\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.
pli-f-183 · level facile · notes
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?
  1. Not every cut reduces the tree: a cut-and-branch must decide when to stop cutting.
  2. Gomory cuts are not valid on $P2$, because the data have different signs.
  3. Every cut removes a node from the tree, so it always pays to cut.
  4. 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)$.
pli-f-184 · level media · notes
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?
  1. $x_3$ enters; the optimum is $(4, 1)$ of value $14$, and the node is pruned by integrality.
  2. $x_5$ enters; the optimum is $(4, 1)$ of value $14$, the integer optimum.
  3. $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$.
  4. $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.
pli-f-185 · level facile · notes
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?
  1. No: the cut with the larger efficacy always dominates the others.
  2. Yes: efficacy is measured at the current point only.
  3. No: two cuts with the same violation have the same efficacy.
  4. 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.
pli-f-186 · level facile · notes
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?
  1. Branching is done anyway, and $3$ LP problems are still needed.
  2. The bound stays $31$, because the second cut is local.
  3. $2$ LP problems are needed: the root and a child to certify the optimum.
  4. 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.
pli-f-187 · level facile · notes
In a branch-and-cut algorithm (at most $R$ rounds of cuts per node), which sequence describes the processing of a node?
  1. It is branched at once, and the cuts are added only to the children already solved.
  2. Solve the LP; add violated cuts and re-optimize for at most $R$ rounds; then prune or branch.
  3. The LP is solved and cuts are generated only if the node is pruned.
  4. 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.
pli-f-397 · level facile · notes
What is a branch-and-cut algorithm for an ILP problem?
  1. A cutting plane algorithm that rounds the solution after each cut.
  2. A branch-and-bound that branches on cuts instead of variables.
  3. A branch-and-bound with cuts at the nodes.
  4. A heuristic that cuts off the integer solutions worse than the incumbent.
Explanation. It combines the two exact methods: cuts bring the relaxations closer to the hull, branching closes the rest.
pli-f-398 · level teorema · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, which statement about the LP problems of the nodes is correct?
  1. Cuts lower (never raise) $z(\LP_k)$.
  2. Cuts raise $z(\LP_k)$, because they add constraints.
  3. Cuts do not change $z(\LP_k)$, only the solution.
  4. Cuts make the solution of every node integer.
Explanation. Adding constraints to a maximization problem cannot increase the optimal value.
pli-f-399 · level facile · notes
Why are cutting planes and branch-and-bound combined for ILP problems?
  1. Because cuts alone are not valid.
  2. Because branch-and-bound alone is not an exact method.
  3. Because cuts are used to choose the branching variable.
  4. Gomory cuts lose effectiveness after a few iterations.
Explanation. Each method compensates for the limits of the other.
pli-f-400 · level facile · notes
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$?
  1. When it is satisfied by all points of $F$.
  2. When it is satisfied by all points of $F_k$ (but maybe not by all those of $F$).
  3. When it is violated by the optimal solution of $\LP_k$.
  4. 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$.
pli-f-401 · level facile · notes
What distinguishes a cut-and-branch algorithm from a branch-and-cut one, for an ILP problem?
  1. Cut-and-branch generates cuts at all nodes, branch-and-cut only at the root.
  2. Cut-and-branch generates cuts only at the root node, then runs a branch-and-bound without cuts.
  3. Cut-and-branch branches before generating cuts at the root.
  4. Cut-and-branch uses only local cuts.
Explanation. At the root there are no branching constraints, so all cuts of cut-and-branch are global.
pli-f-402 · level ipotesi · notes
In a cut-and-branch algorithm the cuts found at the root are added to the ILP problem for the whole tree. What guarantees that this is correct?
  1. That the cuts are in primitive form.
  2. That the number of cut rounds is limited.
  3. That the root has a fractional solution.
  4. At the root there are no branching constraints.
Explanation. A cut derived without branching constraints removes no feasible integer solution.
pli-f-403 · level facile · notes
In a cut-and-branch algorithm for an ILP problem, how many rounds of cuts are performed at the root?
  1. A limited number, fixed in advance.
  2. Until the root solution is integer.
  3. None: cuts are generated only at the leaves.
  4. One round per variable of the problem.
Explanation. Because of tailing off it is better to stop early and leave the rest to branching.
pli-f-404 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, what is the cut pool for?
  1. To store the integer solutions found.
  2. To store the nodes waiting for branching.
  3. To reuse cuts found before separating new ones.
  4. To store the original constraints removed by presolve.
Explanation. Checking the pool is cheap; cuts inactive for a long time are removed from the LP and kept in the pool.
pli-f-405 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, where is a local cut of node $k$ stored?
  1. In the global pool, usable at every node.
  2. Nowhere: it is used once and discarded.
  3. At the root, for the whole tree.
  4. With node $k$: only its descendants inherit it.
Explanation. Outside the subtree of $k$ a local cut can remove feasible solutions.
pli-f-406 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, what changes in the pseudocode with respect to branch-and-bound?
  1. The pruning criteria, which become weaker.
  2. The management of the list, which becomes a stack.
  3. Only the solution of a node.
  4. The branching operations, which use the cuts.
Explanation. Branching, pruning and the list stay as in branch-and-bound.
pli-f-407 · level facile · notes
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?
  1. When no violated cut is found or $R$ rounds are reached.
  2. As soon as the node solution becomes fractional.
  3. After a single cut, always.
  4. When the node bound exceeds $\LB$.
Explanation. If the solution becomes integer or the bound drops below the incumbent, the node is pruned instead.
pli-f-408 · level facile · notes
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$?
  1. $29$.
  2. $28$.
  3. $28.6$.
  4. $27$.
Explanation. Integer data: the bound of a node is $\lfloor z(\LP_k) \rfloor$.
pli-f-409 · level facile · notes
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}$) has optimum $(4,4)$ with $z(\ILP) = 28$. If a cut-and-branch node has $z(\LP_k) = 28.4$ and $\LB = 28$, what is done?
  1. Branching on the node.
  2. Another cut is added.
  3. The node is pruned by bound.
  4. The incumbent is updated.
Explanation. $\lfloor 28.4 \rfloor = 28 \le \LB$: the node contains no better solution.
pli-f-410 · level facile · notes
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:
  1. local: valid only with $x_1 \ge 4$.
  2. global, because it is a Gomory cut.
  3. invalid, because cuts are not generated at nodes.
  4. global, because node $3$ is close to the root.
Explanation. The derivation uses $x_1 \ge 4$: the cut holds only in $F_3$.
pli-f-411 · level facile · notes
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?
  1. Yes: it is derived from the constraints of the problem.
  2. Yes: it is satisfied by the optimal solution $(4,1)$.
  3. No: it is not valid even at the node.
  4. 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.
pli-f-412 · level facile · notes
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$?
  1. It is always larger than the violation.
  2. It does not depend on the cut's scale.
  3. It does not require knowing $\tilde{\vet x}$.
  4. It is always an integer.
Explanation. Multiplying the cut by $2$ doubles the violation but does not move the hyperplane.
pli-f-413 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, which families of cuts can be used?
  1. Only Gomory fractional cuts.
  2. Any valid family with a separation.
  3. Only cover inequalities.
  4. Only cuts that make the node solution integer.
Explanation. Any valid family with a way to find violated cuts will do.
pli-f-414 · level facile · notes
Why do solvers discard Gomory cuts with very large or very different coefficients?
  1. Because they are not valid in exact arithmetic.
  2. Because they do not remove the fractional solution.
  3. Because they increase the value $z(\LP_k)$.
  4. Because of numerical rounding errors.
Explanation. Gomory cuts are always available but numerically delicate.
pli-f-415 · level facile · notes
For which constraints are cover inequalities used in a branch-and-cut algorithm?
  1. For constraints $\sum_j a_j x_j \le b$ with positive coefficients on binary variables.
  2. For every constraint of an ILP problem with general integer variables.
  3. Only for equality constraints.
  4. For constraints with continuous variables.
Explanation. They are valid for binary knapsack constraints; other families are needed for other structures.
pli-f-416 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, how is the upper bound $\UB$ computed when the list $L$ is not empty?
  1. $\UB = \min_{k \in L} \mathrm{UB}(\LP_k)$.
  2. $\UB = z(\LP_1)$ without cuts, for the whole run.
  3. $\UB = \max_{k \in L} \mathrm{UB}(\LP_k)$, where $z(\LP_k)$ is the value after the cuts.
  4. $\UB = \LB + 1$.
Explanation. It is the same formula as in branch-and-bound; cuts lower the node values.
pli-f-417 · level facile · notes
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|$?
  1. $\frac{1}{37} \approx 2.7\%$.
  2. $\frac{3}{37} \approx 8.1\%$.
  3. $\frac{4}{41} \approx 9.8\%$.
  4. $\frac{4}{37} \approx 10.8\%$.
Explanation. $\UB = \max\{40, 38, 41\} = 41$, gap $= (41 - 37)/37$.
pli-f-418 · level ipotesi · notes
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?
  1. That all cuts are global.
  2. That the cuts are selected by efficacy.
  3. That every cut used at node $k$ is valid for $F_k$.
  4. That the cut pool is empty.
Explanation. Local validity is enough: the node keeps its integer solutions.
pli-f-419 · level facile · notes
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?
  1. The cut may depend on the branching constraints.
  2. It is not risky: Gomory cuts are always global.
  3. Because the global pool accepts only cover cuts.
  4. 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.
pli-f-420 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, why is it not worth adding all violated cuts found in a round?
  1. Because violated cuts are not valid.
  2. They make the LP problems large and slow.
  3. Because they increase the upper bound.
  4. Because they make the problem infeasible.
Explanation. Cuts are selected by efficacy and inactive ones are removed.
pli-f-421 · level facile · notes
In a branch-and-cut algorithm for a maximization ILP problem with integer data, after adding a cut at a node, how is the LP problem re-optimized?
  1. With the primal simplex from scratch.
  2. With the graphical method.
  3. With the dual simplex, starting from the previous dictionary.
  4. It is not re-optimized: branching starts immediately.
Explanation. The dictionary stays dual feasible but loses primal feasibility.
pli-f-422 · level teorema · notes
Which statement about the effect of cuts in a branch-and-cut algorithm is correct?
  1. Effective cuts reduce the size of the tree.
  2. Cuts always reduce the total solution time.
  3. Cuts always increase the number of nodes.
  4. Cuts make branching unnecessary.
Explanation. On problem $P10$ a Gomory cut reduces the tree; too many cuts slow things down.
pli-f-569 · level ipotesi · notes
A branch-and-cut algorithm remains an exact method. Which condition on the cuts added at a node $k$ guarantees it?
  1. That they are all global.
  2. That they are valid for $F_k$.
  3. That they are Gomory cuts.
  4. That they make the node solution integer.
Explanation. With cuts valid at the node no solution of its region is lost.

Part: MIP solvers (85)

9. MIP solvers: what they do (85)

pli-f-105 · level facile · notes
In a maximization problem, what do the columns $\texttt{Incumbent}$ and $\texttt{BestBd}$ of the Gurobi log report?
  1. $\texttt{Incumbent}$ is the lower bound (primal side), $\texttt{BestBd}$ the upper bound (dual side).
  2. $\texttt{Incumbent}$ is the upper bound (dual side), $\texttt{BestBd}$ the lower bound (primal side).
  3. Both are upper bounds: the incumbent of the root, the best bound of the open nodes.
  4. $\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}$.
pli-f-106 · level facile · notes
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$?
  1. $795 \le z \le 812$
  2. $796 \le z \le 812$
  3. $796 \le z \le 811$
  4. $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.
pli-f-107 · level facile · notes
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?
  1. That the solution is optimal, with certainty.
  2. That the whole tree has been explored.
  3. That the incumbent is optimal up to a relative gap of $10^{-4}$.
  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.
pli-f-108 · level facile · notes
What does the Gurobi parameter $\texttt{IntFeasTol}$ (default $10^{-5}$) control?
  1. The relative gap between incumbent and best bound at which the solver stops.
  2. The maximum allowed violation of a linear constraint.
  3. The tolerance on the reduced costs in the optimality test of the simplex.
  4. 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}$.
pli-f-109 · level facile · notes
What does the presolve of a MIP solver do?
  1. It transforms it into an equivalent problem, smaller and often with a stronger relaxation.
  2. It finds a first feasible solution with a heuristic, before the root node.
  3. It solves the LP relaxation of the root node with the dual simplex.
  4. It chooses in advance the branching variable for every node of the tree.
Explanation. The typical operations are removing redundant constraints and fixing variables, bound tightening and coefficient tightening.
pli-f-110 · level facile · notes
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?
  1. $6x_1 + 6x_2 + 3x_3 \le 9$
  2. $7x_1 + 7x_2 + 3x_3 \le 10$
  3. $6x_1 + 6x_2 + 4x_3 \le 10$
  4. $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$.
pli-f-111 · level facile · notes
In the Gurobi log, what does a line starting with $\texttt{H}$ and one starting with $\texttt{*}$ indicate?
  1. $\texttt{H}$: a node pruned by bound; $\texttt{*}$: a cut added at the current node.
  2. $\texttt{H}$: a new best bound from the open nodes; $\texttt{*}$: a new incumbent from a heuristic.
  3. $\texttt{H}$: a new incumbent from a heuristic; $\texttt{*}$: a new incumbent from the integer solution of a node.
  4. $\texttt{H}$: the end of presolve; $\texttt{*}$: the end of the processing of the root node.
Explanation. Primal heuristics give the incumbent; the asterisk corresponds to pruning a node by integrality.
pli-f-112 · level facile · notes
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?
  1. Strong branching applied to all the fractional variables at every node of the tree.
  2. The choice of the fractional variable with minimum index, the easiest to reproduce.
  3. Maximum infeasibility, with ties broken at random to avoid cycles.
  4. 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.
pli-f-113 · level media · notes
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?
  1. $\approx 0.67\%$: the solution is within $0.67\%$ of the optimum, but it is not certified optimal.
  2. $\approx 0.67\%$: the solution is certified optimal, because the gap is below $\texttt{MIPGap}$.
  3. $\approx 0.67\%$ computed on $597$, the best bound: the solver continues.
  4. $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.
pli-f-114 · level teorema · notes
Which statement on presolve is correct?
  1. Presolve can change the optimal value, but it always improves it by removing redundant constraints.
  2. Presolve keeps the optimal value, allows an original optimal solution to be recovered and can strengthen the relaxation.
  3. Presolve only removes fixed variables, without touching constraints and coefficients.
  4. 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.
pli-f-115 · level teorema · notes
Which statement on the termination of a MIP solver is correct?
  1. The solver stops only when the list of nodes is empty, that is with zero gap.
  2. When the solver writes $\texttt{Optimal solution found}$ the gap is always zero, whatever $\texttt{MIPGap}$ is.
  3. The solver stops with gap at most $\texttt{MIPGap}$ (or at a limit), and the solution is optimal only within that tolerance.
  4. The gap is computed dividing by the best bound, and the solver stops when it is zero.
Explanation. With $\texttt{MIPGap} = 0.01$ the solution can be $1\%$ away from the optimum; the denominator of the gap is the incumbent.
pli-f-116 · level ipotesi · notes
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?
  1. The integrality tolerance $\texttt{IntFeasTol}$, which rounds values close to an integer.
  2. The presolve, which rescales the objective function to integer coefficients.
  3. The skip rule of branch-and-bound, applied to the last node.
  4. Integer variables and integer costs: the value of every solution is integer.
Explanation. With integer solution values an upper bound is rounded down.
pli-f-117 · level ipotesi · notes
To prove that $7x_1 + 7x_2 + 3x_3 \le 10$ and $6x_1 + 6x_2 + 3x_3 \le 10$ have the same feasible binary points, what is enough?
  1. Checking the eight binary points: $x_1 = x_2 = 1$ violates both, every other point satisfies both.
  2. Showing that the two LP relaxations coincide on $[0,1]^3$.
  3. Showing that the second constraint is redundant with respect to the first for every real point.
  4. Deriving the first one as a Gomory cut of the second one, which is hence valid.
Explanation. The comparison is on the binary points only; the relaxations differ, and this is exactly the gain of coefficient tightening.
pli-f-188 · level facile · notes
In which order does a MIP solver (Gurobi, CPLEX, HiGHS, …) execute its main phases?
  1. Branch-and-cut tree, then presolve on the open nodes, then cuts at the root.
  2. Heuristics up to the optimal solution, then presolve to certify it.
  3. Presolve, root node (LP, cuts, heuristics), branch-and-cut tree, stop when the gap is below the tolerance.
  4. 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.
pli-f-189 · level facile · notes
The same MIP instance, solved with Gurobi with two sets of parameters, needs $47$ and $223$ nodes. What can be concluded?
  1. The second run is wrong, because the number of nodes is fixed by the model.
  2. The first set of parameters is better on every instance.
  3. The first run found a different optimal value.
  4. 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.
pli-f-190 · level facile · notes
In a MIP solver for a <u>minimization</u> problem, on which bound do the main components act?
  1. Presolve and cuts raise the lower bound, heuristics find the incumbent (upper bound), branching closes the gap.
  2. Heuristics raise the lower bound, presolve and cuts find the incumbent.
  3. All the components lower the upper bound; the lower bound stays that of the root.
  4. Branching finds the incumbent, cuts lower the upper bound.
Explanation. In minimization the incumbent gives the upper bound (primal side) and the strengthened relaxation the lower bound (dual side).
pli-f-191 · level facile · notes
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?
  1. Which component changes the optimal value of the instance.
  2. Which components make the solver exact instead of heuristic.
  3. How much time and how many nodes each component saves on that instance.
  4. 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.
pli-f-423 · level facile · notes
What is the algorithmic core of a MIP solver such as Gurobi, CPLEX or HiGHS?
  1. Complete enumeration.
  2. The pure cutting plane algorithm.
  3. A local search heuristic.
  4. The branch-and-cut algorithm.
Explanation. Around branch-and-cut the solver adds presolve, heuristics and branching rules.
pli-f-424 · level facile · notes
In a MIP solver for a maximization problem, on which side of the bounds $\LB \le z(\ILP) \le \UB$ do primal heuristics act?
  1. On the dual side: they lower $\UB$.
  2. On the primal side: they raise $\LB$.
  3. On both sides equally.
  4. On neither: they only serve presolve.
Explanation. Cuts and branching improve the dual side, heuristics the primal one.
pli-f-425 · level teorema · notes
Which statement about the components of a MIP solver (maximization problem) is correct?
  1. Cuts raise $\LB$, heuristics lower $\UB$.
  2. Cuts lower $\UB$, heuristics raise $\LB$, branching closes the gap.
  3. Presolve computes the optimal solution, branching verifies it.
  4. Heuristics certify the optimality of the solution.
Explanation. Each component acts on one side of the chain $\LB \le z(\ILP) \le \UB$.
pli-f-426 · level facile · notes
In the Gurobi log for a maximization problem, what do the columns Incumbent and BestBd correspond to?
  1. To the upper bound $\UB$ and to the lower bound $\LB$.
  2. To the value of the current node and to the gap.
  3. To the numbers of explored and unexplored nodes.
  4. To the lower bound $\LB$ (incumbent solution) and to the upper bound $\UB$.
Explanation. In a minimization problem the roles swap: Incumbent is an upper bound.
pli-f-427 · level facile · notes
In the Gurobi log, what do the columns Unexpl and IntInf indicate?
  1. Listed nodes and fractional integer variables.
  2. The pruned nodes and the number of violated constraints.
  3. The simplex iterations and the integer gap.
  4. The unexplored cuts and the fixed integer variables.
Explanation. Unexpl is the size of the list; IntInf counts the integer variables with fractional value.
pli-f-428 · level facile · notes
What does the presolve of a MIP solver guarantee about the transformed problem?
  1. The same number of variables and constraints.
  2. An LP relaxation with integer solution.
  3. The same optimal value.
  4. An optimal solution already found.
Explanation. The problem becomes smaller and often has a stronger relaxation, but it is equivalent.
pli-f-429 · level facile · notes
In a MIP problem with $x_1, x_2 \in \Z_{\ge 0}$ and constraint $3x_1 + 5x_2 \le 7$, which presolve operation derives $x_2 \le 1$?
  1. Removal of redundant constraints.
  2. Coefficient tightening.
  3. Generation of Gomory cuts.
  4. Bound tightening.
Explanation. From $5x_2 \le 7$ with integer $x_2$ we get $x_2 \le 1$: a smaller upper bound.
pli-f-430 · level facile · notes
In the Gurobi log, which families of cuts appear in the examples of the chapter on solvers?
  1. Only cover cuts.
  2. Only local cuts.
  3. Gomory, MIR, StrongCG and Lift-and-project.
  4. Benders cuts and Lagrangian cuts.
Explanation. At the end of the log the solver reports how many cuts of each family it added.
pli-f-431 · level facile · notes
What are the MIR cuts appearing in the logs of a MIP solver?
  1. Generalizations of Gomory cuts to MIPs.
  2. Cuts that fix integer variables at their minimum value.
  3. Cuts valid only for problems with binary variables.
  4. Cuts that remove dominated integer solutions.
Explanation. Gomory fractional cuts need all variables integer; MIR cuts handle continuous variables too.
pli-f-432 · level facile · notes
In a MIP solver, where are cuts generated?
  1. Only at the leaves of the tree.
  2. Mostly at the root, then in the tree.
  3. Only during presolve.
  4. Only after finding the optimal solution.
Explanation. Root rounds are the most effective; in the tree cutting is used sparingly.
pli-f-433 · level facile · notes
In the Gurobi log, what does a node line starting with H and one starting with * indicate?
  1. H: node pruned by bound; *: node pruned by infeasibility.
  2. H: cut added; *: branching performed.
  3. H: from a heuristic; *: from an integer node.
  4. H: optimal solution; *: heuristic solution.
Explanation. The asterisk corresponds to pruning by integrality in branch-and-bound.
pli-f-434 · level facile · notes
Which primal heuristics does a MIP solver use, according to the chapter on solvers?
  1. Rounding, diving, local search.
  2. Only complete enumeration of the solutions.
  3. Only Gomory cuts.
  4. The lexicographic dual simplex.
Explanation. They are the heuristics of the chapter «MIP heuristics».
pli-f-435 · level facile · notes
What is the reliability branching used by MIP solvers?
  1. Branching on the variable with maximum infeasibility.
  2. Branching that repeats the last choice made.
  3. Random branching repeated several times.
  4. Strong branching until pseudocosts are reliable.
Explanation. It combines the quality of strong branching with the low cost of pseudocosts.
pli-f-436 · level facile · notes
In Gurobi, which parameter chooses the branching variable selection strategy?
  1. MIPGap.
  2. VarBranch.
  3. Presolve.
  4. IntFeasTol.
Explanation. VarBranch $=-1$ automatic, $0$ pseudo reduced cost, $1$ pseudo shadow price, $2$ maximum infeasibility, $3$ strong branching.
pli-f-437 · level facile · notes
Why are the Gurobi logs of the chapter on solvers produced with Threads $=1$ and Seed $=0$?
  1. To obtain the optimal solution faster.
  2. To make the run deterministic and reproducible.
  3. Because Gurobi does not work with several threads.
  4. To switch off presolve.
Explanation. With other versions or computers the number of nodes and iterations can change.
pli-f-438 · level facile · notes
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?
  1. The problem is infeasible.
  2. Gurobi used complete enumeration.
  3. The LP relaxation is unbounded.
  4. The root suffices to close the gap.
Explanation. With default parameters most of the work happens outside the tree.
pli-f-439 · level facile · notes
For problem $P41$ ($\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}$), which feasible integer solution has value $11$?
  1. $(1, 0, 3)$.
  2. $(2, 0, 2)$.
  3. $(0, 1, 3)$.
  4. $(1, 1, 3)$.
Explanation. $(1,0,3)$: constraints $4 \le 4$, $0 \le 2$, $3 \le 3$, $6 \le 6$; value $2 + 9 = 11$. $(2,0,2)$ is worth $10$; $(0,1,3)$ is worth $10$; $(1,1,3)$ violates the first constraint.
pli-f-440 · level facile · notes
In the Gurobi log, what is read in the first lines, before the nodes?
  1. The optimal solution and its value.
  2. The list of cuts added at each node.
  3. Version, threads, parameters and statistics.
  4. The time spent by each heuristic.
Explanation. The final summary (cuts, nodes, solution) comes at the end of the log.
pli-f-441 · level facile · notes
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?
  1. $x_j = 3$ for every $j$.
  2. $x_j = 2$ for every $j$.
  3. No point with all variables positive.
  4. $x_j = 1$ for every $j$.
Explanation. With $x_j = 1$ the left-hand side is $\sum_j a_{ij} = b_i$.
pli-f-442 · level facile · notes
On a generic MIP with default parameters, why does Gurobi explore few nodes compared with the branch-and-bound of the notes?
  1. Because it always uses the FIFO strategy.
  2. Because it does not solve LP relaxations.
  3. Presolve, root cuts and heuristics.
  4. Because the problem has binary variables.
Explanation. Switching those components off makes the tree grow a lot (see the run without presolve, cuts and heuristics).
pli-f-443 · level facile · notes
In Gurobi logs on a maximization problem, how do Incumbent and BestBd move during the search?
  1. Incumbent rises, BestBd falls.
  2. Incumbent decreases, BestBd increases.
  3. Both increase.
  4. Both stay constant until the end.
Explanation. The primal side improves with new solutions, the dual side with cuts and branching.
pli-f-444 · level facile · notes
With Presolve $=0$, Cuts $=0$ and Heuristics $=0$, what does Gurobi resemble?
  1. The pure cutting plane algorithm.
  2. The branch-and-bound of the notes.
  3. A rounding heuristic.
  4. Complete enumeration.
Explanation. Relaxations, branching and pruning remain: the tree becomes visible.
pli-f-445 · level facile · notes
In the Gurobi log without heuristics, why does the Incumbent column contain a dash in the first node lines?
  1. The problem is infeasible.
  2. The gap is zero.
  3. There is no incumbent yet.
  4. The root was pruned.
Explanation. The first incumbents arrive as integer node solutions (lines with *).
pli-f-446 · level facile · notes
On $G_1$ with presolve, cuts and heuristics off Gurobi explores $119$ nodes; with default parameters far fewer. What does the comparison show?
  1. How much work those components save.
  2. That branching is useless.
  3. That the default parameters give a different optimal value.
  4. That heuristics worsen the upper bound.
Explanation. The optimal value is the same; the size of the tree changes.
pli-f-447 · level facile · notes
With MIPGap $= 0.01$, Gurobi on a maximization problem with integer data stops with incumbent $593$ and best bound $597$. What is certified?
  1. That $593$ is the optimal value.
  2. That the optimal value is $597$.
  3. Nothing, because the gap is not zero.
  4. That $593 \le z(\ILP) \le 597$.
Explanation. «Optimal solution found (tolerance 1.00e-02)» holds only up to the tolerance.
pli-f-448 · level facile · notes
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?
  1. Strong branching always explores more nodes.
  2. No strategy is best on all instances.
  3. Maximum infeasibility is always the best.
  4. 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$).
pli-f-449 · level facile · notes
What does the number of simplex iterations reported next to the nodes in the VarBranch tables of the chapter on solvers measure?
  1. The number of cuts added.
  2. The re-optimization work of the nodes.
  3. The number of incumbent solutions found.
  4. The depth of the tree.
Explanation. Each node is re-optimized with a few dual simplex pivots.
pli-f-450 · level facile · notes
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?
  1. That VarBranch has no effect on any instance.
  2. That strong branching is switched off by Gurobi.
  3. That the tree is complete.
  4. That here automatic uses pseudo reduced costs.
Explanation. With other settings (e.g. VarBranch $=1$ or $2$) the number of nodes changes.
pli-f-451 · level facile · notes
In a minimization problem, how are the Incumbent and BestBd columns of the Gurobi log read?
  1. Incumbent upper bound, BestBd lower bound.
  2. Incumbent is a lower bound, BestBd an upper bound.
  3. Both are lower bounds.
  4. Both are upper bounds.
Explanation. In a minimization problem a feasible solution bounds the optimum from above.
pli-f-452 · level facile · notes
A student reads «Optimal solution found» in a log with MIPGap $= 0.05$ and concludes that the solution is optimal. Why is this wrong?
  1. It is not wrong: Gurobi always certifies the exact optimum.
  2. It is wrong because MIPGap concerns only presolve.
  3. The sentence holds up to the tolerance.
  4. It is wrong because the sentence indicates an infeasible problem.
Explanation. The solver stops when the relative gap drops below MIPGap.
pli-f-453 · level facile · notes
When does a MIP solver with default parameters stop?
  1. When it finds the first integer solution.
  2. When it has explored all $2^n - 1$ nodes.
  3. When presolve finishes.
  4. When the gap drops below MIPGap.
Explanation. With MIPGap $= 10^{-4}$ (Gurobi's default) the solution is optimal up to that tolerance.
pli-f-454 · level ipotesi · notes
To claim that the solution returned by a MIP solver is exactly optimal (not only within tolerance), what is needed in the log?
  1. That the sentence «Optimal solution found» appears.
  2. That the solution was found by a heuristic (H line).
  3. That the final gap is zero.
  4. That the number of explored nodes is positive.
Explanation. Only with $\UB = \LB$ does the chain $\LB \le z(\ILP) \le \UB$ close.
pli-f-455 · level ipotesi · notes
In Gurobi an integer variable with value $2.000004$ in the returned solution is considered integer. Which parameter allows this?
  1. IntFeasTol (default $10^{-5}$).
  2. MIPGap (default $10^{-4}$).
  3. OptimalityTol (default $10^{-6}$).
  4. VarBranch.
Explanation. A variable is integer if it is within IntFeasTol of an integer: here $4 \cdot 10^{-6} < 10^{-5}$.
pli-f-456 · level teorema · notes
Which statement about the presolve operations of a MIP solver is correct?
  1. They change the optimal value to make the problem easier.
  2. They can strengthen the LP relaxation.
  3. They remove non-optimal feasible integer solutions.
  4. They work only on problems with continuous variables.
Explanation. The transformed problem is equivalent to the original, but smaller and often stronger.
pli-f-457 · level teorema · notes
For a maximization problem with integer data, Gurobi reports best bound $597.4$ and incumbent $593$. Which statement is correct?
  1. The bound must be rounded up to $598$.
  2. The optimal value is $597.4$.
  3. The bound can be rounded to $597$, and $593 \le z(\ILP) \le 597$.
  4. The bound cannot be rounded in a solver.
Explanation. With integer variables and costs every feasible value is integer: $z(\ILP) \le \lfloor 597.4 \rfloor$.
pli-f-504 · level teorema · notes
In a MIP solver (Gurobi, CPLEX, HiGHS…) applied to a maximization problem, which statement about the bounds reported by the solver is correct?
  1. At any time BestBd $\le z(\ILP) \le$ Incumbent.
  2. Incumbent $\le z(\ILP) \le$ BestBd.
  3. Incumbent and BestBd coincide from the root on.
  4. BestBd is the value of the best integer solution found.
Explanation. Incumbent is the primal side (lower bound), BestBd the dual side (upper bound).
pli-f-505 · level teorema · notes
Which statement about the problem produced by the presolve of a MIP solver is correct?
  1. It has the same set of feasible solutions as the original.
  2. It has a better optimal value than the original.
  3. It has the same optimal value as the original.
  4. It always has an LP relaxation with integer solution.
Explanation. Equivalence means same optimum and recoverable solutions, not the same feasible solutions.
pli-f-506 · level teorema · notes
Which statement about the branching strategies available in a MIP solver is correct?
  1. Strong branching gives small trees but is expensive.
  2. Pseudocosts are exact from the first node.
  3. Strong branching is the default strategy because it is cheap.
  4. Maximum infeasibility always gives the smallest tree.
Explanation. Reliability branching combines the two approaches.
pli-f-507 · level teorema · notes
Which statement about the tolerances of a MIP solver is correct?
  1. The solver works in exact arithmetic, so solutions are always integer.
  2. Tolerances concern only computing time.
  3. With default tolerances the final gap is always zero.
  4. The solver works in floating point: integrality, feasibility and optimality hold up to tolerances.
Explanation. IntFeasTol, FeasibilityTol, OptimalityTol and MIPGap set these thresholds.
pli-f-508 · level teorema · notes
Switching off presolve, cuts and heuristics in Gurobi, which statement about the result is correct?
  1. The optimal value gets worse, because cuts are missing.
  2. The optimal value stays the same, but the tree and the time grow.
  3. The solver no longer finds integer solutions.
  4. The tree becomes smaller, because the solver does less work.
Explanation. The components speed up the search but do not change the problem.
pli-f-509 · level teorema · notes
Which statement about the cuts generated by a MIP solver at the root is correct?
  1. They raise the incumbent value.
  2. They lower the best bound.
  3. They remove non-optimal integer solutions to speed up the search.
  4. They are always local to the root node.
Explanation. Cuts are valid inequalities: they act on the dual side.
pli-f-510 · level teorema · notes
Which statement about the primal heuristics of a MIP solver is correct?
  1. They lower the best bound.
  2. They certify the optimality of the solution found.
  3. They run only after branch-and-bound ends.
  4. They raise the lower bound.
Explanation. A good early incumbent makes pruning by bound more frequent.
pli-f-511 · level teorema · notes
Which summary of how a MIP solver works is correct?
  1. Branch-and-cut with presolve, cuts, primal heuristics and branching rules.
  2. Complete enumeration sped up by presolve.
  3. Pure cutting plane algorithm with final heuristics.
  4. Repeated local search until the solution stops changing.
Explanation. Each component works on one side of the gap.
pli-f-512 · level ipotesi · notes
The presolve of a MIP solver fixes $x_3 = 0$ in a problem. For this to be done without losing the optimum, what must hold?
  1. That $x_3$ has positive cost.
  2. That $x_3$ is a continuous variable.
  3. That some optimal solution has $x_3 = 0$.
  4. That the LP relaxation has $\tilde x_3 = 0$.
Explanation. Presolve must keep the optimal value: it fixes only implied or lossless values.
pli-f-513 · level ipotesi · notes
Presolve derives from $4x_1 + 6x_2 \le 9$, with $x_1, x_2 \in \Z_{\ge 0}$, the bound $x_2 \le 1$. Which assumption allows it?
  1. That $x_1$ is continuous.
  2. That the constraint is active at the optimum.
  3. That the cost of $x_2$ is negative.
  4. Nonnegative coefficients and integer $x_2$.
Explanation. It is bound tightening, like the variable upper bounds of the chapter on bounds.
pli-f-514 · level ipotesi · notes
To round the best bound $597.4$ down to $597$ in the log of a maximization problem, which assumption is needed?
  1. That MIPGap is zero.
  2. That presolve is active.
  3. Integer variables and costs.
  4. That the incumbent is integer.
Explanation. Only then is every feasible value integer and $z(\ILP) \le \lfloor 597.4 \rfloor$.
pli-f-515 · level ipotesi · notes
To read Incumbent and BestBd correctly in the Gurobi log, which information about the problem is needed?
  1. Whether it is max or min.
  2. The number of threads used.
  3. The Gurobi version.
  4. The value of VarBranch.
Explanation. In a minimization problem Incumbent is an upper bound and BestBd a lower bound.
pli-f-516 · level ipotesi · notes
Reliability branching switches from strong branching to pseudocosts for a variable. Which condition decides it?
  1. That the variable has fractional value $\frac12$.
  2. Pseudocosts observed often enough.
  3. That the node is the root.
  4. That the incumbent has been updated.
Explanation. Until the estimate is reliable strong branching is paid for.
pli-f-517 · level ipotesi · notes
To compare the Gurobi logs of the chapter (number of nodes, iterations) with one's own run, what is needed?
  1. Only the same model: logs are always identical.
  2. The same computer, but any version.
  3. The same version, Threads $=1$ and Seed $=0$.
  4. Switching presolve off.
Explanation. The run is deterministic only with the same version, threads and seed.
pli-f-518 · level ipotesi · notes
A student concludes from a log that branching did almost all the work, because the tree has many nodes. What should be checked first?
  1. The work outside the tree.
  2. Only the number of explored nodes.
  3. Only the Gurobi version.
  4. The value of IntFeasTol.
Explanation. In the logs of the chapter the root node alone solves $P41$.
pli-f-519 · level ipotesi · notes
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?
  1. That the costs $c_j$ are positive.
  2. That the LP relaxation has an integer optimum.
  3. That presolve is active.
  4. 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\}$.
pli-f-520 · level facile · notes
In Gurobi, what does the parameter MIPGap (default $10^{-4}$) indicate?
  1. The maximum allowed violation of a constraint.
  2. The relative stopping gap.
  3. The maximum distance of an integer variable from an integer.
  4. The maximum number of nodes.
Explanation. With the default value the solution is optimal up to $0.01\%$.
pli-f-521 · level facile · notes
In Gurobi, what does FeasibilityTol (default $10^{-6}$) control?
  1. The distance of an integer variable from an integer.
  2. The maximum violation with which a constraint is considered satisfied.
  3. The relative stopping gap.
  4. The tolerance on reduced costs.
Explanation. IntFeasTol concerns integrality, OptimalityTol reduced costs, MIPGap the gap.
pli-f-522 · level facile · notes
In Gurobi, what is the difference between MIPGap and MIPGapAbs?
  1. MIPGap concerns maximization problems, MIPGapAbs minimization ones.
  2. MIPGapAbs is the integrality tolerance.
  3. They are two names for the same parameter.
  4. MIPGap is a relative gap, MIPGapAbs an absolute gap between incumbent and best bound.
Explanation. The solver stops when either gap drops below its threshold.
pli-f-523 · level facile · notes
What is meant by coefficient tightening in the presolve of a MIP solver?
  1. Tighter coefficients, same integer points.
  2. Multiplying all constraints by the same number.
  3. Increasing the costs of the integer variables.
  4. Rounding all coefficients up.
Explanation. The new constraint has the same integer points but cuts off fractional points.
pli-f-524 · level facile · notes
Which of the following is not a typical presolve operation of a MIP solver?
  1. Removing redundant constraints.
  2. Tightening the bounds of the variables.
  3. Branching on the most fractional variable.
  4. Tightening the coefficients of the constraints.
Explanation. Branching belongs to the branch-and-cut phase, not to presolve.
pli-f-525 · level facile · notes
Which of these are MIP solvers mentioned in the chapter on solvers?
  1. Gurobi, NumPy, SciPy, Pandas.
  2. Excel, MATLAB, R, Julia.
  3. PuLP, Pyomo, JuMP, AMPL.
  4. Gurobi, CPLEX, Xpress, HiGHS, SCIP.
Explanation. PuLP, Pyomo, JuMP and AMPL are modelling languages or libraries, not solvers.
pli-f-526 · level facile · notes
In the Gurobi log, what do the columns Obj and Depth of a node line indicate?
  1. The incumbent value and the number of cuts.
  2. The gap and the elapsed time.
  3. The value $z(\LP_k)$ of the current node and its level in the tree.
  4. The best bound and the number of unexplored nodes.
Explanation. They correspond to the quantities of branch-and-bound in the notes.
pli-f-527 · level facile · notes
In the Gurobi log, what does the column Expl indicate?
  1. The number of nodes already explored (LP problems processed).
  2. The number of variables explored by strong branching.
  3. The number of incumbent solutions.
  4. The number of cuts explored.
Explanation. Unexpl instead counts the nodes still in the list.
pli-f-528 · level facile · notes
On $G_1$ with MIPGap $= 0.01$ Gurobi explores $74$ nodes instead of $119$. Why?
  1. Because it finds a different optimum.
  2. It stops with gap below $1\%$.
  3. Because it automatically turns on cuts.
  4. Because it changes branching strategy.
Explanation. With $\LB = 593$ and best bound $597$ the gap is about $0.67\% < 1\%$.
pli-f-529 · level facile · notes
A solver stops with incumbent $200$ and best bound $201$ (maximization). What is the gap $(\UB - \LB)/|\LB|$?
  1. $1\%$.
  2. $0.05\%$.
  3. $0.5\%$.
  4. $5\%$.
Explanation. $(201 - 200)/200 = 0.005$.
pli-f-530 · level facile · notes
In the Gurobi log, what does the line «Found heuristic solution» before the nodes report?
  1. A heuristic, before the root LP.
  2. The final optimal solution.
  3. A fractional LP solution.
  4. A cut added by presolve.
Explanation. Some heuristics do not need the LP relaxation.
pli-f-531 · level facile · notes
What are the StrongCG cuts appearing in Gurobi logs?
  1. Cover cuts for knapsack constraints.
  2. Local cuts generated only at the leaves.
  3. Cuts fixing variables to zero.
  4. Chvátal–Gomory cuts.
Explanation. They generalize the rounding of the chapter on valid inequalities.
pli-f-532 · level facile · notes
In Gurobi, which value of VarBranch corresponds to strong branching?
  1. $-1$.
  2. $3$.
  3. $0$.
  4. $2$.
Explanation. $-1$ automatic, $0$ pseudo reduced cost, $1$ pseudo shadow price, $2$ maximum infeasibility, $3$ strong branching.
pli-f-533 · level facile · notes
A student swaps Incumbent and BestBd in the log of a minimization problem. What is wrong?
  1. Nothing: the roles are the same as in maximization problems.
  2. In a minimization problem Incumbent is the upper bound and BestBd the lower bound.
  3. Incumbent is always the lower bound.
  4. BestBd is the value of the incumbent solution.
Explanation. A feasible solution bounds the optimum of a minimization problem from above.
pli-f-534 · level facile · notes
According to the chapter on solvers, which component closes the residual gap after presolve, cuts and heuristics?
  1. Repeated presolve.
  2. The IntFeasTol tolerance.
  3. Reading the model.
  4. Branching.
Explanation. Cuts and heuristics bring the bounds closer; branching makes them meet.
pli-f-535 · level facile · notes
What is the best estimate node selection strategy used by solvers?
  1. The node with the best pseudocost estimate.
  2. It chooses the node with the largest bound $z(\LP_k)$.
  3. It chooses the last node inserted in the list.
  4. It chooses the node with the fewest fractional variables.
Explanation. It combines information on the bound and on the chance of finding good solutions.
pli-f-570 · level facile · notes
According to the chapter on solvers, what do Gurobi, CPLEX, Xpress, HiGHS and SCIP have in common?
  1. The same source code.
  2. The same intermediate solutions on every instance.
  3. No presolve.
  4. The same components around branch-and-cut; the details change.
Explanation. Presolve, cuts, heuristics and branching are present in all of them.

Part: MIP heuristics (92)

10. MIP heuristics (92)

pli-f-118 · level facile · notes
What kind of bound on the optimal value does a heuristic (even ILP-based) give?
  1. A dual bound: an upper bound in maximization.
  2. A primal bound: a lower bound in maximization.
  3. Both, if the heuristic uses the LP relaxation.
  4. 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.
pli-f-119 · level facile · notes
Rounding a value $v$ to the nearest integer is defined as $\lfloor v + \frac{1}{2} \rfloor$. What is its value for $v = \frac{5}{2}$?
  1. $2$
  2. $2.5$
  3. $3$
  4. It depends on the variable
Explanation. $\lfloor \frac{5}{2} + \frac{1}{2} \rfloor = 3$: the value $\frac{1}{2}$ is rounded up.
pli-f-120 · level facile · notes
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}$?
  1. That $\lfloor \tilde{\vet x} \rfloor$ belongs to $\mathcal{L}$.
  2. That rounding to the nearest integer belongs to $\mathcal{L}$.
  3. That $\lfloor \tilde{\vet x} \rfloor$ is an optimal solution of the MIP.
  4. 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$).
pli-f-121 · level facile · notes
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?
  1. Diving is a complete branch-and-bound with the best bound strategy.
  2. Diving explores the whole tree, visiting it breadth-first.
  3. Diving fixes the variables without solving any LP problem.
  4. 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.
pli-f-122 · level facile · notes
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$?
  1. $\sum_{j : \bar x_j = 0} x_j + \sum_{j : \bar x_j = 1} (1 - x_j)$
  2. $\sum_{j : \bar x_j = 1} x_j + \sum_{j : \bar x_j = 0} (1 - x_j)$
  3. $\sum_{j : \bar x_j = 0} x_j - \sum_{j : \bar x_j = 1} x_j$
  4. $\sum_{j : \bar x_j = 0} (1 - x_j) + \sum_{j : \bar x_j = 1} (1 - x_j)$
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$.
pli-f-123 · level facile · notes
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?
  1. All the integer variables, at the values of the solution $\tilde{\vet x}$ rounded.
  2. The integer variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ agree, at the common value.
  3. A number $k$ of integer variables chosen at random, at the values of $\bar{\vet x}$.
  4. 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.
pli-f-124 · level facile · notes
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?
  1. Only $\bar{\vet x}$.
  2. All the binary points.
  3. $\bar{\vet x}$ and the points obtained by changing the value of a single variable.
  4. 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).
pli-f-125 · level facile · notes
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?
  1. All integer, but with only the constraints that contain $B_r$.
  2. $B_r$ continuous, $B_1, \dots, B_{r-1}$ fixed, the others integer.
  3. $B_1, \dots, B_{r-1}$ free, $B_r$ fixed, $B_{r+1}, \dots, B_p$ integer.
  4. $B_1, \dots, B_{r-1}$ fixed, $B_r$ integer, $B_{r+1}, \dots, B_p$ continuous.
Explanation. Each MIP has the integer variables of one block only, so it is small; the relaxed blocks are optimistic (myopia).
pli-f-126 · level media · notes
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?
  1. $(4,1)$, of value $14$
  2. $(3,2)$, of value $13$
  3. $(4,3)$, of value $18$
  4. 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.
pli-f-127 · level teorema · notes
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?
  1. If the proximity sub-MIP is infeasible for any $\theta > 0$, even with non-integer $f$, the incumbent is optimal.
  2. If $f$ is integer on all the feasible solutions and the sub-MIP with $\theta = 1$ is infeasible, $\bar{\vet x}$ is optimal.
  3. If the local branching sub-MIP with $k = 1$ around $\bar{\vet x}$ is infeasible, the incumbent is optimal.
  4. 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.
pli-f-128 · level teorema · notes
Which statement about ILP-based heuristics (diving, feasibility pump, RINS, local branching) is correct?
  1. A heuristic gives a dual bound on the optimal value of the problem.
  2. The feasibility pump always returns an optimal solution.
  3. Inside a solver its solution has a known gap, and a zero gap certifies optimality.
  4. 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.
pli-f-129 · level ipotesi · notes
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?
  1. $\vet b \le \vet 0$ and $\vet l = \vet 0$.
  2. That $\tilde{\vet x}$ is an optimal vertex of the relaxation.
  3. That $\vet b$ and $\vet u$ are integer.
  4. $a_{ij} \ge 0$, so that no left-hand side increases, and $\vet l = \vet 0$.
Explanation. Row by row $\sum_j a_{ij} \lfloor \tilde x_j \rfloor \le \sum_j a_{ij} \tilde x_j \le b_i$; moreover $0 \le \lfloor \tilde x_j \rfloor \le \tilde x_j \le u_j$ because $\tilde x_j \ge l_j = 0$.
pli-f-130 · level ipotesi · notes
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?
  1. That, with $f$ integer, $f(\vet x) > f(\bar{\vet x}) - 1$ implies $f(\vet x) \ge f(\bar{\vet x})$.
  2. That the distance $\Delta$ is a linear function of $\vet x$.
  3. That the LP relaxation of the sub-MIP has an integer solution.
  4. That the sub-MIP is solved with local branching around $\bar{\vet x}$.
Explanation. The objective $\Delta$ does not matter for infeasibility; what matters is $\theta = 1$ and the integer values of $f$.
pli-f-192 · level facile · notes
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?
  1. Rounding down gives $(2,0)$, of value $6$, which is optimal.
  2. $(3,0)$, of value $9$, is the optimal solution.
  3. The optimal value is $\frac{15}{2}$, that of the relaxation.
  4. $\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$.
pli-f-193 · level facile · notes
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?
  1. $\mathscr{D} = \emptyset$, because the heuristics work on the relaxation.
  2. $\mathscr{D} = \{1, \dots, N\}$, and the upper bound is $\lfloor z(\LP) \rfloor$.
  3. $\mathscr{D} = \{1, \dots, N\}$, but the bound is $z(\LP)$ without rounding.
  4. $\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.
pli-f-194 · level facile · notes
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?
  1. Because the flips are random and the pump must be repeated with another seed.
  2. Because the $L_1$ distance is not linear on general integer variables.
  3. Because the pump always returns the LP optimum rounded down.
  4. 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.
pli-f-195 · level facile · notes
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?
  1. Because larger blocks relax more variables, and the relaxation is stronger.
  2. With $x_3$ relaxed, $x_2 = 2$ looks convenient; the block $\{x_2, x_3\}$ sees the interaction.
  3. Because with one-variable blocks relax-and-fix finds no feasible solution.
  4. 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$.
pli-f-196 · level facile · notes
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?
  1. It uses it as initial simplex basis at the root node, and then discards it.
  2. It fixes the variables to those values and optimizes only the continuous variables.
  3. It uses it as initial incumbent, for pruning and for RINS, and never returns anything worse.
  4. 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.
pli-f-197 · level facile · notes
In Gurobi, when are the MIP heuristics run?
  1. Before the root LP, at the root after the LP (rounding, diving, pump), and at some nodes (RINS).
  2. Only at the end of branch-and-bound, to improve the last solution found.
  3. Only before presolve, because afterwards the model changes.
  4. 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}$.
pli-f-198 · level facile · notes
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?
  1. Proving the bound, which requires exploring the whole tree.
  2. None: the rounded LP optimum is always feasible and optimal.
  3. Finding a solution that attains the bound: then the gap is $0$ and the optimum is certified.
  4. 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.
pli-f-199 · level facile · notes
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}$?
  1. When $\texttt{x\_int}$ has fractional components, which cannot be fixed.
  2. When the point cannot be completed: the LP with the integers fixed is infeasible.
  3. When the value obtained is worse than that of the incumbent solution.
  4. 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}$.
pli-f-200 · level facile · notes
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?
  1. The quadratic term $(x_j - \tilde x_j)^2$, which the solver handles.
  2. The term $x_j - \tilde x_j$, ignoring the sign.
  3. No term: the variable does not enter the distance.
  4. 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.
pli-f-201 · level facile · notes
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,1,0)$, feasible, because the rounding respects the constraint.
  2. $(1,1,1)$, infeasible: independent roundings rarely satisfy an equality.
  3. $(0,0,0)$, feasible, because $\frac{2}{3}$ is rounded down.
  4. $(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.
pli-f-202 · level facile · notes
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?
  1. It makes the sub-MIP smaller, fixing the variables on which LP and incumbent agree.
  2. It guarantees that the sub-MIP always has a solution better than $\bar{\vet x}$.
  3. Without it, the sub-MIP can return $\bar{\vet x}$; with it, an infeasible sub-MIP proves a local optimum.
  4. 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.
pli-f-203 · level facile · notes
Among the MIP heuristics of the chapter, which ones need a feasible solution (incumbent) as input?
  1. Rounding, diving and the feasibility pump, which start from the LP solution.
  2. Relax-and-fix and the feasibility pump, which build a solution step by step.
  3. Diving and RINS, but not local branching, which works on the LP.
  4. RINS, local branching, proximity search and fix-and-optimize.
Explanation. Rounding, diving, the pump and relax-and-fix build a solution from the relaxation; the others improve an incumbent with a sub-MIP.
pli-f-204 · level media · notes
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$?
  1. $\frac{2}{13} \approx 15.4\%$
  2. $\frac{2}{15} \approx 13.3\%$
  3. $\frac{1}{14} \approx 7.1\%$
  4. 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.
pli-f-458 · level facile · notes
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?
  1. $\mathcal{L} = \{\vet x \in \R^N : A\,\vet x \le b,\ \vet l \le \vet x \le \vet u\}$.
  2. $\mathcal{L} = \{\vet x \in \Z^N : A\,\vet x \le b\}$.
  3. $\mathcal{L} = \{\vet x \in \R^N : A\,\vet x \le b\}$, without the bounds on the variables.
  4. 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.
pli-f-459 · level facile · notes
What characterizes an ILP-based heuristic (matheuristic), compared with a generic constructive heuristic?
  1. It never uses the LP relaxation.
  2. It always guarantees an optimal solution.
  3. It works only on unconstrained problems.
  4. It uses the MIP model and its relaxation.
Explanation. Working on the model, the heuristic also knows a dual bound and hence the gap.
pli-f-460 · level facile · notes
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?
  1. The floor and the sum of the continuous variables.
  2. $\lfloor v + \frac12 \rfloor$, and an LP on the continuous ones.
  3. The nearest integer and the removal of the continuous variables.
  4. The ceiling and the computation of the gap.
Explanation. Completion fixes the integer variables and optimizes the continuous ones on the remaining LP.
pli-f-461 · level facile · notes
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. $(1,2)$.
  2. $(2,1)$.
  3. $(2,0)$.
  4. $(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$.
pli-f-462 · level facile · notes
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?
  1. The heuristics hold only for minimization problems.
  2. The direction of all constraints is reversed.
  3. Every variable $x_j$ is replaced by $-x_j$.
  4. A maximum of $\vet c\T \vet x$ is a minimum of $f(\vet x) = -\vet c\T \vet x$.
Explanation. The cutoff $f(\vet x) \le f(\bar{\vet x}) - \theta$ becomes $\vet c\T \vet x \ge \vet c\T \bar{\vet x} + \theta$.
pli-f-463 · level facile · notes
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?
  1. Failure: $(4,3)$ violates $10x_1 + 4x_2 \le 45$.
  2. The feasible solution $(4,3)$ of value $18$.
  3. The solution $(3,2)$ of value $13$.
  4. The optimal solution $(4,1)$.
Explanation. $\frac72$ and $\frac52$ round up to $4$ and $3$; the point is infeasible and rounding fails.
pli-f-464 · level teorema · notes
Which statement about the rounding heuristic for a MIP is correct?
  1. It always returns a feasible solution, if the MIP is feasible.
  2. It always returns the optimal solution, if the relaxation has a unique optimum.
  3. It rounds to the nearest integer and may fail.
  4. It rounds all variables, including continuous ones.
Explanation. The rounded point may violate a constraint: in that case the heuristic declares failure.
pli-f-465 · level ipotesi · notes
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:
  1. all costs $c_j$ are positive.
  2. the relaxation has a unique optimal solution.
  3. the right-hand side $b$ is even.
  4. 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$.
pli-f-466 · level facile · notes
Why does rounding almost always fail on a MIP with equality constraints?
  1. Because the relaxation of an equality is infeasible.
  2. Because equalities make all variables integer.
  3. Independent roundings violate equalities.
  4. Because rounding does not apply to binary variables.
Explanation. For instance $x_1 + x_2 = 1$ with $(\frac12, \frac12)$ rounds to $(1,1)$; a diving is needed.
pli-f-467 · level facile · notes
What does diving do on a MIP?
  1. It fixes one variable at a time and re-solves the LP.
  2. It rounds all variables at once and stops.
  3. It explores the whole branch-and-bound tree.
  4. It searches the neighbourhood of the incumbent with a sub-MIP.
Explanation. It takes decisions one at a time, and after each one queries the relaxation again.
pli-f-468 · level teorema · notes
Which statement about diving for a MIP is correct?
  1. If the MIP is feasible, diving always finds a feasible solution.
  2. It is a single path in the branch-and-bound tree, without backtracking.
  3. Diving explores all children of every node.
  4. Diving always returns the optimal solution.
Explanation. If a fixing makes the LP infeasible, diving fails.
pli-f-469 · level facile · notes
In fractional diving on a MIP, which variable is fixed and to which value?
  1. The variable farthest from an integer, fixed downwards.
  2. The smallest-index variable, fixed to $0$.
  3. The closest to an integer, fixed to that integer.
  4. All fractional variables at the same time.
Explanation. Fixing the least fractional variable changes the LP solution little.
pli-f-470 · level facile · notes
What is the difference between rounding and diving in a MIP?
  1. Rounding decides everything from a single LP solution.
  2. Rounding recomputes the LP after each variable; diving does not.
  3. Diving does not use the LP relaxation.
  4. None: they are two names for the same heuristic.
Explanation. Recomputing the LP lets the solution adapt to the decisions taken.
pli-f-471 · level facile · notes
What is the purpose of the feasibility pump for a MIP?
  1. To find the optimal solution with few LPs.
  2. To improve an incumbent solution with a sub-MIP.
  3. To compute a dual bound on the optimal value.
  4. To find a feasible solution.
Explanation. For a general MIP even finding a feasible solution is hard.
pli-f-472 · level facile · notes
In the feasibility pump for a MIP, what alternates at each iteration?
  1. Adding a Gomory cut and solving the LP.
  2. Rounding and a minimum-distance LP.
  3. Branching on a variable and solving the children.
  4. Fixing a block of variables and solving a sub-MIP.
Explanation. The two points chase each other until they coincide: then the point is integer and satisfies the constraints.
pli-f-473 · level teorema · notes
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?
  1. $\vet x^*$ is the optimal solution of the MIP.
  2. $\vet x^*$ is feasible for the MIP.
  3. The MIP is infeasible.
  4. The integer point must be perturbed.
Explanation. Zero distance means the LP point coincides with an integer point on the integer variables.
pli-f-474 · level facile · notes
On $P72$, according to the chapter on MIP heuristics, the feasibility pump returns a solution of value $2$ while the optimum is $7$. Why?
  1. Because the pump found an infeasible solution.
  2. Because $P72$ has continuous variables.
  3. Because the pump rounds down.
  4. After the first LP the pump ignores the objective function.
Explanation. The quality of the solution is then improved with RINS, local branching or proximity search.
pli-f-475 · level facile · notes
What does the feasibility pump do when the rounded integer point repeats (a cycle)?
  1. It perturbs the integer point.
  2. It stops with the optimal solution.
  3. It adds a cover cut.
  4. It returns to the first LP with the original objective.
Explanation. Without perturbation the two points could alternate forever.
pli-f-476 · level facile · notes
Which common scheme do RINS, local branching and proximity search follow?
  1. They start from the LP relaxation and round.
  2. They explore the whole branch-and-bound tree.
  3. They restrict the MIP around the incumbent.
  4. They fix all variables and solve an LP.
Explanation. It is the idea of large neighbourhood search: a large neighbourhood explored exactly.
pli-f-477 · level facile · notes
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?
  1. $x_2$ and $x_4$.
  2. Only $x_1 = 1$.
  3. All, at the incumbent values.
  4. $x_1 = 1$ and $x_3 = 2$.
Explanation. RINS fixes the integer variables on which incumbent and LP solution agree.
pli-f-478 · level facile · notes
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?
  1. $f(\vet x) \ge f(\bar{\vet x}) + \theta$.
  2. $\Delta(\vet x, \bar{\vet x}) \le \theta$.
  3. $f(\vet x) \le f(\bar{\vet x}) - \theta$.
  4. $f(\vet x) = f(\bar{\vet x})$.
Explanation. In a minimization problem, improving means lowering $f$ by at least $\theta$.
pli-f-479 · level facile · notes
What is the risk of the rigid fixing of variables in RINS?
  1. It may exclude the optimum from the sub-MIP.
  2. The sub-MIP becomes larger than the original MIP.
  3. RINS returns an infeasible solution.
  4. RINS never uses the LP solution.
Explanation. That is why local branching constrains how many variables change, not which.
pli-f-480 · level facile · notes
For a binary MIP with incumbent $\bar{\vet x} = (1, 0, 1, 0)$, what is the local branching constraint of radius $k = 1$?
  1. $x_1 + (1 - x_2) + x_3 + (1 - x_4) \le 1$.
  2. $(1 - x_1) + x_2 + (1 - x_3) + x_4 \le 1$.
  3. $(1 - x_1) + x_2 + (1 - x_3) + x_4 \ge 1$.
  4. $x_1 + x_2 + x_3 + x_4 \le 1$.
Explanation. $\Delta(\vet x, \bar{\vet x})$ adds $1 - x_j$ where $\bar x_j = 1$ and $x_j$ where $\bar x_j = 0$: it counts changed variables.
pli-f-481 · level teorema · notes
Which statement about local branching of radius $k$ around the incumbent $\bar{\vet x}$ of a binary MIP is correct?
  1. It fixes the variables on which incumbent and LP solution agree.
  2. It minimizes the distance from $\bar{\vet x}$ with a cutoff constraint.
  3. It decides how many variables can change.
  4. It requires exactly $k$ variables to change.
Explanation. The constraint $\Delta(\vet x, \bar{\vet x}) \le k$ is linear and keeps the original objective.
pli-f-482 · level facile · notes
For a binary MIP with $n$ variables, how many binary points does the local branching neighbourhood of radius $k = 2$ around $\bar{\vet x}$ contain?
  1. $1 + n + \binom{n}{2}$.
  2. $\binom{n}{2}$.
  3. $2^n$.
  4. $2n$.
Explanation. Points at distance $0$, $1$ and $2$: $\binom n0 + \binom n1 + \binom n2$.
pli-f-483 · level facile · notes
What does the proximity sub-MIP of proximity search around the incumbent $\bar{\vet x}$ minimize?
  1. The objective $f$, with the constraint $\Delta(\vet x, \bar{\vet x}) \le k$.
  2. The constraint violation of the rounded point.
  3. The number of fractional variables.
  4. The distance $\Delta(\vet x, \bar{\vet x})$, with the cutoff constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$.
Explanation. It is the opposite of local branching: the cutoff is a constraint, the distance the objective.
pli-f-484 · level facile · notes
In proximity search, what is done when the proximity sub-MIP finds a solution?
  1. Stop: it is the optimal solution.
  2. The solution replaces the incumbent and a new sub-MIP around it is solved.
  3. Increase $\theta$ until the sub-MIP becomes infeasible, without changing the incumbent.
  4. Round the solution and restart from the relaxation.
Explanation. Repeat until the sub-MIP is infeasible (or a time limit).
pli-f-485 · level teorema · notes
In proximity search for a MIP with $f$ integer on all feasible solutions, what is concluded if the sub-MIP with $\theta = 1$ is infeasible?
  1. The MIP is infeasible.
  2. The incumbent $\bar{\vet x}$ is optimal.
  3. The radius $k$ must be increased.
  4. The incumbent is not feasible.
Explanation. No solution has $f(\vet x) \le f(\bar{\vet x}) - 1$; with integer $f$ none has $f(\vet x) < f(\bar{\vet x})$.
pli-f-486 · level facile · notes
On which structure of MIPs are relax-and-fix and fix-and-optimize based?
  1. All variables continuous.
  2. All constraints equalities.
  3. A totally unimodular constraint matrix.
  4. Integer variables in ordered blocks.
Explanation. A sequence of small MIPs is solved instead of a large one.
pli-f-487 · level facile · notes
In relax-and-fix with blocks $B_1, \dots, B_p$, how are the variables treated at step $r$?
  1. $B_r$ integer, previous fixed, next relaxed.
  2. All integer, and the full MIP is solved.
  3. $B_r$ relaxed, all others integer.
  4. $B_r$ fixed at the incumbent, the others integer.
Explanation. Relaxing the future blocks estimates the effect of the decisions not yet taken.
pli-f-488 · level ipotesi · notes
Relax-and-fix can fail even if the MIP is feasible. Which feature of the method explains it?
  1. The first step solves the full MIP.
  2. The future blocks are fixed to zero.
  3. Decisions taken are never revised.
  4. The method uses a cutoff constraint.
Explanation. Like diving, it is a method without backtracking.
pli-f-489 · level facile · notes
What does fix-and-optimize do starting from an incumbent $\bar{\vet x}$ and windows $W_1, \dots, W_q$?
  1. It fixes the variables of the window and solves the rest.
  2. It builds a solution block by block without an incumbent.
  3. It rounds the LP solution window by window.
  4. It re-optimizes one window at a time, rest fixed.
Explanation. A better solution becomes the incumbent; passes are repeated until no improvement.
pli-f-490 · level facile · notes
When does fix-and-optimize stop?
  1. After the first window.
  2. When it finds a feasible solution.
  3. After a pass with no improvement.
  4. When the relaxation becomes integer.
Explanation. Each pass may improve the incumbent; without improvement it is a local optimum with respect to the windows.
pli-f-491 · level facile · notes
What is the difference between relax-and-fix and fix-and-optimize?
  1. Relax-and-fix builds a solution block by block.
  2. Relax-and-fix improves an incumbent; fix-and-optimize builds it.
  3. None: they are the same heuristic.
  4. Fix-and-optimize does not use the MIP solver.
Explanation. The first is constructive, the second an improvement method.
pli-f-492 · level ipotesi · notes
To prove that fix-and-optimize returns a solution no worse than the initial incumbent, what is needed?
  1. That the windows are disjoint.
  2. That the incumbent is feasible for every sub-MIP.
  3. That the LP relaxation is integer.
  4. That every sub-MIP has a single solution.
Explanation. The incumbent remains a fallback solution at every step.
pli-f-493 · level facile · notes
In Gurobi, when are rounding, diving and the feasibility pump run?
  1. Only at the end of branch-and-bound.
  2. Before reading the model.
  3. At the root, after solving the LP.
  4. Only at the leaves of the tree.
Explanation. RINS and other sub-MIP heuristics are instead run at some nodes of the tree.
pli-f-494 · level facile · notes
In the Gurobi log, how is an incumbent found by a heuristic distinguished from one found as an integer LP solution of a node?
  1. The line of the first starts with H, that of the second with *.
  2. The line of the first starts with *, that of the second with H.
  3. They cannot be distinguished.
  4. The first appears only in the final summary.
Explanation. H means heuristic; * means pruning by integrality.
pli-f-495 · level facile · notes
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|$?
  1. $\frac{2}{15} \approx 13.3\%$.
  2. $\frac{1}{13} \approx 7.7\%$.
  3. $0$.
  4. $\frac{2}{13} \approx 15.4\%$.
Explanation. $(15 - 13)/13 = 0.154$.
pli-f-496 · level teorema · notes
What advantage does an ILP-based heuristic run inside a MIP solver have over an arbitrary heuristic?
  1. It always finds the optimal solution.
  2. It knows a dual bound, hence the gap of its solution.
  3. It does not need the LP relaxation.
  4. It provides an upper bound in a maximization problem.
Explanation. A heuristic alone gives one side of the gap; the model provides the other.
pli-f-497 · level facile · notes
In the Python implementations of the chapter on MIP heuristics, what does the list I contain?
  1. The values of the integer variables in the incumbent.
  2. The positions of the integer variables ($D$).
  3. The indices of the violated constraints.
  4. The simplex iterations.
Explanation. Variables are accessed by their position $j$; indices start from $0$.
pli-f-498 · level facile · notes
In the Python implementations of the chapter on MIP heuristics, which module collects LP relaxation, rounding, completion, distance and cutoff constraint?
  1. models.py.
  2. gurobipy.
  3. rins.py.
  4. common.py.
Explanation. common.py contains the solver environment and the shared operations; models.py the model of the examples.
pli-f-499 · level facile · notes
A student uses the feasibility pump to obtain a good solution of a MIP. What is wrong?
  1. The pump looks only for feasibility.
  2. The pump returns infeasible solutions.
  3. The pump works only on continuous problems.
  4. Nothing: the pump optimizes the objective function.
Explanation. On $P72$ the pump returns value $2$ against the optimum $7$.
pli-f-500 · level facile · notes
A student declares optimal the solution found by a diving. What is missing?
  1. Nothing: diving is an exact method.
  2. A second run of the diving.
  3. A dual bound equal to its value.
  4. Rounding of the solution.
Explanation. Diving is a single path in the tree, with no optimality guarantee.
pli-f-501 · level facile · notes
Which heuristic of the chapter on MIP heuristics improves an incumbent by deciding only how many variables may change?
  1. RINS.
  2. Proximity search.
  3. Relax-and-fix.
  4. Local branching.
Explanation. RINS decides which variables stay fixed; proximity search minimizes the distance with the cutoff.
pli-f-502 · level facile · notes
Which heuristics of the chapter on MIP heuristics build a solution from the LP relaxation, without an incumbent?
  1. RINS, local branching and proximity search.
  2. Only fix-and-optimize.
  3. Rounding, diving, feasibility pump and relax-and-fix.
  4. None: all require an incumbent.
Explanation. RINS, local branching, proximity search and fix-and-optimize improve an incumbent.
pli-f-503 · level ipotesi · notes
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?
  1. The cutoff constraint with $\theta > 0$.
  2. That the LP solution is integer.
  3. That all variables are binary.
  4. 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.
pli-f-536 · level teorema · notes
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?
  1. It is quadratic in $\vet x$, so it cannot be used in a linear constraint.
  2. It counts the components equal to $\bar{\vet x}$.
  3. It is linear in $\vet x$ and, on binary points, counts the components that differ from $\bar{\vet x}$.
  4. 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}$.
pli-f-537 · level teorema · notes
Which statement about RINS (incumbent $\bar{\vet x}$, LP solution $\tilde{\vet x}$) is correct?
  1. It fixes the variables on which $\bar{\vet x}$ and $\tilde{\vet x}$ differ.
  2. It does not use the LP relaxation solution.
  3. It limits to $k$ the number of variables that change.
  4. It fixes the variables agreeing with $\tilde{\vet x}$.
Explanation. Agreement between incumbent and LP suggests probably good values.
pli-f-538 · level teorema · notes
Which statement about proximity search is correct?
  1. It keeps the objective function and bounds the distance by $k$.
  2. It fixes the variables agreeing with the LP solution.
  3. It minimizes distance with the cutoff as a constraint.
  4. It does not need an incumbent.
Explanation. The new solution is the closest to the incumbent among those better by at least $\theta$.
pli-f-539 · level teorema · notes
Which statement about relax-and-fix is correct?
  1. If the last step has a solution, it is feasible for the MIP.
  2. It always returns the optimal solution.
  3. It needs an initial incumbent.
  4. It relaxes the blocks already decided and fixes the future ones.
Explanation. At the last step all integer variables are integer or fixed to integer values.
pli-f-540 · level teorema · notes
Which statement about fix-and-optimize is correct?
  1. It may worsen the incumbent to escape local optima.
  2. It never worsens the incumbent.
  3. It builds a solution without an incumbent.
  4. It solves the full MIP at every window.
Explanation. Variables outside the window are fixed at the incumbent values, which stays feasible.
pli-f-541 · level ipotesi · notes
The local branching constraint $\Delta(\vet x, \bar{\vet x}) \le k$ is written linearly as a sum of $1 - x_j$ and $x_j$. Which assumption allows it?
  1. That the MIP has only equality constraints.
  2. That $k$ exceeds the number of variables.
  3. That the integer variables are binary.
  4. That the incumbent is optimal for the relaxation.
Explanation. With general integer variables the distance needs auxiliary variables $d_j$.
pli-f-542 · level ipotesi · notes
In the feasibility pump, to conclude that an LP point $\vet x^*$ at distance $0$ from the integer point is feasible for the MIP, what is needed?
  1. $\vet x^* \in \mathcal{L}$, integer on the variables of $D$.
  2. That the integer point is optimal.
  3. That the pump performed at least one perturbation.
  4. That the objective function is integer.
Explanation. Feasible means: linear constraints satisfied and variables of $D$ integer.
pli-f-543 · level ipotesi · notes
Diving returns a feasible solution when the current LP has a solution integer on the variables of $D$. Why is this solution feasible for the MIP?
  1. Because diving checks all integer solutions.
  2. Because the solution is also optimal.
  3. Because the fixed variables are continuous.
  4. Because fixings are only additional constraints.
Explanation. The current problem is the MIP plus fixing constraints; an integer solution of it is feasible for the MIP.
pli-f-544 · level ipotesi · notes
To state that the solution of a heuristic has a gap of at most $5\%$, what is needed besides its value $\LB$?
  1. The time spent by the heuristic.
  2. A dual bound with gap at most $5\%$.
  3. Another heuristic solution of lower value.
  4. The number of fractional variables of the LP solution.
Explanation. A heuristic alone provides only one side of the gap.
pli-f-545 · level ipotesi · notes
Rounding an LP solution to the nearest integer returns a feasible solution only if:
  1. the LP solution is a vertex.
  2. the rounded point satisfies the constraints.
  3. all costs are positive.
  4. the problem has only binary variables.
Explanation. There is no a priori guarantee: the rounded point is checked.
pli-f-546 · level facile · notes
For binary variables, what is the distance $\Delta(\vet x, \bar{\vet x})$ between $\vet x = (1, 1, 0, 0)$ and $\bar{\vet x} = (1, 0, 1, 0)$?
  1. $1$.
  2. $3$.
  3. $\sqrt{2}$.
  4. $2$.
Explanation. The differing components are the second and the third.
pli-f-547 · level facile · notes
For binary variables and $\bar{\vet x} = (0, 1, 1)$, what is $\Delta(\vet x, \bar{\vet x}) = \sum_{j: \bar x_j = 1}(1 - x_j) + \sum_{j: \bar x_j = 0} x_j$ at the fractional point $\vet x = (\frac12, \frac12, 1)$?
  1. $1$.
  2. $\frac12$.
  3. $2$.
  4. $\frac32$.
Explanation. $x_1 + (1 - x_2) + (1 - x_3) = \frac12 + \frac12 + 0 = 1$.
pli-f-548 · level facile · notes
In proximity search, what is the role of the step $\theta > 0$ in the constraint $f(\vet x) \le f(\bar{\vet x}) - \theta$?
  1. It sets the radius of the neighbourhood.
  2. It sets how many variables may change.
  3. The minimum improvement required.
  4. It is the integrality tolerance.
Explanation. With integer $f$ and $\theta = 1$, an infeasible sub-MIP certifies the optimality of the incumbent.
pli-f-549 · level facile · notes
In local branching, what is done if the sub-MIP with radius $k$ finds no solution better than the incumbent?
  1. Conclude that the incumbent is optimal.
  2. Reduce $k$ to zero.
  3. Round the LP solution.
  4. The radius $k$ can be enlarged.
Explanation. The absence of improvements in the neighbourhood does not prove global optimality.
pli-f-550 · level facile · notes
What is guided diving?
  1. A diving that always fixes the smallest-index variable.
  2. A diving with backtracking.
  3. A diving that fixes variables using the values of an incumbent as a guide.
  4. A feasibility pump with perturbations.
Explanation. Diving rules differ in the choice of variable and value.
pli-f-551 · level facile · notes
In the feasibility pump, which objective does the first LP use?
  1. The original objective $f$.
  2. The distance from the origin.
  3. The sum of the integer variables.
  4. None: the first LP is a pure feasibility problem.
Explanation. After the first LP the pump ignores $f$.
pli-f-552 · level facile · notes
In relax-and-fix with blocks $B_1, B_2, B_3$, what is solved at the first step?
  1. The MIP with all variables integer.
  2. The MIP with $B_1$ integer and $B_2$, $B_3$ relaxed.
  3. The LP with all variables relaxed.
  4. The MIP with $B_1$ fixed and $B_2$, $B_3$ integer.
Explanation. At step $r$ only block $B_r$ is integer; the previous ones are fixed, the next ones relaxed.
pli-f-553 · level facile · notes
In the chapter on MIP heuristics, what is the incumbent?
  1. The optimal solution of the LP relaxation.
  2. The integer point closest to the LP solution.
  3. The best known feasible solution.
  4. The best bound of the solver.
Explanation. Improvement heuristics start from the incumbent and try to beat it.
pli-f-554 · level facile · notes
What is a heuristic, in the chapter on MIP heuristics?
  1. A fast method without guarantees.
  2. An exact method with polynomial time.
  3. A method computing dual bounds.
  4. A method that always finds a feasible solution.
Explanation. The price of speed is the lack of guarantees.
pli-f-555 · level facile · notes
Why, in sub-MIP heuristics (RINS, local branching, proximity search), is the sub-MIP solved with the solver and not by enumeration?
  1. Because the neighbourhood contains a single solution.
  2. Because enumeration would give infeasible solutions.
  3. Because the solver does not use branch-and-bound.
  4. The neighbourhood is very large.
Explanation. A neighbourhood with many solutions is explored well only by the solver's branch-and-cut.

Generated questions (55)

Each generator builds a new instance, with different numbers, at every start: a few examples here.

1. Integer linear programming (4)

Example 1 · pli-g-count · level facile · notes
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?
  1. $10$
  2. $15$
  3. $9$
  4. $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.
Example 2 · pli-g-count · level facile · notes
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?
  1. $8$
  2. $12$
  3. $7$
  4. $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.
Example 1 · pli-g-ilp-opt · level media · notes
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?
  1. $z(\ILP) = 17$, with $1$ optimal solution
  2. $z(\ILP) = 15$, with $1$ optimal solution
  3. $z(\ILP) = 15$, with $3$ optimal solutions
  4. $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.
Example 2 · pli-g-ilp-opt · level media · notes
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?
  1. $z(\ILP) = 8$, with $1$ optimal solution
  2. $z(\ILP) = 7$, with $2$ optimal solutions
  3. $z(\ILP) = 6$, with $1$ optimal solution
  4. $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.
Example 1 · pli-g-canon · level facile · notes
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?
  1. $\max\ -4\,x_1 - 5\,x_2$, $5\,x_1 + 6\,x_2 \le 5$, $5\,x_1 + 4\,x_2 \le 29$
  2. $\max\ 4\,x_1 + 5\,x_2$, $-5\,x_1 - 6\,x_2 \le -5$, $5\,x_1 + 4\,x_2 \le 29$
  3. $\max\ -4\,x_1 - 5\,x_2$, $-5\,x_1 - 6\,x_2 \le -5$, $5\,x_1 + 4\,x_2 \le 29$
  4. $\max\ -4\,x_1 - 5\,x_2$, $-5\,x_1 - 6\,x_2 \le 5$, $5\,x_1 + 4\,x_2 \le 29$
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.
Example 2 · pli-g-canon · level facile · notes
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?
  1. $\max\ -3\,x_1 - 6\,x_2$, $-2\,x_1 - x_2 \le -10$, $6\,x_1 + 5\,x_2 \le 30$
  2. $\max\ 3\,x_1 + 6\,x_2$, $-2\,x_1 - x_2 \le -10$, $6\,x_1 + 5\,x_2 \le 30$
  3. $\max\ -3\,x_1 - 6\,x_2$, $2\,x_1 + x_2 \le 10$, $6\,x_1 + 5\,x_2 \le 30$
  4. $\max\ -3\,x_1 - 6\,x_2$, $-2\,x_1 - x_2 \le 10$, $6\,x_1 + 5\,x_2 \le 30$
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.
Example 1 · pli-g-enum3 · level complessa · notes
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?
  1. $\tilde{\vet x} = (0, 4, 0)$, $z = 32$
  2. $\tilde{\vet x} = (0, 2, 0)$, $z = 16$
  3. $\tilde{\vet x} = (0, 1, 1)$, $z = 18$
  4. $\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.
Example 2 · pli-g-enum3 · level complessa · notes
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?
  1. $\tilde{\vet x} = (0, 2, 1)$, $z = 16$
  2. $\tilde{\vet x} = (0, 0, 8)$, $z = 32$
  3. $\tilde{\vet x} = (0, 2, 2)$, $z = 20$
  4. $\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.

2. Primal and dual bounds (8)

Example 1 · pli-g-lp-bound · level facile · 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 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?
  1. $12 \le z(\ILP) \le 16$
  2. $12 \le z(\ILP) \le 17$
  3. $12 \le z(\ILP) \le \frac{133}{8}$
  4. $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.
Example 2 · pli-g-lp-bound · 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}$ 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?
  1. $40 \le z(\ILP) \le \frac{206}{5}$
  2. $40 \le z(\ILP) \le 41$
  3. $z(\ILP) = 40$
  4. $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.
Example 1 · pli-g-gap · level facile · notes
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?
  1. $\frac{7}{39}$
  2. $\frac{34}{195}$
  3. $\frac{2}{15}$
  4. $\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.
Example 2 · pli-g-gap · level facile · notes
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?
  1. $\frac{1}{29}$
  2. $\frac{2}{29}$
  3. $\frac{1}{30}$
  4. $\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.
Example 1 · pli-g-vub · level facile · notes
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?
  1. $x_1 \le \frac{13}{3}$
  2. $x_1 \le 2$
  3. $x_1 \le 4$
  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.
Example 2 · pli-g-vub · level facile · notes
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?
  1. $x_2 \le 6$
  2. $x_2 \le 2$
  3. $x_2 \le \frac{51}{8}$
  4. $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.
Example 1 · pli-g-mult · 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}$ 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?
  1. $\vet\pi = (\frac{1}{3}, \frac{1}{4})$, $\UB = \frac{79}{6}$
  2. $\vet\pi = (-\frac{1}{2}, 2)$, $\UB = 42$
  3. $\vet\pi = (\frac{3}{2}, \frac{1}{4})$, $\UB = \frac{73}{2}$
  4. $\vet\pi = (\frac{2}{3}, 0)$, $\UB = \frac{40}{3}$
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.
Example 2 · pli-g-mult · 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}$ 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?
  1. $\vet\pi = (\frac{1}{3}, \frac{1}{3})$, $\UB = 33$
  2. $\vet\pi = (1, -\frac{2}{3})$, $\UB = \frac{52}{3}$
  3. $\vet\pi = (0, \frac{3}{4})$, $\UB = \frac{147}{4}$
  4. $\vet\pi = (1, 2)$, $\UB = 148$
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.
Example 1 · pli-g-two-step · level facile · notes
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)?
  1. $\bar{\vet x} = (3, 3)$, $\LB = 33$
  2. $\bar{\vet x} = (3, 0)$, $\LB = 18$
  3. $\bar{\vet x} = (1, 3)$, $\LB = 21$
  4. $\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.
Example 2 · pli-g-two-step · level facile · notes
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)?
  1. $\bar{\vet x} = (1, 4)$, $\LB = 17$
  2. $\bar{\vet x} = (2, 1)$, $\LB = 13$
  3. $\bar{\vet x} = (2, 4)$, $\LB = 22$
  4. $\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.
Example 1 · pli-g-vub-lp · level media · notes
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)$?
  1. $z(\LP') = 12$, bound $13$
  2. $z(\LP') = \frac{64}{5}$, bound $12$
  3. $z(\LP') = 12$, bound $12$
  4. $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$.
Example 2 · pli-g-vub-lp · level media · notes
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)$?
  1. $z(\LP') = \frac{115}{12}$, bound $9$
  2. $z(\LP') = 5$, bound $4$
  3. $z(\LP') = 5$, bound $5$
  4. $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$.
Example 1 · pli-g-lp-ilp · 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}$. What are the optimal value $z(\LP)$ of the LP relaxation and the optimal value $z(\ILP)$ of the ILP problem?
  1. $z(\LP) = \frac{133}{8}$, $z(\ILP) = 14$
  2. $z(\LP) = 16$, $z(\ILP) = 14$
  3. $z(\LP) = \frac{133}{8}$, $z(\ILP) = 12$
  4. $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$.
Example 2 · pli-g-lp-ilp · level media · notes
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?
  1. $z(\LP) = \frac{1096}{47}$, $z(\ILP) = 20$
  2. $z(\LP) = \frac{1096}{47}$, $z(\ILP) = 23$
  3. $z(\LP) = 23$, $z(\ILP) = 22$
  4. $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)?
  1. $\tilde{\vet \pi} = (\frac{17}{72}, \frac{1}{24})$, $\UB = 11$
  2. $\tilde{\vet \pi} = (\frac{17}{72}, \frac{1}{24})$, $\UB = \frac{35}{3}$
  3. $\tilde{\vet \pi} = (\frac{5}{24}, \frac{1}{12})$, $\UB = 11$
  4. $\tilde{\vet \pi} = (\frac{17}{72}, \frac{1}{24})$, $\UB = 12$
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)?
  1. $\tilde{\vet \pi} = (\frac{11}{30}, \frac{7}{15})$, $\UB = \frac{206}{5}$
  2. $\tilde{\vet \pi} = (\frac{11}{30}, \frac{7}{15})$, $\UB = 41$
  3. $\tilde{\vet \pi} = (\frac{11}{30}, \frac{7}{15})$, $\UB = 42$
  4. $\tilde{\vet \pi} = (\frac{1}{5}, \frac{2}{3})$, $\UB = 42$
Explanation. The dual is $\min\ 50\pi_1 + 49\pi_2$ with $10\pi_1 + 5\pi_2 \ge 6$, $6\pi_1 + 6\pi_2 \ge 5$, $\vet \pi \ge \vet 0$: optimum $(\frac{11}{30}, \frac{7}{15})$ of value $\frac{206}{5} = z(\LP)$. Integer variables and costs: $\UB = 41$.

3. Ideal formulations (5)

Example 1 · pli-g-hull · level media · 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. How many vertices does the convex hull $\mathrm{conv}(F)$ have?
  1. $6$
  2. $5$
  3. $4$
  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.
Example 2 · pli-g-hull · level media · notes
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?
  1. $3$
  2. $2$
  3. $4$
  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$?
  1. $x_1 \le 3$
  2. $x_1 \le 1$
  3. $x_1 + x_2 \le 5$
  4. $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$?
  1. $x_1 + 3\,x_2 \le 10$
  2. $x_2 \le 4$
  3. $x_2 \le 2$
  4. $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?
  1. $4x_1 + 4x_2 \le 19$
  2. $x_1 + x_2 \le 5$
  3. $x_1 + x_2 \le 4$
  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?
  1. $x_1 + x_2 \le \frac{19}{3}$
  2. $3x_1 + 3x_2 \le 19$
  3. $x_1 + x_2 \le 7$
  4. $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?
  1. $z(\LP_1) = \frac{57}{2}$, $z(\LP_2) = 24$
  2. $z(\LP_1) = \frac{19}{4}$, $z(\LP_2) = 4$
  3. $z(\LP_1) = 24$, $z(\LP_2) = \frac{57}{2}$
  4. $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?
  1. $z(\LP_1) = 19$, $z(\LP_2) = 18$
  2. $z(\LP_1) = 18$, $z(\LP_2) = 19$
  3. $z(\LP_1) = \frac{19}{3}$, $z(\LP_2) = 6$
  4. $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)$)?
  1. Yes: all vertices of $P$ are integer
  2. No: $(\frac{7}{8}, 0)$ is a fractional vertex of $P$
  3. No: $(\frac{7}{4}, 0)$ is a fractional vertex of $P$
  4. 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)$)?
  1. Yes: all vertices of $P$ are integer
  2. Yes: $P \cap \Z^2 = F$ is enough for $P$ to be ideal
  3. No: $(\frac{3}{8}, \frac{45}{8})$ is a fractional vertex of $P$
  4. 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?
  1. $2\,x_1 \le 3$
  2. $2\,x_1 \le \frac{11}{4}$
  3. $2\,x_1 \le 2$
  4. $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?
  1. $4\,x_1 + 5\,x_2 \le 32$
  2. $4\,x_1 + 5\,x_2 \le 33$
  3. $5\,x_1 + 6\,x_2 \le 32$
  4. $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.
Example 1 · pli-g-tight · 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}$ 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$)?
  1. $2\,x_1 + 3\,x_2 \le 8$
  2. $2\,x_1 + 3\,x_2 \le 9$
  3. $2\,x_1 + 3\,x_2 \le 11$
  4. $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.
Example 2 · pli-g-tight · level media · 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}$ 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$)?
  1. $x_1 + 2\,x_2 \le 13$
  2. $x_1 + 2\,x_2 \le 11$
  3. $x_1 + 2\,x_2 \le 12$
  4. $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$?
  1. $3\,x_1 + 2\,x_2 \le 13$, bound $16$
  2. $3\,x_1 + 2\,x_2 \le 12$, bound $16$
  3. $3\,x_1 + 2\,x_2 \le 12$, bound $17$
  4. $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$?
  1. $x_1 + 2\,x_2 \le 12$, bound $41$
  2. $x_1 + 2\,x_2 \le 13$, bound $39$
  3. $x_1 + 2\,x_2 \le 12$, bound $37$
  4. $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?
  1. $x_1 + x_2 + x_3 + x_4 \le 3$
  2. $x_1 + x_2 + x_5 \le 3$
  3. $x_1 + x_2 + x_5 \le 2$
  4. $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?
  1. $x_2 + x_3 + x_4 \le 2$
  2. $x_2 + x_5 \le 1$
  3. $x_1 + x_2 + x_4 + x_5 \le 4$
  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.
Example 1 · pli-g-cover-sep · level media · notes
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?
  1. $x_1 + x_2 + x_3 + x_4 \le 3$, violation $\frac{11}{15}$
  2. $x_1 + x_2 + x_3 + x_4 \le 3$, violation $\frac{4}{15}$
  3. $x_2 + x_3 + x_4 + x_5 \le 3$, violation $\frac{1}{6}$
  4. $x_1 + x_2 + x_4 \le 2$, violation $\frac{4}{15}$
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.
Example 2 · pli-g-cover-sep · level media · notes
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?
  1. $x_3 + x_4 + x_5 \le 2$, violation $\frac{2}{5}$
  2. $x_4 + x_5 \le 1$, violation $\frac{2}{5}$
  3. $x_1 + x_3 + x_4 + x_5 \le 3$, violation $\frac{3}{20}$
  4. $x_3 + x_4 + x_5 \le 2$, violation $\frac{3}{5}$
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)$?
  1. $x_1 + x_3 + x_5 \le 2$
  2. $x_1 + x_3 + x_4 + x_5 \le 2$
  3. $x_1 + x_3 + x_4 + x_5 \le 3$
  4. $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)$?
  1. $x_1 + x_3 + x_4 + x_5 \le 2$
  2. $x_1 + x_2 + x_3 + x_4 + x_5 \le 2$
  3. $x_1 + x_3 + x_4 + x_5 \le 3$
  4. $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)$?
  1. $C = \{1, 4\}$, cost $\frac{13}{15}$
  2. $C = \{1, 2, 3, 5\}$, cost $\frac{21}{20}$
  3. $C = \{1, 4, 5\}$, cost $\frac{16}{15}$
  4. $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)$?
  1. $C = \{2, 3, 4, 5\}$, cost $\frac{23}{15}$
  2. $C = \{1, 2, 3, 4, 5\}$, cost $\frac{38}{15}$
  3. $C = \{1, 2, 4, 5\}$, cost $\frac{11}{5}$
  4. $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?
  1. $\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: violated
  2. $\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
  3. $\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $16$: violated
  4. $\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?
  1. $\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $10$: violated
  2. $\sum_{j \in C} x_j \le 3$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
  3. $\sum_{j \in C} x_j \le 2$; at $\tilde{\vet x}$ the left-hand side is $2$: satisfied
  4. $\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?
  1. $7$
  2. $4$
  3. $0$
  4. $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?
  1. $4$
  2. $5$
  3. $10$
  4. $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?
  1. $\frac{1}{4}\,x_4 + \frac{1}{2}\,x_5 \ge \frac{1}{5}$
  2. $\frac{1}{4}\,x_4 + \frac{1}{2}\,x_5 \le \frac{4}{5}$
  3. $\frac{3}{4}\,x_4 + \frac{1}{2}\,x_5 \ge \frac{4}{5}$
  4. $\frac{1}{4}\,x_4 + \frac{1}{2}\,x_5 \ge \frac{4}{5}$
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?
  1. $\frac{1}{2}\,x_3 + \frac{5}{8}\,x_6 \ge \frac{4}{5}$
  2. $\frac{1}{2}\,x_3 + \frac{3}{8}\,x_6 \ge \frac{4}{5}$
  3. $\frac{1}{2}\,x_3 + \frac{5}{8}\,x_6 \le \frac{4}{5}$
  4. $\frac{1}{2}\,x_3 + \frac{5}{8}\,x_6 \ge \frac{1}{5}$
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?
  1. $9\,x_1 + 7\,x_2 \le 42$
  2. $3\,x_1 + 5\,x_2 \le 16$
  3. $6\,x_1 + 11\,x_2 \le 33$
  4. $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?
  1. $x_1 + x_2 \le \frac{49}{6}$
  2. $x_1 + x_2 \le 8$
  3. $3\,x_1 + 2\,x_2 \le 16$
  4. $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$?
  1. $\tilde{\vet x}(\LP_2) = (\frac{23}{26}, \frac{73}{26})$, $z(\LP_2) = \frac{361}{26}$, $\UB = 13$
  2. $\tilde{\vet x}(\LP_2) = (\frac{52}{47}, \frac{118}{47})$, $z(\LP_2) = \frac{628}{47}$, $\UB = 13$
  3. $\tilde{\vet x}(\LP_2) = (\frac{19}{26}, \frac{75}{26})$, $z(\LP_2) = \frac{357}{26}$, $\UB = 13$
  4. $\tilde{\vet x}(\LP_2) = (1, \frac{11}{4})$, $z(\LP_2) = 14$, $\UB = 14$
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$?
  1. $\tilde{\vet x}(\LP_2) = (\frac{1}{4}, \frac{95}{12})$, $z(\LP_2) = \frac{493}{12}$, $\UB = 41$
  2. $\tilde{\vet x}(\LP_2) = (\frac{1}{2}, \frac{15}{2})$, $z(\LP_2) = \frac{81}{2}$, $\UB = 40$
  3. $\tilde{\vet x}(\LP_2) = (2, 5)$, $z(\LP_2) = 37$, $\UB = 37$
  4. $\tilde{\vet x}(\LP_2) = (0, 8)$, $z(\LP_2) = 40$, $\UB = 40$
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?
  1. the row of $x_2$
  2. the objective row
  3. the row of $x_1$
  4. 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?
  1. the row of $x_1$
  2. the row of $x_3$
  3. the objective row
  4. 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.

7. LP-based branch-and-bound (6)

Example 1 · pli-g-branch · level facile · notes
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?
  1. $x_2 \le 2$ and $x_2 \ge 3$
  2. $x_2 \le 3$ and $x_2 \ge 4$
  3. $x_4 \le 5$ and $x_4 \ge 6$
  4. $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)$.
Example 2 · pli-g-branch · level facile · notes
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?
  1. $x_4 \le 0$ and $x_4 \ge 1$
  2. $x_1 \le 4$ and $x_1 \ge 5$
  3. $x_1 \le 5$ and $x_1 \ge 6$
  4. $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)$.
Example 1 · pli-g-prune · level facile · notes
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?
  1. pruned by integrality, $\LB$ unchanged
  2. pruned by bound
  3. inserted into the list of open nodes
  4. 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$.
Example 2 · pli-g-prune · level facile · notes
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?
  1. pruned by integrality, $\LB$ unchanged
  2. pruned by integrality, with $\LB \leftarrow 21$
  3. inserted into the list of open nodes
  4. 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$.
Example 1 · pli-g-bb-ub · level facile · notes
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|}$?
  1. $\UB = \frac{246}{5}$, gap $= \frac{31}{215}$
  2. $\UB = 45$, gap $= \frac{2}{43}$
  3. $\UB = 49$, gap $= \frac{6}{49}$
  4. $\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}$.
Example 2 · pli-g-bb-ub · level facile · notes
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|}$?
  1. $\UB = 58$, gap $= \frac{3}{26}$
  2. $\UB = 53$, gap $= \frac{1}{52}$
  3. $\UB = \frac{117}{2}$, gap $= \frac{1}{8}$
  4. $\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?
  1. pivot column $x_4$, new value $\frac{44}{3}$
  2. pivot column $x_3$, new value $\frac{27}{2}$
  3. pivot column $x_4$, new value $\frac{40}{3}$
  4. 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?
  1. pivot column $x_3$, new value $\frac{596}{15}$
  2. pivot column $x_3$, new value $\frac{128}{3}$
  3. pivot column $x_4$, new value $\frac{118}{3}$
  4. 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?
  1. $7$ LP problems solved; optimum $(0, 3)$, value $12$
  2. $7$ LP problems solved; optimum $(1, 2)$, value $11$
  3. $8$ LP problems solved; optimum $(0, 3)$, value $12$
  4. $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?
  1. $9$ LP problems solved; optimum $(0, 8)$, value $40$
  2. $8$ LP problems solved; optimum $(0, 8)$, value $40$
  3. $7$ LP problems solved; optimum $(0, 8)$, value $40$
  4. $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?
  1. $7$ LP problems solved; optimum $(0, 3)$, value $12$
  2. $7$ LP problems solved; optimum $(1, 2)$, value $11$
  3. $8$ LP problems solved; optimum $(0, 3)$, value $12$
  4. $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?
  1. $5$ LP problems solved; optimum $(0, 8)$, value $40$
  2. $4$ LP problems solved; optimum $(0, 8)$, value $40$
  3. $3$ LP problems solved; optimum $(0, 8)$, value $40$
  4. $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.

8. Branch-and-cut (4)

Example 1 · pli-g-efficacy · level facile · notes
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)?
  1. violation $\frac{1}{2}$, efficacy $\frac{1}{338}$
  2. violation $\frac{1}{26}$, efficacy $\frac{1}{2}$
  3. violation $\frac{1}{2}$, efficacy $\frac{1}{26}$
  4. 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.
Example 2 · pli-g-efficacy · level facile · notes
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)?
  1. violation $\frac{3}{2}$, efficacy $\frac{3}{20}$
  2. violation $\frac{3}{2}$, efficacy $\frac{3}{200}$
  3. violation $\frac{3}{20}$, efficacy $\frac{3}{2}$
  4. 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)?
  1. $x_2 \le 0$, only locally valid
  2. $x_2 \le 0$, globally valid
  3. $x_2 \le 2$, only locally valid
  4. $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)?
  1. $x_2 \le 6$, globally valid
  2. $x_2 \le 6$, only locally valid
  3. $x_2 \le \frac{20}{3}$, only locally valid
  4. $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?
  1. $x_1 \le 4$
  2. $3\,x_1 + 4\,x_2 \le 26$
  3. $12\,x_1 + 5\,x_2 \le 80$
  4. $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?
  1. $x_1 \le 2$
  2. $15\,x_1 + 8\,x_2 \le 104$
  3. $5\,x_1 + 12\,x_2 \le 74$
  4. $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)?
  1. $x_2 \le 2$
  2. $x_2 \le 8$
  3. $x_2 \le 0$
  4. $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)?
  1. $x_2 \le 2$
  2. $x_2 \le 6$
  3. $x_2 \le 1$
  4. $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?
  1. Gap $= 2.62\%$, the solver stops
  2. Gap $= 2.55\%$, the solver continues
  3. Gap $= 2.62\%$, the solver continues
  4. 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?
  1. Gap $= 3.00\%$, the solver continues
  2. Gap $= 2.91\%$, the solver continues
  3. Gap $= 3.00\%$, the solver stops
  4. 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}$.
Example 1 · pli-g-presolve · level media · notes
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?
  1. $11$
  2. $10$
  3. $9$
  4. $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.
Example 2 · pli-g-presolve · level media · notes
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?
  1. $10$
  2. $12$
  3. $7$
  4. $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?
  1. $x_2 \le 4$
  2. $x_2 \le 5$
  3. $x_2 \le 8$
  4. $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?
  1. $x_2 \le 4$
  2. $x_2 \le \frac{33}{7}$
  3. $x_2 \le 6$
  4. $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?
  1. The optimal value is $z^* = 248$, the incumbent value
  2. Incumbent ($248$) is a lower bound and BestBd ($228$) an upper bound on $z^*$
  3. Incumbent ($248$) is an upper bound and BestBd ($228$) a lower bound on $z^*$
  4. 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?
  1. The optimal value is $z^* = 351$, the best bound
  2. The optimal value is $z^* = 343$, the incumbent value
  3. Incumbent ($343$) is an upper bound and BestBd ($351$) a lower bound on $z^*$
  4. 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?
  1. $x_1 \le 2$, $x_2 \le 19$
  2. $x_1 \le 3$, $x_2 \le 4$
  3. $x_1 \le 2$, $x_2 \le 3$
  4. $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?
  1. $x_1 \le 4$, $x_2 \le 57$
  2. $x_1 \le 4$, $x_2 \le 15$
  3. $x_1 \le 4$, $x_2 \le 16$
  4. $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?
  1. row 4
  2. none: the solver does not stop
  3. row 3
  4. 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?
  1. row 4
  2. row 5
  3. row 3
  4. 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.

10. MIP heuristics (9)

Example 1 · pli-g-rounding · level facile · 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 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?
  1. it fails: $(4, 1)$ violates constraint 2
  2. it returns $(4, 0)$, of value $12$
  3. it returns $(4, 1)$, of value $17$
  4. 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.
Example 2 · pli-g-rounding · level facile · notes
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?
  1. it fails: $(6, 2)$ violates constraint 1
  2. it returns $(6, 3)$, of value $27$
  3. it returns $(5, 2)$, of value $20$
  4. 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.
Example 1 · pli-g-diving · 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}$ 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?
  1. it fails: an LP problem becomes infeasible
  2. it returns $(1, 2)$, of value $11$
  3. it returns $(1, 3)$, of value $15$
  4. 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.
Example 2 · pli-g-diving · level media · notes
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?
  1. it fails: an LP problem becomes infeasible
  2. it returns $(1, 3)$, of value $23$
  3. it returns $(0, 2)$, of value $12$
  4. 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?
  1. $\frac{7}{5}$
  2. $\frac{3}{5}$
  3. $\frac{18}{5}$
  4. $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?
  1. $\frac{13}{5}$
  2. $\frac{12}{5}$
  3. $4$
  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.
Example 1 · pli-g-rins · level facile · notes
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?
  1. $\{x_{2}, x_{5}\}$
  2. $\{x_{2}, x_{3}, x_{4}, x_{5}\}$
  3. $\{x_{1}, x_{3}, x_{4}, x_{6}\}$
  4. $\{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.
Example 2 · pli-g-rins · level facile · notes
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?
  1. $\{x_{2}, x_{4}, x_{5}, x_{6}\}$
  2. $\{x_{2}, x_{3}, x_{4}, x_{5}, x_{6}\}$
  3. $\{x_{1}, x_{2}, x_{3}, x_{5}, x_{6}\}$
  4. $\{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.
Example 1 · pli-g-lb-size · level facile · notes
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)?
  1. $165$
  2. $232$
  3. $231$
  4. $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$).
Example 2 · pli-g-lb-size · level facile · notes
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)?
  1. $72$
  2. $129$
  3. $130$
  4. $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?
  1. $(2, 2)$, value $22$
  2. $(4, 0)$, value $24$
  3. $(3, 2)$, value $28$
  4. $(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. $(1, 2)$, value $17$
  2. $(0, 2)$, value $12$
  3. $(0, 3)$, value $18$
  4. $(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.
Example 1 · pli-g-lb-neigh · level facile · notes
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?
  1. $(0, 1, 1, 1, 0, 0)$
  2. $(0, 0, 1, 0, 1, 0)$
  3. $(1, 0, 1, 0, 0, 0)$
  4. $(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$.
Example 2 · pli-g-lb-neigh · level facile · notes
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, 1, 0, 0)$
  2. $(0, 0, 1, 1, 0, 1)$
  3. $(0, 1, 1, 1, 1, 1)$
  4. $(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$.
Example 1 · pli-g-ps-pick · level facile · notes
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?
  1. $S_2$
  2. $S_4$
  3. $S_3$
  4. $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.
Example 2 · pli-g-ps-pick · level facile · notes
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?
  1. $S_5$
  2. $S_2$
  3. $S_1$
  4. $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.
Example 1 · pli-g-rins-sub · level media · notes
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)?
  1. $48$
  2. $50$
  3. $47$
  4. $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.
Example 2 · pli-g-rins-sub · level media · notes
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)?
  1. $27$
  2. $35$
  3. $28$
  4. $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.