What is the gradient of the linear function $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ at a point $\bar{\boldsymbol x} \in \R^n$?
The vector $\bar{\boldsymbol x}$
The scalar ${\boldsymbol c}'\bar{\boldsymbol x}$
The zero vector, since the function is linear
The vector ${\boldsymbol c}$, the same at every point
Explanation. The partial derivative with respect to $x_j$ is $c_j$ at every point: $\nabla f = {\boldsymbol c}$. It is the Hessian, not the gradient, that is zero.
Which of the following functions $f : \R^3 \to \R$ is a linear function?
$f({\boldsymbol x}) = |x_1| + x_2 - x_3$
$f({\boldsymbol x}) = x_1^2 - x_2 + x_3$
$f({\boldsymbol x}) = x_1 x_2 + x_3$
$f({\boldsymbol x}) = 3x_1 - 2x_2 + x_3$
Explanation. A linear function has the form $\sum_j c_j x_j = {\boldsymbol c}'{\boldsymbol x}$: products, powers and absolute values of the variables are not allowed.
For $f({\boldsymbol x}) = -8x_1 - 4x_2$, in which direction does the function increase most rapidly?
In the direction of $(8, 4)$
In the direction of $(-8, -4)$
In no direction, since the coefficients are negative
In the direction of $(4, -8)$
Explanation. The function increases in the direction of the gradient ${\boldsymbol c} = (-8,-4)$; along $(4,-8)$, perpendicular to the gradient, it is constant.
What is the graph of the function $f({\boldsymbol x}) = 8x_1 + 4x_2$ in $\R^3$?
A paraboloid
A plane through the origin
A half-space
A line through the origin
Explanation. The graph $\{({\boldsymbol x}, f({\boldsymbol x}))\}$ of a linear function of two variables is the plane $x_3 = 8x_1 + 4x_2$, which contains the origin.
For the linear function $f({\boldsymbol x}) = 3x_1 - 2x_2$ and any point $\bar{\boldsymbol x} \in \R^2$, what is $f(\bar{\boldsymbol x} + {\boldsymbol d}) - f(\bar{\boldsymbol x})$ with ${\boldsymbol d} = (1, 1)$?
$5$, whatever $\bar{\boldsymbol x}$ is
$1$, whatever $\bar{\boldsymbol x}$ is
$-1$, whatever $\bar{\boldsymbol x}$ is
It depends on the point $\bar{\boldsymbol x}$
Explanation. By linearity $f(\bar{\boldsymbol x} + {\boldsymbol d}) - f(\bar{\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol d} = 3 \cdot 1 - 2 \cdot 1 = 1$: the change does not depend on the starting point.
Let $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ with ${\boldsymbol c} \in \R^n$, ${\boldsymbol c} \ne {\boldsymbol 0}$. For which directions ${\boldsymbol d}$ do we have $f(\bar{\boldsymbol x} + t\,{\boldsymbol d}) = f(\bar{\boldsymbol x})$ for every $\bar{\boldsymbol x}$ and every $t \in \R$?
Only for ${\boldsymbol d} = {\boldsymbol 0}$
For every ${\boldsymbol d}$ with ${\boldsymbol c}'{\boldsymbol d} = 0$
For every ${\boldsymbol d}$ with ${\boldsymbol c}'{\boldsymbol d} > 0$
Only for ${\boldsymbol d}$ parallel to ${\boldsymbol c}$
Explanation. $f(\bar{\boldsymbol x} + t\,{\boldsymbol d}) = f(\bar{\boldsymbol x}) + t\,{\boldsymbol c}'{\boldsymbol d}$: the value is constant exactly along the directions perpendicular to the gradient, i.e., inside the level sets.
For the linear function $f({\boldsymbol x}) = 4x_1 + 2x_2$, what do the level lines $4x_1 + 2x_2 = k$ look like as $k \in \R$ varies?
They are parallel to each other and perpendicular to the vector $(4, 2)$
They are parallel to each other and parallel to the vector $(4, 2)$
They are concentric circles centred at the origin
They all pass through the origin, with different slopes
Explanation. The gradient $(4, 2)$ is the same for every $k$: all the level lines are perpendicular to it, hence parallel to each other; only the one with $k = 0$ passes through the origin.
Let $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ be a linear function on $\R^3$ and let $\bar{\boldsymbol x}$ be a point with $f(\bar{\boldsymbol x}) = 5$. What is $f(2\,\bar{\boldsymbol x})$?
$25$
$7$
$5$
$10$
Explanation. A linear function is homogeneous: $f(2\,\bar{\boldsymbol x}) = {\boldsymbol c}'(2\,\bar{\boldsymbol x}) = 2\,f(\bar{\boldsymbol x}) = 10$. Adding $2$ or squaring are typical mistakes.
Let $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ be a linear function on $\R^n$, with $f(\bar{\boldsymbol x}) = 4$ and $f(\hat{\boldsymbol x}) = 10$ at two points $\bar{\boldsymbol x}, \hat{\boldsymbol x}$. What is the value of $f$ at the midpoint $\frac{1}{2}(\bar{\boldsymbol x} + \hat{\boldsymbol x})$?
$14$
$7$
$5$
It cannot be said without knowing ${\boldsymbol c}$
For the linear function $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ with ${\boldsymbol c} \neq {\boldsymbol 0}$, which statement about the gradient is correct?
$\nabla f$ depends on the point where it is computed
$\nabla f({\boldsymbol x}) = {\boldsymbol 0}$ at maximum points
$\nabla f({\boldsymbol x}) = {\boldsymbol x}$ at every point
$\nabla f({\boldsymbol x}) = {\boldsymbol c}$ at every point ${\boldsymbol x}$
Explanation. The partial derivatives of $\sum_j c_j x_j$ are the constants $c_j$: the gradient is the cost vector, everywhere.
For a linear function $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$ in $\R^2$ with ${\boldsymbol c} \neq {\boldsymbol 0}$, which statement about the level sets $\{{\boldsymbol x} : f({\boldsymbol x}) = k\}$ is correct?
They are circles centred at the origin
They are lines parallel to ${\boldsymbol c}$
They are lines all passing through the origin
They are parallel lines, orthogonal to ${\boldsymbol c}$
Explanation. $c_1 x_1 + c_2 x_2 = k$ is a line with normal ${\boldsymbol c}$; as $k$ varies the lines are parallel.
For $f({\boldsymbol x}) = {\boldsymbol c}'{\boldsymbol x}$, moving from ${\boldsymbol x}$ to ${\boldsymbol x} + t\,{\boldsymbol d}$ with $t > 0$ increases the value. Which condition on the direction ${\boldsymbol d}$ guarantees it?
${\boldsymbol d} \ge {\boldsymbol 0}$
${\boldsymbol c}'{\boldsymbol d} > 0$
${\boldsymbol d}$ orthogonal to ${\boldsymbol c}$
$\|{\boldsymbol d}\| = 1$
Explanation. $f({\boldsymbol x} + t{\boldsymbol d}) = f({\boldsymbol x}) + t\,{\boldsymbol c}'{\boldsymbol d}$: it increases if and only if ${\boldsymbol c}'{\boldsymbol d} > 0$.
The intersection of any number, even infinite, of half-spaces
Any convex and closed set
The union of a finite number of half-spaces
The intersection of a finite number of half-spaces
Explanation. A polyhedron is defined by a finite number of linear inequalities (and possibly equalities); infinitely many half-spaces give sets such as a disc, convex but not polyhedra.
Explanation. A polytope is a bounded polyhedron; for instance, the orthant $\{{\boldsymbol x} \ge {\boldsymbol 0}\}$ has a vertex but it is not bounded.
Which of the following polyhedra in $\R^2$ is bounded?
$\{x_1 + x_2 \ge 4,~ x_1 \ge 0,~ x_2 \ge 0\}$
$\{x_1 + x_2 \le 4,~ x_1 \ge 0,~ x_2 \ge 0\}$
$\{x_1 - x_2 \le 1,~ x_1 \ge 0,~ x_2 \ge 0\}$
$\{x_1 \le 4,~ x_2 \le 4\}$
Explanation. The first one is the triangle with vertices $(0,0)$, $(4,0)$, $(0,4)$: ${\boldsymbol \beta} = (4,4)$ suffices. The others contain half-lines.
A polyhedron $P \subseteq \R^2$ contains the points $(3,5)$ and $(5,3)$. Which of the following points certainly belongs to $P$?
$(1, -1)$
$(8, 8)$
$(6, 2)$
$(4, 4)$
Explanation. A polyhedron is convex: it contains $\lambda(3,5) + (1-\lambda)(5,3)$ for $\lambda \in [0,1]$; with $\lambda = \frac{1}{2}$ we get $(4,4)$. $(6,2)$ lies on the line but outside the segment.
Explanation. The disc cannot be obtained with a finite number of linear inequalities. The other three are a hyperplane (two inequalities), a half-space and a square (four inequalities).
A polyhedron $P \subseteq \R^n$ is bounded if it is contained in a ball of finite radius. Is the polyhedron $P = \{{\boldsymbol x} \in \R^2 : x_1 \le 1,~ -x_1 \le 1\}$ bounded?
No: it is not a polyhedron
No: $x_2$ can grow without bound
Yes: it is defined by a finite number of half-spaces
Yes: we have $-1 \le x_1 \le 1$
Explanation. $P$ is the vertical strip $-1 \le x_1 \le 1$: no constraint bounds $x_2$, so the points $(0, t)$ with large $t$ are in $P$. A finite number of half-spaces does not guarantee boundedness.
Consider the half-space $\{{\boldsymbol x} \in \R^2 : x_1 + 2x_2 \le 4\}$. Which vector is perpendicular to its supporting hyperplane and points out of the half-space?
$(1, 2)$
$(2, 1)$
$(-1, -2)$
$(2, -1)$
Explanation. The coefficient vector $(1, 2)$ is perpendicular to the line $x_1 + 2x_2 = 4$ and, moving along it, $x_1 + 2x_2$ grows beyond $4$. The vector $(-1,-2)$ points inside, $(2,-1)$ is parallel to the line and $(2,1)$ is not perpendicular to it.
Which point belongs to the supporting hyperplane of the half-space $\{{\boldsymbol x} \in \R^2 : 2x_1 - x_2 \le 4\}$, i.e., to the line $2x_1 - x_2 = 4$?
$(2, 0)$
$(1, -1)$
$(3, 1)$
$(0, 4)$
Explanation. $2 \cdot 2 - 0 = 4$. At the other points $2x_1 - x_2$ takes the values $-4$, $3$ and $5$: the first two lie in the half-space but not on the hyperplane, the last one is outside.
A polyhedron is the intersection of a finite number of half-spaces. Let $P_1$ and $P_2$ be two polyhedra in $\R^n$. Which set is always a polyhedron?
$P_1 \cap P_2$
The set of points at distance at most $1$ from $P_1$
$\R^n \setminus P_1$
$P_1 \cup P_2$
Explanation. $P_1 \cap P_2$ is defined by the union of the two finite systems of inequalities. Union and complement may be non-convex, and the neighbourhood of a polyhedron has curved boundaries in general.
Which statement about the intersection of two polyhedra $P_1 = \{{\boldsymbol x} : {\boldsymbol A}_1{\boldsymbol x} \le {\boldsymbol b}_1\}$ and $P_2 = \{{\boldsymbol x} : {\boldsymbol A}_2{\boldsymbol x} \le {\boldsymbol b}_2\}$ is correct?
It is a polyhedron only if $P_1 \subseteq P_2$
It is never a polyhedron, because constraints double
It is a polyhedron only if $P_1$ and $P_2$ are bounded
It is a polyhedron: just join the two systems of inequalities
Explanation. $P_1 \cap P_2$ is described by the rows of both systems: finitely many half-spaces.
To prove that a polyhedron $P = \{{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}\}$ is convex, which fact suffices?
${\boldsymbol A}$ has full rank
${\boldsymbol b} \ge {\boldsymbol 0}$
$P$ is bounded
Every half-space is convex
Explanation. If ${\boldsymbol a}'{\boldsymbol x} \le b$ and ${\boldsymbol a}'{\boldsymbol y} \le b$, every convex combination satisfies the same constraint.
Consider the LP problem in minimization form $\min\{f({\boldsymbol x}) : {\boldsymbol x} \in F\}$, with $f$ linear and feasible region $F \subseteq \R^n$. When is a point $\tilde{\boldsymbol x}(LP)$ an optimal solution?
If $\tilde{\boldsymbol x}(LP) \in F$ and $f(\tilde{\boldsymbol x}(LP)) \le f({\boldsymbol x})$ for every ${\boldsymbol x} \in F$
If $\tilde{\boldsymbol x}(LP)$ is the point of $F$ closest to the origin
If $\tilde{\boldsymbol x}(LP) \in F$ and $f(\tilde{\boldsymbol x}(LP)) \le f({\boldsymbol x})$ for at least one ${\boldsymbol x} \in F$
If $f(\tilde{\boldsymbol x}(LP)) \le f({\boldsymbol x})$ for every ${\boldsymbol x} \in \R^n$
Explanation. An optimal solution must be feasible and not worse than all the feasible solutions.
An LP problem in maximization form, with optimal value $z(LP)$, has three known feasible solutions, of value $3$, $7$ and $5$. What can be concluded about $z(LP)$?
$z(LP) \ge 15$
$z(LP) \le 7$
$z(LP) \ge 7$
$z(LP) = 7$
Explanation. In maximization form every feasible solution gives a lower bound $LB(\bar{\boldsymbol x}) \le z(LP)$; the best one is $7$. Whether it is optimal is unknown.
An LP problem has a linear objective function and a feasible region defined by a finite number of linear constraints. For which reasons may it have no optimal solution?
Also because the supremum of the objective function over $F$ may be finite but not attained
Also because the feasible region is unbounded
Also because it has several optimal solutions
Only because it is infeasible or unbounded
Explanation. A polyhedron is closed and the function is linear: if the problem is feasible and not unbounded, the optimum is attained. An unbounded region does not prevent an optimum.
Let $F \subseteq \R^n$ be the feasible region of an LP problem, ${\boldsymbol c} \in \R^n$ and $a \in \R$, and assume that $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\}$ exists. Which property always holds?
Explanation. Multiplying by $a > 0$ does not change the optimal solutions. For $a < 0$ the minimum becomes $a$ times the maximum, a constant is added, and $\min\{{\boldsymbol c}'{\boldsymbol x}\} = -\max\{-{\boldsymbol c}'{\boldsymbol x}\}$.
In an LP problem in minimization form, with optimal value $z(LP)$, a feasible solution $\bar{\boldsymbol x}$ with objective function value $f(\bar{\boldsymbol x}) = 12$ is known. What can be concluded?
That $z(LP) = 12$
Nothing about $z(LP)$
The upper bound $z(LP) \le 12$
The lower bound $z(LP) \ge 12$
Explanation. The minimum does not exceed the value of any feasible solution: $UB(\bar{\boldsymbol x}) = 12 \ge z(LP)$. In maximization form a feasible solution gives a lower bound instead.
What are the optimal solution $\tilde x$ and the optimal value $z(LP)$ of the LP problem in one variable $\max\{-3x + 2 : 1 \le x \le 4\}$?
$\tilde x = 4$, $z(LP) = -10$
$\tilde x = 4$, $z(LP) = 14$
$\tilde x = 1$, $z(LP) = -1$
$\tilde x = 0$, $z(LP) = 2$
Explanation. The coefficient $-3$ is negative: the function decreases with $x$ and the maximum is at the left end point $x = 1$, with value $-3 + 2 = -1$. The point $x = 0$ is not feasible.
Let $F$ be the feasible region of an LP problem and assume that $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\} = 5$. What can be said about $\min\{-2\,{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\}$?
It equals $-\frac{5}{2}$, i.e., $5 / (-2)$
It equals $10$, i.e., $2 \cdot 5$
It equals $-10$, i.e., $-2 \cdot 5$
It cannot be deduced: it equals $-2\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\}$
Explanation. Multiplying by $a = -2 < 0$ swaps minimum and maximum: $\min\{-2\,{\boldsymbol c}'{\boldsymbol x}\} = -2\max\{{\boldsymbol c}'{\boldsymbol x}\}$, which the minimum does not determine. The rule $\min\{a f\} = a\min\{f\}$ holds only for $a > 0$.
Consider an LP problem $\max\{f({\boldsymbol x}) : {\boldsymbol x} \in F\}$, with $f$ linear and feasible region $F$. Which statement about optimal solutions and optimal value $z(LP)$ is correct?
If it exists, the optimal solution is unique, while the optimal value may not be unique
If it exists, the optimal value is unique, while there can be more than one optimal solution
Different optimal solutions can have different optimal values of the objective function
If they exist, the optimal solution and the optimal value are always both unique
Explanation. The optimal value is the maximum of $f$ over $F$, hence it is unique; all optimal solutions share that value, but they can be infinitely many (for instance a whole edge).
Consider the LP problem $\max\{x_1 + x_2 : x_1 + x_2 \le 3,~ x_1, x_2 \ge 0\}$. Which point is a feasible but not optimal solution?
$(-1, 2)$
$(1, 1)$
$(2, 1)$
$(3, 1)$
Explanation. $(1, 1)$ satisfies the constraints and has value $2 < 3 = z(LP)$. The point $(2, 1)$ is optimal (value $3$), $(3, 1)$ violates $x_1 + x_2 \le 3$ and $(-1, 2)$ violates $x_1 \ge 0$.
In the LP problem $\max\ 3x_1 + 2x_2$ with $x_1 + x_2 \le 4$, ${\boldsymbol x} \ge {\boldsymbol 0}$, what is the objective value at the feasible point $(1, 2)$?
In the LP problem $\max\ x_1 + x_2$ with $x_1 + x_2 \le 4$, ${\boldsymbol x} \ge {\boldsymbol 0}$, which statement about the optimal solutions is correct?
The optimal solutions are only $(4,0)$ and $(0,4)$
There are infinitely many, all with optimal value $4$
There is a unique optimal solution, $(2,2)$
There are no optimal solutions: the problem is unbounded
Explanation. Every point of the segment $x_1 + x_2 = 4$, ${\boldsymbol x} \ge {\boldsymbol 0}$, has value $4$.
In a maximization LP problem, the feasible solution $\bar{\boldsymbol x}$ has value ${\boldsymbol c}'\bar{\boldsymbol x} = 12$. What is known about the optimal value $z(LP)$?
$z(LP) \ge 12$
$z(LP) \le 12$
Nothing, until a vertex is known
$z(LP) = 12$
Explanation. The value of a feasible solution is a lower bound $LB(\bar{\boldsymbol x})$ on the optimal value.
Given ${\boldsymbol A} \in \R^{m \times n}$, ${\boldsymbol b} \in \R^m$ and ${\boldsymbol c} \in \R^n$, which problem is in canonical maximization form?
Explanation. Canonical maximization form: maximization, less-than-or-equal-to constraints and non-negative variables. With equality constraints we have the standard form.
Given ${\boldsymbol A} \in \R^{m \times n}$, ${\boldsymbol b} \in \R^m$ and ${\boldsymbol c} \in \R^n$, which problem is in standard maximization form?
The feasible region of an LP problem in canonical maximization form with $n$ variables and $m$ constraints is the intersection of how many half-spaces?
$m + n$
$m \cdot n$
$m$
$n$
Explanation. Each less-than-or-equal-to constraint is a half-space, and each non-negativity constraint $x_j \ge 0$ is another half-space: $m + n$.
In the graphical method for an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with two variables and a bounded non-empty feasible region $F$, where is an optimal solution?
At the last point of $F$ touched by the level lines moved in the direction of the gradient ${\boldsymbol c}$
At the last point of $F$ touched by the level lines moved in the direction of $-{\boldsymbol c}$
At the point of $F$ closest to the origin, measured along the direction of the gradient ${\boldsymbol c}$
At the point where all the constraint lines intersect, if such a point exists
Explanation. In maximization form the function increases along ${\boldsymbol c}$: the level line is moved in that direction as long as it still touches $F$.
For the LP problem of the paint production example $\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 \ge 0\}$, which lower bound $LB(\bar{\boldsymbol x})$ on the optimal value does the point $\bar{\boldsymbol x} = (0, 4)$ give?
How is the feasible region of an LP problem in standard maximization form defined, with data ${\boldsymbol A} \in \R^{m \times n}$, ${\boldsymbol b} \in \R^m$, ${\boldsymbol c} \in \R^n$?
By the constraints ${\boldsymbol A}{\boldsymbol x} = {\boldsymbol b}$ only, with ${\boldsymbol x}$ free
By the constraints ${\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}$ and ${\boldsymbol x} \ge {\boldsymbol 0}$
By the constraints ${\boldsymbol A}{\boldsymbol x} \ge {\boldsymbol b}$ and ${\boldsymbol x} \ge {\boldsymbol 0}$
By the constraints ${\boldsymbol A}{\boldsymbol x} = {\boldsymbol b}$ and ${\boldsymbol x} \ge {\boldsymbol 0}$
In the graphical method for an LP problem in canonical maximization form with two variables and feasible region $F$, the last level line touching $F$, moving in the direction of the gradient, contains a whole bounded edge of $F$. What is concluded?
The problem has infinitely many optimal solutions: all the points of the edge
The problem has no optimal solution, since it is not unique
Only the two end points of the edge are optimal solutions
The problem is unbounded, since the optimal solutions are infinitely many
Explanation. All the points of the edge have the same value, the optimal one; as for every convex combination of optimal solutions, there are infinitely many.
With the graphical method, what are an optimal solution and the optimal value of the LP problem $\max\{3x_1 + x_2 : x_1 + x_2 \le 4,~ x_1 \le 3,~ x_1, x_2 \ge 0\}$?
$\tilde{\boldsymbol x} = (3, 0)$, $z(LP) = 9$
$\tilde{\boldsymbol x} = (0, 4)$, $z(LP) = 4$
$\tilde{\boldsymbol x} = (3, 1)$, $z(LP) = 10$
$\tilde{\boldsymbol x} = (4, 0)$, $z(LP) = 12$
Explanation. The vertices of the feasible region are $(0,0)$, $(3,0)$, $(3,1)$ and $(0,4)$, with values $0$, $9$, $10$ and $4$. The point $(4,0)$ violates $x_1 \le 3$.
An LP problem in canonical maximization form with $n$ variables and $m$ constraints is transformed into standard maximization form by adding one slack variable per constraint. How many variables and equality constraints does the new problem have?
$n + m$ variables and $n + m$ constraints
$n$ variables and $n + m$ constraints
$n$ variables and $m$ constraints
$n + m$ variables and $m$ constraints
Explanation. Each constraint ${\boldsymbol a}_i{\boldsymbol x} \le b_i$ becomes ${\boldsymbol a}_i{\boldsymbol x} + x_{n+i} = b_i$ with $x_{n+i} \ge 0$: the variables become $n + m$ and the constraints remain $m$.
For the LP problem in standard form $\max\{2x_1 + x_2 : x_1 + x_2 + x_3 = 4,~ x_1 - x_2 + x_4 = 2,~ x_1, x_2, x_3, x_4 \ge 0\}$, which statement on a solution $\bar{\boldsymbol x}$ and on the lower bound $LB(\bar{\boldsymbol x})$ is correct?
$\bar{\boldsymbol x} = (2, 2, 0, 0)$ is feasible, with $LB(\bar{\boldsymbol x}) = 6$
$\bar{\boldsymbol x} = (1, 1, 2, 2)$ is feasible, with $LB(\bar{\boldsymbol x}) = 7$
$\bar{\boldsymbol x} = (4, 0, 0, -2)$ is feasible, with $LB(\bar{\boldsymbol x}) = 8$
$\bar{\boldsymbol x} = (3, 1, 0, 0)$ is feasible, with $LB(\bar{\boldsymbol x}) = 7$
Explanation. $(3,1,0,0)$ satisfies $3+1+0 = 4$, $3-1+0 = 2$ and non-negativity, with value $2 \cdot 3 + 1 = 7$. $(1,1,2,2)$ is feasible but has value $3$; $(2,2,0,0)$ violates the second constraint and $(4,0,0,-2)$ non-negativity.
Which point belongs to the feasible region of the LP problem in standard maximization form $\max\{x_1 + 2x_2 : x_1 + x_2 + x_3 = 4,~ x_1, x_2, x_3 \ge 0\}$?
$(2, 1, 2)$
$(1, 2, 0)$
$(1, 2, 1)$
$(3, 2, -1)$
Explanation. $(1,2,1)$ satisfies the equality ($1 + 2 + 1 = 4$) and non-negativity. $(1,2,0)$ and $(2,1,2)$ give sums $3$ and $5$; $(3,2,-1)$ satisfies the equality but has $x_3 < 0$.
For an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with optimal value $z(LP)$, for which points $\bar{\boldsymbol x}$ is the value ${\boldsymbol c}'\bar{\boldsymbol x}$ a lower bound $LB(\bar{\boldsymbol x}) \le z(LP)$?
Only for the optimal solutions $\bar{\boldsymbol x}$ of the problem
For every $\bar{\boldsymbol x}$ with ${\boldsymbol A}\bar{\boldsymbol x} = {\boldsymbol b}$, even with negative entries
For every $\bar{\boldsymbol x} \ge {\boldsymbol 0}$, even if ${\boldsymbol A}\bar{\boldsymbol x} \ne {\boldsymbol b}$
For every $\bar{\boldsymbol x}$ with ${\boldsymbol A}\bar{\boldsymbol x} = {\boldsymbol b}$ and $\bar{\boldsymbol x} \ge {\boldsymbol 0}$
Explanation. Every feasible solution, i.e., with ${\boldsymbol A}\bar{\boldsymbol x} = {\boldsymbol b}$ and $\bar{\boldsymbol x} \ge {\boldsymbol 0}$, has value not larger than the maximum. An infeasible point may have a value larger than $z(LP)$.
The LP problem in canonical maximization form $\max\ 2x_1 + x_2$, $x_1 + x_2 \le 5$, $x_1 - x_2 \le 1$, ${\boldsymbol x} \ge {\boldsymbol 0}$: which point is feasible?
$(2, 2)$
$(-1, 3)$
$(3, 1)$
$(4, 2)$
Explanation. $(2,2)$: $4 \le 5$ and $0 \le 1$. $(3,1)$ violates $x_1 - x_2 \le 1$; $(4,2)$ the first constraint; $(-1,3)$ nonnegativity.
An LP problem in canonical maximization form has $n$ variables and $m$ constraints. By how many inequalities in total is the feasible region described?
$m + n$
$m \cdot n$
$m$
$n$
Explanation. The $m$ constraints ${\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}$ plus the $n$ nonnegativity constraints.
For the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol c} = (3, 1)$, the points $(1,1)$ and $(2,0)$ are feasible. Which lower bound on the optimal value $z(LP)$ is the best they give?
$6$
$2$
$10$
$4$
Explanation. Values $4$ and $6$: the best lower bound is the maximum, $6$.
In an LP problem in canonical maximization form, a point $\bar{\boldsymbol x}$ with ${\boldsymbol A}\bar{\boldsymbol x} \le {\boldsymbol b}$ but $\bar x_1 < 0$ has value $15$. Is $z(LP) \ge 15$?
No, never
Yes, if $15$ is an integer
Yes, always
No: it is not feasible
Explanation. Only the value of a feasible solution (also ${\boldsymbol x} \ge {\boldsymbol 0}$) is a lower bound.
The problem in standard maximization form $\max\ x_1 + 2x_2$, $x_1 + x_2 + x_3 = 4$, $x_1 - x_2 + x_4 = 2$, ${\boldsymbol x} \ge {\boldsymbol 0}$: which point is feasible?
In the problem in standard maximization form $\max\ 3x_1 + x_2$, $x_1 + x_2 + x_3 = 4$, ${\boldsymbol x} \ge {\boldsymbol 0}$, which lower bound on the optimal value does the feasible solution $(4, 0, 0)$ give?
$4$
$16$
$12$
$3$
Explanation. $LB = 3 \cdot 4 + 0 = 12$; it is in fact the optimum.
With the graphical method, $\max\ x_1 + 3x_2$ over $x_1 + x_2 \le 4$, $x_2 \le 2$, ${\boldsymbol x} \ge {\boldsymbol 0}$: what is the optimal solution?
In the graphical method for $\max\ c_1 x_1 + c_2 x_2$, the level line is parallel to an edge of the feasible region that it touches last. What is concluded?
The problem is unbounded
The problem is infeasible
Only the midpoint of the edge is optimal
All the points of that edge are optimal
Explanation. All the points of the edge have the same maximum value: multiple optima.
5. Possible outcomes and equivalent formulations (40)
When is an LP problem in maximization form $\max\{f({\boldsymbol x}) : {\boldsymbol x} \in F\}$, with $f$ linear and feasible region $F$, called unbounded?
If for every $M \in \R$ there exists $\bar{\boldsymbol x} \in F$ with $f(\bar{\boldsymbol x}) > M$
If the feasible region $F$ is unbounded
If there exists $\bar{\boldsymbol x} \in F$ with $f(\bar{\boldsymbol x}) = +\infty$
If there exists $M \in \R$ with $f({\boldsymbol x}) > M$ for every ${\boldsymbol x} \in F$
Explanation. Unbounded means that the values of the feasible solutions exceed any threshold; no solution has an infinite value.
Which statement about the optimal solutions of an LP problem is correct?
An LP problem admitting an optimal solution admits either exactly one or infinitely many optimal solutions
If an LP problem has infinitely many optimal solutions, then it is unbounded
An LP problem can have exactly two optimal solutions, at two adjacent vertices
If the feasible region is bounded, the optimal solution is unique
Explanation. If $\tilde{\boldsymbol x}^{(1)}$ and $\tilde{\boldsymbol x}^{(2)}$ are optimal, so is every $\lambda \tilde{\boldsymbol x}^{(1)} + (1-\lambda)\tilde{\boldsymbol x}^{(2)}$ with $\lambda \in [0,1]$.
Let $\tilde{\boldsymbol x}$ and $\hat{\boldsymbol x}$ be two optimal solutions of an LP problem with feasible region $F$. To prove that $\lambda\tilde{\boldsymbol x} + (1-\lambda)\hat{\boldsymbol x}$, with $\lambda \in [0,1]$, is optimal, which facts are used?
The feasible region is bounded and the objective function is linear
Each constraint of $F$ is preserved by combinations with weights $\lambda, 1-\lambda \ge 0$, and the objective function is linear
Weak Duality and the Fundamental Theorem of Linear Programming
Only the linearity of the objective function: the feasibility of the combination is automatic
Explanation. Feasibility follows from ${\boldsymbol a}{\boldsymbol x}^\lambda = \lambda {\boldsymbol a}\tilde{\boldsymbol x}^{(1)} + (1-\lambda){\boldsymbol a}\tilde{\boldsymbol x}^{(2)} \le b$ (non-negative weights are needed); the value $z(LP)$ from linearity. Boundedness is not needed.
How is the constraint $2x_1 + x_2 \ge 5$ written as an equality with a surplus variable $x_3$?
$2x_1 + x_2 - x_3 = 5$, $x_3 \ge 0$
$2x_1 + x_2 + x_3 = 5$, $x_3 \ge 0$
$2x_1 + x_2 - x_3 = 5$, $x_3 \gtreqless 0$
$2x_1 + x_2 \le 5$ and $-2x_1 - x_2 \le -5$
Explanation. The non-negative surplus variable is subtracted; adding it corresponds to a less-than-or-equal-to constraint, and two opposite inequalities give an equality.
An LP problem $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\}$, with optimal value $z(LP_{\min})$, is transformed into the problem $\max\{-{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\}$, with optimal value $z(LP_{\max})$. How are the two problems related?
Same optimal solutions and $z(LP_{\min}) = -z(LP_{\max})$
Same optimal solutions and $z(LP_{\min}) = z(LP_{\max})$
Opposite optimal solutions and the same optimal value
Opposite optimal solutions and opposite optimal values
Explanation. $\min\{f\} = -\max\{-f\}$ over the same $F$: the optimal points coincide, the values are opposite.
The constraint $\frac{1}{2}x_1 + \frac{2}{3}x_2 \le \frac{5}{6}$ is multiplied by the Least Common Denominator. Which equivalent constraint with integer data is obtained?
$3x_1 + 4x_2 \le 5$
$x_1 + x_2 \le 1$
$3x_1 + 4x_2 \le 30$
$6x_1 + 6x_2 \le 5$
Explanation. $lcd = 6$: multiplying both sides by $6 > 0$ gives $3x_1 + 4x_2 \le 5$, with the same set of points.
An LP problem in maximization form has a non-empty and unbounded feasible region $F$. What can be concluded about its outcome?
It always has an optimal solution, since $F$ is non-empty
It is unbounded, since $F$ is unbounded
Nothing: it may be unbounded or have an optimal solution
It has no optimal solution, but it is not unbounded
Explanation. Unboundedness concerns the values of the objective function, not the set $F$: for example $\max\{-x : x \ge 0\}$ has an unbounded $F$ and optimal solution $\tilde x = 0$, while $\max\{x : x \ge 0\}$ is unbounded.
The two reference forms of LP problems are the canonical maximization form, $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, and the standard maximization form, $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$. What do they have in common?
All constraints less-than-or-equal-to and an objective function to maximize
All constraints equalities and all variables non-negative
All right-hand sides non-negative and all variables non-negative
An objective function to maximize and all variables non-negative
Explanation. Both maximize ${\boldsymbol c}'{\boldsymbol x}$ with ${\boldsymbol x} \ge {\boldsymbol 0}$; they differ in the constraints ($\le$ or $=$). The sign of the right-hand sides is fixed by neither of them.
The LP problem $\max\{2x_1 + 2x_2 + x_3 : 2x_1 + 3x_2 + x_3 = 4,~ x_1, x_2, x_3 \ge 0\}$ has optimal value $z(LP) = 4$. What are its optimal solutions?
All the points of the segment between $(2, 0, 0)$ and $(0, 0, 4)$
Only the two vertices $(2, 0, 0)$ and $(0, 0, 4)$
All the points of the feasible region
Only the vertex $(2, 0, 0)$
Explanation. From the constraint, $2x_1 + 2x_2 + x_3 = 4 - x_2$: the value is $4$ if and only if $x_2 = 0$, i.e., on the whole segment $2x_1 + x_3 = 4$, $x_2 = 0$. If an LP problem has two optimal solutions, it has infinitely many.
Which statement about the problem $\min {\boldsymbol c}'{\boldsymbol x}$ and the problem $\max (-{\boldsymbol c})'{\boldsymbol x}$, with the same constraints, is correct?
They have different optimal solutions
They are equivalent only if ${\boldsymbol c} \ge {\boldsymbol 0}$
Same optima, opposite values
They have the same optimal value
Explanation. $\min {\boldsymbol c}'{\boldsymbol x} = -\max(-{\boldsymbol c})'{\boldsymbol x}$ over the same region.
The problem $\min\ 2x_1 + 3x_2$ (constraints unchanged) has optimal value $7$. What is the optimal value of $\max\ -2x_1 - 3x_2$ with the same constraints?
$7$
Cannot say
$\frac17$
$-7$
Explanation. Changing the sign of the objective and passing from min to max changes the sign of the optimal value.
An LP problem $\min\ x_1 + x_2$, $x_1 - x_2 \ge 1$, $x_1 \ge 0$, $x_2$ free, is brought to canonical maximization form. How many variables does the result have?
$3$
$5$
$2$
$4$
Explanation. $x_2 = x_2' - x_2''$ replaces the free variable: $x_1, x_2', x_2''$. The $\ge$ constraint is multiplied by $-1$, with no new variables.
The same LP problem ($\min\ x_1 + x_2$, $x_1 - x_2 \ge 1$, $x_1 \ge 0$, $x_2$ free) is brought to standard maximization form. How many variables does it have?
$2$
$4$
$3$
$5$
Explanation. The three variables $x_1, x_2', x_2''$ plus one surplus variable for the $\ge$ constraint.
The constraint $\frac12 x_1 + \frac13 x_2 \le \frac56$ is multiplied by the least common denominator of its coefficients. Which integer-data constraint is obtained?
To replace an LP problem with rational data by an equivalent one with integer data, multiplying each constraint by the least common denominator of its coefficients, what is needed?
That all denominators are equal
That the objective is multiplied by the same number
That the right-hand sides are positive
That the multiplier is positive, so the direction stays the same
Explanation. A positive multiplier does not change the solutions of a constraint; different constraints may use different multipliers.
We want to prove that the standard maximization form, obtained from the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with slacks, is equivalent to the original. What must be shown?
That they have the same number of variables
That both have ${\boldsymbol b} \ge {\boldsymbol 0}$
A correspondence between feasible solutions preserving the value
That the two feasible regions coincide
Explanation. ${\boldsymbol x} \mapsto ({\boldsymbol x}, {\boldsymbol b} - {\boldsymbol A}{\boldsymbol x})$ is a bijection between feasible solutions and preserves ${\boldsymbol c}'{\boldsymbol x}$; the regions live in different spaces.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. When does a set $\pazocal{B}$ of column indices of ${\boldsymbol A}$ define a basis ${\boldsymbol A}_{\pazocal{B}}$?
If $|\pazocal{B}| = m$ and ${\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$
If $|\pazocal{B}| = m$ and the matrix ${\boldsymbol A}_{\pazocal{B}}$ of the columns with index in $\pazocal{B}$ is invertible
If $|\pazocal{B}| = n$ and the chosen columns are linearly independent
If $|\pazocal{B}| = m$, whatever columns are chosen
Explanation. A basis is an invertible $m \times m$ square submatrix; the condition $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ concerns the feasibility of the basic solution, not the definition of basis.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. Given a basis ${\boldsymbol A}_{\pazocal{B}}$, with basic indices $\pazocal{B}$ and non-basic indices $\pazocal{N}$, what is the associated basic solution?
Explanation. The non-basic variables are $0$ and the basic ones solve ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol x}_{\pazocal{B}} = {\boldsymbol b}$: ${\boldsymbol x}_{\pazocal{B}} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} = \bar{\boldsymbol b}$, which coincides with ${\boldsymbol b}$ only if ${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. Given a basis ${\boldsymbol A}_{\pazocal{B}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced cost vector $\bar{\boldsymbol c}$, when is the associated basic solution a basic feasible solution?
When ${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$
When $\bar{\boldsymbol c} \le {\boldsymbol 0}$
When ${\boldsymbol b} \ge {\boldsymbol 0}$
When $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
Explanation. The equality constraints hold by construction; what remains is the non-negativity of the basic variables, $\bar{\boldsymbol b} \ge {\boldsymbol 0}$.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. Given a basis ${\boldsymbol A}_{\pazocal{B}}$, with ${\boldsymbol c}_{\pazocal{B}}$ the cost vector of the basic variables and ${\boldsymbol A}_p$ column $p$ of ${\boldsymbol A}$, what is the reduced cost of the non-basic variable $x_p$?
Explanation. $\bar c_p$ is the change of $z$ per unit of $x_p$: the gain $c_p$ minus the loss ${\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$ due to the change of the basic variables.
An LP problem in canonical maximization form with $n$ variables, $m$ constraints and ${\boldsymbol b} \ge {\boldsymbol 0}$ is brought to standard form with the slack variables $x_{n+1}, \dots, x_{n+m}$. Which basis immediately gives a basic feasible solution?
Any basis formed by $m$ randomly chosen indices
The one of the first $m$ variables, $\pazocal{B} = \{1, \dots, m\}$
None: Phase $0$ is needed even with ${\boldsymbol b} \ge {\boldsymbol 0}$
The one of the slack variables, $\pazocal{B} = \{n+1, \dots, n+m\}$
Explanation. With the slack variables in the basis $\bar{\boldsymbol b} = {\boldsymbol b} \ge {\boldsymbol 0}$, $\bar z = 0$ and $\bar{\boldsymbol c} = {\boldsymbol c}_{\pazocal{N}}$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Which variable can be chosen as the pivot column?
A non-basic variable with a positive reduced cost
The basic variable with the largest value
A basic variable with a negative value
A non-basic variable with a negative reduced cost
Explanation. Increasing a non-basic variable with $\bar c_p > 0$ increases $z$ by $\bar c_p$ per unit.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. With $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ the pivot column $x_p$, with $\bar c_p > 0$, is chosen. Which value $t_m$ does $x_p$ take in the new basic feasible solution?
Explanation. From ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - t\,\bar{\boldsymbol A}_p \ge {\boldsymbol 0}$: only the rows with $\bar a_{ip} > 0$ restrict $t$, and the minimum is needed to keep all the variables non-negative.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Which condition, for a basis with $\bar{\boldsymbol b} \ge {\boldsymbol 0}$, certifies that the LP problem is unbounded?
There exists $p \in \pazocal{N}$ with $\bar c_p > 0$ and $\bar a_{ip} \ge 0$ for every $i \in \pazocal{B}$
There exists $r \in \pazocal{B}$ with $\bar b_r < 0$ and $\bar a_{rj} \ge 0$ for every $j \in \pazocal{N}$
There exists $p \in \pazocal{N}$ with $\bar c_p < 0$ and $\bar a_{ip} \le 0$ for every $i \in \pazocal{B}$
There exists $p \in \pazocal{N}$ with $\bar c_p > 0$ and $\bar a_{ip} \le 0$ for every $i \in \pazocal{B}$
Explanation. With $\bar a_{ip} \le 0$ no basic variable decreases when $x_p$ grows, and $z = \bar z + t\,\bar c_p$ grows without bound. The last condition is the certificate of infeasibility of the dual simplex algorithm.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Let $\bar{\boldsymbol b} \ge {\boldsymbol 0}$, $\bar c_p > 0$ and $\bar a_{ip} \le 0$ for every $i \in \pazocal{B}$. To prove that the point $x_p = t$, $x_i = \bar b_i - t\,\bar a_{ip}$ ($i \in \pazocal{B}$), other variables at $0$, is feasible for every $t \ge 0$, which facts are needed?
$\bar b_i \ge 0$ and $\bar a_{ip} \le 0$ give $x_i \ge 0$; the equalities hold by construction
Only the invertibility of ${\boldsymbol A}_{\pazocal{B}}$, which makes the point a solution of the system
Only $\bar c_p > 0$, which makes $z$ grow as $t$ grows
$\bar b_i > 0$ (non-degeneracy) and $\bar{\boldsymbol c} \le {\boldsymbol 0}$ give $x_i \ge 0$ for every $t$
Explanation. Non-negativity follows from $\bar b_i \ge 0$ and $-t\,\bar a_{ip} \ge 0$. The condition $\bar c_p > 0$ is used instead to show that the value $\bar z + t\,\bar c_p$ grows without bound.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. How many equations form the simplex dictionary associated with a basis ${\boldsymbol A}_{\pazocal{B}}$?
$n + m$: one for each variable
$m$: one for each basic variable
$n + 1$: one for each non-basic variable and one for the objective function
$m + 1$: one for each basic variable and one for the objective function
Explanation. The dictionary writes the $m$ basic variables and $z$ as functions of the $n$ non-basic variables.
An LP problem in canonical maximization form with constraints ${\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}$, ${\boldsymbol A} \in \R^{m \times n}$, is brought to standard form by adding the slack variables $x_{n+1}, \dots, x_{n+m}$, with constraint matrix $({\boldsymbol A}~~{\boldsymbol I})$. Why does this matrix have rank $m$?
Because it contains the identity matrix of size $m$, made of the columns of the slack variables
Because ${\boldsymbol A}$ has rank $m$ by assumption
Because ${\boldsymbol b} \ge {\boldsymbol 0}$, and then the system has a solution
Because it has more columns ($n + m$) than rows ($m$)
Explanation. The $m$ columns of the slack variables form ${\boldsymbol I}$, which has rank $m$, with no assumption on ${\boldsymbol A}$ or ${\boldsymbol b}$. Having more columns than rows is not enough.
The LP problem of the paint production example $\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 \ge 0\}$ has optimal solution $(5, \frac{7}{2})$. In the standard form with the slack variables $x_3, x_4, x_5$ of the three constraints, what are $(x_3, x_4, x_5)$ at this solution?
$(0, 0, 0)$
$(-\frac{13}{2}, 0, 0)$
$(\frac{11}{2}, 0, 0)$
$(\frac{13}{2}, 0, 0)$
Explanation. $x_{2+i} = b_i - \sum_j a_{ij} x_j$: $x_3 = 12 - (-5 + \frac{21}{2}) = \frac{13}{2}$, $x_4 = 12 - 12 = 0$, $x_5 = 8 - 8 = 0$. The value $\frac{11}{2}$ is the left-hand side $-x_1 + 3x_2$, not the slack.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$. Which outcomes can the simplex algorithm return, with Phase $0$ in the initialization step?
An optimal solution or a certificate of unboundedness; infeasibility is not detected
A feasible solution, which is optimal only if it is non-degenerate
An optimal solution, or a certificate of infeasibility or of unboundedness
Always an optimal solution, possibly after Phase $0$
Explanation. Phase $0$ detects infeasibility; the pivoting step detects unboundedness ($\bar c_p > 0$ and $\bar a_{ip} \le 0$ for every $i$); otherwise the algorithm stops with $\bar{\boldsymbol c} \le {\boldsymbol 0}$, i.e., with an optimal solution.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$. In the pivoting step of the simplex algorithm one chooses the pivot column $x_p$ (non-basic, $p \in \pazocal{N}$) and the pivot row $x_r$ (basic, $r \in \pazocal{B}$). How are the sets $\pazocal{B}$ (basic indices) and $\pazocal{N}$ (non-basic indices) updated?
Explanation. The pivot column $x_p$ enters the basis and the pivot row $x_r$ leaves it: $|\pazocal{B}|$ stays equal to $m$ and the basis changes in one column only.
The problem in canonical maximization form with $n = 3$ variables and $m = 2$ constraints is written in standard form by adding slacks. How many variables does it have?
$6$
$5$
$2$
$3$
Explanation. One slack per constraint: $n + m = 5$ variables, numbered $x_1, \dots, x_5$.
In the standard form of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with slacks $x_{n+1}, \dots, x_{n+m}$, what does the constraint matrix look like?
$[{\boldsymbol A} ~ {\boldsymbol I}]$
$[{\boldsymbol I} ~ {\boldsymbol A}']$
${\boldsymbol A}$ only
$[{\boldsymbol A} ~ {-{\boldsymbol I}}]$
Explanation. The slack $x_{n+i}$ appears only in constraint $i$ with coefficient $1$.
For an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A}$ of $m$ linearly independent rows, what are the partition $(\pazocal{B}, \pazocal{N})$ and the basic variables?
$\pazocal{B}$: the positive variables; $\pazocal{N}$: the zero ones
$\pazocal{B}$: the active constraints; $\pazocal{N}$: the inactive ones
$\pazocal{B}$: $m$ independent columns; $\pazocal{N}$: the rest
$\pazocal{B}$: the original variables; $\pazocal{N}$: the slacks
Explanation. A basis is a square invertible submatrix ${\boldsymbol A}_{\pazocal{B}}$; its columns are the basic variables.
For an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A}$ of $m$ linearly independent rows, with $n + m$ variables in total, how many variables are nonbasic?
$n$
$m$
$n + m$
$n - m$
Explanation. $|\pazocal{B}| = m$, hence $|\pazocal{N}| = (n + m) - m = n$.
For an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A}$ of $m$ linearly independent rows, which statement about the dictionary of a basis ${\boldsymbol A}_{\pazocal{B}}$ is correct?
It is the same for all bases
It expresses the basic variables through the nonbasic ones.
It expresses the nonbasic variables through the basic ones
It exists only if ${\boldsymbol b} \ge {\boldsymbol 0}$
Explanation. From ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol x}_{\pazocal{B}} + {\boldsymbol A}_{\pazocal{N}}{\boldsymbol x}_{\pazocal{N}} = {\boldsymbol b}$ multiplying by ${\boldsymbol A}_{\pazocal{B}}^{-1}$.
For an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A}$ of $m$ linearly independent rows, for a set $\pazocal{B}$ of $m$ indices to define a dictionary, what must hold?
That $\pazocal{B}$ contains all slacks
That ${\boldsymbol A}_{\pazocal{B}}$ is invertible.
That ${\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$
That the costs $c_j$ with $j \in \pazocal{B}$ are positive
Explanation. ${\boldsymbol A}_{\pazocal{B}}^{-1}$ is needed to express ${\boldsymbol x}_{\pazocal{B}}$; nonnegativity concerns feasibility, not the basis.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. What is the basic solution associated with the dictionary?
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. When is the basic solution feasible?
Always, since it satisfies ${\boldsymbol A}{\boldsymbol x} = {\boldsymbol b}$
When $\bar b_i \ge 0$ for every $i \in \pazocal{B}$
When $\bar c_j \le 0$ for every $j \in \pazocal{N}$
When $\bar z \ge 0$
Explanation. The equality constraints always hold; what remains is nonnegativity of the basic variables.
For the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} = (4, -2)$, is the slack basis feasible?
No: a slack equals $-2$
Cannot say without ${\boldsymbol A}$
Yes, if ${\boldsymbol c} \ge {\boldsymbol 0}$
Yes: ${\boldsymbol x} = {\boldsymbol 0}$ is always feasible
Explanation. The slacks equal ${\boldsymbol b}$ at ${\boldsymbol x} = {\boldsymbol 0}$; Phase $0$ is needed.
For the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$, what is the initial dictionary of the slack basis?
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. What does a pivot operation with column $x_p$ and row $x_r$ do?
The sign of the $z$ row is changed
$x_r$ enters the basis, $x_p$ leaves
$x_p$ enters the basis, $x_r$ leaves
All nonbasic variables are set to zero
Explanation. Solve the row of $x_r$ for $x_p$ and substitute it in the other rows.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. In the ratio test for the pivot column $x_p$, which rows are considered?
The rows with $\bar a_{ip} < 0$
All rows, including $\bar a_{ip} = 0$
The rows with $\bar b_i < 0$
The rows with $\bar a_{ip} > 0$
Explanation. Only rows where $x_i$ decreases as $x_p$ grows limit the step.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. After a pivot with column $x_p$, row $x_r$ and step $t_m = \bar b_r / \bar a_{rp}$, what is the new objective value?
$\bar z + \bar b_r$
$\bar z\, t_m$
$\bar z - \bar c_p\, t_m$
$\bar z + \bar c_p\, t_m$
Explanation. $x_p$ goes from $0$ to $t_m$ and the function grows by $\bar c_p$ per unit.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. Why does the ratio test (minimum of $\bar b_i / \bar a_{ip}$ with $\bar a_{ip} > 0$) keep the new dictionary feasible?
Because $\bar c_p > 0$
Because rows with $\bar a_{ip} < 0$ are discarded
With step $t \le t_m$ no $x_i$ becomes negative
Because the pivot row has $\bar b_r = 0$
Explanation. The minimum ratio is the longest step that makes no basic variable negative.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. With pivot row $x_3 = 6 - 2x_1 - x_2$ and pivot column $x_1$, how is $x_1$ expressed in the new dictionary?
$x_1 = 6 - x_2 - x_3$
$x_1 = 3 + \frac12 x_2 + \frac12 x_3$
$x_1 = 3 - \frac12 x_2 - \frac12 x_3$
$x_1 = 12 - 2x_2 - 2x_3$
Explanation. From $2x_1 = 6 - x_2 - x_3$ divide by $2$.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. With $z = 3x_1 + x_2$ and the new expression $x_1 = 3 - \frac12 x_2 - \frac12 x_3$, what is the new $z$ row?
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. When updating the dictionary after a pivot, what is done in the rows other than the pivot row?
The expression of $x_p$ is substituted
They are divided by the pivot element
The sign of all coefficients is changed
They are left unchanged
Explanation. Every other row contains $x_p$, which is no longer nonbasic: it must be substituted.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Which statement on the optimality conditions of the basis ${\boldsymbol A}_{\pazocal{B}}$ is correct?
If $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} \ge {\boldsymbol 0}$, the basic feasible solution is optimal
If $\bar{\boldsymbol c} \le {\boldsymbol 0}$, the basic solution is optimal even if some $\bar b_i < 0$
If $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} \le {\boldsymbol 0}$, the basic feasible solution is optimal
If the basic feasible solution is optimal, then $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Explanation. This is the sufficient condition for optimality; the converse holds only for non-degenerate solutions, and without $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ the solution is not even feasible.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Which statement on the uniqueness of the optimal solution is correct?
If $\bar{\boldsymbol b} > {\boldsymbol 0}$ and $\bar{\boldsymbol c} \le {\boldsymbol 0}$, the basic feasible solution is the unique optimal one
If $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} \le {\boldsymbol 0}$, the basic feasible solution is the unique optimal one
If the basic feasible solution is the unique optimal one, then $\bar{\boldsymbol c} < {\boldsymbol 0}$
If $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} < {\boldsymbol 0}$, the basic feasible solution is the unique optimal solution
Explanation. With $\bar{\boldsymbol c} < {\boldsymbol 0}$ every other feasible solution has ${\boldsymbol x}_{\pazocal{N}} \ne {\boldsymbol 0}$ and a strictly smaller value. A zero reduced cost may give other optimal solutions; the converse does not hold.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. A basic feasible solution is degenerate if $\bar b_i = 0$ for some $i \in \pazocal{B}$. Which statement on the necessary optimality conditions is correct?
If the basic feasible solution is optimal, then $\bar{\boldsymbol c} \le {\boldsymbol 0}$, even if it is degenerate
If the basic feasible solution is degenerate, then it is not optimal
If the basic feasible solution is optimal and non-degenerate, then $\bar{\boldsymbol c} \le {\boldsymbol 0}$
If $\bar{\boldsymbol c} \le {\boldsymbol 0}$, then the basic feasible solution is non-degenerate
Explanation. Non-degeneracy is essential: a degenerate solution may be optimal with some $\bar c_j > 0$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. To prove that $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} \le {\boldsymbol 0}$ imply the optimality of the basic solution, which facts are used?
The basic solution is feasible and every feasible ${\boldsymbol x}$ has ${\boldsymbol c}'{\boldsymbol x} = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}} \le \bar z$, since ${\boldsymbol x}_{\pazocal{N}} \ge {\boldsymbol 0}$
Non-degeneracy $\bar{\boldsymbol b} > {\boldsymbol 0}$ and Weak Duality applied to the primal-dual pair
Bland's rule and the finite number of bases, which stop the simplex algorithm when $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Only $\bar{\boldsymbol c} \le {\boldsymbol 0}$: increasing a non-basic variable $z$ does not grow, feasibility is not needed
Explanation. For every feasible solution $\bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}} \le 0$, hence ${\boldsymbol c}'{\boldsymbol x} \le {\boldsymbol c}'_{\pazocal{B}}\bar{\boldsymbol b}$, the value of the basic solution, which is feasible since $\bar{\boldsymbol b} \ge {\boldsymbol 0}$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. It is proved by contradiction that an optimal and non-degenerate basic feasible solution ($\bar{\boldsymbol b} > {\boldsymbol 0}$) has $\bar{\boldsymbol c} \le {\boldsymbol 0}$, assuming $\bar c_p > 0$. What is non-degeneracy needed for?
It guarantees that Bland's rule does not cycle, hence that the simplex algorithm terminates
There is $\vartheta > 0$ with $\bar b_i - \vartheta\,\bar a_{ip} \ge 0$ for every $i$: with $x_p = \vartheta$ we get a better solution
It guarantees $\bar a_{ip} \le 0$ for every $i \in \pazocal{B}$, hence the problem would be unbounded
It guarantees that ${\boldsymbol A}_{\pazocal{B}}$ is invertible, hence that the dictionary exists
Explanation. If some $\bar b_i = 0$ with $\bar a_{ip} > 0$ we would get $\vartheta = 0$ and no improvement: this is the degenerate case.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. When is a basic feasible solution ($\bar{\boldsymbol b} \ge {\boldsymbol 0}$) called degenerate?
When $\bar a_{ij} = 0$ for some $i \in \pazocal{B}$, $j \in \pazocal{N}$
When $\bar c_j = 0$ for some $j \in \pazocal{N}$
When $\bar b_i < 0$ for some $i \in \pazocal{B}$
When $\bar b_i = 0$ for some $i \in \pazocal{B}$
Explanation. In a degenerate solution some basic variable is $0$ too, besides all the non-basic variables, which are always $0$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. In the pivoting operation with column $x_p$ the step is $t_m = \min\{\bar b_i / \bar a_{ip} : i \in \pazocal{B},~ \bar a_{ip} > 0\}$. What happens in a degenerate pivoting operation?
$t_m = 0$: the solution stays the same but the value of $z$ decreases
$t_m = +\infty$: the LP problem is unbounded and the algorithm stops
$t_m > 0$, but the new basis matrix is not invertible
$t_m = 0$: the basis changes, the solution and the value of $z$ stay the same
Explanation. The pivot row has $\bar b_r = 0$, so $x_p$ enters the basis with value $0$; the value of $z$ increases only in non-degenerate operations.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. The simplex algorithm starts from a feasible basis and performs pivoting operations. To prove that, if the algorithm does not terminate, then it cycles (it repeats a dictionary), which fact is used?
The bases are at most $\binom{n+m}{m}$, hence an infinite sequence repeats a dictionary
Every pivoting operation strictly increases $z$, hence no dictionary is repeated
Strong Duality, which bounds the value of $z$ by that of the dual
Bland's rule, which prevents repeating a dictionary already visited
Explanation. It is a finiteness argument; Bland's rule is used for the next theorem, and degenerate operations do not increase $z$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Bland's rule chooses as pivot column the variable with the smallest index and $\bar c_j > 0$ and, in case of ties in the ratio test, the row with the smallest index. Which statement on the termination of the simplex algorithm is correct?
The algorithm terminates if the column with the largest reduced cost is always chosen
The algorithm terminates with any pivot rule
With Bland's rule every pivoting operation is non-degenerate
The algorithm terminates if in every pivoting operation the pivot column and row are chosen with Bland's rule
Explanation. Bland's rule (smallest index) prevents cycling; it does not remove degenerate operations, which may still occur.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. The ratio test for the pivot column $x_p$ computes $t_m = \min\{\bar b_i / \bar a_{ip} : i \in \pazocal{B},~ \bar a_{ip} > 0\}$. With Bland's rule, which pivot row is chosen if several rows attain $t_m$?
At random: Bland's rule concerns only the column
The one with the largest coefficient $\bar a_{rp}$ is chosen
The one with the largest value $\bar b_r$ is chosen
The one with the smallest index is chosen
Explanation. Bland's rule uses the smallest index both for the pivot column (among $\bar c_p > 0$) and for the pivot row (among the rows attaining $t_m$).
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$. In the simplex algorithm the pivot column is always the non-basic variable with the largest reduced cost $\bar c_j$ (largest reduced cost rule). What can happen when degenerate basic solutions are met?
It visits the same basis twice only if the problem is unbounded
The algorithm can cycle, repeating the same sequence of bases forever
It always terminates, since the value of $z$ strictly increases at every pivot
It stops with a certificate of unboundedness even if the problem has an optimum
Explanation. With degenerate pivots ($t_m = 0$) the value of $z$ does not increase and the sequence of bases may repeat; anti-cycling rules, such as Bland's rule, are there precisely to avoid it.
In the simplex algorithm for an LP problem in standard maximization form (variables $x_1, \dots, x_4 \ge 0$) the dictionary with $\pazocal{B} = \{1, 2\}$, $\pazocal{N} = \{3, 4\}$ is: $x_1 = 2 - x_3 + x_4$, $x_2 = 3 - 2x_3 - x_4$, $z = 10 - x_3 - 2x_4$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows $\bar z$ and the reduced costs $\bar c_j$). What is concluded?
It is not optimal: it pays to increase $x_4$, which has a positive coefficient in the row of $x_1$
The solution $(2, 3, 0, 0)$ is optimal, but not the only one
The solution $(2, 3, 0, 0)$ is the unique optimal solution, with $z(LP) = 10$
The problem is unbounded, since the column of $x_4$ has a coefficient $\bar a_{14} < 0$
Explanation. $\bar{\boldsymbol b} = (2, 3) \ge {\boldsymbol 0}$ and the reduced costs $-1, -2$ are negative: by the sufficient conditions for optimality the solution is optimal, and strictly negative reduced costs make it unique. What matters are the reduced costs in the row of $z$, not the coefficients of the rows.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. In a maximization problem the dictionary is feasible with $\bar c = (-1, -3)$ for the two nonbasic variables. What is concluded?
The basic solution is optimal
The problem is unbounded
The variable with $\bar c_j = -1$ enters
The problem is infeasible
Explanation. All reduced costs are nonpositive: sufficient optimality condition.
The reduced-cost conditions ($\bar c_j \le 0$) are necessary for optimality of a basic feasible solution of a maximization problem. Which assumption is needed?
That the costs are integer
That ${\boldsymbol b} \ge {\boldsymbol 0}$
That it is nondegenerate
That the problem is bounded
Explanation. With degeneracy an optimal solution can have a dictionary with some $\bar c_j > 0$.
With Bland's rule (column: smallest index with $\bar c_j > 0$), the reduced costs of the nonbasic variables $x_2, x_4, x_5$ are $\bar c_2 = -1$, $\bar c_4 = 3$, $\bar c_5 = 2$. Which variable enters the basis?
$x_4$
$x_2$
$x_5$
None: it is optimal
Explanation. Candidates with $\bar c_j > 0$: $x_4$, $x_5$; smallest index $x_4$ (not the largest cost).
In the simplex algorithm for a maximization problem, the optimal dictionary has $\bar c_j = 0$ for a nonbasic variable $x_j$, with a nondegenerate pivot possible. What is concluded?
The problem is degenerate
The problem is unbounded
There are multiple optimal solutions
The solution is not optimal
Explanation. Bringing $x_j$ in changes the solution without changing $z$: multiple optima.
In the simplex algorithm, the dictionary of a basis has rows $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$ ($i \in \pazocal{B}$) and $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$. For a maximization problem, why does $\bar c_j \le 0$ for every $j \in \pazocal{N}$ imply optimality of the basic feasible solution?
Because $z = \bar z + \sum_j \bar c_j x_j \le \bar z$
Because all basic variables are positive
Because the step $t_m$ is zero
Because the solution is a vertex
Explanation. With $x_j \ge 0$ and $\bar c_j \le 0$ the sum is nonpositive.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, brought to standard form with the slack variables, when is Phase $0$ of the simplex algorithm needed?
When $b_i < 0$ for some $i$
When $c_j < 0$ for some $j$
When the problem has more constraints than variables
Always, before every execution of the simplex algorithm
Explanation. With ${\boldsymbol b} \ge {\boldsymbol 0}$ the basis of the slack variables is feasible; with some $b_i < 0$ it is not, and Phase $0$ is needed.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, how is the simplex auxiliary problem, with auxiliary variable $x_0$, built?
$x_0 \ge 0$ is added, subtracted from the left-hand side of every constraint, and $-x_0$ is maximized
$x_0 \ge 0$ is added only to the constraints with $b_i < 0$ and $x_0$ is maximized
The constraints with $b_i < 0$ are multiplied by $-1$ and the original objective function is kept
$x_0 \ge 0$ is added to every constraint and $-x_0$ is minimized
Explanation. Constraints $\sum_j a_{ij} x_j - x_0 = b_i$ for every $i$ and objective function $\max -x_0$: the optimal value is $0$ if and only if the original problem is feasible.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. Which statement on the auxiliary problem is correct?
It admits an optimal solution only if ${\boldsymbol b} \ge {\boldsymbol 0}$
It is never infeasible nor unbounded, so it always admits an optimal solution
It is infeasible when the original problem is infeasible
It may be unbounded when the original problem is unbounded
Explanation. With $x_0 = \max\{0, -\min_i b_i\}$ and the other original variables at $0$ we have a feasible solution, and the value $-x_0 \le 0$ is bounded.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. Which statement on the feasibility of the original problem is correct?
It admits a feasible solution if and only if the auxiliary problem is feasible
It admits a feasible solution if and only if the optimal value of the auxiliary problem is $0$
It admits a feasible solution if and only if the special pivoting operation gives $x_0 = 0$
It admits a feasible solution if and only if ${\boldsymbol b} \ge {\boldsymbol 0}$
Explanation. The auxiliary problem is always feasible; what matters is its optimal value. With ${\boldsymbol b} \ge {\boldsymbol 0}$ the problem is feasible, but the converse does not hold.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. Which facts are used to prove that the original problem is feasible if and only if the auxiliary problem has optimal value $0$?
($\Rightarrow$) the special pivoting operation; ($\Leftarrow$) the fact that ${\boldsymbol b} \ge {\boldsymbol 0}$ in the auxiliary problem
($\Rightarrow$) every value is $-x_0 \le 0$ and $0$ is attained with $x_0 = 0$; ($\Leftarrow$) $\tilde x_0 = 0$, and $x_0$ is removed
($\Rightarrow$) and ($\Leftarrow$): Strong Duality between the original problem and the auxiliary problem
($\Rightarrow$) Bland's rule; ($\Leftarrow$) the non-degeneracy of the optimal solution of the auxiliary problem
Explanation. The proof uses only the definition of the auxiliary problem and the sign of its objective function.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. The initial dictionary of the auxiliary problem, with the basis of the slack variables, is not feasible. In the special pivoting operation of Phase $0$, which variable enters and which leaves the basis?
The variable with a positive reduced cost and smallest index enters, $x_0$ leaves
$x_0$ enters, the basic variable with the most negative right-hand side $b_i$ leaves
$x_0$ enters, the variable chosen by the usual ratio test leaves
$x_0$ enters, the basic variable with the smallest index and $b_i < 0$ leaves
Explanation. With $r \in \argmin\{b_i\}$ we get $x_0 = -b_r$ and $x_i = b_i - b_r \ge 0$: the solution becomes feasible.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. Phase $0$ ends with optimal value $0$ and with $x_0$ basic, of value $0$. What is done before moving to the original problem?
The simplex algorithm is started on the original problem leaving $x_0$ basic at value $0$
A pivoting operation on the row of $x_0$, with a column $x_j$ of coefficient $\bar a_{0j} \ne 0$
Phase $0$ is repeated with another special pivoting operation on $x_0$
It is concluded that the original problem is infeasible, since $x_0$ is basic
Explanation. The solution is degenerate: the pivot on the row of $x_0$ does not change the values of the other variables and makes $x_0$ non-basic.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the simplex auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, with auxiliary variable $x_0$. At the end of Phase $0$, $x_0$ is removed and a feasible dictionary of the original problem is obtained. How is its objective function equation $z = \sum_j c_j x_j$ obtained?
The equation of the auxiliary objective function $-x_0$ is kept
We write $z = \sum_{j \in \pazocal{N}} c_j x_j$ with the original costs
The equations of the basic variables are substituted into $z$
The equation of the auxiliary objective function changes sign
Explanation. The basic variables are written as functions of the non-basic ones: substituting them into $z = \sum_j c_j x_j$ gives $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$. Keeping the original costs of the non-basic variables only ignores the contribution of the basic ones.
Which of the following statements is part of the Fundamental Theorem of Linear Programming, for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$?
If the feasible region is non-empty, then the problem admits an optimal solution
If the problem admits an optimal solution, then every optimal solution is basic
If the problem is unbounded, then it has no basic feasible solution
If the problem admits an optimal solution, then it admits a basic feasible solution which is optimal
Explanation. The theorem states: feasible implies a basic feasible solution; optimal implies a basic optimal one; and the problem is infeasible, unbounded or has an optimal solution. An unbounded problem still has basic feasible solutions.
The Fundamental Theorem of Linear Programming states that an LP problem in standard form is either infeasible, or unbounded, or it admits an optimal basic feasible solution. Which results are used to prove it?
Strong Duality and Complementary Slackness, applied to the problem and its dual
Only the sufficient optimality conditions, applied to any feasible basis
The equivalence between vertices and basic feasible solutions, the convexity of $F$ and the theorem on extreme points
Termination of Phase $0$ and simplex (Bland), the feasibility theorem, sufficient optimality conditions and certificate of unboundedness
Explanation. The proof is algorithmic: Phase $0$ and the simplex algorithm terminate, and each possible outcome is one of the three cases of the statement.
At the end of Phase $0$ of an LP problem with objective function $z = x_1 + 2x_2$ the auxiliary variable $x_0$ is removed and the equations $x_1 = 3 - x_2 + x_3$, $x_4 = 5 - 2x_2 + x_3$, $x_5 = 3 - x_3$ remain, with $\pazocal{B} = \{1, 4, 5\}$ and $\pazocal{N} = \{2, 3\}$. What is the row of the objective function in the initial dictionary of the simplex algorithm?
$z = 2x_2$
$z = x_1 + 2x_2$
$z = 3 + 3x_2 + x_3$
$z = 3 + x_2 + x_3$
Explanation. The equation of the basic variable $x_1$ is substituted in $z$: $z = (3 - x_2 + x_3) + 2x_2 = 3 + x_2 + x_3$, written with the non-basic variables only. Keeping $x_1$ or ignoring it does not give a dictionary.
For an LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ Phase $0$ solves the simplex auxiliary problem $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$ and finds optimal value $-1$. What is concluded?
The original problem has an optimal solution of value $-1$
The original problem is unbounded
Phase $0$ is repeated with another special pivoting operation
The original problem is infeasible
Explanation. The original problem is feasible if and only if the auxiliary problem has optimal value $0$ (a solution with $x_0 = 0$). With a negative optimal value every solution has $x_0 > 0$: no ${\boldsymbol x} \ge {\boldsymbol 0}$ satisfies ${\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}$.
For the LP problem $\max\{x_1 + x_2 : x_1 + x_2 \le 2,~ -x_1 - x_2 \le -3,~ x_1, x_2 \ge 0\}$ consider the auxiliary problem $\max\{-x_0 : x_1 + x_2 - x_0 \le 2,~ -x_1 - x_2 - x_0 \le -3,~ x_0, x_1, x_2 \ge 0\}$. What is its optimal value?
$-1$
$-3$
$-\frac{1}{2}$
$0$
Explanation. With $s = x_1 + x_2$ the constraints read $s \le 2 + x_0$ and $s \ge 3 - x_0$, compatible if and only if $x_0 \ge \frac{1}{2}$: the optimal value is $-\frac{1}{2} < 0$, hence the original problem is infeasible. The value $-3$ is the one after the special pivot only.
In the simplex algorithm with Phase $0$ for $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, in which order are the steps of Phase $0$ executed?
Special pivot, test of the optimal value, auxiliary problem, simplex on the auxiliary problem, $x_0$ out of the basis, original objective function
Auxiliary problem, simplex on the auxiliary problem, special pivot, $x_0$ out of the basis, test of the optimal value, original objective function
Auxiliary problem, special pivot, simplex on the auxiliary problem, test of the optimal value, $x_0$ out of the basis if needed, original objective function
Original objective function, auxiliary problem, special pivot, simplex on the auxiliary problem, test of the optimal value, $x_0$ out of the basis
Explanation. The special pivot makes the dictionary of the auxiliary problem feasible, and the latter is solved by the simplex algorithm; if the optimal value is negative the algorithm stops (infeasible), otherwise $x_0$ is made non-basic and the original objective function is restored.
In the simplex algorithm with Phase $0$ for $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with the simplex auxiliary problem $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0{\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, how many times is the special pivoting operation ($x_0$ enters, the basic variable with the most negative $b_i$ leaves) performed?
Once at the beginning of Phase $0$ and once at the end, to make $x_0$ leave
Once for every constraint with $b_i < 0$
At every iteration of Phase $0$, as long as $x_0$ is basic
At most once, at the beginning of Phase $0$, and only if some $b_i < 0$
Explanation. One special pivot makes the dictionary of the auxiliary problem feasible: afterwards, $x_i = b_i - b_r \ge 0$ for every $i$. The following iterations are ordinary simplex pivots, including the one that makes $x_0$ leave.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. Why does the auxiliary problem always have feasible solutions?
Because $x_0$ is free
Take ${\boldsymbol x} = {\boldsymbol 0}$ and $x_0$ large enough
Because it has fewer constraints than the original
Because ${\boldsymbol b} \ge {\boldsymbol 0}$
Explanation. With $x_0 \ge \max_i(-b_i)$ every constraint $-x_0 \le b_i$ holds.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. Which statement about the optimal value of the auxiliary problem is correct?
It is $-\infty$ if the original problem is infeasible
It is $\le 0$, and $= 0$ iff the original is feasible
It equals the optimal value of the original problem
It is always positive
Explanation. $-x_0 \le 0$; it equals $0$ exactly when some ${\boldsymbol x} \ge {\boldsymbol 0}$ has ${\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b}$.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. To conclude that the original problem is infeasible, what is needed?
That the initial slack basis is infeasible
A negative auxiliary optimal value
That $x_0$ is basic at the start
That the auxiliary problem has multiple optima
Explanation. Optimal value $< 0$ means every solution has $x_0 > 0$: no ${\boldsymbol x}$ satisfies the original constraints.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. The auxiliary problem has optimal value $-\frac32$. What is concluded?
The original problem is infeasible
The simplex algorithm continues
The original problem is unbounded
The original problem has optimal value $\frac32$
Explanation. A negative optimal value certifies infeasibility.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. In the first (special) pivot of Phase $0$, which variable enters and which leaves?
$x_0$ enters, the slack with the largest $b_i$ leaves
The variable with the largest cost enters
$x_0$ enters, the slack with the most negative $b_i$ leaves
The most negative slack enters, $x_0$ leaves
Explanation. This way all slacks become nonnegative and the dictionary is feasible.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. With ${\boldsymbol b} = (3, -5, -2)$, which value does $x_0$ take after the special pivot?
$5$
$2$
$3$
$10$
Explanation. $x_0 = \max_i(-b_i) = 5$, from the row with $b_2 = -5$.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. The auxiliary problem has optimal value $0$ with $x_0$ nonbasic. How does one continue?
Restart from the slack basis
Solve the dual problem
Declare the problem infeasible
Drop $x_0$, restore the objective
Explanation. The final basis is feasible for the original problem: just recompute the objective row.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. At the end of Phase $0$ the optimal value is $0$ but $x_0$ is still basic (with value $0$). What is done?
Restart with another auxiliary variable
Keep $x_0$ basic and continue
A degenerate pivot that takes $x_0$ out of the basis
Declare the problem infeasible
Explanation. $x_0 = 0$: a pivot on its row removes it without changing the solution.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. The problem $\max\ x_1$, $x_1 \le -1$, $x_1 \ge 0$ is handled by Phase $0$. What optimal value does the auxiliary problem have?
$-1$
$0$
$-\infty$
$1$
Explanation. We need $x_1 - x_0 \le -1$ with $x_1 \ge 0$: the smallest $x_0$ is $1$, so $\max(-x_0) = -1$.
In Phase $0$ for the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with some $b_i < 0$, the auxiliary problem is $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$. Which statement links the auxiliary and the original problems?
The auxiliary is infeasible if the original is
The auxiliary is unbounded if the original is
Original feasible iff the auxiliary is worth $0$
The two problems have the same optimal value
Explanation. The solutions with $x_0 = 0$ are exactly the original feasible solutions.
Explanation. One non-negative dual variable for each primal constraint, one greater-than-or-equal-to dual constraint for each primal variable, dual costs ${\boldsymbol b}$ and the transposed matrix.
Consider a primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with its dual, of variables ${\boldsymbol \pi}$. Which statement of Weak Duality is correct?
For every feasible solution $\bar{\boldsymbol x}$ of the primal and every feasible solution $\bar{\boldsymbol \pi}$ of the dual: $\sum_j c_j \bar x_j \le \sum_i b_i \bar\pi_i$
For every pair of feasible solutions: $\sum_j c_j \bar x_j = \sum_i b_i \bar\pi_i$
For every feasible solution $\bar{\boldsymbol x}$ of the primal and every $\bar{\boldsymbol \pi} \ge {\boldsymbol 0}$: $\sum_j c_j \bar x_j \le \sum_i b_i \bar\pi_i$
For every pair of feasible solutions: $\sum_j c_j \bar x_j \ge \sum_i b_i \bar\pi_i$
Explanation. Every dual feasible solution gives an upper bound on the value of every primal feasible solution; without dual feasibility ($A'\bar{\boldsymbol\pi} \ge {\boldsymbol c}$) the inequality may fail.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Let $\bar{\boldsymbol x}$ and $\bar{\boldsymbol \pi}$ be feasible solutions of the primal and of the dual. Which facts are used to prove that $\sum_j c_j\bar x_j \le \sum_i b_i\bar\pi_i$?
Only $\sum_j a_{ij}\bar x_j \le b_i$ and $\sum_i a_{ij}\bar\pi_i \ge c_j$: non-negativity is not needed
The optimality of $\bar{\boldsymbol x}$ and $\bar{\boldsymbol \pi}$
Strong Duality and Complementary Slackness
$c_j \le \sum_i a_{ij}\bar\pi_i$ with $\bar x_j \ge 0$, and $\sum_j a_{ij}\bar x_j \le b_i$ with $\bar\pi_i \ge 0$
Explanation. The inequalities are multiplied by non-negative quantities: without $\bar x_j \ge 0$ and $\bar\pi_i \ge 0$ the directions are not preserved. Optimality is not needed.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Which statement of Strong Duality is correct?
The primal has a unique optimal solution if and only if the dual has a unique optimal solution
For every pair of primal and dual feasible solutions the values coincide
If the primal is feasible, then the dual is feasible and the optimal values coincide
The primal has an optimal solution if and only if the dual has an optimal solution, and in this case the optimal values coincide
Explanation. Strong Duality concerns the existence of optimal solutions and the equality of the optimal values, not uniqueness nor merely feasible solutions.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. The primal problem has $n$ variables and, in standard form, slack variables $x_{n+1}, \dots, x_{n+m}$. Which tools does the proof of Strong Duality use?
An optimal dictionary of the primal, $\tilde\pi_i = -\bar c_{n+i} \ge 0$ (reduced costs of the slack variables) and Weak Duality
Complementary Slackness and the dual simplex algorithm applied to the primal
Only Weak Duality, applied to any pair of feasible solutions
The Corollary on unbounded and infeasible problems and the Fundamental Theorem
Explanation. From the optimal dictionary ($\bar c_j \le 0$ for every $j$) a dual feasible solution with the same value $\bar z$ is built; Weak Duality proves its optimality.
The dual of an LP problem in canonical maximization form is written, rewritten in canonical maximization form, and its dual is written again. What is obtained, after bringing it back to canonical maximization form?
A problem in standard maximization form
The starting primal problem
The primal problem with the opposite objective-function vector
The dual problem
Explanation. The dual of the dual is the primal: the dual is rewritten in canonical maximization form by multiplying by $-1$, and its dual is written.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Which statement on the outcomes of the two problems is correct?
If the primal is unbounded, then the dual is unbounded too
If the primal is unbounded, then the dual is infeasible
If the primal is infeasible, then the dual is unbounded
If the dual is infeasible, then the primal is unbounded
Explanation. A dual feasible solution would bound the primal values from above. The other implications fail because primal and dual can both be infeasible.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Which result is enough to prove that, if the primal is unbounded, the dual is infeasible?
Weak Duality: a dual feasible ${\boldsymbol \pi}$ would bound the primal values
Strong Duality, which requires equal optimal values in the two problems
The Fundamental Theorem applied to the dual and Complementary Slackness
Phase $0$ applied to the dual, which detects its infeasibility
Explanation. By contradiction, with $\bar{\boldsymbol \pi}$ dual feasible we would have $\sum_j c_j \bar x_j \le M = \sum_i b_i \bar\pi_i$ for every feasible $\bar{\boldsymbol x}$.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Each problem is infeasible, unbounded or has an optimal solution. Which results are used to prove that the pair has exactly four possible combinations of outcomes?
The Fundamental Theorem, Strong Duality and the Corollary on unbounded problems
Only Weak Duality, applied in both directions to the primal-dual pair
Complementary Slackness and the Corollary on unbounded problems
Only Strong Duality, applied to both problems of the pair
Explanation. Out of the nine combinations, Strong Duality excludes the four with only one optimum and the Corollary excludes “both unbounded”.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Let $\bar{\boldsymbol x}$ be primal feasible and $\bar{\boldsymbol \pi}$ dual feasible. Which statement of Complementary Slackness is correct?
They are optimal if and only if $\bar\pi_i > 0$ for every active constraint $i$
They are optimal if and only if $\bar\pi_i(\sum_j a_{ij}\bar x_j - b_i) = 0$ for every $i$ and $\bar x_j(c_j - \sum_i a_{ij}\bar\pi_i) = 0$ for every $j$
They are optimal if and only if $\bar x_j > 0$ implies $\bar\pi_j > 0$
They are optimal if and only if, for every $i$, exactly one of $\sum_j a_{ij}\bar x_j = b_i$ and $\bar\pi_i = 0$ holds
Explanation. The “or” of the conditions is inclusive: both may hold. An active constraint may have a zero dual variable.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Which results are used in the proof of Complementary Slackness?
Only the Fundamental Theorem of Linear Programming, applied to the primal
The Corollary on unbounded and infeasible problems, applied to the pair
An optimal dictionary of the primal and Bland's rule to avoid cycling
The sums of non-negative terms of Weak Duality, Strong Duality ($\Rightarrow$) and Weak Duality ($\Leftarrow$)
Explanation. Optimality means equal values (Strong Duality), i.e., equality in the chain, i.e., every term zero; conversely equal values imply optimality by Weak Duality.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. $\tilde{\boldsymbol x}$ is optimal for the primal and primal constraint $2$ is satisfied at $\tilde{\boldsymbol x}$ with strict inequality. What can be said about an optimal solution $\tilde{\boldsymbol \pi}$ of the dual?
$\tilde\pi_2 > 0$
$\tilde\pi_2 = 0$
Dual constraint $2$ is active
Nothing: Complementary Slackness concerns only the primal variables
Explanation. A non-active primal constraint has a positive slack, so its dual variable must be zero.
The dual (in minimization form) of a generic LP problem in maximization form is written. What corresponds to a primal equality constraint and to a free primal variable?
A free dual variable and a dual equality constraint
A non-negative dual variable and a greater-than-or-equal-to dual constraint
Two non-negative dual variables and two dual constraints
A non-positive dual variable and a less-than-or-equal-to dual constraint
The dual (in minimization form) of a generic LP problem in maximization form is written. Which sign does the dual variable $\pi_i$ of a primal greater-than-or-equal-to constraint have?
$\pi_i = 0$
$\pi_i \gtreqless 0$
$\pi_i \le 0$
$\pi_i \ge 0$
Explanation. In a maximization problem the natural constraints are less-than-or-equal-to ($\pi_i \ge 0$); a greater-than-or-equal-to constraint gives $\pi_i \le 0$.
Consider the primal problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ and its dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. A primal feasible solution of value $10$ and a dual feasible solution of value $14$ are known. What can be concluded about the optimal value $z(LP)$ of the primal?
$z(LP) \ge 14$
$10 \le z(LP) \le 14$
$z(LP) \le 10$
$z(LP) = 12$
Explanation. The primal solution gives a lower bound; by Weak Duality the dual one gives an upper bound.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. If the primal has $n$ variables and $m$ constraints, how many variables and constraints (besides ${\boldsymbol \pi} \ge {\boldsymbol 0}$) does the dual have?
$m$ variables and $m$ constraints
$n + m$ variables and $n$ constraints
$n$ variables and $m$ constraints
$m$ variables and $n$ constraints
Explanation. One dual variable per primal constraint, one dual constraint per primal variable.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. The primal is unbounded. What is known about the dual?
Nothing
It is unbounded
It is infeasible
It has an optimal solution
Explanation. A dual feasible solution would give a finite upper bound on the primal.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. Which combination of outcomes is impossible for the primal–dual pair?
Primal with an optimal solution and dual unbounded
Both infeasible
Both with optimal solutions
Primal unbounded and dual infeasible
Explanation. If the primal has an optimum, by strong duality so does the dual.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. What are the complementary slackness conditions for a pair $(\bar{\boldsymbol x}, \bar{\boldsymbol \pi})$?
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. At the optimum a primal constraint $i$ is not active (${\boldsymbol a}_i'\tilde{\boldsymbol x} < b_i$). What holds for every optimal dual solution?
In matrix notation, what is the dual of $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$?
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. In matrix notation, how is complementary slackness written for a pair $(\bar{\boldsymbol x}, \bar{\boldsymbol \pi})$?
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. With ${\boldsymbol A}$ of size $3 \times 5$, what size is the constraint matrix of the dual?
$3 \times 5$
$3 \times 3$
$5 \times 5$
$5 \times 3$
Explanation. The dual uses ${\boldsymbol A}'$: $5$ constraints in $3$ dual variables.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. What does the complementary slackness theorem state?
An optimal pair has all variables positive
Complementary slackness implies feasibility
Every feasible pair satisfies complementary slackness
Optimal iff complementary slackness holds
Explanation. Complementary slackness is equivalent to ${\boldsymbol c}'\bar{\boldsymbol x} = {\boldsymbol b}'\bar{\boldsymbol \pi}$ for feasible pairs.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. A proof of strong duality reads an optimal dual solution in the optimal simplex dictionary. What is needed?
That ${\boldsymbol c} \ge {\boldsymbol 0}$
That the primal has an optimal basis
That the dual is unbounded
That the optimal dictionary is nondegenerate
Explanation. The slack reduced costs with changed sign give $\tilde{\boldsymbol \pi}$, feasible because $\bar{\boldsymbol c} \le {\boldsymbol 0}$.
The dual of the LP problem in canonical maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is $D(LP)$: $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$. The dual is unbounded (value $-\infty$). What is concluded about the primal?
It is unbounded
It has optimal value $-\infty$
It is infeasible
It has an optimal solution
Explanation. Every primal feasible solution would give a finite lower bound on the dual.
For the problem $\max\ x_1 + x_2$, $x_1 + 2x_2 \le 4$, $x_1 \le 2$, ${\boldsymbol x} \ge {\boldsymbol 0}$, which constraints are active at the point $(2, 1)$?
Only $x_1 \le 2$
None
$x_1 + 2x_2 \le 4$ and $x_1 \le 2$
Only $x_1 + 2x_2 \le 4$
Explanation. $2 + 2 = 4$ and $x_1 = 2$: both at equality.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. When is the basis ${\boldsymbol A}_{\pazocal{B}}$ called dual feasible?
When ${\boldsymbol c} \le {\boldsymbol 0}$
When $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
When $\bar{\boldsymbol c} \le {\boldsymbol 0}$
When $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Explanation. Primal feasible: $\bar{\boldsymbol b} \ge {\boldsymbol 0}$; dual feasible: $\bar{\boldsymbol c} \le {\boldsymbol 0}$. Both together give an optimal basis.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. What does the dual simplex algorithm keep and towards what does it work?
It keeps $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and goes on until $\bar{\boldsymbol c} \le {\boldsymbol 0}$
It keeps a non-basic dual solution and solves a restricted primal problem
It keeps $\bar{\boldsymbol c} \le {\boldsymbol 0}$ and goes on until $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
It first solves the auxiliary problem and then the original problem
Explanation. It is the opposite of the simplex algorithm, which keeps $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and looks for $\bar{\boldsymbol c} \le {\boldsymbol 0}$; the non-basic solution belongs to the primal-dual method.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. In a dual pivoting operation with Bland's rule, what is chosen first?
The pivot column: the non-basic variable with the smallest index and $\bar c_p > 0$
The pivot row: the basic variable with the largest value
The pivot row: the basic variable with the smallest index and $\bar b_r < 0$
The pivot column: the non-basic variable with the most negative reduced cost
Explanation. In the dual simplex algorithm the order is reversed: first the row (a negative value to fix), then the column with the ratio test on the reduced costs.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. In the dual simplex algorithm, with $\bar{\boldsymbol c} \le {\boldsymbol 0}$, the pivot row $x_r$ with $\bar b_r < 0$ has been chosen. How is the pivot column determined?
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. How does the value $\bar z$ change during the pivoting operations of the dual simplex algorithm, which keeps $\bar{\boldsymbol c} \le {\boldsymbol 0}$?
It stays constant until the basis becomes primal feasible
It never decreases, and it is always a lower bound on the optimal value
It never increases, and it is always an upper bound on the optimal value
It may increase or decrease, depending on the sign of $\bar a_{rp}$
Explanation. With $s_m \ge 0$ and $\bar b_r < 0$ the new value is smaller or equal; a dual feasible basis gives an upper bound.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Given a dual feasible basis ($\bar{\boldsymbol c} \le {\boldsymbol 0}$), which statement on the certificate of infeasibility is correct?
If there exists $r \in \pazocal{B}$ with $\bar b_r < 0$ and $\bar a_{rj} \le 0$ for every $j \in \pazocal{N}$, the LP problem is infeasible
If there exists $r \in \pazocal{B}$ with $\bar b_r < 0$, the LP problem is infeasible
If there exists $r \in \pazocal{B}$ with $\bar b_r < 0$ and $\bar a_{rj} \ge 0$ for every $j \in \pazocal{N}$, the LP problem is infeasible
If there exists $p \in \pazocal{N}$ with $\bar c_p > 0$ and $\bar a_{ip} \le 0$ for every $i \in \pazocal{B}$, the LP problem is infeasible
Explanation. From the row $x_r = \bar b_r - \sum_j \bar a_{rj} x_j$ with $\bar a_{rj} \ge 0$ we get $x_r \le \bar b_r < 0$ for every solution. The last condition certifies unboundedness instead.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. Let $r \in \pazocal{B}$ with $\bar b_r < 0$ and $\bar a_{rj} \ge 0$ for every $j \in \pazocal{N}$. Which facts does the proof, on the primal, that the LP problem is infeasible use?
Strong Duality, applied to the dual solution associated with the basis
The row $x_r = \bar b_r - \sum_{j \in \pazocal{N}} \bar a_{rj}x_j$, with $\bar a_{rj} \ge 0$ and ${\boldsymbol x} \ge {\boldsymbol 0}$, gives $x_r \le \bar b_r < 0$
Only dual feasibility $\bar{\boldsymbol c} \le {\boldsymbol 0}$, which makes the dual feasible
Bland's rule and the finite number of bases, which stop the algorithm
Explanation. The second proof uses instead the unbounded dual and Weak Duality.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. The dual is $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c}\}$. With ${\boldsymbol c}_{\pazocal{B}}$ the costs of the basic variables, when is ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ a dual feasible solution?
Always
If and only if the basis is dual feasible, i.e., $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Only if ${\boldsymbol c}_{\pazocal{B}} = {\boldsymbol 0}$
If and only if the basis is primal feasible, i.e., $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
Explanation. $\bar c_j \le 0$ is equivalent to ${\boldsymbol \pi}{\boldsymbol A}_j \ge c_j$: the reduced costs are the dual slacks.
The LP problem $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is brought to standard form with the slack variables. In which case does the basis of the slack variables immediately have all reduced costs non-positive, i.e., is it dual feasible?
When ${\boldsymbol b} \ge {\boldsymbol 0}$
When ${\boldsymbol A} \ge {\boldsymbol 0}$
When ${\boldsymbol c} \ge {\boldsymbol 0}$
When ${\boldsymbol c} \le {\boldsymbol 0}$
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$ and ${\boldsymbol c}_{\pazocal{B}} = {\boldsymbol 0}$ we have $\bar{\boldsymbol c} = {\boldsymbol c}$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. A basis is primal feasible if $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and dual feasible if $\bar{\boldsymbol c} \le {\boldsymbol 0}$. Which statement is correct?
Every basis associated with an optimal basic feasible solution is also dual feasible
A primal and dual feasible basis is optimal and, if an optimum exists, there is a basis with both properties
A dual feasible basis always gives a basic feasible solution, even with some $\bar b_r < 0$
If the problem has an optimal solution, every dual feasible basis is also primal feasible
Explanation. A degenerate optimal solution may also be associated with a basis with some $\bar c_j > 0$; only the existence of an optimal basis is guaranteed.
The dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$ of an LP problem in canonical maximization form with $n$ variables and $m$ constraints is brought to standard maximization form by adding $n$ surplus variables, numbered before the dual variables ($\pi_1, \dots, \pi_n$ surplus, $\pi_{n+1}, \dots, \pi_{n+m}$ dual). What is this numbering for?
The right-hand sides of the dual then become all non-negative
$\pi_j$ ($j \le n$) corresponds to the primal variable $x_j$ and $\pi_{n+i}$ to the slack variable $x_{n+i}$
The constraint matrix of the dual then contains the identity in its last $m$ columns
The surplus variables then have a positive cost in the objective function
Explanation. With the indices shifted by $n$, every primal variable and the associated dual variable have the same index: this is the correspondence used by the dual simplex algorithm and by Complementary Slackness.
The dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$ of an LP problem in canonical maximization form with $n$ variables and $m$ constraints is brought to standard maximization form by adding $n$ surplus variables, numbered before the dual variables ($\pi_1, \dots, \pi_n$ surplus, $\pi_{n+1}, \dots, \pi_{n+m}$ dual). How many variables and how many equality constraints does the dual have in this standard form?
$2(n + m)$ variables and $n + m$ constraints
$n + m$ variables and $n$ constraints
$n + m$ variables and $m$ constraints
$m$ variables and $n$ constraints
Explanation. The dual has $m$ variables and one greater-than-or-equal-to constraint for every primal variable, i.e., $n$ constraints; with one surplus variable per constraint there are $n + m$ variables and $n$ equalities.
For an LP problem in standard maximization form an optimal basis ${\boldsymbol A}_{\pazocal{B}}$ is known (with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$ and reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$). The right-hand side ${\boldsymbol b}$ changes into $\hat{\boldsymbol b}$. Why can one re-optimize with the dual simplex algorithm starting from this basis?
The reduced costs change, but they remain non-positive if $\hat{\boldsymbol b} \ge {\boldsymbol 0}$
The dual simplex algorithm does not need a dual feasible initial basis
The basis remains primal feasible, since the matrix ${\boldsymbol A}_{\pazocal{B}}$ does not change
The reduced costs do not depend on ${\boldsymbol b}$: the basis remains dual feasible, even if ${\boldsymbol A}_{\pazocal{B}}^{-1}\hat{\boldsymbol b}$ has negative entries
Explanation. $\bar{\boldsymbol c}' = {\boldsymbol c}'_{\pazocal{N}} - {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ does not contain ${\boldsymbol b}$: the basis is still dual feasible, and the dual simplex algorithm restores primal feasibility, often with few pivots.
In the dual simplex algorithm for an LP problem in standard maximization form one starts from a dual feasible basis (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and keeps it so. When does the algorithm stop with an optimal solution?
When $\bar{\boldsymbol c} \le {\boldsymbol 0}$: the basis is dual feasible
When the value $\bar z$ stops decreasing between two iterations
When no row has a coefficient $\bar a_{rj} < 0$
When $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$: the basis is also primal feasible
Explanation. $\bar{\boldsymbol c} \le {\boldsymbol 0}$ holds from the start; the optimum is reached when $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ as well. A row with $\bar b_r < 0$ and $\bar a_{rj} \ge 0$ for every $j$ certifies infeasibility instead.
In the dual simplex algorithm for an LP problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j} \bar a_{ij} x_j$, $z = \bar z + \sum_j \bar c_j x_j$, a dual pivot is performed with row $x_r$ ($\bar b_r < 0$) and column $x_p$, with $s_m = \bar c_p / \bar a_{rp} \ge 0$. How is $\bar z$ updated?
$\bar z \leftarrow \bar z + s_m\,\bar b_r$
$\bar z \leftarrow \bar z - s_m\,\bar b_r$
$\bar z \leftarrow \bar z + s_m\,\bar a_{rp}$
$\bar z \leftarrow \bar z + \bar c_p\,\bar b_r$
Explanation. After the pivot $x_p = \bar b_r / \bar a_{rp}$ and $\bar z$ changes by $\bar c_p \bar b_r / \bar a_{rp} = s_m \bar b_r \le 0$: in the dual simplex algorithm the value never increases.
For an LP problem in canonical maximization form with ${\boldsymbol c} \le {\boldsymbol 0}$ two executions are compared: the dual simplex algorithm on the primal problem and the simplex algorithm on the dual problem, written in standard maximization form with the dual variables numbered in correspondence with the primal variables. How are the two related?
They visit different bases, but they end with the same optimal value
They coincide only if all the basic solutions visited are non-degenerate
The simplex algorithm on the dual needs Phase $0$, so the two sequences differ
They describe the same sequence of bases: a primal variable is basic if and only if the corresponding dual variable is non-basic
Explanation. The dual simplex algorithm applied to the primal problem is exactly the simplex algorithm applied to the dual: at every iteration the two partitions are complementary according to the index correspondence.
The simplex algorithm on the dual (in standard maximization form, with $\pi_j$ associated with the primal variable $x_j$ for every index $j$) is run in parallel with the dual simplex algorithm on the primal. In an iteration the dual variable $\pi_3$ enters the basis. What happens to the primal variable $x_3$?
It enters the primal basis
It stays basic, with an unchanged value
It leaves the primal basis
It becomes the pivot row of the next iteration
Explanation. The two partitions are complementary: $\pi_j$ is basic if and only if $x_j$ is non-basic. When $\pi_3$ enters the dual basis, $x_3$ leaves the primal basis.
The dual of a problem in canonical maximization form with $n$ variables and $m$ constraints is written in standard maximization form. How many variables does it have?
$2m$
$n$
$m$
$n + m$
Explanation. A surplus variable is added to each of the $n$ dual $\ge$ constraints.
In the standard maximization form of the dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$, which objective is maximized?
For a basis with associated dual vector ${\boldsymbol \pi} = {\boldsymbol c}_{\pazocal{B}}'{\boldsymbol A}_{\pazocal{B}}^{-1}$, why is the basis called dual feasible when $\bar{\boldsymbol c} \le {\boldsymbol 0}$?
Because then ${\boldsymbol \pi}$ is integer
Because then ${\boldsymbol \pi} = {\boldsymbol 0}$
Because then $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
Because then ${\boldsymbol \pi}{\boldsymbol A}_j \ge c_j$.
Explanation. $\bar c_j = c_j - {\boldsymbol \pi}{\boldsymbol A}_j \le 0$ is the dual constraint of column $j$.
In the technique replacing ${\boldsymbol c}$ by $\hat{\boldsymbol c} \le {\boldsymbol 0}$ to find a primal feasible basis with the dual simplex, what is done at the end?
Go back to the slack basis
Restore ${\boldsymbol c}$ and run the simplex
Declare the basis found optimal
Run Phase $0$
Explanation. The basis found is primal feasible but, with the true costs, in general not optimal.
In the technique with $\hat{\boldsymbol c} \le {\boldsymbol 0}$, which choice of $\hat c_j$ is proposed in the notes besides $\hat{\boldsymbol c} = {\boldsymbol 0}$?
$\hat c_j = \max\{c_j, 0\}$
$\hat c_j = -|c_j| - 1$
$\hat c_j = c_j^2$
$\hat c_j = \min\{c_j, 0\}$
Explanation. It keeps the costs already nonpositive and sets the positive ones to zero.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), what does a dual pivot operation do?
It changes the sign of the reduced costs
It removes the basic variable with the largest value
It brings in the variable with the largest $\bar c_j$
A negative variable leaves, $\bar{\boldsymbol c}$ stays $\le {\boldsymbol 0}$
Explanation. $x_r$ with $\bar b_r < 0$ leaves; the column is chosen by the dual ratio test.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), which statement about a dual pivot with row $x_r$ ($\bar b_r < 0$) and column $x_p$ is correct?
It makes the basis primal feasible at once
It keeps dual feasibility and does not increase $\bar z$
It strictly increases $\bar z$
It makes all $\bar b_i$ positive
Explanation. The value $\bar z$ (an upper bound) decreases or stays the same in degenerate pivots.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), why does the dual ratio test (minimum of $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$) keep dual feasibility?
Because columns with $\bar a_{rj} > 0$ are discarded
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), with $\bar b = (2, -3, -1)$ for the basic variables $x_3, x_4, x_5$, which row does the smallest-index rule choose?
None: the basis is optimal
$x_3$
$x_4$
$x_5$
Explanation. Candidates are rows with $\bar b_i < 0$: $x_4$ and $x_5$; smallest index $x_4$.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), when does it stop with an optimal basis?
When $\bar z \le 0$
When a row has all $\bar a_{rj} \ge 0$
When $\bar c_j < 0$ for every $j$
When $\bar b_i \ge 0$ for every $i \in \pazocal{B}$
Explanation. The basis is already dual feasible: with $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ it is optimal.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), the pivot row has $\bar a_{r1} = -2$, $\bar a_{r2} = 1$, $\bar a_{r3} = -1$ and the reduced costs are $\bar c_1 = -4$, $\bar c_2 = -1$, $\bar c_3 = -3$. Which column enters?
$x_1$, with ratio $2$
$x_1$ and $x_3$ together
$x_3$, with ratio $3$
$x_2$, with ratio $-1$
Explanation. Only $\bar a_{rj} < 0$ count: ratios $\frac{-4}{-2} = 2$ and $\frac{-3}{-1} = 3$; minimum $2$.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), what does Bland's rule prescribe for the dual simplex?
Row: most negative $\bar b_i$; column: largest $\bar c_j$
Row: largest index; column: largest index
Row and column at random
Row and column of smallest index among candidates
Explanation. Smallest-index choices prevent cycling in degenerate dual pivots.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), when is a dual pivot degenerate?
When the minimum step is $s_m = 0$
When the pivot row has all $\bar a_{rj} \ge 0$
When the basis is optimal
When $\bar b_r = 0$
Explanation. With $s_m = 0$ the value $\bar z$ does not change; without an anti-cycling rule cycling may occur.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), in the dual ratio test two columns $x_2$ and $x_6$ attain the same minimum. Which enters with Bland's rule?
None: the problem is infeasible
The one with the most negative $\bar a_{rj}$
$x_2$
$x_6$
Explanation. Ties are broken by the smallest index.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), the row $x_r = -2 - x_1 - 3x_4$ has $\bar b_r = -2$ and $\bar a_{r1} = 1$, $\bar a_{r4} = 3$. What is concluded?
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), to conclude that the problem is infeasible from a row with $\bar b_r < 0$, what must hold?
$\bar a_{rj} \le 0$ for every $j$
$\bar a_{rj} \ge 0$ for every $j \in \pazocal{N}$
$\bar c_j < 0$ for every $j$
$\bar z < 0$
Explanation. Then $x_r = \bar b_r - \sum_j \bar a_{rj} x_j < 0$ for every ${\boldsymbol x}_{\pazocal{N}} \ge {\boldsymbol 0}$.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), after the dual pivot with row $x_r$ and column $x_p$, how is the dictionary updated?
Recompute everything from the slack basis
Zero the rows with $\bar b_i \ge 0$
Change the sign of the pivot row
As in the primal simplex
Explanation. The algebraic operation is the same as the primal pivot; only the choice of row and column changes.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), with pivot row $x_3 = -4 + 2x_1 - x_2$ and column $x_1$, what is $x_1$ in the new basic solution?
$-2$
$4$
$2$
$-4$
Explanation. $x_1 = 2 + \frac12 x_2 + \frac12 x_3$; with $x_2 = x_3 = 0$ it equals $2$.
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), with pivot row $x_3 = -4 + 2x_1 - x_2$, column $x_1$ and objective row $z = -3x_1 - x_2$, what is the new $\bar z$?
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_{j \in \pazocal{N}} \bar a_{ij} x_j$, $z = \bar z + \sum_{j \in \pazocal{N}} \bar c_j x_j$ and a dual feasible basis ($\bar c_j \le 0$), how does the value $\bar z$ move along the iterations?
It stays constant
It does not decrease, as in the primal simplex
It does not increase: it falls to the optimum
It oscillates
Explanation. Every $\bar z$ of a dual feasible basis is an upper bound on the optimal value.
For a problem in canonical maximization form with ${\boldsymbol c} \le {\boldsymbol 0}$, what is the relation between the dual simplex on the primal and the simplex on the dual?
The first finds a different optimum
They describe the same sequence of bases
The second always needs more iterations
There is no relation
Explanation. The dual simplex applied to the primal is the simplex applied to the dual.
For a basis of a problem in standard maximization form, $\bar z = {\boldsymbol \pi}{\boldsymbol b}$ with ${\boldsymbol \pi} = {\boldsymbol c}_{\pazocal{B}}'{\boldsymbol A}_{\pazocal{B}}^{-1}$. To conclude that $\bar z$ is an upper bound on the optimal value, what is needed?
That the basis is dual feasible ($\bar{\boldsymbol c} \le {\boldsymbol 0}$)
That the basis is nondegenerate
That ${\boldsymbol b} \ge {\boldsymbol 0}$
That the basis is primal feasible
Explanation. Then ${\boldsymbol \pi}$ is dual feasible and weak duality applies.
Part: Matrix methods, sensitivity and geometry (127)
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, the vector ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ (${\boldsymbol c}_{\pazocal{B}}$: costs of the basic variables) is obtained without computing ${\boldsymbol A}_{\pazocal{B}}^{-1}$. Which system is solved?
Explanation. From ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ we get ${\boldsymbol \pi}\,{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}'_{\pazocal{B}}$: the row vector ${\boldsymbol \pi}$ is on the left of ${\boldsymbol A}_{\pazocal{B}}$. The system ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol \pi}' = {\boldsymbol c}_{\pazocal{B}}$ uses the non-transposed matrix.
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, let $x_p$ be the pivot column and $\bar{\boldsymbol A} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ the dictionary matrix. What is the vector ${\boldsymbol d}$, solution of ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_p$, used for?
It gives the reduced costs of the non-basic variables: it is used to choose the column
It gives the value $\bar z$ of the new solution: it is used in the stopping criterion
It is the column of $x_p$ in $\bar{\boldsymbol A}$: it is used in the ratio test
It is the row of $\bar{\boldsymbol A}$ of the pivot row: it is used in the ratio test
Explanation. ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$ and ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - {\boldsymbol d}\,x_p$; the reduced costs and $\bar z$ come from ${\boldsymbol \pi}$.
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, the pivot column $x_p$ has reduced cost $\bar c_p > 0$ and ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$ is computed. What is concluded if ${\boldsymbol d} \le {\boldsymbol 0}$?
The pivoting operation is degenerate
The LP problem is unbounded
The current basic solution is optimal
The LP problem is infeasible
Explanation. ${\boldsymbol d}$ is the column $\bar{\boldsymbol A}_p$: with $\bar c_p > 0$ and $\bar{\boldsymbol A}_p \le {\boldsymbol 0}$ we have the certificate of unboundedness.
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, the values of the basic variables are $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and, for the pivot column $x_p$, ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$. How is the step $t_m$ computed?
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, what does the $i$-th entry of the row vector ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ correspond to?
To the $i$-th constraint of the problem
To the $i$-th basic variable
To the $i$-th column of ${\boldsymbol A}_{\pazocal{N}}$
To the $i$-th non-basic variable
Explanation. Even if in the examples the components are labelled with the indices of $\pazocal{B}$, each one is associated with a constraint: it is a dual variable.
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, what is updated at every iteration, instead of the whole dictionary?
The whole matrix $\bar{\boldsymbol A}$ and the vector $\bar{\boldsymbol b}$
The partition $\pazocal{B}$, $\pazocal{N}$ and the vector $\bar{\boldsymbol b}$
Only the reduced cost vector $\bar{\boldsymbol c}$
The inverse ${\boldsymbol A}_{\pazocal{B}}^{-1}$, computed explicitly
Explanation. The revised simplex algorithm computes neither the inverse nor the whole dictionary: it solves the two systems and updates $\bar{\boldsymbol b}$ with $t_m$ and ${\boldsymbol d}$.
In the revised simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with current basis ${\boldsymbol A}_{\pazocal{B}}$ (columns with index in $\pazocal{B}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, we have ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 2 & 0 \\ 0 & 4 \end{pmatrix}$, ${\boldsymbol c}'_{\pazocal{B}} = (6, 8)$ and ${\boldsymbol b} = (4, 8)'$. What are ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ and the value $\bar z = {\boldsymbol \pi}\,{\boldsymbol b}$ of the basic solution?
${\boldsymbol \pi} = (3, 2)$, $\bar z = 28$
${\boldsymbol \pi} = (12, 32)$, $\bar z = 304$
${\boldsymbol \pi} = (\frac{1}{3}, \frac{1}{2})$, $\bar z = \frac{16}{3}$
In the revised simplex algorithm for $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ obtained from a canonical form with ${\boldsymbol b} \ge {\boldsymbol 0}$, the initial basis is that of the slack variables (${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$, basic costs ${\boldsymbol c}_{\pazocal{B}} = {\boldsymbol 0}$). What are ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ and the reduced costs $\bar c_j$?
${\boldsymbol \pi} = {\boldsymbol b}'$ and $\bar c_j = c_j - b_j$ for every $j \in \pazocal{N}$
${\boldsymbol \pi} = {\boldsymbol 0}$ and $\bar c_j = c_j$ for every $j \in \pazocal{N}$
${\boldsymbol \pi} = {\boldsymbol 0}$ and $\bar c_j = -c_j$ for every $j \in \pazocal{N}$
${\boldsymbol \pi} = {\boldsymbol 1}'$ and $\bar c_j = c_j - 1$ for every $j \in \pazocal{N}$
Explanation. With ${\boldsymbol c}_{\pazocal{B}} = {\boldsymbol 0}$ the first system gives ${\boldsymbol \pi} = {\boldsymbol 0}$, hence $\bar c_j = c_j - {\boldsymbol \pi}{\boldsymbol A}_j = c_j$: the initial reduced costs are the original costs.
In the revised simplex algorithm for an LP problem in standard maximization form, the pivot column is $x_p$, ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$ and the ratio test gives the step $t_m$. How are the values $\bar b_i$ of the basic variables updated?
$x_p$ enters with value $t_m$ and $\bar b_i \leftarrow \bar b_i / d_i$ for the others
$x_p$ enters with value $t_m$ and $\bar b_i \leftarrow \bar b_i - t_m\,d_i$ for the others
$\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ is recomputed with the explicit inverse
$x_p$ enters with value $t_m$ and $\bar b_i \leftarrow \bar b_i + t_m\,d_i$ for the others
Explanation. With $x_p = t$ the basic variables are $\bar{\boldsymbol b} - t\,{\boldsymbol d}$; for $t = t_m$ the variable of the pivot row becomes zero and leaves the basis.
In the revised simplex algorithm for an LP problem in standard maximization form, ${\boldsymbol \pi}$ solves ${\boldsymbol \pi}\,{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}'_{\pazocal{B}}$ and ${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$. How is the reduced cost of the non-basic variable $x_j$ computed?
Explanation. $\bar c_j = c_j - {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_j = c_j - {\boldsymbol \pi}\,{\boldsymbol A}_j$: one scalar product per non-basic column is enough. ${\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_j$ is a vector, not a scalar.
In the revised simplex algorithm for an LP problem in standard maximization form, the current basis is ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 1 & 1 \\ 0 & 2 \end{pmatrix}$ and the pivot column has ${\boldsymbol A}_p = (3, 4)'$. What is the vector ${\boldsymbol d}$ solving ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_p$?
${\boldsymbol d} = (1, 2)'$
${\boldsymbol d} = (3, \frac{1}{2})'$
${\boldsymbol d} = (3, 4)'$
${\boldsymbol d} = (7, 8)'$
Explanation. From the second equation $2d_2 = 4$, hence $d_2 = 2$; from the first $d_1 + d_2 = 3$, hence $d_1 = 1$. $(3, \frac{1}{2})$ solves the transposed system, $(7, 8)$ is ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol A}_p$.
The simplex algorithm with the whole dictionary updates at every iteration the whole matrix $\bar{\boldsymbol A} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$. How many columns of $\bar{\boldsymbol A}$ does the revised simplex algorithm compute at every iteration instead?
One for every non-basic variable with a positive reduced cost
All of them, like the simplex algorithm with the dictionary
Only one: the pivot column ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_p$
None: ${\boldsymbol \pi}$ and the reduced costs are enough
Explanation. The reduced costs come from ${\boldsymbol \pi}$ ($\bar c_j = c_j - {\boldsymbol \pi}{\boldsymbol A}_j$); the ratio test needs only the column of the entering variable, ${\boldsymbol d}$.
In the revised simplex, the pivot column ${\boldsymbol d}$ is obtained by solving ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_p$. What guarantees a unique solution?
That ${\boldsymbol b} \ge {\boldsymbol 0}$
That ${\boldsymbol A}_p \ge {\boldsymbol 0}$
That ${\boldsymbol A}_{\pazocal{B}}$ is invertible
That $\bar c_p > 0$
Explanation. A basis is by definition a square invertible submatrix.
In the revised dual simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with a dual feasible basis ${\boldsymbol A}_{\pazocal{B}}$ (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, which system gives the values $\bar{\boldsymbol b}$ of the basic variables, used to choose the pivot row?
Explanation. The first system of the revised dual simplex algorithm gives $\bar{\boldsymbol b}$; the second one, ${\boldsymbol u}{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_r$, gives the pivot row.
In the revised dual simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with a dual feasible basis ${\boldsymbol A}_{\pazocal{B}}$ (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, the pivot row $x_r$ has been chosen; ${\boldsymbol e}_r$ is the unit vector of the position of $x_r$ in $\pazocal{B}$. How are the coefficients $\bar a_{rj}$ ($j \in \pazocal{N}$) of the row of $x_r$ in the dictionary obtained?
We compute the whole $\bar{\boldsymbol A} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and read its row
We solve ${\boldsymbol A}_{\pazocal{B}}\,{\boldsymbol d} = {\boldsymbol A}_r$ and set $\bar a_{rj} = d_j$
We solve ${\boldsymbol u}\,{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_r$ and set $\bar a_{rj} = {\boldsymbol u}\,{\boldsymbol A}_j$
We set $\bar a_{rj} = a_{rj}$, i.e., we use row $r$ of ${\boldsymbol A}$
Explanation. ${\boldsymbol u} = {\boldsymbol e}'_r{\boldsymbol A}_{\pazocal{B}}^{-1}$ selects the row of $\bar{\boldsymbol A}$ associated with $x_r$ without computing the whole matrix.
In the revised dual simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with a dual feasible basis ${\boldsymbol A}_{\pazocal{B}}$ (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, what does the algorithm update at every iteration, instead of recomputing it with a linear system?
The reduced costs $\bar{\boldsymbol c}$
The vector ${\boldsymbol u}$
The matrix ${\boldsymbol A}_{\pazocal{B}}^{-1}$
The values of the basic variables $\bar{\boldsymbol b}$
Explanation. The two revised algorithms are symmetric: the revised simplex algorithm updates $\bar{\boldsymbol b}$, the revised dual one updates $\bar{\boldsymbol c}$.
In the simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dictionary of the basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$) is ${\boldsymbol x}_{\pazocal{B}} = \bar{\boldsymbol b} - \bar{\boldsymbol A}\,{\boldsymbol x}_{\pazocal{N}}$, $z = \bar z + \bar{\boldsymbol c}'{\boldsymbol x}_{\pazocal{N}}$, with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$, $\bar{\boldsymbol A} = (\bar a_{ij}) = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$ and reduced costs $\bar{\boldsymbol c}$. In the dual simplex algorithm a pivoting operation is performed with row $x_r$ (it leaves the basis) and column $x_p$ (it enters). What is the reduced cost of $x_r$ in the new dictionary?
$\bar c_r = \bar c_p - \bar a_{rp}$
$\bar c_r = -\bar c_p / \bar a_{rp}$
$\bar c_r = 0$
$\bar c_r = \bar c_p / \bar a_{rp}$
Explanation. It is the coefficient $-s$ of $x_r$ with $s = s_m = \bar c_p / \bar a_{rp} \ge 0$: the new reduced cost is non-positive, as required.
The pseudo-code of the revised dual simplex algorithm starts from the basis of the slack variables, without an initial phase. Which assumption does it make on the input problem?
Canonical maximization form with ${\boldsymbol c} \le {\boldsymbol 0}$: the basis of the slack variables is dual feasible
Any dual feasible solution, even a non-basic one, is given
Canonical maximization form with ${\boldsymbol b} \ge {\boldsymbol 0}$: the basis of the slack variables is primal feasible
Standard minimization form with ${\boldsymbol b} \ge {\boldsymbol 0}$: it starts from the dual solution ${\boldsymbol \pi} = {\boldsymbol 0}$
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$ and $\bar c_j = c_j \le 0$ the initial basis is dual feasible; a non-basic dual solution is the input of the primal-dual method.
In the revised dual simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with a dual feasible basis ${\boldsymbol A}_{\pazocal{B}}$ (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, when is it concluded that the problem is infeasible?
When $\bar c_j = 0$ for some non-basic variable $x_j$
When the pivot row $x_r$ has $\bar a_{rj} \le 0$ for every $j \in \pazocal{N}$
When $\bar b_r < 0$ for some $r \in \pazocal{B}$, i.e., at every iteration
When the pivot row $x_r$ has $\bar a_{rj} \ge 0$ for every $j \in \pazocal{N}$
Explanation. The ratio test on the columns with $\bar a_{rj} < 0$ has no candidate: this is the certificate of infeasibility.
In the revised dual simplex algorithm for an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with a dual feasible basis ${\boldsymbol A}_{\pazocal{B}}$ (reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$) and ${\boldsymbol A}_j$ column $j$ of ${\boldsymbol A}$, the pivot row $x_r$ ($\bar b_r < 0$) has $\bar a_{r1} = -1$, $\bar a_{r2} = -3$, with $\pazocal{N} = \{1, 2\}$, $\bar c_1 = -2$, $\bar c_2 = -3$. The pivot column minimizes $\bar c_j / \bar a_{rj}$ over the $j$ with $\bar a_{rj} < 0$. Which column enters and which reduced costs are obtained?
$x_1$ enters; $\bar c_2 = 3$, $\bar c_r = -2$
$x_2$ enters; $\bar c_1 = -3$, $\bar c_r = -1$
$x_2$ enters; $\bar c_1 = -1$, $\bar c_r = -1$
$x_2$ enters; $\bar c_1 = -1$, $\bar c_r = 1$
Explanation. Ratios $\frac{-2}{-1} = 2$ and $\frac{-3}{-3} = 1$: $x_2$ enters with $s_m = 1$. Then $\bar c_1 = -2 - 1 \cdot (-1) = -1$ and $\bar c_r = -s_m = -1$.
In the revised dual simplex algorithm, after a dual pivoting operation with pivot row $x_r$ and pivot column $x_p$ (coefficients $\bar a_{rj}$ of the row of $x_r$ and reduced costs $\bar c_j \le 0$), how are the reduced costs of the other non-basic variables $x_j$, $j \ne p$, updated?
Explanation. It is the update of the objective function row in a pivoting operation: the pivot row multiplied by $\bar c_p / \bar a_{rp}$, the minimum of the ratio test already computed, is subtracted.
In the revised dual simplex algorithm the reduced costs are updated with $\bar c_j \leftarrow \bar c_j - \frac{\bar c_p}{\bar a_{rp}}\,\bar a_{rj}$, where $x_r$ is the pivot row and $x_p$ the pivot column. Why do the new reduced costs remain non-positive?
Because $\bar b_r < 0$ and hence the value $\bar z$ does not increase
Because $\frac{\bar c_p}{\bar a_{rp}} \le \frac{\bar c_j}{\bar a_{rj}}$ for every $j$ with $\bar a_{rj} < 0$
Because $\bar a_{rp} > 0$ and $\bar c_p < 0$ by the choice of the column
Because ${\boldsymbol A}_{\pazocal{B}}$ remains invertible after the pivoting operation
Explanation. The pivot column attains the minimum of the ratio test over the columns with $\bar a_{rj} < 0$: for these the inequality gives the right sign, and for $\bar a_{rj} \ge 0$ a non-negative quantity is subtracted from $\bar c_j \le 0$ (with $\frac{\bar c_p}{\bar a_{rp}} \ge 0$).
The revised simplex algorithm and the revised dual simplex algorithm solve at every iteration two systems with the matrix ${\boldsymbol A}_{\pazocal{B}}$ and update a third vector instead of recomputing it. Which one?
${\boldsymbol d}$ in the revised simplex, ${\boldsymbol u}$ in the revised dual simplex
$\bar{\boldsymbol b}$ in the revised simplex, $\bar{\boldsymbol c}$ in the revised dual simplex
${\boldsymbol \pi}$ in both algorithms
$\bar{\boldsymbol c}$ in the revised simplex, $\bar{\boldsymbol b}$ in the revised dual simplex
Explanation. The revised simplex algorithm obtains $\bar{\boldsymbol c}$ from ${\boldsymbol \pi}$ and updates $\bar{\boldsymbol b}$ with $t_m$ and ${\boldsymbol d}$; the revised dual simplex obtains $\bar{\boldsymbol b}$ from the first system and updates $\bar{\boldsymbol c}$ with the row $\bar a_{rj}$.
The problem $\max\{-2x_1 - 4x_2 : -x_1 - x_2 + x_3 = -2,~ x_1 - x_2 + x_4 = 0,~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is solved by the revised dual simplex algorithm. At the second iteration $\pazocal{B} = \{1, 4\}$, $\pazocal{N} = \{2, 3\}$, with reduced costs $\bar c_2 = -2$, $\bar c_3 = -2$. Pivot row: the basic variable with the smallest index and $\bar b_r < 0$ ($\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$); pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, with $\bar a_{rj} = {\boldsymbol u}{\boldsymbol A}_j$ and ${\boldsymbol u}{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_r$. What are the pivot row and column?
Pivot row $x_1$, pivot column $x_2$
None: the basis is already optimal
Pivot row $x_4$, pivot column $x_3$
Pivot row $x_4$, pivot column $x_2$
Explanation. ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} -1 & 0 \\ 1 & 1 \end{pmatrix}$ gives $\bar b_1 = 2$, $\bar b_4 = -2$: pivot row $x_4$. With ${\boldsymbol u} = (1, 1)$ we get $\bar a_{42} = -2$ and $\bar a_{43} = 1$: the only candidate is $x_2$. After the pivot the optimum $(1, 1)$ with $z = -6$ is reached.
In the pseudocode of the revised dual simplex, at the start (slack basis) what are the reduced costs?
$\bar c_j = 0$
$\bar c_j = b_j$
$\bar c_j = c_j$
$\bar c_j = -c_j$
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = {\boldsymbol I}$ and ${\boldsymbol c}_{\pazocal{B}} = {\boldsymbol 0}$ we get ${\boldsymbol \pi} = {\boldsymbol 0}$.
The problem $\max\ -x_1 - 3x_2$, $-x_1 - 2x_2 \le -6$, ${\boldsymbol x} \ge {\boldsymbol 0}$ is solved by the revised dual simplex starting from the basis of the slack $x_3$. Which variable leaves at the first pivot?
$x_3$, because it equals $-6$
$x_1$
$x_2$
None: the basis is optimal
Explanation. The only negative basic variable is the slack $x_3 = -6$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), let ${\boldsymbol \pi}$ be a dual feasible solution. What is the admissible set $\pazocal{J}({\boldsymbol \pi})$?
The set of the basic indices of an optimal basis
The set of the indices $i$ with $\pi_i > 0$
The set of the indices $j$ with ${\boldsymbol A}_j'{\boldsymbol \pi} = c_j$
The set of the indices $j$ with ${\boldsymbol A}_j'{\boldsymbol \pi} < c_j$
Explanation. By Complementary Slackness only the variables $x_j$ with $j \in \pazocal{J}({\boldsymbol \pi})$ may be positive.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), $\pazocal{J} = \pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ is the admissible set of a dual feasible solution ${\boldsymbol \pi}$. What is the restricted primal problem $RP(\pazocal{J})$, with artificial variables ${\boldsymbol a} \ge {\boldsymbol 0}$?
$\min {\boldsymbol c}'{\boldsymbol x}$ subject to ${\boldsymbol A}{\boldsymbol x} = {\boldsymbol b}$, $x_j = 0$ for $j \in \pazocal{J}$
$\min \sum_i a_i$ subject to ${\boldsymbol A}{\boldsymbol x} + {\boldsymbol a} = {\boldsymbol b}$ with all the variables $x_j$
$\max {\boldsymbol b}'{\boldsymbol y}$ subject to ${\boldsymbol A}_j'{\boldsymbol y} \le 0$ for $j \in \pazocal{J}$, $y_i \le 1$
Explanation. Primal solutions using only the admissible variables are sought, with $m$ artificial variables as in Phase $0$; the third option is its dual.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), $\pazocal{J} = \pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ is the admissible set of a dual feasible solution ${\boldsymbol \pi}$, and $\xi(\pazocal{J})$ is the optimal value of the restricted primal problem $\min\{\sum_i a_i : \sum_{j \in \pazocal{J}} {\boldsymbol A}_j x_j + {\boldsymbol a} = {\boldsymbol b},~ x_j \ge 0,~ {\boldsymbol a} \ge {\boldsymbol 0}\}$. What is concluded if $\xi(\pazocal{J}) = 0$?
The primal problem is infeasible, since the artificial variables are zero
The solution of the restricted primal, with $x_j = 0$ for $j \notin \pazocal{J}$, and ${\boldsymbol \pi}$ are optimal
The dual solution ${\boldsymbol \pi}$ must be improved with a dual step $\theta > 0$
The dual problem is unbounded, hence the primal is infeasible
Explanation. With $\xi = 0$ the artificial variables are zero: we have a primal feasible solution satisfying Complementary Slackness together with ${\boldsymbol \pi}$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), $\pazocal{J} = \pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ is the admissible set of a dual feasible solution ${\boldsymbol \pi}$. The restricted primal problem is $RP(\pazocal{J}) = \min\{\sum_i a_i : \sum_{j \in \pazocal{J}} {\boldsymbol A}_j x_j + {\boldsymbol a} = {\boldsymbol b},~ x_j \ge 0,~ {\boldsymbol a} \ge {\boldsymbol 0}\}$. What are the constraints of its dual $DRP(\pazocal{J})$, with variables ${\boldsymbol y}$?
${\boldsymbol A}_j'{\boldsymbol y} \le c_j$ for every $j$ and ${\boldsymbol y}$ free
${\boldsymbol A}_j'{\boldsymbol y} \ge 0$ for every $j \in \pazocal{J}$ and $y_i \ge 0$ for every $i$
${\boldsymbol A}_j'{\boldsymbol y} \le 0$ for every $j \in \pazocal{J}$ and $y_i \le 1$ for every $i$
${\boldsymbol A}_j'{\boldsymbol y} = 0$ for every $j \notin \pazocal{J}$
Explanation. The columns ${\boldsymbol A}_j$ ($j \in \pazocal{J}$) give ${\boldsymbol A}_j'{\boldsymbol y} \le 0$, those of the artificial variables give $y_i \le 1$.
The dual simplex algorithm keeps a dual feasible basis. What distinguishes the primal-dual method, for a problem $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, from the dual simplex algorithm?
It works towards dual feasibility starting from a primal basis
It keeps a primal feasible basis and a dual infeasible basis
It keeps a dual feasible solution which need not be basic
It does not use duality: it works on the primal problem only
Explanation. The dual simplex algorithm keeps a dual feasible basis; the primal-dual method can start from any dual feasible solution.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), the admissible set of a dual feasible solution ${\boldsymbol \pi}$ is $\pazocal{J} = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$. If ${\boldsymbol c} \ge {\boldsymbol 0}$, which initial dual feasible solution is immediate?
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), $\pazocal{J} = \pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ is the admissible set of a dual feasible solution ${\boldsymbol \pi}$; the restricted primal problem has optimal value $\xi(\pazocal{J}) > 0$, ${\boldsymbol y}$ is the optimal solution of its dual and the dual step is ${\boldsymbol \pi} + \theta{\boldsymbol y}$, $\theta > 0$. What is concluded if ${\boldsymbol A}_j'{\boldsymbol y} \le 0$ for every $j \notin \pazocal{J}$?
The primal is unbounded
$\theta = 0$ and the step is repeated
The current pair is optimal
The dual is unbounded and hence the primal is infeasible
Explanation. $\theta$ can grow without bound keeping dual feasibility, while ${\boldsymbol b}'{\boldsymbol \pi}$ grows by $\theta\,\xi(\pazocal{J}) > 0$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), $\pazocal{J} = \pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ is the admissible set of a dual feasible solution ${\boldsymbol \pi}$; $\xi(\pazocal{J}) > 0$ is the optimal value of the restricted primal $RP(\pazocal{J})$ and ${\boldsymbol y}$ the optimal solution of its dual $DRP(\pazocal{J})$. Why does the step ${\boldsymbol \pi} \leftarrow {\boldsymbol \pi} + \theta{\boldsymbol y}$, with $\theta > 0$, strictly increase ${\boldsymbol b}'{\boldsymbol \pi}$?
Because $y_i \le 1$ for every $i$ and $\theta$ is chosen as the minimum ratio
By Weak Duality between the primal problem and its dual, applied to ${\boldsymbol \pi}$
Because ${\boldsymbol b} \ge {\boldsymbol 0}$ and ${\boldsymbol y} \ge {\boldsymbol 0}$, hence ${\boldsymbol b}'{\boldsymbol y} \ge 0$
By Strong Duality between $RP(\pazocal{J})$ and $DRP(\pazocal{J})$: ${\boldsymbol b}'{\boldsymbol y} = \xi(\pazocal{J}) > 0$
Explanation. The increase is $\theta\,{\boldsymbol b}'{\boldsymbol y}$, and ${\boldsymbol b}'{\boldsymbol y}$ is the optimal value of $DRP$, equal to that of $RP$, positive when the method does not stop. ${\boldsymbol y}$ is not necessarily non-negative.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$, and the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$ (${\boldsymbol A}_j$ is column $j$ of ${\boldsymbol A}$), let ${\boldsymbol x}$ be primal feasible and ${\boldsymbol \pi}$ dual feasible, with admissible set $\pazocal{J}({\boldsymbol \pi}) = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$. Which statement is correct?
They are optimal if and only if $x_j = 0$ for every $j \notin \pazocal{J}({\boldsymbol \pi})$
They are optimal if and only if $x_j > 0$ for every $j \in \pazocal{J}({\boldsymbol \pi})$
They are optimal if and only if $x_j = 0$ for every $j \in \pazocal{J}({\boldsymbol \pi})$
They are optimal if and only if $\pazocal{J}({\boldsymbol \pi}) = \{1, \dots, n\}$
Explanation. It is the form of Complementary Slackness for the primal in standard minimization form: only the admissible variables may be positive, but they need not all be.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, ${\boldsymbol \pi}$ is dual feasible with dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi} \ge 0$, $\pazocal{J} = \{j : s_j = 0\}$, and the step is ${\boldsymbol \pi} + \theta{\boldsymbol y}$ with maximum $\theta$. Which index enters $\pazocal{J}$?
The index $j \notin \pazocal{J}$ minimizing $s_j / {\boldsymbol A}_j'{\boldsymbol y}$ among those with ${\boldsymbol A}_j'{\boldsymbol y} > 0$
The index $j \notin \pazocal{J}$ maximizing $s_j / {\boldsymbol A}_j'{\boldsymbol y}$ among those with ${\boldsymbol A}_j'{\boldsymbol y} > 0$
An index $j \in \pazocal{J}$ with ${\boldsymbol A}_j'{\boldsymbol y} < 0$, whose dual slack becomes positive
The index $j \notin \pazocal{J}$ with the smallest dual slack $s_j$, whatever ${\boldsymbol A}_j'{\boldsymbol y}$ is
Explanation. The new slack is $s_j - \theta\,{\boldsymbol A}_j'{\boldsymbol y}$: the maximum step $\theta$ is the minimum ratio, and the index attaining it has zero slack, so it enters the admissible set. The indices of $\pazocal{J}$ with ${\boldsymbol A}_j'{\boldsymbol y} < 0$ may instead leave it.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, in which order are the steps of an iteration executed, starting from a dual feasible solution ${\boldsymbol \pi}$?
Dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi}$ and admissible set $\pazocal{J}$, restricted primal $RP(\pazocal{J})$ and its dual, step ${\boldsymbol \pi} \leftarrow {\boldsymbol \pi} + \theta{\boldsymbol y}$
Explanation. $\pazocal{J}$ depends on ${\boldsymbol \pi}$; $RP(\pazocal{J})$ uses only the admissible variables and gives ${\boldsymbol y}$ (optimal solution of the restricted dual), which the dual step needs.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, the restricted primal problem is $RP(\pazocal{J}) = \min\{\sum_i a_i : \sum_{j \in \pazocal{J}} {\boldsymbol A}_j x_j + {\boldsymbol a} = {\boldsymbol b},~ x_j \ge 0,~ {\boldsymbol a} \ge {\boldsymbol 0}\}$, with artificial variables ${\boldsymbol a}$. What is the assumption ${\boldsymbol b} \ge {\boldsymbol 0}$ for?
To make the solution with the artificial variables only, ${\boldsymbol a} = {\boldsymbol b}$, feasible for $RP(\pazocal{J})$
To guarantee that the primal problem is feasible
To guarantee that ${\boldsymbol \pi} = {\boldsymbol 0}$ is dual feasible
To obtain $\xi(\pazocal{J}) = 0$ already at the first iteration
Explanation. With ${\boldsymbol b} \ge {\boldsymbol 0}$, ${\boldsymbol x} = {\boldsymbol 0}$ and ${\boldsymbol a} = {\boldsymbol b}$ form a basic feasible solution of $RP(\pazocal{J})$, from which the simplex algorithm starts. The feasibility of ${\boldsymbol \pi} = {\boldsymbol 0}$ depends instead on ${\boldsymbol c} \ge {\boldsymbol 0}$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, with ${\boldsymbol c} > {\boldsymbol 0}$ one starts from ${\boldsymbol \pi} = {\boldsymbol 0}$. The admissible set is $\pazocal{J} = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ (${\boldsymbol A}_j$: column $j$ of ${\boldsymbol A}$) and the restricted primal is $\min\{\sum_i a_i : \sum_{j \in \pazocal{J}} {\boldsymbol A}_j x_j + {\boldsymbol a} = {\boldsymbol b},~ x_j \ge 0,~ {\boldsymbol a} \ge {\boldsymbol 0}\}$. What is the first restricted primal like?
$\pazocal{J} = \{1, \dots, n\}$: it contains all the variables $x_j$
$\pazocal{J} = \emptyset$: it has only the artificial variables and optimal value $\xi(\pazocal{J}) = \sum_i b_i$
$\pazocal{J} = \emptyset$: it has optimal value $\xi(\pazocal{J}) = 0$
$\pazocal{J} = \{j : b_j > 0\}$: it contains the variables of the constraints with positive right-hand side
Explanation. With ${\boldsymbol \pi} = {\boldsymbol 0}$ we have $s_j = c_j > 0$ for every $j$, hence $\pazocal{J} = \emptyset$; the constraints become ${\boldsymbol a} = {\boldsymbol b}$ and $\xi(\pazocal{J}) = \sum_i b_i$, positive if ${\boldsymbol b} \ne {\boldsymbol 0}$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, with ${\boldsymbol b} = (4, 2)'$, the current dual solution is ${\boldsymbol \pi} = (1, 0)'$, the optimal solution of the dual of the restricted primal is ${\boldsymbol y} = (1, -1)'$ and the step is $\theta = 2$. What are the new dual solution ${\boldsymbol \pi} + \theta{\boldsymbol y}$ and the change of ${\boldsymbol b}'{\boldsymbol \pi}$?
The (primal) simplex algorithm, the dual simplex algorithm and the primal-dual method for an LP problem are compared. What does the (primal) simplex algorithm keep and what does it work towards?
It keeps a primal feasible basis ($\bar{\boldsymbol b} \ge {\boldsymbol 0}$) and works towards dual feasibility ($\bar{\boldsymbol c} \le {\boldsymbol 0}$)
It keeps a dual feasible solution, not basic, and works towards primal feasibility
It keeps a primal and dual feasible basis and works towards a larger optimal value
It keeps a dual feasible basis ($\bar{\boldsymbol c} \le {\boldsymbol 0}$) and works towards primal feasibility ($\bar{\boldsymbol b} \ge {\boldsymbol 0}$)
Explanation. The simplex algorithm preserves $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and stops when $\bar{\boldsymbol c} \le {\boldsymbol 0}$; the dual simplex algorithm does the opposite and the primal-dual method keeps a dual feasible solution which need not be basic.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, what does the method maintain at every iteration?
A dual feasible basis
A dual feasible solution
An integer primal solution
A primal feasible basis
Explanation. This is the main difference from the dual simplex, which keeps a basis.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, for which form of the primal problem is it naturally formulated?
Canonical maximization form
Standard maximization form with ${\boldsymbol c} \le {\boldsymbol 0}$
Standard minimization form with ${\boldsymbol b} \ge {\boldsymbol 0}$
Any form, with no assumption
Explanation. With ${\boldsymbol b} \ge {\boldsymbol 0}$ the restricted primal has a feasible basis of artificial variables.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, the restricted primal has optimal value $\xi(\pazocal{J}) = 0$. What is concluded?
The solution found and ${\boldsymbol \pi}$ are optimal
A dual step is taken
The primal is infeasible
A variable is added to $\pazocal{J}$
Explanation. ${\boldsymbol x}$ is feasible and uses only variables with $s_j = 0$: complementary slackness holds.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, in which order are the steps of an iteration executed?
Phase $0$, simplex, dual simplex
Admitted set, restricted primal and its dual, dual step
Dual step, admitted set, restricted primal
Primal pivot, dual pivot, ratio test
Explanation. Compute slacks, solve $RP(\pazocal{J})$ with $DRP(\pazocal{J})$, then update ${\boldsymbol \pi}$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, what is concluded if in the dual step no $j \notin \pazocal{J}$ has ${\boldsymbol A}_j'{\boldsymbol y} > 0$?
Set $\theta = 0$
The primal is infeasible.
The primal is unbounded
The current solution is optimal
Explanation. $\theta$ can grow without limit and ${\boldsymbol b}'{\boldsymbol \pi}$ with it.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, how does the dual value ${\boldsymbol b}'{\boldsymbol \pi}$ change at each dual step with $\theta > 0$?
It becomes zero
It increases by $\theta\,{\boldsymbol b}'{\boldsymbol y} > 0$
It stays the same
It decreases
Explanation. The restricted dual has ${\boldsymbol b}'{\boldsymbol y} = \xi(\pazocal{J}) > 0$: the dual value grows.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, after a dual step, what happens to the admitted set?
The index giving $\theta$ enters
It stays unchanged
It loses all previous indices
It becomes empty
Explanation. For that index the new dual slack becomes $0$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, which statement about the dual step ${\boldsymbol \pi} + \theta{\boldsymbol y}$ with the maximum $\theta$ is correct?
The new dual solution is always optimal
It stays feasible and the value grows
The dual value stays unchanged
The new dual solution is infeasible
Explanation. $\theta$ is the largest step with ${\boldsymbol A}_j'({\boldsymbol \pi} + \theta{\boldsymbol y}) \le c_j$ for every $j$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol b} \ge {\boldsymbol 0}$ and dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$, in the dual step the constraints with $j \in \pazocal{J}$ do not limit $\theta$. Why?
Because for $j \in \pazocal{J}$ we have $c_j = 0$
There $s_j = 0$ and ${\boldsymbol A}_j'{\boldsymbol y} \le 0$
In the sensitivity analysis of an LP problem in standard maximization form, given a basis ${\boldsymbol A}_{\pazocal{B}}$ with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, which two conditions define an optimal basis?
${\boldsymbol A}_{\pazocal{B}}$ invertible and $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, which of the two optimality conditions of the basis can a change of the right-hand side vector ${\boldsymbol b}$ violate?
Only $\bar{\boldsymbol b} \ge {\boldsymbol 0}$
None: the basis always remains optimal
Only $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Both conditions
Explanation. ${\boldsymbol b}$ appears only in $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$; ${\boldsymbol c}$ appears only in the reduced costs.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, $c_k$ is replaced by $c_k + \delta$, with $k \in \pazocal{N}$. For which $\delta$ does the basis remain optimal?
$\delta \le -\bar c_k$
$\delta \le \bar c_k$
$\delta \ge -\bar c_k$
For every $\delta$, since $x_k$ is $0$
Explanation. Only the reduced cost of $x_k$ changes; it becomes $\bar c_k + \delta$ and must remain non-positive.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, $c_k$ is replaced by $c_k + \delta$, with $k \in \pazocal{B}$, and $\delta$ is such that the basis remains optimal. What changes?
Same optimal solution, optimal value $z(LP) + \delta\,\tilde x_k$
Different optimal solution, same optimal value $z(LP)$
Same optimal solution, optimal value $z(LP) + \delta$
Both the optimal solution and the optimal value unchanged
Explanation. $\bar{\boldsymbol b}$ does not depend on ${\boldsymbol c}$, so the solution does not change; its value changes by $\delta\,\tilde x_k$.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, what are the shadow prices of the optimal basis (${\boldsymbol c}_{\pazocal{B}}$: costs of the basic variables)?
The reduced costs $\bar{\boldsymbol c}$ of the non-basic variables, with the opposite sign
The entries of ${\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$: increase of $z(LP)$ per unit increase of $b_k$
The values $\bar{\boldsymbol b}$ of the basic variables, i.e., the optimal quantities
The entries of ${\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol c}_{\pazocal{B}}$: increase of $z(LP)$ per unit increase of $c_k$
Explanation. As long as the basis remains optimal, $z(LP) \to z(LP) + \delta\,\pi_k$: $\pi_k$ is the marginal value of constraint $k$.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, constraint $k$ is not active at $\tilde{\boldsymbol x}$: its slack variable is basic with a positive value. What is the shadow price $\pi_k$ of the constraint?
$\pi_k = 0$
$\pi_k$ equals the value of the slack variable
$\pi_k < 0$
$\pi_k > 0$
Explanation. A small change of $b_k$ does not change the optimal value; this agrees with Complementary Slackness.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, a new variable $x_\star \ge 0$ with cost $c_\star$ and column ${\boldsymbol A}_\star$ is added. With ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$, when does $\tilde{\boldsymbol x}$ (with $x_\star = 0$) remain optimal?
When $c_\star \le 0$
When ${\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_\star \ge {\boldsymbol 0}$
Never: the dual simplex algorithm must always be restarted
Explanation. The basis remains primal feasible; if $\bar c_\star > 0$ the (primal) simplex algorithm is restarted with $x_\star$ as first pivot column.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, a new less-than-or-equal-to constraint violated by $\tilde{\boldsymbol x}$ is added, with a new slack variable. How is the problem re-optimized?
With the dual simplex algorithm from the basis extended with the new slack variable, which is the first pivot row
It is not needed: the extended basis remains optimal
With the simplex algorithm from the extended basis, with the new slack variable as first pivot column
With Phase $0$ and then the simplex algorithm, from scratch
Explanation. The extended basis remains dual feasible (the reduced costs do not change) but the new slack variable is negative.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, the dual is $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c}\}$. Which statement on the shadow prices ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ is correct?
${\boldsymbol \pi}$ is an optimal solution of the dual problem and $z(LP) = \sum_i \pi_i b_i$
$z(LP) = \sum_i \pi_i c_i$
${\boldsymbol \pi}$ is a feasible solution of the primal with value $z(LP)$
${\boldsymbol \pi}$ is optimal for the dual only if the primal solution is degenerate
Explanation. The optimal basis is dual feasible, so ${\boldsymbol \pi}$ is dual feasible, and $\bar z = {\boldsymbol \pi}{\boldsymbol b}$: by duality ${\boldsymbol \pi}$ is optimal.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (basic indices $\pazocal{B}$, non-basic indices $\pazocal{N}$), optimal solution $\tilde{\boldsymbol x}$, optimal value $z(LP)$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar{\boldsymbol c}$, to show that the shadow prices ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ are an optimal solution of the dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c}\}$, which facts are enough?
Only primal feasibility $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and the formula $\bar z = {\boldsymbol \pi}{\boldsymbol b}$
Non-degeneracy $\bar{\boldsymbol b} > {\boldsymbol 0}$ of the optimal solution and Bland's rule
Complementary Slackness only, without the dual feasibility of ${\boldsymbol \pi}$
$\bar{\boldsymbol c} \le {\boldsymbol 0}$ gives ${\boldsymbol \pi}{\boldsymbol A}_j \ge c_j$ for every column $j$, $\bar z = {\boldsymbol \pi}{\boldsymbol b}$ and Weak Duality
Explanation. A dual feasible solution whose value equals that of a primal feasible solution is optimal by Weak Duality.
An LP problem in canonical maximization form with two constraints has optimal value $z(LP) = 28$ and shadow prices ${\boldsymbol \pi} = (3, 2)$ of the optimal basis. If $b_1$ increases by $2$ and the basis remains optimal, what is the new optimal value?
$30$
$56$
$32$
$34$
Explanation. $z(LP) + \delta\,\pi_1 = 28 + 2 \cdot 3 = 34$; using $\pi_2$ would give $32$.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$ and reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$), the shadow prices are ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1} = (0, 2, 1)$. A variable $x_\star \ge 0$ is added with cost $c_\star = 4$ and column ${\boldsymbol A}_\star = (1, 1, 1)'$. What is concluded?
$\bar c_\star = 1 > 0$: the basis remains optimal, with $x_\star = 0$
$\bar c_\star = 7 > 0$: the dual simplex algorithm restarts with $x_\star$ as pivot row
$\bar c_\star = -1 \le 0$: the basis remains optimal, with $x_\star = 0$
$\bar c_\star = 1 > 0$: the basis is no longer optimal and the simplex algorithm restarts with $x_\star$ as pivot column
Explanation. $\bar c_\star = c_\star - {\boldsymbol \pi}{\boldsymbol A}_\star = 4 - 3 = 1 > 0$: the basis stays primal feasible but is no longer dual feasible, hence the simplex algorithm resumes with $x_\star$ entering.
The LP problem of the paint production example $\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 \ge 0\}$ has optimal solution $\tilde{\boldsymbol x} = (5, \frac{7}{2})$. The constraint $x_1 + x_2 \le 6$ is added, with slack variable $x_6$, and the optimal basis is extended with $x_6$. What is concluded?
$x_6 = \frac{5}{2}$: the extended basis remains optimal
$x_6 = 6$: the extended basis remains optimal
$x_6 = -\frac{5}{2}$: re-optimize with the simplex algorithm, with $x_6$ as the first pivot column
$x_6 = -\frac{5}{2}$: re-optimize with the dual simplex algorithm, with $x_6$ as the first pivot row
Explanation. $x_6 = 6 - (5 + \frac{7}{2}) = -\frac{5}{2} < 0$: the extended basis stays dual feasible (the reduced costs do not change) but it is not primal feasible, hence the dual simplex algorithm is used.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$ and reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$), a single datum is changed. Which changes can make the basis lose primal feasibility ($\bar{\boldsymbol b} \ge {\boldsymbol 0}$), so that one re-optimizes with the dual simplex algorithm?
The change of a cost $c_k$ and the addition of a new variable
Any change of the data of the problem
Only the addition of a new variable
The change of a right-hand side $b_k$ and the addition of a new constraint
Explanation. $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ changes with ${\boldsymbol b}$, and a violated new constraint gives a negative slack variable. Costs and new variables affect instead the reduced costs, i.e., dual feasibility.
In the sensitivity analysis of an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with optimal basis ${\boldsymbol A}_{\pazocal{B}}$ (with $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b} \ge {\boldsymbol 0}$ and reduced costs $\bar{\boldsymbol c} \le {\boldsymbol 0}$), a single datum is changed. Which changes can make the basis lose dual feasibility ($\bar{\boldsymbol c} \le {\boldsymbol 0}$), so that one re-optimizes with the simplex algorithm starting from the previous basis?
Only the change of a right-hand side $b_k$
The change of a right-hand side $b_k$ and the addition of a new constraint
The change of a cost $c_k$ and the addition of a new variable
None: the reduced costs do not depend on the data
Explanation. The reduced costs $\bar c_j = c_j - {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_j$ depend on the costs, and a new variable brings a new reduced cost; in both cases the basis stays primal feasible.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, what are the two conditions making the basis optimal?
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, which statement about changes in the data is correct?
Changing ${\boldsymbol c}$ affects only the dual condition.
Every change requires solving from scratch
Changing ${\boldsymbol b}$ changes the reduced costs
Changing ${\boldsymbol c}$ affects only the primal condition
Explanation. $\bar{\boldsymbol b}$ does not depend on ${\boldsymbol c}$, the reduced costs do not depend on ${\boldsymbol b}$.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, changing $b_k$ into $b_k + \delta$, why is it enough to check $\bar{\boldsymbol b} + \delta\,{\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol e}_k \ge {\boldsymbol 0}$?
Because $\delta$ is small
Because the basis always changes
Reduced costs do not depend on ${\boldsymbol b}$
Because ${\boldsymbol \pi}$ changes with ${\boldsymbol b}$
Explanation. The dual condition is unchanged: only the primal one remains.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, changing a cost $c_k$, which condition must be rechecked?
Neither
Only dual feasibility $\bar{\boldsymbol c} \le {\boldsymbol 0}$
Only primal feasibility
Both
Explanation. ${\boldsymbol b}$ does not change, so $\bar{\boldsymbol b}$ stays nonnegative.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, the nonbasic variable $x_k$ has $\bar c_k = -3$. For which $\delta$ (with $c_k \to c_k + \delta$) does the basis stay optimal?
$\delta \le -3$
$\delta \le 3$
$\delta \ge -3$
$-3 \le \delta \le 3$
Explanation. The new reduced cost is $-3 + \delta \le 0$.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, changing the cost of a nonbasic variable within the interval that keeps optimality, what happens to the optimal solution and value?
Only the value changes
Both change
Only the solution changes
They do not change
Explanation. $x_k = 0$: its cost does not enter the value, and the dictionary changes only in $\bar c_k$.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, the basic variable $x_k$ has in its row $\bar a_{k1} = 2$, $\bar a_{k2} = -1$, with $\bar c_1 = -4$, $\bar c_2 = -2$. With $c_k \to c_k + \delta$ the reduced costs become $\bar c_j - \delta\bar a_{kj}$. For which $\delta$ does the basis stay optimal?
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, changing the cost of a basic variable $x_k$ within the optimality interval, what happens?
Nothing changes
The optimal value stays the same
Same solution, value $+\delta\,\bar b_k$
The optimal solution changes
Explanation. The basis does not change; $x_k = \bar b_k$ contributes $(c_k + \delta)\bar b_k$.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, what are the shadow prices?
The components of ${\boldsymbol \pi} = {\boldsymbol c}_{\pazocal{B}}'{\boldsymbol A}_{\pazocal{B}}^{-1}$.
The values of the slack variables
The reduced costs of the basic variables
The objective coefficients
Explanation. While the basis stays optimal, $z = {\boldsymbol \pi}{\boldsymbol b}$ is linear in ${\boldsymbol b}$.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, constraint $1$ has shadow price $\pi_1 = 2.5$. If $b_1$ increases by $2$ and the basis stays optimal, how does the optimal value change?
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, which statement about the shadow price of a constraint not active at the optimum is correct?
It is not defined
It is $0$
It is positive
It equals $b_i$
Explanation. By complementary slackness $\tilde\pi_i = 0$ if the slack is positive.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, a variable $x_\star \ge 0$ with cost $c_\star$ and column ${\boldsymbol A}_\star$ is added. When does the optimal basis stay optimal?
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, with shadow prices ${\boldsymbol \pi} = (1, 2)$, a variable $x_\star$ with $c_\star = 6$ and column ${\boldsymbol A}_\star = (2, 1)$ is added. What is concluded?
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, a $\le$ constraint is added with its slack. The extended basis is:
always optimal
neither primal nor dual feasible
dual feasible; primal only if it holds
primal feasible but not dual
Explanation. Reduced costs do not change (the slack has reduced cost $0$); if the constraint is violated the dual simplex is used.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, the optimal solution $(2, 3)$ is compared with the new constraint $x_1 + x_2 \le 4$. How does one continue?
Discard the constraint
Restart with Phase $0$
It is violated: re-optimize with the dual simplex
It is satisfied: the solution stays optimal
Explanation. $2 + 3 = 5 > 4$: the slack of the new constraint is negative in the extended basis.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, which algorithm is used when a change makes the basis no longer primal feasible?
The primal simplex from the current basis
The dual simplex, starting from the current basis
Phase $0$ from scratch
The graphical method
Explanation. The basis stays dual feasible: it is the starting point of the dual simplex.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, which algorithm is used when a change makes the basis no longer dual feasible but still primal feasible?
The dual simplex from the current basis
The primal simplex, starting from the current basis
Phase $0$
None: the basis stays optimal
Explanation. With $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and some $\bar c_j > 0$ primal pivots are done.
In the sensitivity analysis of a problem in standard maximization form with optimal basis ${\boldsymbol A}_{\pazocal{B}}$, $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and reduced costs $\bar c_j$, adding a new variable, why does the optimal basis stay primal feasible?
Because the new column is nonnegative
Because ${\boldsymbol \pi}$ changes
Because the new variable has negative cost
Because neither ${\boldsymbol A}_{\pazocal{B}}$ nor ${\boldsymbol b}$ change
Explanation. $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ is the same and the new variable is nonbasic, at zero.
What can be said about the non-empty feasible region $F = \{{\boldsymbol x} \in \R^n : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with $\rank({\boldsymbol A}) \ge 1$?
It is always full-dimensional: $\dim(F) = n$
It is not full-dimensional: $\dim(F) \le n - \rank({\boldsymbol A})$
It always has dimension $0$, since it is formed by vertices
It always has dimension $\rank({\boldsymbol A})$, the number of independent constraints
Explanation. All the points of $F$ satisfy the equalities, and each independent equality reduces the dimension by one.
An inequality ${\boldsymbol a}'{\boldsymbol x} \le \beta$ is valid for the polyhedron $F$ if it is satisfied by all the points of $F$. What is a face of $F$?
Any convex subset of $F$
The set $\{{\boldsymbol x} : {\boldsymbol a}'{\boldsymbol x} = \beta\}$ for any inequality ${\boldsymbol a}'{\boldsymbol x} \le \beta$
The set of the points of $F$ satisfying all the constraints with equality
The set $\{{\boldsymbol x} \in F : {\boldsymbol a}'{\boldsymbol x} = \beta\}$ for an inequality ${\boldsymbol a}'{\boldsymbol x} \le \beta$ valid for $F$
Explanation. The inequality must be valid (satisfied by all of $F$); $F$ and $\emptyset$ are faces of $F$.
A face of the polyhedron $F$ is a set $\{{\boldsymbol x} \in F : {\boldsymbol a}'{\boldsymbol x} = \beta\}$, with ${\boldsymbol a}'{\boldsymbol x} \le \beta$ valid for $F$. What are the dimensions of a facet and of a vertex of $F$?
Facet: $1$; vertex: $0$
Facet: always $n - 1$; vertex: $0$
Facet: $\dim(F)$; vertex: $1$
Facet: $\dim(F) - 1$; vertex: $0$
Explanation. Facets are the largest proper faces, vertices the smallest non-empty faces (a point).
A vertex of a polyhedron $F$ is a face of dimension $0$; an extreme point of $F$ is a point which does not lie strictly between two distinct points of $F$. Which statement, for ${\boldsymbol x} \in F$, is correct?
$\{{\boldsymbol x}\}$ is a vertex of $F$ if and only if ${\boldsymbol x}$ is an extreme point of $F$
${\boldsymbol x}$ is an extreme point if and only if it satisfies at least one constraint with equality
Every extreme point is the midpoint of two distinct points of $F$
Every point of the boundary of $F$ is an extreme point
Explanation. An extreme point does not lie strictly between two distinct points of $F$; the points inside an edge are on the boundary but not extreme.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. Let $F$ be its feasible region. Which statement is correct?
$\bar{\boldsymbol x} \in F$ is a basic feasible solution if and only if it is a vertex of $F$
The basic feasible solutions are the interior points of $F$, not the vertices
Every vertex of $F$ corresponds to one and only one basis ${\boldsymbol A}_{\pazocal{B}}$
Every basic solution, feasible or not, is a vertex of $F$
Explanation. The correspondence between bases and vertices is onto but not necessarily one-to-one: a degenerate vertex may have several bases.
Consider an LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} \in \R^{m \times (n+m)}$ and $\rank({\boldsymbol A}) = m$. In the proof that every basic feasible solution $\bar{\boldsymbol x}$ is a vertex of the feasible region $F$, which facts are used?
The columns ${\boldsymbol A}_j$ with $\bar x_j > 0$ are independent, hence $\bar{\boldsymbol x}$ is an extreme point, and extreme points and vertices coincide
Strong Duality and Complementary Slackness applied to the basic solution $\bar{\boldsymbol x}$
The non-degeneracy of $\bar{\boldsymbol x}$ and Bland's rule, which avoid repeated bases
The boundedness of $F$, which makes each of its points a convex combination of vertices
Explanation. If $\bar{\boldsymbol x} = \lambda{\boldsymbol x}^{(1)} + (1-\lambda){\boldsymbol x}^{(2)}$, the difference ${\boldsymbol d}$ is supported on independent columns and ${\boldsymbol A}{\boldsymbol d} = {\boldsymbol 0}$, hence ${\boldsymbol d} = {\boldsymbol 0}$.
Which statement justifies, for LP problems in standard form, the graphical method and the search for an optimal solution among the vertices of the feasible region?
If the feasible region is bounded, the unique optimum is a vertex
Every LP problem with a non-empty feasible region has an optimal vertex
If an LP problem admits an optimal solution, at least one vertex of the feasible region is optimal
Every optimal solution of an LP problem is a vertex
Explanation. The optimal solutions may form a face of positive dimension, but among them there is at least one vertex; an unbounded problem has no optimum.
What is the dimension of the polyhedron $F = \{{\boldsymbol x} \in \R^3 : x_1 + x_2 + x_3 = 1,~ {\boldsymbol x} \ge {\boldsymbol 0}\}$?
$3$
$2$
$1$
$0$
Explanation. $F$ is the triangle with vertices $(1,0,0)$, $(0,1,0)$, $(0,0,1)$: the differences $(-1,1,0)$ and $(-1,0,1)$ are independent and the equality removes one dimension, $3 - 1 = 2$.
For the feasible region $F$ of an LP problem in standard maximization form, which correspondence between a geometric notion and an algebraic notion is correct?
Vertex: basic solution, even infeasible
Degenerate vertex: one single associated basis
Edge between two adjacent vertices: non-degenerate pivoting operation
Facet of $F$: basic variable
Explanation. A non-degenerate pivot moves from a vertex to an adjacent one along an edge. The vertices are the basic feasible solutions; a degenerate vertex is associated with several bases; a facet corresponds to a constraint which cannot be removed.
The simplex algorithm visits one vertex of the feasible region at a time. Why is counting the vertices not enough to prove that it is an efficient algorithm?
Because the simplex algorithm can also visit points which are not vertices
Because the number of vertices can grow exponentially with the number of variables and constraints
Because the vertices are infinitely many when the feasible region is unbounded
Because every vertex requires an exponential number of pivoting operations
Explanation. For a problem in standard form the vertices are at most $\binom{n+m}{m}$, a number which can be exponential; the practical behaviour of the simplex algorithm is much better than its worst case.
In the proof that a basic feasible solution of $\{{\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ is an extreme point, which fact is used?
A degenerate basic feasible solution of $\{{\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ may correspond to several bases. What happens to the vertices?
Several bases give the same vertex
The vertex does not exist
The polyhedron is not bounded
Every basis gives a different vertex
Explanation. With zero basic variables, different bases can describe the same point.
To conclude that an LP problem with finite optimal value has an optimal vertex, which assumption on the polyhedron is needed?
That it is bounded
That it is full-dimensional
That it has at least one vertex.
That it has integer vertices
Explanation. On a half-plane $\max\ x_2$ with $x_2 \le 0$ has optima but no vertex.
Generated questions (48)
Each generator builds a new instance, with different numbers, at every start: a few examples here.
1. Linear functions (2)
Example 1 · lp-g-insieme-livello · level facile · notes
Consider the linear function $f({\boldsymbol x}) = 4\,x_1 - 5\,x_2$. Which of the following points belongs to the level set $\{{\boldsymbol x} \in \R^2 : f({\boldsymbol x}) = 26\}$?
$\begin{pmatrix} -4 \\ 2 \end{pmatrix}$
$\begin{pmatrix} 8 \\ -7 \end{pmatrix}$
$\begin{pmatrix} 4 \\ -2 \end{pmatrix}$
$\begin{pmatrix} -2 \\ 4 \end{pmatrix}$
Explanation. We have $4 \cdot 4 - 5 \cdot (-2) = 26$. The level sets are lines perpendicular to the gradient $\nabla f = (4, -5)$: moving along the gradient changes the value, the opposite point gives the value $-26$ and swapping the coordinates does not preserve the value.
Example 2 · lp-g-insieme-livello · level facile · notes
Consider the linear function $f({\boldsymbol x}) = -x_1 + 4\,x_2$. Which of the following points belongs to the level set $\{{\boldsymbol x} \in \R^2 : f({\boldsymbol x}) = -11\}$?
$\begin{pmatrix} -1 \\ -3 \end{pmatrix}$
$\begin{pmatrix} 1 \\ 3 \end{pmatrix}$
$\begin{pmatrix} -2 \\ 1 \end{pmatrix}$
$\begin{pmatrix} -3 \\ -1 \end{pmatrix}$
Explanation. We have $-1 \cdot (-1) + 4 \cdot (-3) = -11$. The level sets are lines perpendicular to the gradient $\nabla f = (-1, 4)$: moving along the gradient changes the value, the opposite point gives the value $11$ and swapping the coordinates does not preserve the value.
Example 1 · lp-g-variazione-direzione · level facile · notes
Consider the linear function $f({\boldsymbol x}) = x_1 + 4\,x_2$ on $\R^2$, the point $\bar{\boldsymbol x} = (-2, -1)$ and the direction ${\boldsymbol d} = (-3, 3)$. What is the change $f(\bar{\boldsymbol x} + 2\,{\boldsymbol d}) - f(\bar{\boldsymbol x})$?
$-30$
$9$
$12$
$18$
Explanation. By linearity $f(\bar{\boldsymbol x} + t\,{\boldsymbol d}) - f(\bar{\boldsymbol x}) = t\,{\boldsymbol c}'{\boldsymbol d} = 2 \cdot (1 \cdot (-3) + 4 \cdot 3) = 18$, whatever $\bar{\boldsymbol x}$ is; the value $12$ is $f(\bar{\boldsymbol x} + 2\,{\boldsymbol d})$, not the change.
Example 2 · lp-g-variazione-direzione · level facile · notes
Consider the linear function $f({\boldsymbol x}) = -x_1 + 4\,x_2$ on $\R^2$, the point $\bar{\boldsymbol x} = (0, 3)$ and the direction ${\boldsymbol d} = (-1, -3)$. What is the change $f(\bar{\boldsymbol x} + 4\,{\boldsymbol d}) - f(\bar{\boldsymbol x})$?
$-44$
$-11$
$-32$
$52$
Explanation. By linearity $f(\bar{\boldsymbol x} + t\,{\boldsymbol d}) - f(\bar{\boldsymbol x}) = t\,{\boldsymbol c}'{\boldsymbol d} = 4 \cdot (-1 \cdot (-1) + 4 \cdot (-3)) = -44$, whatever $\bar{\boldsymbol x}$ is; the value $-32$ is $f(\bar{\boldsymbol x} + 4\,{\boldsymbol d})$, not the change.
2. Half-spaces and polyhedra (2)
Example 1 · lp-g-poliedro-punto · level facile · notes
Consider the polyhedron $P = \{{\boldsymbol x} \in \R^2 : 2\,x_2 \le 2,~ x_1 - 2\,x_2 \le 1,~ 3\,x_1 + 2\,x_2 \le 4\}$. Which of the following points belongs to $P$?
$\begin{pmatrix} 1 \\ 0 \end{pmatrix}$
$\begin{pmatrix} -2 \\ 3 \end{pmatrix}$
$\begin{pmatrix} 2 \\ -1 \end{pmatrix}$
$\begin{pmatrix} 3 \\ 1 \end{pmatrix}$
Explanation. The point $(1, 0)$ satisfies the three inequalities, so it belongs to the intersection of the three half-spaces. The others: $(-2, 3)$ violates constraint 1 ($6 > 2$); $(2, -1)$ violates constraint 2 ($4 > 1$); $(3, 1)$ violates constraint 3 ($11 > 4$).
Example 2 · lp-g-poliedro-punto · level facile · notes
Consider the polyhedron $P = \{{\boldsymbol x} \in \R^2 : -x_1 \le 0,~ x_1 - 3\,x_2 \le -5,~ -x_1 - 3\,x_2 \le -11\}$. Which of the following points belongs to $P$?
$\begin{pmatrix} 5 \\ 2 \end{pmatrix}$
$\begin{pmatrix} 1 \\ 3 \end{pmatrix}$
$\begin{pmatrix} 2 \\ 3 \end{pmatrix}$
$\begin{pmatrix} -1 \\ 5 \end{pmatrix}$
Explanation. The point $(2, 3)$ satisfies the three inequalities, so it belongs to the intersection of the three half-spaces. The others: $(-1, 5)$ violates constraint 1 ($1 > 0$); $(5, 2)$ violates constraint 2 ($-1 > -5$); $(1, 3)$ violates constraint 3 ($-10 > -11$).
Example 1 · lp-g-vincoli-attivi · level facile · notes
Consider the polyhedron $P = \{{\boldsymbol x} \in \R^2 : (1)~ -2\,x_1 + 3\,x_2 \le 6,~ (2)~ 2\,x_1 \le 4,~ (3)~ 2\,x_1 - 2\,x_2 \le -4,~ (4)~ 3\,x_1 + 3\,x_2 \le 10\}$ and its point $\bar{\boldsymbol x} = (0, 2)$. A constraint is active at $\bar{\boldsymbol x}$ if it is satisfied with equality, i.e., if $\bar{\boldsymbol x}$ lies on its supporting hyperplane. Which constraints are active at $\bar{\boldsymbol x}$?
constraints 2 and 4
constraints 1 and 3
constraints 1, 2, 3 and 4
only constraint 1
Explanation. Substituting $\bar{\boldsymbol x}$: $(1)~ 6 = 6,~ (2)~ 0 < 4,~ (3)~ -4 = -4,~ (4)~ 6 < 10$. The constraints with equality are active; the others are satisfied with strict inequality.
Example 2 · lp-g-vincoli-attivi · level facile · notes
Consider the polyhedron $P = \{{\boldsymbol x} \in \R^2 : (1)~ -2\,x_1 - 2\,x_2 \le -3,~ (2)~ x_1 + 2\,x_2 \le 2,~ (3)~ -x_1 \le 2,~ (4)~ x_1 - 3\,x_2 \le 2\}$ and its point $\bar{\boldsymbol x} = (2, 0)$. A constraint is active at $\bar{\boldsymbol x}$ if it is satisfied with equality, i.e., if $\bar{\boldsymbol x}$ lies on its supporting hyperplane. Which constraints are active at $\bar{\boldsymbol x}$?
constraints 1 and 3
constraints 1, 2 and 4
constraints 2 and 4
constraints 1, 2, 3 and 4
Explanation. Substituting $\bar{\boldsymbol x}$: $(1)~ -4 < -3,~ (2)~ 2 = 2,~ (3)~ -2 < 2,~ (4)~ 2 = 2$. The constraints with equality are active; the others are satisfied with strict inequality.
3. Linear optimization problems (2)
Example 1 · lp-g-ottimo-una-variabile · level facile · notes
Consider the LP problem in one variable $\min\{x + 1 : x \ge -4\}$, with optimal solution $\tilde x$ and optimal value $z(LP)$ if they exist. Which statement is correct?
$\tilde x = -4$, $z(LP) = -3$
The problem is unbounded
$\tilde x = -3$, $z(LP) = -2$
$\tilde x = -4$, $z(LP) = -5$
Explanation. The coefficient of $x$ is $1$: in a minimization problem it pays to decrease $x$ up to the endpoint $\tilde x = -4$, with $z(LP) = 1 \cdot (-4) + 1 = -3$.
Example 2 · lp-g-ottimo-una-variabile · level facile · notes
Consider the LP problem in one variable $\max\{-x + 4 : -2 \le x \le 6\}$, with optimal solution $\tilde x$ and optimal value $z(LP)$ if they exist. Which statement is correct?
$\tilde x = -2$, $z(LP) = 6$
$\tilde x = -2$, $z(LP) = -2$
$\tilde x = 6$, $z(LP) = -2$
The problem is unbounded
Explanation. The coefficient of $x$ is $-1$: in a maximization problem it pays to decrease $x$ up to the endpoint $\tilde x = -2$, with $z(LP) = -1 \cdot (-2) + 4 = 6$.
Example 1 · lp-g-proprieta-scala · level facile · notes
Let $F \subseteq \R^n$ be the feasible region of an LP problem and assume that $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\} = 0$ and $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\} = 6$. What is $\min\{2\,{\boldsymbol c}'{\boldsymbol x} + 5 : {\boldsymbol x} \in F\}$?
$5$
$10$
$17$
$-5$
Explanation. The constant is added to the optimal value and the factor multiplies it, but with a positive factor the minimization stays as it is: $2 \cdot 0 + 5 = 5$.
Example 2 · lp-g-proprieta-scala · level facile · notes
Let $F \subseteq \R^n$ be the feasible region of an LP problem and assume that $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\} = -2$ and $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol x} \in F\} = 6$. What is $\max\{2\,{\boldsymbol c}'{\boldsymbol x} + 2 : {\boldsymbol x} \in F\}$?
$14$
$16$
$-2$
$8$
Explanation. The constant is added to the optimal value and the factor multiplies it, but with a positive factor the maximization stays as it is: $2 \cdot 6 + 2 = 14$.
4. Linear Programming problems (3)
Example 1 · lp-g-lower-bound · level facile · notes
Consider the LP problem in canonical maximization form $\begin{array}{rl} \max & 5\,x_1 + 6\,x_2 \\ \text{subject to} & -2\,x_1 + 3\,x_2 \le 10 \\ & 2\,x_1 + 4\,x_2 \le 4 \\ & 4\,x_1 - x_2 \le 6 \\ & x_1, x_2 \ge 0 \end{array}$, with optimal value $z(LP)$. Every feasible solution $\bar{\boldsymbol x}$ gives the lower bound $LB(\bar{\boldsymbol x}) = {\boldsymbol c}'\bar{\boldsymbol x} \le z(LP)$. Which of the following statements is correct?
Explanation. The point $(1, 0)$ satisfies the three constraints and non-negativity, and $LB(\bar{\boldsymbol x}) = 5 \cdot 1 + 6 \cdot 0 = 5 \le z(LP)$. The point $(0, 7)$ violates constraint 1, $(-2, 2)$ violates non-negativity and for $(0, 1)$ the correct value is $6$.
Example 2 · lp-g-lower-bound · level facile · notes
Consider the LP problem in canonical maximization form $\begin{array}{rl} \max & 6\,x_1 + 5\,x_2 \\ \text{subject to} & -2\,x_1 + 4\,x_2 \le 14 \\ & 2\,x_1 + 2\,x_2 \le 6 \\ & 2\,x_1 + x_2 \le 4 \\ & x_1, x_2 \ge 0 \end{array}$, with optimal value $z(LP)$. Every feasible solution $\bar{\boldsymbol x}$ gives the lower bound $LB(\bar{\boldsymbol x}) = {\boldsymbol c}'\bar{\boldsymbol x} \le z(LP)$. Which of the following statements is correct?
Explanation. The point $(1, 0)$ satisfies the three constraints and non-negativity, and $LB(\bar{\boldsymbol x}) = 6 \cdot 1 + 5 \cdot 0 = 6 \le z(LP)$. The point $(3, 2)$ violates constraint 2, $(-1, 2)$ violates non-negativity and for $(0, 3)$ the correct value is $15$.
Example 1 · lp-g-metodo-grafico · level media · notes
Solve with the graphical method the LP problem $\begin{array}{rl} \max & 4\,x_1 + 4\,x_2 \\ \text{subject to} & 4\,x_1 + 5\,x_2 \le 27 \\ & x_1 + 5\,x_2 \le 18 \\ & x_1, x_2 \ge 0 \end{array}$ (the optimal solution is unique). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. The vertices of the feasible region other than the origin are $(\frac{27}{4}, 0)$: $27$, $(3, 3)$: $24$, $(0, \frac{18}{5})$: $\frac{72}{5}$: the maximum value is attained at $(\frac{27}{4}, 0)$. The point $(18, 0)$ is the intercept of the less restrictive constraint on the axis and it is not feasible.
Example 2 · lp-g-metodo-grafico · level media · notes
Solve with the graphical method the LP problem $\begin{array}{rl} \max & 5\,x_1 + 4\,x_2 \\ \text{subject to} & 2\,x_1 + x_2 \le 9 \\ & 2\,x_1 + 5\,x_2 \le 29 \\ & x_1, x_2 \ge 0 \end{array}$ (the optimal solution is unique). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. The vertices of the feasible region other than the origin are $(\frac{9}{2}, 0)$: $\frac{45}{2}$, $(2, 5)$: $30$, $(0, \frac{29}{5})$: $\frac{116}{5}$: the maximum value is attained at $(2, 5)$. The point $(\frac{29}{2}, 0)$ is the intercept of the less restrictive constraint on the axis and it is not feasible.
Example 1 · lp-g-grafico-misto · level complessa · notes
Solve with the graphical method (or by enumerating the vertices) the LP problem $\begin{array}{rl} \max & 2\,x_1 + 2\,x_2 \\ \text{subject to} & x_1 + x_2 \le 12 \\ & 2\,x_1 + 3\,x_2 \le 15 \\ & x_1 + 2\,x_2 \ge 2 \\ & x_1, x_2 \ge 0 \end{array}$. What are the optimal solution and the optimal value?
$(2, 0)$, $z = 4$
$(0, 5)$, $z = 10$
$(\frac{15}{2}, 0)$, $z = 15$
$(0, 1)$, $z = 2$
Explanation. The vertices of the region are $(\frac{15}{2}, 0)$, $(0, 5)$, $(2, 0)$, $(0, 1)$; the largest value is $15$. The $\ge$ constraint excludes the origin.
Example 2 · lp-g-grafico-misto · level complessa · notes
Solve with the graphical method (or by enumerating the vertices) the LP problem $\begin{array}{rl} \max & x_1 + 2\,x_2 \\ \text{subject to} & x_1 + x_2 \le 16 \\ & 3\,x_1 + 4\,x_2 \le 14 \\ & x_1 + 2\,x_2 \ge 2 \\ & x_1, x_2 \ge 0 \end{array}$. What are the optimal solution and the optimal value?
$(\frac{14}{3}, 0)$, $z = \frac{14}{3}$
$(2, 0)$, $z = 2$
$(0, \frac{7}{2})$, $z = 7$
$(0, 1)$, $z = 2$
Explanation. The vertices of the region are $(0, \frac{7}{2})$, $(\frac{14}{3}, 0)$, $(0, 1)$, $(2, 0)$; the largest value is $7$. The $\ge$ constraint excludes the origin.
5. Possible outcomes and equivalent formulations (2)
Example 1 · lp-g-forme-equivalenti · level facile · notes
Consider the LP problem $\begin{array}{rl} \max & -4\,x_1 + 5\,x_2 - 2\,x_3 - 2\,x_4 \\ \text{subject to} & -3\,x_1 - 3\,x_2 - x_3 + x_4 \le -2 \\ & x_2 + 3\,x_3 - 3\,x_4 = 5 \\ & -x_1 + 5\,x_2 - x_3 \ge -2 \\ & -2\,x_1 + x_2 + 3\,x_3 + 2\,x_4 = 3 \\ & x_1 \le 0,~ x_2 \gtreqless 0,~ x_3 \gtreqless 0,~ x_4 \ge 0 \end{array}$. The equivalent LP problem in standard maximization form is obtained with the usual transformations (a minimization problem becomes a maximization one by changing the sign of the objective function, $x_j = -x_j^+$ for the non-positive variables, $x_j = x_j^+ - x_j^-$ for the free variables, one slack or surplus variable for each inequality). How many variables and constraints does it have?
$8$ non-negative variables and $4$ equality constraints
$8$ non-negative variables and $6$ equality constraints
$6$ non-negative variables and $4$ equality constraints
$10$ non-negative variables and $4$ equality constraints
Explanation. The variables become $1 + 1 + 2 \cdot 2 = 6$ (each free variable requires two), plus one slack or surplus variable for each of the $2$ inequalities: $8$ in total. The constraints remain $4$, all equalities; the equality constraints receive no additional variable.
Example 2 · lp-g-forme-equivalenti · level facile · notes
Consider the LP problem $\begin{array}{rl} \min & 6\,x_1 + 4\,x_2 + 3\,x_3 \\ \text{subject to} & 4\,x_1 + 4\,x_2 - 2\,x_3 \le 9 \\ & 5\,x_1 + 3\,x_2 + 3\,x_3 \ge -1 \\ & 2\,x_1 + x_2 - 3\,x_3 = -2 \\ & -x_1 - x_2 - 3\,x_3 \ge 4 \\ & x_1 \gtreqless 0,~ x_2 \ge 0,~ x_3 \ge 0 \end{array}$. The equivalent LP problem in standard maximization form is obtained with the usual transformations (a minimization problem becomes a maximization one by changing the sign of the objective function, $x_j = -x_j^+$ for the non-positive variables, $x_j = x_j^+ - x_j^-$ for the free variables, one slack or surplus variable for each inequality). How many variables and constraints does it have?
$7$ non-negative variables and $4$ equality constraints
$6$ non-negative variables and $4$ equality constraints
$7$ non-negative variables and $5$ equality constraints
$8$ non-negative variables and $4$ equality constraints
Explanation. The variables become $2 + 0 + 2 \cdot 1 = 4$ (each free variable requires two), plus one slack or surplus variable for each of the $3$ inequalities: $7$ in total. The constraints remain $4$, all equalities; the equality constraints receive no additional variable.
Example 1 · lp-g-esito-due-variabili · level media · notes
Consider the LP problem $\begin{array}{rl} \max & -4\,x_1 + 4\,x_2 \\ \text{subject to} & x_1 + 3\,x_2 \le 10 \\ & 3\,x_1 + x_2 \ge 5 \\ & x_1, x_2 \ge 0 \end{array}$. Which statement about its outcome is correct?
The LP problem has an optimal solution, with $z(LP) = 0$
The LP problem has an optimal solution, with $z(LP) = 20$
The LP problem is infeasible
The LP problem has an optimal solution, with $z(LP) = 10$
Explanation. The feasible region is non-empty and no feasible direction makes the objective function grow without bound; the maximum over the feasible vertices is $z(LP) = 10$. The other values come from infeasible basic points or non-optimal vertices.
Example 2 · lp-g-esito-due-variabili · level media · notes
Consider the LP problem $\begin{array}{rl} \max & 3\,x_1 + 2\,x_2 \\ \text{subject to} & 3\,x_1 - x_2 \le -5 \\ & 3\,x_1 + 3\,x_2 \ge 6 \\ & x_1, x_2 \ge 0 \end{array}$. Which statement about its outcome is correct?
The LP problem is unbounded
The LP problem is infeasible
The LP problem has an optimal solution, with $z(LP) = 6$
The LP problem has an optimal solution, with $z(LP) = 4$
Explanation. The feasible region is non-empty and contains a half-line along a direction ${\boldsymbol d} \ge {\boldsymbol 0}$ which respects the constraints and has ${\boldsymbol c}'{\boldsymbol d} > 0$: the objective function grows without bound.
6. Simplex algorithm (3)
Example 1 · lp-g-pivot-nuovo-z · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{2, 4, 5\}$, $\pazocal{N} = \{1, 3\}$: $\begin{array}{rcl} x_2 & = & 1 - 2\,x_1 + 2\,x_3 \\ x_4 & = & 9 + x_1 + x_3 \\ x_5 & = & 1 + 2\,x_1 - x_3 \\ z & = & 9 + 3\,x_1 + 2\,x_3 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). A pivoting operation is performed with pivot column $x_1$ and the pivot row chosen by the ratio test. What is the value of $\bar z$ in the new dictionary?
$\frac{19}{2}$
$\frac{15}{2}$
$12$
$\frac{21}{2}$
Explanation. Ratio test: $t_m = \min\{\frac{1}{2}\} = \frac{1}{2}$ (only the rows with $\bar a_{i1} > 0$). The new value is $\bar z + t_m \, \bar c_{1} = 9 + \frac{1}{2} \cdot 3 = \frac{21}{2}$.
Example 2 · lp-g-pivot-nuovo-z · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 3, 5\}$, $\pazocal{N} = \{2, 4\}$: $\begin{array}{rcl} x_1 & = & 8 - 3\,x_2 - 2\,x_4 \\ x_3 & = & 9 - 3\,x_2 - 2\,x_4 \\ x_5 & = & 8 - 3\,x_2 + 2\,x_4 \\ z & = & 5 + 5\,x_2 + 5\,x_4 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). A pivoting operation is performed with pivot column $x_4$ and the pivot row chosen by the ratio test. What is the value of $\bar z$ in the new dictionary?
$9$
$\frac{55}{2}$
$25$
$-15$
Explanation. Ratio test: $t_m = \min\{\frac{8}{2},~ \frac{9}{2}\} = 4$ (only the rows with $\bar a_{i4} > 0$). The new value is $\bar z + t_m \, \bar c_{4} = 5 + 4 \cdot 5 = 25$.
Example 1 · lp-g-esito-dizionario · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 2, 5\}$, $\pazocal{N} = \{3, 4\}$: $\begin{array}{rcl} x_1 & = & 6 - x_3 - 3\,x_4 \\ x_2 & = & 0 - 3\,x_3 + 2\,x_4 \\ x_5 & = & 3 + 3\,x_3 + 3\,x_4 \\ z & = & 10 + 3\,x_3 - 3\,x_4 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Pivoting follows Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index); $t_m$ is the step given by the ratio test. Which of the following statements is correct?
With Bland's rule a non-degenerate pivoting operation is needed, with $t_m = 1$.
The basic feasible solution of the dictionary is optimal.
With Bland's rule a degenerate pivoting operation is needed ($t_m = 0$).
The LP problem is unbounded: the variable $x_3$ gives the certificate of unboundedness.
Explanation. The pivot column is $x_3$ and a row with $\bar a_{i3} > 0$ has $\bar b_i = 0$: the ratio test gives $t_m = 0$, the solution is degenerate and the value of $z$ does not change.
Example 2 · lp-g-esito-dizionario · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 3, 4\}$, $\pazocal{N} = \{2, 5\}$: $\begin{array}{rcl} x_1 & = & 8 - x_2 + x_5 \\ x_3 & = & 7 - x_2 + 3\,x_5 \\ x_4 & = & 8 + 3\,x_2 + 3\,x_5 \\ z & = & 11 - 2\,x_2 + 2\,x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Pivoting follows Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index); $t_m$ is the step given by the ratio test. Which of the following statements is correct?
With Bland's rule a degenerate pivoting operation is needed ($t_m = 0$).
The basic feasible solution of the dictionary is optimal.
With Bland's rule a non-degenerate pivoting operation is needed, with $t_m = 2$.
The LP problem is unbounded: the variable $x_5$ gives the certificate of unboundedness.
Explanation. The variable $x_5$ has a positive reduced cost and $\bar a_{i5} \le 0$ for every $i \in \pazocal{B}$: increasing it no basic variable becomes negative and $z$ grows without bound.
Example 1 · lp-g-simplesso-completo · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & 6\,x_1 + 6\,x_2 \\ \text{subject to} & x_1 - x_2 \le 7 \\ & 2\,x_1 + 4\,x_2 \le 14 \\ & 2\,x_1 \le 4 \\ & x_1, x_2 \ge 0 \end{array}$ with the simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ and using Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. Pivoting operations: $x_1$ enters, $x_5$ leaves; $x_2$ enters, $x_4$ leaves. The final dictionary has all reduced costs negative, hence $(2, \frac{5}{2})$ with $z(LP) = 27$ is the unique optimal solution. The other options are a vertex visited earlier, non-optimal vertices or infeasible basic solutions.
Example 2 · lp-g-simplesso-completo · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & 2\,x_1 + 2\,x_2 \\ \text{subject to} & 5\,x_1 \le 15 \\ & 4\,x_1 + 2\,x_2 \le 9 \\ & x_1 + 3\,x_2 \le 14 \\ & x_1, x_2 \ge 0 \end{array}$ with the simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ and using Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. Pivoting operations: $x_1$ enters, $x_4$ leaves; $x_2$ enters, $x_1$ leaves. The final dictionary has all reduced costs negative, hence $(0, \frac{9}{2})$ with $z(LP) = 9$ is the unique optimal solution. The other options are a vertex visited earlier, non-optimal vertices or infeasible basic solutions.
7. Optimality conditions and pivot rules (4)
Example 1 · lp-g-pivot-bland · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 2, 6\}$, $\pazocal{N} = \{3, 4, 5\}$: $\begin{array}{rcl} x_1 & = & 7 - x_3 - 3\,x_4 \\ x_2 & = & 9 - x_3 - 2\,x_4 + 3\,x_5 \\ x_6 & = & 3 - x_3 - 3\,x_5 \\ z & = & 3 + 4\,x_3 + 3\,x_4 + 3\,x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). With Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index), what are the pivot column and the pivot row?
pivot column $x_3$, pivot row $x_6$
pivot column $x_4$, pivot row $x_1$
pivot column $x_3$, pivot row $x_1$
pivot column $x_3$, pivot row $x_2$
Explanation. The pivot column is the non-basic variable with the smallest index and a positive reduced cost: $x_3$ ($\bar c_{3} = 4$), not the one with the largest reduced cost. Ratio test on the rows with $\bar a_{i3} > 0$: $t_m = \min\{\frac{7}{1},~ \frac{9}{1},~ \frac{3}{1}\} = 3$, attained by $x_6$ (smallest index in case of ties).
Example 2 · lp-g-pivot-bland · level facile · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 4, 6\}$, $\pazocal{N} = \{2, 3, 5\}$: $\begin{array}{rcl} x_1 & = & 1 + 3\,x_2 + 3\,x_3 + x_5 \\ x_4 & = & 6 - x_2 + 2\,x_3 + x_5 \\ x_6 & = & 9 - 2\,x_2 + x_3 - 2\,x_5 \\ z & = & 4 + 3\,x_2 + 4\,x_3 + 5\,x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). With Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index), what are the pivot column and the pivot row?
pivot column $x_2$, pivot row $x_4$
pivot column $x_2$, pivot row $x_6$
pivot column $x_5$, pivot row $x_6$
pivot column $x_2$, pivot row $x_1$
Explanation. The pivot column is the non-basic variable with the smallest index and a positive reduced cost: $x_2$ ($\bar c_{2} = 3$), not the one with the largest reduced cost. Ratio test on the rows with $\bar a_{i2} > 0$: $t_m = \min\{\frac{6}{1},~ \frac{9}{2}\} = \frac{9}{2}$, attained by $x_6$ (smallest index in case of ties).
Example 1 · lp-g-ottimi-multipli · level media · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 2, 4\}$, $\pazocal{N} = \{3, 5\}$: $\begin{array}{rcl} x_1 & = & 8 - x_3 - x_5 \\ x_2 & = & 8 + 3\,x_3 - 3\,x_5 \\ x_4 & = & 2 + 2\,x_3 + 3\,x_5 \\ z & = & 1 - x_3 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). The dictionary is optimal and the reduced cost of $x_5$ is zero. A pivoting operation is performed with column $x_5$ (pivot row from the ratio test, ties broken by the smallest index). What is obtained?
$x_2$ leaves, the new solution has $x_5 = \frac{8}{3}$ and $z = 1$
$x_1$ leaves, the new solution has $x_5 = 8$ and $z = 1$
$x_2$ leaves, the new solution has $x_5 = 8$ and $z = 1$
$x_2$ leaves, the new solution has $x_5 = \frac{8}{3}$ and $z = \frac{11}{3}$
Explanation. Ratio test: $t_m = \min\{\frac{8}{1},~ \frac{8}{3}\} = \frac{8}{3}$, attained by $x_2$. The value becomes $\bar z + t_m\,\bar c_{5} = \bar z = 1$ since $\bar c_{5} = 0$: another optimal basic feasible solution is obtained, hence the optimum is not unique.
Example 2 · lp-g-ottimi-multipli · level media · notes
In the simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dictionary with $\pazocal{B} = \{1, 3, 5\}$, $\pazocal{N} = \{2, 4\}$: $\begin{array}{rcl} x_1 & = & 8 - 2\,x_2 - x_4 \\ x_3 & = & 9 - 2\,x_2 - x_4 \\ x_5 & = & 8 - 2\,x_2 + 3\,x_4 \\ z & = & 5 - 4\,x_2 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). The dictionary is optimal and the reduced cost of $x_4$ is zero. A pivoting operation is performed with column $x_4$ (pivot row from the ratio test, ties broken by the smallest index). What is obtained?
$x_3$ leaves, the new solution has $x_4 = 9$ and $z = 14$
$x_3$ leaves, the new solution has $x_4 = 9$ and $z = 5$
$x_1$ leaves, the new solution has $x_4 = 8$ and $z = 13$
$x_1$ leaves, the new solution has $x_4 = 8$ and $z = 5$
Explanation. Ratio test: $t_m = \min\{\frac{8}{1},~ \frac{9}{1}\} = 8$, attained by $x_1$. The value becomes $\bar z + t_m\,\bar c_{4} = \bar z = 5$ since $\bar c_{4} = 0$: another optimal basic feasible solution is obtained, hence the optimum is not unique.
Example 1 · lp-g-bland-colonna · level facile · notes
In the simplex algorithm for a problem in standard maximization form, the current dictionary has nonbasic variables $x_1, x_2, x_3, x_5$ with reduced costs $\bar c_{1} = 1$, $\bar c_{2} = 1$, $\bar c_{3} = 4$, $\bar c_{5} = -5$. With Bland's rule (pivot column: the nonbasic variable of smallest index with $\bar c_j > 0$), which variable enters the basis?
$x_3$
$x_5$
$x_1$
None: the dictionary is optimal
Explanation. Candidates: the variables with $\bar c_j > 0$; take the smallest index, $x_1$, not the one with the largest reduced cost.
Example 2 · lp-g-bland-colonna · level facile · notes
In the simplex algorithm for a problem in standard maximization form, the current dictionary has nonbasic variables $x_1, x_4, x_5, x_7$ with reduced costs $\bar c_{1} = 3$, $\bar c_{4} = 2$, $\bar c_{5} = 5$, $\bar c_{7} = 3$. With Bland's rule (pivot column: the nonbasic variable of smallest index with $\bar c_j > 0$), which variable enters the basis?
$x_1$
$x_5$
$x_7$
None: the dictionary is optimal
Explanation. Candidates: the variables with $\bar c_j > 0$; take the smallest index, $x_1$, not the one with the largest reduced cost.
Example 1 · lp-g-pivot-completo · level media · notes
In the simplex algorithm for a problem in standard maximization form, the current feasible dictionary is $\begin{array}{rcl} x_3 & = & 18 - 5\,x_1 \\ x_4 & = & 4 - x_1 - x_2 \\ z & = & 0 + x_1 + 3\,x_2 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$). With Bland's rule (column: smallest index with $\bar c_j > 0$; row: minimum ratio $\bar b_i / \bar a_{ip}$ with $\bar a_{ip} > 0$, ties by smallest index), which pivot is performed and which value $\bar z$ is obtained?
$x_1$ enters, $x_3$ leaves, new $\bar z = 1$
$x_1$ enters, $x_3$ leaves, new $\bar z = -\frac{18}{5}$
$x_1$ enters, $x_3$ leaves, new $\bar z = \frac{18}{5}$
$x_1$ enters, $x_4$ leaves, new $\bar z = \frac{18}{5}$
Explanation. $x_1$ enters; the ratio test gives $t_m = \frac{18}{5}$ on the row of $x_3$; $\bar z$ becomes $0 + 1 \cdot \frac{18}{5} = \frac{18}{5}$.
Example 2 · lp-g-pivot-completo · level media · notes
In the simplex algorithm for a problem in standard maximization form, the current feasible dictionary is $\begin{array}{rcl} x_3 & = & 7 - x_1 - x_2 \\ x_4 & = & 19 - 5\,x_1 \\ z & = & 0 + 5\,x_1 + 6\,x_2 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$). With Bland's rule (column: smallest index with $\bar c_j > 0$; row: minimum ratio $\bar b_i / \bar a_{ip}$ with $\bar a_{ip} > 0$, ties by smallest index), which pivot is performed and which value $\bar z$ is obtained?
$x_1$ enters, $x_4$ leaves, new $\bar z = 5$
$x_1$ enters, $x_4$ leaves, new $\bar z = 19$
$x_1$ enters, $x_4$ leaves, new $\bar z = -19$
$x_1$ enters, $x_3$ leaves, new $\bar z = 19$
Explanation. $x_1$ enters; the ratio test gives $t_m = \frac{19}{5}$ on the row of $x_4$; $\bar z$ becomes $0 + 5 \cdot \frac{19}{5} = 19$.
8. Phase 0 of the simplex algorithm (3)
Example 1 · lp-g-fase0-pivot-speciale · level facile · notes
Consider the LP problem $\begin{array}{rl} \max & 5\,x_1 + x_2 \\ \text{subject to} & -x_1 - 3\,x_2 \le -6 \\ & -3\,x_1 - x_2 \le -8 \\ & x_1 - 2\,x_2 \le 6 \\ & x_1, x_2 \ge 0 \end{array}$ and its simplex auxiliary problem $\max\{-x_0 : \sum_j a_{ij} x_j - x_0 \le b_i~ \forall i,~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, in standard form with the slack variables $x_3, x_4, x_5$ in the basis (infeasible initial dictionary). What does the special pivoting operation of Phase $0$ produce?
$x_4$ leaves the basis and $x_0 = 8$
$x_4$ leaves the basis and $x_0 = -8$
no variable can leave the basis: the ratio test has no candidate
$x_3$ leaves the basis and $x_0 = 6$
Explanation. In the special pivoting operation $x_0$ enters the basis and the basic variable with the most negative right-hand side leaves: $r \in \argmin\{b_i\}$, i.e., $x_4$ with $b_2 = -8$. After the pivot $x_0 = -b_2 = 8$ and $x_i = b_i - b_2 \ge 0$ for the other basic variables.
Example 2 · lp-g-fase0-pivot-speciale · level facile · notes
Consider the LP problem $\begin{array}{rl} \max & 5\,x_1 + 4\,x_2 \\ \text{subject to} & 2\,x_1 + 4\,x_2 \le -8 \\ & 3\,x_1 + 2\,x_2 \le 3 \\ & 3\,x_1 + 3\,x_2 \le -4 \\ & x_1, x_2 \ge 0 \end{array}$ and its simplex auxiliary problem $\max\{-x_0 : \sum_j a_{ij} x_j - x_0 \le b_i~ \forall i,~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$, in standard form with the slack variables $x_3, x_4, x_5$ in the basis (infeasible initial dictionary). What does the special pivoting operation of Phase $0$ produce?
no variable can leave the basis: the ratio test has no candidate
$x_5$ leaves the basis and $x_0 = 4$
$x_3$ leaves the basis and $x_0 = -8$
$x_3$ leaves the basis and $x_0 = 8$
Explanation. In the special pivoting operation $x_0$ enters the basis and the basic variable with the most negative right-hand side leaves: $r \in \argmin\{b_i\}$, i.e., $x_3$ with $b_1 = -8$. After the pivot $x_0 = -b_1 = 8$ and $x_i = b_i - b_1 \ge 0$ for the other basic variables.
Example 1 · lp-g-fase0-esito · level complessa · notes
Apply to the LP problem $\begin{array}{rl} \max & -x_1 + x_2 \\ \text{subject to} & x_1 \le 4 \\ & -x_1 - 3\,x_2 \le -2 \\ & 2\,x_1 + x_2 \le 8 \\ & x_1, x_2 \ge 0 \end{array}$ Phase $0$, i.e., the simplex auxiliary problem $\max\{-x_0 : \sum_j a_{ij} x_j - x_0 \le b_i~ \forall i,~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$ solved by the simplex algorithm after the special pivoting operation, and, if needed, the simplex algorithm; both use Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). Which statement is correct?
The LP problem admits an optimal solution with $z(\, LP \,) = 8$.
The LP problem admits an optimal solution with $z(\, LP \,) = -2$.
The LP problem is unbounded.
The LP problem is infeasible: the optimal value of the auxiliary problem is $-2$.
Explanation. Phase $0$ ends with optimal value $0$ (the problem is feasible) and gives the initial basis; after substituting the original objective function, the simplex algorithm ends with $z(LP) = 8$ at the vertex $(0, 8)$.
Example 2 · lp-g-fase0-esito · level complessa · notes
Apply to the LP problem $\begin{array}{rl} \max & 4\,x_1 - 2\,x_2 \\ \text{subject to} & 3\,x_1 + 3\,x_2 \le 5 \\ & x_1 - 2\,x_2 \le 4 \\ & -3\,x_2 \le -4 \\ & x_1, x_2 \ge 0 \end{array}$ Phase $0$, i.e., the simplex auxiliary problem $\max\{-x_0 : \sum_j a_{ij} x_j - x_0 \le b_i~ \forall i,~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$ solved by the simplex algorithm after the special pivoting operation, and, if needed, the simplex algorithm; both use Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). Which statement is correct?
The LP problem admits an optimal solution with $z(\, LP \,) = \frac{20}{3}$.
The LP problem is unbounded.
The LP problem admits an optimal solution with $z(\, LP \,) = -\frac{4}{3}$.
The LP problem is infeasible: the optimal value of the auxiliary problem is $-4$.
Explanation. Phase $0$ ends with optimal value $0$ (the problem is feasible) and gives the initial basis; after substituting the original objective function, the simplex algorithm ends with $z(LP) = -\frac{4}{3}$ at the vertex $(\frac{1}{3}, \frac{4}{3})$.
In Phase $0$ for a problem in canonical maximization form with $n = 2$ variables and right-hand sides ${\boldsymbol b} = $ $(1, -7, -1)$, the auxiliary problem $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$ has the slacks $x_3, \dots, x_{5}$ basic. In the special pivot $x_0$ enters: which value does $x_0$ take and which slack leaves?
$x_0 = 1$, $x_3$ leaves
$x_0 = 7$, $x_4$ leaves
$x_0 = 7$, $x_5$ leaves
$x_0 = 1$, $x_5$ leaves
Explanation. The slack with the most negative right-hand side leaves, $b_{2} = -7$, and $x_0 = 7$: so all slacks become nonnegative.
In Phase $0$ for a problem in canonical maximization form with $n = 2$ variables and right-hand sides ${\boldsymbol b} = $ $(6, -4, -8)$, the auxiliary problem $\max\{-x_0 : {\boldsymbol A}{\boldsymbol x} - x_0 {\boldsymbol 1} \le {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0},~ x_0 \ge 0\}$ has the slacks $x_3, \dots, x_{5}$ basic. In the special pivot $x_0$ enters: which value does $x_0$ take and which slack leaves?
$x_0 = 8$, $x_5$ leaves
$x_0 = 6$, $x_3$ leaves
$x_0 = 8$, $x_4$ leaves
$x_0 = 4$, $x_4$ leaves
Explanation. The slack with the most negative right-hand side leaves, $b_{3} = -8$, and $x_0 = 8$: so all slacks become nonnegative.
9. Duality theory (6)
Example 1 · lp-g-scrivere-duale · level facile · notes
What is the dual problem of the LP problem in canonical maximization form $\begin{array}{rl} \max & 5\,x_1 + 5\,x_2 \\ \text{subject to} & 2\,x_1 + 2\,x_2 \le 2 \\ & 4\,x_1 + 4\,x_2 \le 10 \\ & x_1, x_2 \ge 0 \end{array}$, with the dual variable $\pi_i$ associated with constraint $i$?
Explanation. The dual is $\min {\boldsymbol b}'{\boldsymbol \pi}$ subject to ${\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c}$, ${\boldsymbol \pi} \ge {\boldsymbol 0}$: the right-hand sides become the costs, and dual constraint $j$ uses column $j$ of ${\boldsymbol A}$ (not the row) with direction $\ge$.
Example 2 · lp-g-scrivere-duale · level facile · notes
What is the dual problem of the LP problem in canonical maximization form $\begin{array}{rl} \max & 7\,x_1 + 6\,x_2 \\ \text{subject to} & x_1 + 4\,x_2 \le 5 \\ & -2\,x_2 \le 11 \\ & x_1, x_2 \ge 0 \end{array}$, with the dual variable $\pi_i$ associated with constraint $i$?
Explanation. The dual is $\min {\boldsymbol b}'{\boldsymbol \pi}$ subject to ${\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c}$, ${\boldsymbol \pi} \ge {\boldsymbol 0}$: the right-hand sides become the costs, and dual constraint $j$ uses column $j$ of ${\boldsymbol A}$ (not the row) with direction $\ge$.
Example 1 · lp-g-duale-da-dizionario · level facile · notes
The LP problem in canonical maximization form $\begin{array}{rl} \max & 6\,x_1 + 4\,x_2 \\ \text{subject to} & 3\,x_1 + x_2 \le 20 \\ & x_1 + 2\,x_2 \le 5 \\ & x_1 + 3\,x_2 \le 16 \\ & x_1, x_2 \ge 0 \end{array}$, with slack variables $x_3, x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_1 & = & 5 - 2\,x_2 - x_4 \\ x_3 & = & 5 + 5\,x_2 + 3\,x_4 \\ x_5 & = & 11 - x_2 + x_4 \\ z & = & 30 - 8\,x_2 - 6\,x_4 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). What is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. As in the proof of Strong Duality, $\tilde\pi_i = -\bar c_{2+i}$: the reduced cost of the slack variable $x_{2+i}$ with the opposite sign, and $0$ if the slack variable is basic. Check: $\sum_i b_i \tilde\pi_i = 20 \cdot 0 + 5 \cdot 6 + 16 \cdot 0 = 30 = z(LP)$.
Example 2 · lp-g-duale-da-dizionario · level facile · notes
The LP problem in canonical maximization form $\begin{array}{rl} \max & 5\,x_1 + x_2 \\ \text{subject to} & 5\,x_1 + 4\,x_2 \le 6 \\ & 5\,x_1 + 5\,x_2 \le 15 \\ & 4\,x_1 + x_2 \le 14 \\ & x_1, x_2 \ge 0 \end{array}$, with slack variables $x_3, x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_1 & = & \frac{6}{5} - \frac{4}{5}\,x_2 - \frac{1}{5}\,x_3 \\ x_4 & = & 9 - x_2 + x_3 \\ x_5 & = & \frac{46}{5} + \frac{11}{5}\,x_2 + \frac{4}{5}\,x_3 \\ z & = & 6 - 3\,x_2 - x_3 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). What is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. As in the proof of Strong Duality, $\tilde\pi_i = -\bar c_{2+i}$: the reduced cost of the slack variable $x_{2+i}$ with the opposite sign, and $0$ if the slack variable is basic. Check: $\sum_i b_i \tilde\pi_i = 6 \cdot 1 + 15 \cdot 0 + 14 \cdot 0 = 6 = z(LP)$.
Example 1 · lp-g-scarti-complementari · level media · notes
The solution $\tilde x_1 = 3,~ \tilde x_2 = 3$ is optimal for the LP problem $\begin{array}{rl} \max & 3\,x_1 + 12\,x_2 \\ \text{subject to} & 3\,x_1 + 4\,x_2 \le 21 \\ & 4\,x_2 \le 12 \\ & 3\,x_1 + 3\,x_2 \le 22 \\ & x_1, x_2 \ge 0 \end{array}$. Using Complementary Slackness, what is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. Constraint 3 is not active at $\tilde{\boldsymbol x}$, hence $\tilde\pi_3 = 0$. Since $\tilde x_1, \tilde x_2 > 0$, both dual constraints are active: $3\,\pi_1 = 3$ and $4\,\pi_1 + 4\,\pi_2 = 12$ (columns of ${\boldsymbol A}$), which give $\tilde\pi_1 = 1$, $\tilde\pi_2 = 2$.
Example 2 · lp-g-scarti-complementari · level media · notes
The solution $\tilde x_1 = 2,~ \tilde x_2 = 4$ is optimal for the LP problem $\begin{array}{rl} \max & 8\,x_1 + 16\,x_2 \\ \text{subject to} & x_1 \le 2 \\ & x_1 + 4\,x_2 \le 18 \\ & 3\,x_1 + 3\,x_2 \le 21 \\ & x_1, x_2 \ge 0 \end{array}$. Using Complementary Slackness, what is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. Constraint 3 is not active at $\tilde{\boldsymbol x}$, hence $\tilde\pi_3 = 0$. Since $\tilde x_1, \tilde x_2 > 0$, both dual constraints are active: $\pi_1 + \pi_2 = 8$ and $4\,\pi_2 = 16$ (columns of ${\boldsymbol A}$), which give $\tilde\pi_1 = 4$, $\tilde\pi_2 = 4$.
Example 1 · lp-g-coppia-primale-duale · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & 6\,x_1 + 6\,x_2 \\ \text{subject to} & x_1 - x_2 \le 7 \\ & 2\,x_1 + 4\,x_2 \le 14 \\ & 2\,x_1 \le 4 \\ & x_1, x_2 \ge 0 \end{array}$ with the simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ and using Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). What is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. Pivoting operations: $x_1$ enters, $x_5$ leaves; $x_2$ enters, $x_4$ leaves. In the optimal dictionary $\tilde\pi_i = -\bar c_{2+i}$ (reduced cost of the slack variable $x_{2+i}$ with the opposite sign, $0$ if basic). Check with Strong Duality: $7 \cdot 0 + 14 \cdot \frac{3}{2} + 4 \cdot \frac{3}{2} = 27 = z(LP)$.
Example 2 · lp-g-coppia-primale-duale · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & 2\,x_1 + 2\,x_2 \\ \text{subject to} & 5\,x_1 \le 15 \\ & 4\,x_1 + 2\,x_2 \le 9 \\ & x_1 + 3\,x_2 \le 14 \\ & x_1, x_2 \ge 0 \end{array}$ with the simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ and using Bland's rule (pivot column: the non-basic variable with the smallest index and $\bar c_j > 0$; pivot row: ratio test $\min\{\bar b_i / \bar a_{ip} : \bar a_{ip} > 0\}$, ties broken by the smallest index). What is the optimal solution of the dual problem ($\tilde\pi_i$ is the dual variable associated with constraint $i$)?
Explanation. Pivoting operations: $x_1$ enters, $x_4$ leaves; $x_2$ enters, $x_1$ leaves. In the optimal dictionary $\tilde\pi_i = -\bar c_{2+i}$ (reduced cost of the slack variable $x_{2+i}$ with the opposite sign, $0$ if basic). Check with Strong Duality: $15 \cdot 0 + 9 \cdot 1 + 14 \cdot 0 = 9 = z(LP)$.
Example 1 · lp-g-duale-bound · level facile · notes
For the LP problem $\begin{array}{rl} \max & 4\,x_1 + 4\,x_2 \\ \text{subject to} & 3\,x_1 + 3\,x_2 \le 5 \\ & 4\,x_1 + 5\,x_2 \le 17 \\ & x_1, x_2 \ge 0 \end{array}$ whose dual is $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$, the solution $\bar{\boldsymbol \pi} = (4, 0)$ is dual feasible. What follows for the optimal value $z(LP)$?
$z(LP) \ge 20$
$z(LP) \le 16$
$z(LP) \le 20$
$z(LP) = 20$
Explanation. By weak duality ${\boldsymbol c}'{\boldsymbol x} \le {\boldsymbol b}'\bar{\boldsymbol \pi} = 20$ for every feasible ${\boldsymbol x}$; equality is not guaranteed.
Example 2 · lp-g-duale-bound · level facile · notes
For the LP problem $\begin{array}{rl} \max & 5\,x_1 + 4\,x_2 \\ \text{subject to} & 2\,x_1 + 5\,x_2 \le 10 \\ & 2\,x_1 + x_2 \le 18 \\ & x_1, x_2 \ge 0 \end{array}$ whose dual is $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$, the solution $\bar{\boldsymbol \pi} = (4, 3)$ is dual feasible. What follows for the optimal value $z(LP)$?
$z(LP) \le 94$
$z(LP) \ge 94$
$z(LP) = 94$
$z(LP) \le 32$
Explanation. By weak duality ${\boldsymbol c}'{\boldsymbol x} \le {\boldsymbol b}'\bar{\boldsymbol \pi} = 94$ for every feasible ${\boldsymbol x}$; equality is not guaranteed.
Example 1 · lp-g-cs-duale · level complessa · notes
The LP problem $\begin{array}{rl} \max & 3\,x_1 + 3\,x_2 \\ \text{subject to} & 3\,x_1 + x_2 \le 14 \\ & x_2 \le 5 \\ & x_1, x_2 \ge 0 \end{array}$ has optimal solution $\tilde{\boldsymbol x} = (3, 5)$, with both components positive. Using complementary slackness ($\tilde x_j > 0 \Rightarrow$ dual constraint $j$ active), which optimal solution does the dual $\min\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \ge {\boldsymbol c},~ {\boldsymbol \pi} \ge {\boldsymbol 0}\}$ have, and with which value?
Example 1 · lp-g-pivot-duale · level media · notes
In the dual simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dual feasible dictionary ($\bar c_j \le 0$ for every $j$) with $\pazocal{B} = \{1, 2, 5\}$, $\pazocal{N} = \{3, 4, 6\}$: $\begin{array}{rcl} x_1 & = & -4 - x_3 - 3\,x_4 + 3\,x_6 \\ x_2 & = & -3 + 2\,x_3 + 2\,x_4 + 3\,x_6 \\ x_5 & = & -7 + x_3 + 3\,x_6 \\ z & = & -5 - 3\,x_3 - 5\,x_4 - x_6 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). A dual pivoting operation is performed with Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index). What are the pivot row, the pivot column and the new value of $\bar z$?
pivot row $x_1$, pivot column $x_6$, new $\bar z = -\frac{11}{3}$
pivot row $x_1$, pivot column $x_4$, new $\bar z = -\frac{35}{3}$
pivot row $x_5$, pivot column $x_6$, new $\bar z = -\frac{22}{3}$
pivot row $x_1$, pivot column $x_6$, new $\bar z = -\frac{19}{3}$
Explanation. The pivot row is the basic variable with the smallest index and a negative value: $x_1$ ($\bar b_{1} = -4$). On the columns with $\bar a_{1j} < 0$: $s_m = \min\{\frac{-1}{-3}\} = \frac{1}{3}$, attained by $x_6$. The new value is $\bar z + s_m \bar b_{1} = -5 + \frac{1}{3} \cdot (-4) = -\frac{19}{3}$, which does not increase.
Example 2 · lp-g-pivot-duale · level media · notes
In the dual simplex algorithm for an LP problem in standard maximization form (all variables $x_j \ge 0$), consider the dual feasible dictionary ($\bar c_j \le 0$ for every $j$) with $\pazocal{B} = \{1, 5, 6\}$, $\pazocal{N} = \{2, 3, 4\}$: $\begin{array}{rcl} x_1 & = & -7 + 2\,x_2 - 3\,x_3 + 3\,x_4 \\ x_5 & = & -3 - 2\,x_3 - 2\,x_4 \\ x_6 & = & 2 + 3\,x_2 + 2\,x_3 \\ z & = & -1 - 3\,x_2 - 4\,x_3 - 3\,x_4 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). A dual pivoting operation is performed with Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index). What are the pivot row, the pivot column and the new value of $\bar z$?
pivot row $x_1$, pivot column $x_4$, new $\bar z = -8$
pivot row $x_1$, pivot column $x_4$, new $\bar z = 6$
pivot row $x_1$, pivot column $x_3$, new $\bar z = -\frac{31}{3}$
pivot row $x_1$, pivot column $x_2$, new $\bar z = -\frac{23}{2}$
Explanation. The pivot row is the basic variable with the smallest index and a negative value: $x_1$ ($\bar b_{1} = -7$). On the columns with $\bar a_{1j} < 0$: $s_m = \min\{\frac{-3}{-2},~ \frac{-3}{-3}\} = 1$, attained by $x_4$. The new value is $\bar z + s_m \bar b_{1} = -1 + 1 \cdot (-7) = -8$, which does not increase.
Example 1 · lp-g-simplesso-duale-completo · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & -8\,x_1 - x_2 \\ \text{subject to} & 4\,x_1 - 2\,x_2 \le 5 \\ & -x_1 - 3\,x_2 \le 7 \\ & -3\,x_1 + x_2 \le -4 \\ & x_1, x_2 \ge 0 \end{array}$ with the dual simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ (dual feasible since ${\boldsymbol c} \le {\boldsymbol 0}$) and using Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. Dual pivoting operations (row first, then column): $x_5$ leaves, $x_1$ enters; $x_3$ leaves, $x_2$ enters. The final dictionary has $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and negative reduced costs: $(\frac{3}{2}, \frac{1}{2})$ with $z(LP) = -\frac{25}{2}$. The intermediate solutions are infeasible and have a larger value.
Example 2 · lp-g-simplesso-duale-completo · level complessa · notes
Solve the LP problem $\begin{array}{rl} \max & -6\,x_1 - 7\,x_2 \\ \text{subject to} & -x_1 \le -3 \\ & -x_1 + x_2 \le 5 \\ & -x_1 - 4\,x_2 \le -11 \\ & x_1, x_2 \ge 0 \end{array}$ with the dual simplex algorithm, starting from the basis of the slack variables $x_3, x_4, x_5$ (dual feasible since ${\boldsymbol c} \le {\boldsymbol 0}$) and using Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index). What are the optimal solution $\tilde{\boldsymbol x}$ and the optimal value $z(LP)$?
Explanation. Dual pivoting operations (row first, then column): $x_3$ leaves, $x_1$ enters; $x_5$ leaves, $x_2$ enters. The final dictionary has $\bar{\boldsymbol b} \ge {\boldsymbol 0}$ and negative reduced costs: $(3, 2)$ with $z(LP) = -32$. The intermediate solutions are infeasible and have a larger value.
Example 1 · lp-g-duale-riga · level facile · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), the basic variables $x_3, x_4, x_5$ have values $\bar b_{3} = -2$, $\bar b_{4} = 0$, $\bar b_{5} = -5$. Which variable leaves the basis?
$x_3$
$x_4$
None: the basis is optimal
$x_5$
Explanation. Candidates are the variables with $\bar b_i < 0$; the one with smallest index leaves, $x_3$, not the most negative.
Example 2 · lp-g-duale-riga · level facile · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), the basic variables $x_5, x_6, x_7$ have values $\bar b_{5} = -3$, $\bar b_{6} = -5$, $\bar b_{7} = 1$. Which variable leaves the basis?
$x_7$
$x_6$
$x_5$
None: the basis is optimal
Explanation. Candidates are the variables with $\bar b_i < 0$; the one with smallest index leaves, $x_5$, not the most negative.
Example 1 · lp-g-duale-colonna · level facile · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), the pivot row $x_r$ has, for the nonbasic variables: $\bar a_{r1} = -4$, $\bar c_{1} = -4$; $\bar a_{r3} = 1$, $\bar c_{3} = -4$; $\bar a_{r5} = 3$, $\bar c_{5} = -2$; $\bar a_{r7} = -3$, $\bar c_{7} = -3$. Which variable enters the basis?
$x_1$
$x_7$
$x_3$
None: the problem is infeasible
Explanation. Only columns with $\bar a_{rj} < 0$ count; the minimum ratio $\bar c_j / \bar a_{rj} = 1$ is attained by $x_1$.
Example 2 · lp-g-duale-colonna · level facile · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), the pivot row $x_r$ has, for the nonbasic variables: $\bar a_{r1} = 0$, $\bar c_{1} = 0$; $\bar a_{r2} = -3$, $\bar c_{2} = -1$; $\bar a_{r3} = -3$, $\bar c_{3} = 0$; $\bar a_{r5} = 0$, $\bar c_{5} = -5$. Which variable enters the basis?
$x_3$
$x_1$
None: the problem is infeasible
$x_2$
Explanation. Only columns with $\bar a_{rj} < 0$ count; the minimum ratio $\bar c_j / \bar a_{rj} = 0$ is attained by $x_3$.
Example 1 · lp-g-duale-pivot-z · level media · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), we start from the dictionary $\begin{array}{rcl} x_3 & = & -4 + 4\,x_1 + x_2 \\ x_4 & = & -8 - 3\,x_1 + x_2 \\ z & = & 0 - x_1 - 2\,x_2 \end{array}$. Which variable enters at the first dual pivot and which value $\bar z$ is obtained?
$x_2$ enters, new $\bar z = -8$
$x_1$ enters, new $\bar z = 1$
$x_1$ enters, new $\bar z = -1$
$x_2$ enters, new $\bar z = -1$
Explanation. $x_3$ leaves (smallest index with $\bar b_i < 0$); the minimum ratio $\bar c_j / \bar a_{rj} = \frac{1}{4}$ brings in $x_1$; the new value is $\bar z = -1$.
Example 2 · lp-g-duale-pivot-z · level media · notes
In the dual simplex algorithm for a problem in standard maximization form, with dictionary $x_i = \bar b_i - \sum_j \bar a_{ij} x_j$, a dual feasible basis ($\bar c_j \le 0$) and Bland's rule (row: smallest index with $\bar b_i < 0$; column: minimum ratio $\bar c_j / \bar a_{rj}$ over $j$ with $\bar a_{rj} < 0$, ties by smallest index), we start from the dictionary $\begin{array}{rcl} x_3 & = & -6 + 2\,x_1 + 4\,x_2 \\ x_4 & = & 6 + x_1 + x_2 \\ z & = & 0 - 5\,x_1 - 4\,x_2 \end{array}$. Which variable enters at the first dual pivot and which value $\bar z$ is obtained?
$x_2$ enters, new $\bar z = -6$
$x_1$ enters, new $\bar z = -15$
$x_1$ enters, new $\bar z = -6$
$x_2$ enters, new $\bar z = 6$
Explanation. $x_3$ leaves (smallest index with $\bar b_i < 0$); the minimum ratio $\bar c_j / \bar a_{rj} = 1$ brings in $x_2$; the new value is $\bar z = -6$.
11. Revised simplex algorithm (3)
Example 1 · lp-g-rivisto-pi · level facile · notes
In an LP problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} 2 & 2 & 1 & 0 \\ 4 & 4 & 0 & 1 \end{pmatrix}$, ${\boldsymbol c}' = (1, 7, 0, 0)$ and ${\boldsymbol b} \ge {\boldsymbol 0}$, consider the basis $\pazocal{B} = \{1, 4\}$ (columns ${\boldsymbol A}_j$ of ${\boldsymbol A}$, costs ${\boldsymbol c}_{\pazocal{B}}$ of the basic variables in the order of $\pazocal{B}$). The revised simplex algorithm computes the row vector ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ by solving a linear system. What are ${\boldsymbol \pi}$ and the reduced cost $\bar c_2$ of the non-basic variable $x_2$?
Explanation. The first system is ${\boldsymbol \pi} \, {\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}'_{\pazocal{B}}$ with ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 2 & 0 \\ 4 & 1 \end{pmatrix}$ and ${\boldsymbol c}'_{\pazocal{B}} = (1, 0)$ (row vector on the left, not ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol \pi}' = {\boldsymbol c}_{\pazocal{B}}$): ${\boldsymbol \pi} = (\frac{1}{2}, 0)$. Then $\bar c_2 = c_2 - {\boldsymbol \pi} {\boldsymbol A}_2 = 6$.
Example 2 · lp-g-rivisto-pi · level facile · notes
In an LP problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} -1 & 3 & 1 & 0 \\ 2 & -2 & 0 & 1 \end{pmatrix}$, ${\boldsymbol c}' = (2, 3, 0, 0)$ and ${\boldsymbol b} \ge {\boldsymbol 0}$, consider the basis $\pazocal{B} = \{2, 3\}$ (columns ${\boldsymbol A}_j$ of ${\boldsymbol A}$, costs ${\boldsymbol c}_{\pazocal{B}}$ of the basic variables in the order of $\pazocal{B}$). The revised simplex algorithm computes the row vector ${\boldsymbol \pi} = {\boldsymbol c}'_{\pazocal{B}}{\boldsymbol A}_{\pazocal{B}}^{-1}$ by solving a linear system. What are ${\boldsymbol \pi}$ and the reduced cost $\bar c_4$ of the non-basic variable $x_4$?
Explanation. The first system is ${\boldsymbol \pi} \, {\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}'_{\pazocal{B}}$ with ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 3 & 1 \\ -2 & 0 \end{pmatrix}$ and ${\boldsymbol c}'_{\pazocal{B}} = (3, 0)$ (row vector on the left, not ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol \pi}' = {\boldsymbol c}_{\pazocal{B}}$): ${\boldsymbol \pi} = (0, -\frac{3}{2})$. Then $\bar c_4 = c_4 - {\boldsymbol \pi} {\boldsymbol A}_4 = \frac{3}{2}$.
Example 1 · lp-g-rivisto-passo · level media · notes
In the revised simplex algorithm for the LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 5 & 0 & 1 & 0 \\ 2 & 3 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = (9, 8)'$, ${\boldsymbol c}' = (1, 1, 0, 0)$, the current basis is $\pazocal{B} = \{2, 3\}$ and the pivot column is $x_1$ ($\bar c_1 > 0$). One computes $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_1$ (entries in the order of $\pazocal{B}$) and the step $t_m$ of the ratio test. Which variable leaves the basis and what is $t_m$?
$x_3$ leaves, $t_m = \frac{9}{5}$
$x_2$ leaves, $t_m = \frac{4}{3}$
$x_2$ leaves, $t_m = 4$
$x_3$ leaves, $t_m = 45$
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 0 & 1 \\ 3 & 0 \end{pmatrix}$ we get $\bar{\boldsymbol b} = (\frac{8}{3}, 9)'$ and ${\boldsymbol d} = (\frac{2}{3}, 5)'$ (system ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_1$, not transposed). Then $t_m = \min\{\frac{\frac{8}{3}}{\frac{2}{3}},~ \frac{9}{5}\} = \frac{9}{5}$, attained by $x_3$.
Example 2 · lp-g-rivisto-passo · level media · notes
In the revised simplex algorithm for the LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 1 & 2 & 1 & 0 \\ 2 & 2 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = (11, 4)'$, ${\boldsymbol c}' = (6, 8, 0, 0)$, the current basis is $\pazocal{B} = \{1, 3\}$ and the pivot column is $x_2$ ($\bar c_2 > 0$). One computes $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and ${\boldsymbol d} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_2$ (entries in the order of $\pazocal{B}$) and the step $t_m$ of the ratio test. Which variable leaves the basis and what is $t_m$?
$x_3$ leaves, $t_m = 9$
$x_3$ leaves, $t_m = 2$
$x_1$ leaves, $t_m = 2$
$x_1$ leaves, $t_m = 1$
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 1 & 1 \\ 2 & 0 \end{pmatrix}$ we get $\bar{\boldsymbol b} = (2, 9)'$ and ${\boldsymbol d} = (1, 1)'$ (system ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_2$, not transposed). Then $t_m = \min\{\frac{2}{1},~ \frac{9}{1}\} = 2$, attained by $x_1$.
Example 1 · lp-g-rivisto-iterazione · level complessa · notes
Revised simplex (Bland's rule) for the problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} 5 & 0 & 1 & 0 \\ 1 & 1 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = \begin{pmatrix} 18 \\ 4 \end{pmatrix}$, ${\boldsymbol c} = (1, 3, 0, 0)$. The current basis is $\pazocal{B} = \{1, 4\}$. Compute ${\boldsymbol y}$ with ${\boldsymbol y}'{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}_{\pazocal{B}}'$, the reduced costs $\bar c_j = c_j - {\boldsymbol y}'{\boldsymbol A}_j$, the column ${\boldsymbol d}$ with ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_p$ and the ratio test. Which pivot is performed?
Explanation. With this basis the first nonbasic variable with $\bar c_j > 0$ is $x_2$; the minimum ratio $\bar b_i / d_i$ is $\frac{2}{5}$ on the row of $x_4$; after the pivot $\bar z = \frac{24}{5}$.
Example 2 · lp-g-rivisto-iterazione · level complessa · notes
Revised simplex (Bland's rule) for the problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} 1 & 1 & 1 & 0 \\ 5 & 0 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = \begin{pmatrix} 7 \\ 19 \end{pmatrix}$, ${\boldsymbol c} = (5, 6, 0, 0)$. The current basis is $\pazocal{B} = \{1, 3\}$. Compute ${\boldsymbol y}$ with ${\boldsymbol y}'{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol c}_{\pazocal{B}}'$, the reduced costs $\bar c_j = c_j - {\boldsymbol y}'{\boldsymbol A}_j$, the column ${\boldsymbol d}$ with ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol d} = {\boldsymbol A}_p$ and the ratio test. Which pivot is performed?
Explanation. With this basis the first nonbasic variable with $\bar c_j > 0$ is $x_2$; the minimum ratio $\bar b_i / d_i$ is $\frac{16}{5}$ on the row of $x_3$; after the pivot $\bar z = \frac{191}{5}$.
12. Revised dual simplex algorithm (2)
Example 1 · lp-g-rivisto-duale-u · level facile · notes
In an LP problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} 2 & 2 & 1 & 0 \\ 4 & 4 & 0 & 1 \end{pmatrix}$, ${\boldsymbol c}' = (1, 7, 0, 0)$, the current basis is $\pazocal{B} = \{1, 4\}$ and the pivot row of the revised dual simplex algorithm is $x_1$. Solving the second system ${\boldsymbol u} \, {\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_{1}$ (${\boldsymbol e}_{1}$: unit vector of the position of $x_1$ in $\pazocal{B}$), what are ${\boldsymbol u}$ and the coefficient $\bar a_{13}$ of the row of $x_1$ in $\bar{\boldsymbol A} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$?
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 2 & 0 \\ 4 & 1 \end{pmatrix}$, the vector ${\boldsymbol u} = {\boldsymbol e}'_{1} {\boldsymbol A}_{\pazocal{B}}^{-1} = (\frac{1}{2}, 0)$ is the row of ${\boldsymbol A}_{\pazocal{B}}^{-1}$ associated with $x_1$ (not the column). Then $\bar a_{13} = {\boldsymbol u} \, {\boldsymbol A}_{3} = \frac{1}{2}$.
Example 2 · lp-g-rivisto-duale-u · level facile · notes
In an LP problem in standard maximization form with ${\boldsymbol A} = \begin{pmatrix} -1 & 3 & 1 & 0 \\ 2 & -2 & 0 & 1 \end{pmatrix}$, ${\boldsymbol c}' = (2, 3, 0, 0)$, the current basis is $\pazocal{B} = \{2, 3\}$ and the pivot row of the revised dual simplex algorithm is $x_3$. Solving the second system ${\boldsymbol u} \, {\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_{3}$ (${\boldsymbol e}_{3}$: unit vector of the position of $x_3$ in $\pazocal{B}$), what are ${\boldsymbol u}$ and the coefficient $\bar a_{31}$ of the row of $x_3$ in $\bar{\boldsymbol A} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol A}_{\pazocal{N}}$?
Explanation. With ${\boldsymbol A}_{\pazocal{B}} = \begin{pmatrix} 3 & 1 \\ -2 & 0 \end{pmatrix}$, the vector ${\boldsymbol u} = {\boldsymbol e}'_{3} {\boldsymbol A}_{\pazocal{B}}^{-1} = (1, \frac{3}{2})$ is the row of ${\boldsymbol A}_{\pazocal{B}}^{-1}$ associated with $x_3$ (not the column). Then $\bar a_{31} = {\boldsymbol u} \, {\boldsymbol A}_{1} = 2$.
Example 1 · lp-g-rivisto-duale-passo · level media · notes
In the revised dual simplex algorithm for the LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 2 & 2 & 1 & 0 \\ -1 & 4 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = (10, 4)'$, ${\boldsymbol c}' = (-3, -4, 0, 0)$, the current basis $\pazocal{B} = \{1, 3\}$ is dual feasible, with reduced costs $\bar c_2 = -16$, $\bar c_4 = -3$. One uses Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index), where $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and $\bar a_{rj} = {\boldsymbol u}\,{\boldsymbol A}_j$ with ${\boldsymbol u}\,{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_r$. What are the pivot row and the pivot column?
pivot row $x_1$, pivot column $x_2$
pivot row $x_3$, pivot column $x_2$
pivot row $x_1$, pivot column $x_4$
pivot row $x_3$, pivot column $x_4$
Explanation. We have $\bar{\boldsymbol b} = (-4, 18)'$: the pivot row is $x_1$, the smallest index among the negative basic variables. Then ${\boldsymbol u} = (0, -1)$ and $\bar a_{12} = -4$, $\bar a_{14} = -1$: $\min\{\frac{-16}{-4},~ \frac{-3}{-1}\}$ is attained by $x_4$.
Example 2 · lp-g-rivisto-duale-passo · level media · notes
In the revised dual simplex algorithm for the LP problem in standard maximization form $\max\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 4 & -2 & 1 & 0 \\ 4 & 0 & 0 & 1 \end{pmatrix}$, ${\boldsymbol b} = (5, 1)'$, ${\boldsymbol c}' = (-4, -3, 0, 0)$, the current basis $\pazocal{B} = \{2, 4\}$ is dual feasible, with reduced costs $\bar c_1 = -10$, $\bar c_3 = -\frac{3}{2}$. One uses Bland's rule of the dual simplex algorithm (pivot row: the basic variable with the smallest index and $\bar b_r < 0$; pivot column: $\min\{\bar c_j / \bar a_{rj} : \bar a_{rj} < 0\}$, ties broken by the smallest index), where $\bar{\boldsymbol b} = {\boldsymbol A}_{\pazocal{B}}^{-1}{\boldsymbol b}$ and $\bar a_{rj} = {\boldsymbol u}\,{\boldsymbol A}_j$ with ${\boldsymbol u}\,{\boldsymbol A}_{\pazocal{B}} = {\boldsymbol e}'_r$. What are the pivot row and the pivot column?
pivot row $x_2$, pivot column $x_3$
pivot row $x_4$, pivot column $x_3$
pivot row $x_2$, pivot column $x_1$
pivot row $x_4$, pivot column $x_1$
Explanation. We have $\bar{\boldsymbol b} = (-\frac{5}{2}, 1)'$: the pivot row is $x_2$, the smallest index among the negative basic variables. Then ${\boldsymbol u} = (-\frac{1}{2}, 0)$ and $\bar a_{21} = -2$, $\bar a_{23} = -\frac{1}{2}$: $\min\{\frac{-10}{-2},~ \frac{-\frac{3}{2}}{-\frac{1}{2}}\}$ is attained by $x_3$.
13. The primal-dual method (4)
Example 1 · lp-g-primale-duale-passo · level facile · notes
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ (${\boldsymbol A}_j$: column $j$ of ${\boldsymbol A}$), the dual feasible solution ${\boldsymbol \pi}$ has dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi} \ge 0$ and admissible set $\pazocal{J} = \{j : s_j = 0\}$. The restricted primal problem has optimal value $\xi(\pazocal{J}) > 0$, ${\boldsymbol y}$ is the optimal solution of its dual and the dual step ${\boldsymbol \pi} + \theta\,{\boldsymbol y}$ uses the largest $\theta$ keeping all $s_j \ge 0$. For the indices $j \notin \pazocal{J}$: $s_{1} = 7,~ {\boldsymbol A}_{1}'{\boldsymbol y} = 4$; $s_{2} = 7,~ {\boldsymbol A}_{2}'{\boldsymbol y} = 2$; $s_{4} = 8,~ {\boldsymbol A}_{4}'{\boldsymbol y} = 3$; $s_{7} = 5,~ {\boldsymbol A}_{7}'{\boldsymbol y} = -3$. What is $\theta$ and which index enters $\pazocal{J}$?
$\theta = \frac{7}{4}$, the index $1$ enters the admissible set
$\theta = \frac{5}{3}$, the index $7$ enters the admissible set
$\theta = \frac{2}{7}$, the index $2$ enters the admissible set
$\theta = \frac{7}{2}$, the index $2$ enters the admissible set
Explanation. $\theta = \min\{ s_j / {\boldsymbol A}_j'{\boldsymbol y} : j \notin \pazocal{J},~ {\boldsymbol A}_j'{\boldsymbol y} > 0\} = \min\{\frac{7}{4},~ \frac{7}{2},~ \frac{8}{3}\} = \frac{7}{4}$: the indices with ${\boldsymbol A}_j'{\boldsymbol y} \le 0$ do not restrict the step. The minimum is attained by $j = 1$, whose dual slack becomes zero.
Example 2 · lp-g-primale-duale-passo · level facile · notes
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ (${\boldsymbol A}_j$: column $j$ of ${\boldsymbol A}$), the dual feasible solution ${\boldsymbol \pi}$ has dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi} \ge 0$ and admissible set $\pazocal{J} = \{j : s_j = 0\}$. The restricted primal problem has optimal value $\xi(\pazocal{J}) > 0$, ${\boldsymbol y}$ is the optimal solution of its dual and the dual step ${\boldsymbol \pi} + \theta\,{\boldsymbol y}$ uses the largest $\theta$ keeping all $s_j \ge 0$. For the indices $j \notin \pazocal{J}$: $s_{1} = 8,~ {\boldsymbol A}_{1}'{\boldsymbol y} = 2$; $s_{4} = 6,~ {\boldsymbol A}_{4}'{\boldsymbol y} = 3$; $s_{5} = 9,~ {\boldsymbol A}_{5}'{\boldsymbol y} = 3$; $s_{7} = 7,~ {\boldsymbol A}_{7}'{\boldsymbol y} = -2$. What is $\theta$ and which index enters $\pazocal{J}$?
$\theta = 2$, the index $4$ enters the admissible set
$\theta = 4$, the index $1$ enters the admissible set
$\theta = \frac{1}{4}$, the index $1$ enters the admissible set
$\theta = -\frac{7}{2}$, the index $7$ enters the admissible set
Explanation. $\theta = \min\{ s_j / {\boldsymbol A}_j'{\boldsymbol y} : j \notin \pazocal{J},~ {\boldsymbol A}_j'{\boldsymbol y} > 0\} = \min\{\frac{8}{2},~ \frac{6}{3},~ \frac{9}{3}\} = 2$: the indices with ${\boldsymbol A}_j'{\boldsymbol y} \le 0$ do not restrict the step. The minimum is attained by $j = 4$, whose dual slack becomes zero.
Example 1 · lp-g-primale-duale-ammesso · level facile · notes
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} = \begin{pmatrix} -2 & -2 & 3 & -2 \\ 0 & 1 & -1 & -1 \end{pmatrix}$ and ${\boldsymbol c}' = (1, -1, 2, 0)$, consider the dual solution ${\boldsymbol \pi} = (1, 1)'$ of the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$. The admissible set is $\pazocal{J} = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ (${\boldsymbol A}_j$: column $j$ of ${\boldsymbol A}$). Which set is obtained?
$\pazocal{J} = \{4\}$
$\pazocal{J} = \{2, 3\}$
$\pazocal{J} = \{1, 4\}$
$\pazocal{J} = \emptyset$
Explanation. The dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi}$ are $s_1 = 3,~ s_2 = 0,~ s_3 = 0,~ s_4 = 3$: they are all $\ge 0$, hence ${\boldsymbol \pi}$ is dual feasible, and $\pazocal{J}$ contains the indices with $s_j = 0$.
Example 2 · lp-g-primale-duale-ammesso · level facile · notes
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, with ${\boldsymbol A} = \begin{pmatrix} -1 & 3 & 2 & -2 \\ -2 & 2 & 1 & 3 \end{pmatrix}$ and ${\boldsymbol c}' = (-7, 13, 9, 10)$, consider the dual solution ${\boldsymbol \pi} = (1, 3)'$ of the dual $\max\{{\boldsymbol b}'{\boldsymbol \pi} : {\boldsymbol A}'{\boldsymbol \pi} \le {\boldsymbol c}\}$. The admissible set is $\pazocal{J} = \{j : {\boldsymbol A}_j'{\boldsymbol \pi} = c_j\}$ (${\boldsymbol A}_j$: column $j$ of ${\boldsymbol A}$). Which set is obtained?
$\pazocal{J} = \{1, 4\}$
$\pazocal{J} = \{2, 3, 4\}$
$\pazocal{J} = \{1\}$
$\pazocal{J} = \emptyset$
Explanation. The dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi}$ are $s_1 = 0,~ s_2 = 4,~ s_3 = 4,~ s_4 = 3$: they are all $\ge 0$, hence ${\boldsymbol \pi}$ is dual feasible, and $\pazocal{J}$ contains the indices with $s_j = 0$.
In the primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, the dual feasible solution ${\boldsymbol \pi}$ is updated to ${\boldsymbol \pi} + \theta{\boldsymbol y}$ with the largest $\theta$ keeping ${\boldsymbol A}_j'{\boldsymbol \pi} \le c_j$. The variables outside the admitted set have dual slacks $s_j = c_j - {\boldsymbol A}_j'{\boldsymbol \pi}$ and values: $s_{4} = 4$, ${\boldsymbol A}_{4}'{\boldsymbol y} = 2$; $s_{5} = 3$, ${\boldsymbol A}_{5}'{\boldsymbol y} = -3$; $s_{6} = 4$, ${\boldsymbol A}_{6}'{\boldsymbol y} = 3$. What is $\theta$?
$\frac{4}{3}$
$1$
$2$
$3$
Explanation. Only $j$ with ${\boldsymbol A}_j'{\boldsymbol y} > 0$ limit $\theta$: $\theta = \min s_j / {\boldsymbol A}_j'{\boldsymbol y} = \frac{4}{3}$, for $j = 6$.
Example 1 · lp-g-pd-aggiorna · level complessa · notes
Primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 2 & 2 & 3 & 1 \\ 3 & 1 & 3 & 1 \end{pmatrix}$ and ${\boldsymbol c} = (10, 4, 7, 2)$. The dual feasible solution is ${\boldsymbol \pi} = (1, 1)$, with admitted set $\pazocal{J} = \{j : c_j - {\boldsymbol A}_j'{\boldsymbol \pi} = 0\}$, and the dual of the restricted primal gives the direction ${\boldsymbol y} = (-1, 1)$. With the largest step $\theta$ keeping dual feasibility, what are the new ${\boldsymbol \pi}$ and the new admitted set?
Explanation. Slacks $s = (5, 1, 1, 0)$; $\theta = \min\{s_j / {\boldsymbol A}_j'{\boldsymbol y} : {\boldsymbol A}_j'{\boldsymbol y} > 0\} = 5$; new ${\boldsymbol \pi} = (-4, 6)$ and $\pazocal{J}$ is recomputed with the new slacks.
Example 2 · lp-g-pd-aggiorna · level complessa · notes
Primal-dual method for $\min\{{\boldsymbol c}'{\boldsymbol x} : {\boldsymbol A}{\boldsymbol x} = {\boldsymbol b},~ {\boldsymbol x} \ge {\boldsymbol 0}\}$ with ${\boldsymbol A} = \begin{pmatrix} 1 & 2 & 3 & 1 \\ 2 & 1 & 3 & 1 \end{pmatrix}$ and ${\boldsymbol c} = (5, 4, 0, 5)$. The dual feasible solution is ${\boldsymbol \pi} = (0, 0)$, with admitted set $\pazocal{J} = \{j : c_j - {\boldsymbol A}_j'{\boldsymbol \pi} = 0\}$, and the dual of the restricted primal gives the direction ${\boldsymbol y} = (1, -1)$. With the largest step $\theta$ keeping dual feasibility, what are the new ${\boldsymbol \pi}$ and the new admitted set?
Explanation. Slacks $s = (5, 4, 0, 5)$; $\theta = \min\{s_j / {\boldsymbol A}_j'{\boldsymbol y} : {\boldsymbol A}_j'{\boldsymbol y} > 0\} = 4$; new ${\boldsymbol \pi} = (4, -4)$ and $\pazocal{J}$ is recomputed with the new slacks.
14. Sensitivity analysis (5)
Example 1 · lp-g-sens-costo-fuori-base · level facile · notes
The LP problem $\begin{array}{rl} \max & 8\,x_1 + x_2 + 8\,x_3 \\ \text{subject to} & 3\,x_1 + 3\,x_2 + 4\,x_3 \le 18 \\ & 4\,x_2 + 3\,x_3 \le 14 \\ & x_1, x_2, x_3 \ge 0 \end{array}$, with slack variables $x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_1 & = & 6 - x_2 - \frac{4}{3}\,x_3 - \frac{1}{3}\,x_4 \\ x_5 & = & 14 - 4\,x_2 - 3\,x_3 \\ z & = & 48 - 7\,x_2 - \frac{8}{3}\,x_3 - \frac{8}{3}\,x_4 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Only the objective-function coefficient $c_2$ is changed. For which values of $c_2$ does the basis of this dictionary remain optimal?
$c_2 \le 7$
$c_2 \ge 8$
$c_2 \le 8$
$c_2 \le -6$
Explanation. The variable $x_2$ is non-basic: with $c_2 + \delta$ only its reduced cost changes, and it becomes $\bar c_2 + \delta = -7 + \delta$. The basis remains optimal if $\delta \le -\bar c_2 = 7$, i.e., $c_2 \le 1 + 7 = 8$.
Example 2 · lp-g-sens-costo-fuori-base · level facile · notes
The LP problem $\begin{array}{rl} \max & 6\,x_1 + 5\,x_2 + x_3 \\ \text{subject to} & 5\,x_1 + 4\,x_2 \le 20 \\ & 5\,x_1 + 4\,x_2 + 4\,x_3 \le 7 \\ & x_1, x_2, x_3 \ge 0 \end{array}$, with slack variables $x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_2 & = & \frac{7}{4} - \frac{5}{4}\,x_1 - x_3 - \frac{1}{4}\,x_5 \\ x_4 & = & 13 + 4\,x_3 + x_5 \\ z & = & \frac{35}{4} - \frac{1}{4}\,x_1 - 4\,x_3 - \frac{5}{4}\,x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Only the objective-function coefficient $c_1$ is changed. For which values of $c_1$ does the basis of this dictionary remain optimal?
$c_1 \le \frac{1}{4}$
$c_1 \ge \frac{25}{4}$
$c_1 \le \frac{25}{4}$
$c_1 \le \frac{23}{4}$
Explanation. The variable $x_1$ is non-basic: with $c_1 + \delta$ only its reduced cost changes, and it becomes $\bar c_1 + \delta = -\frac{1}{4} + \delta$. The basis remains optimal if $\delta \le -\bar c_1 = \frac{1}{4}$, i.e., $c_1 \le 6 + \frac{1}{4} = \frac{25}{4}$.
Example 1 · lp-g-sens-costo-in-base · level media · notes
The LP problem $\begin{array}{rl} \max & x_1 + 7\,x_2 + x_3 \\ \text{subject to} & 3\,x_2 + 5\,x_3 \le 10 \\ & 2\,x_1 + 2\,x_2 + 3\,x_3 \le 17 \\ & x_1, x_2, x_3 \ge 0 \end{array}$, with slack variables $x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_1 & = & \frac{31}{6} + \frac{1}{6}\,x_3 + \frac{1}{3}\,x_4 - \frac{1}{2}\,x_5 \\ x_2 & = & \frac{10}{3} - \frac{5}{3}\,x_3 - \frac{1}{3}\,x_4 \\ z & = & \frac{57}{2} - \frac{21}{2}\,x_3 - 2\,x_4 - \frac{1}{2}\,x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Only the objective-function coefficient $c_1$ is changed. For which values of $c_1$ does the basis of this dictionary remain optimal?
$0 \le c_1 \le 7$
$0 \le c_1 \le 64$
$-1 \le c_1 \le 6$
$-5 \le c_1 \le 2$
Explanation. $x_1$ is basic: with $c_1 + \delta$ the reduced costs become $\bar c_j - \delta \bar a_{1j}$. They remain non-positive if $\max\{-1\} \le \delta \le \min\{63,~ 6\}$, i.e., $-1 \le \delta \le 6$; then $c_1 = 1$ is added.
Example 2 · lp-g-sens-costo-in-base · level media · notes
The LP problem $\begin{array}{rl} \max & 7\,x_1 + 5\,x_2 + 4\,x_3 \\ \text{subject to} & 3\,x_1 + 2\,x_2 \le 6 \\ & 3\,x_1 + 2\,x_2 + 4\,x_3 \le 15 \\ & x_1, x_2, x_3 \ge 0 \end{array}$, with slack variables $x_4, x_5$, has the optimal dictionary $\begin{array}{rcl} x_2 & = & 3 - \frac{3}{2}\,x_1 - \frac{1}{2}\,x_4 \\ x_3 & = & \frac{9}{4} + \frac{1}{4}\,x_4 - \frac{1}{4}\,x_5 \\ z & = & 24 - \frac{1}{2}\,x_1 - \frac{3}{2}\,x_4 - x_5 \end{array}$ (in the row of $x_i$ the coefficient of $x_j$ is $-\bar a_{ij}$; the row of $z$ shows the value $\bar z$ and the reduced costs $\bar c_j$). Only the objective-function coefficient $c_3$ is changed. For which values of $c_3$ does the basis of this dictionary remain optimal?
$c_3 \ge 0$
$0 \le c_3 \le 10$
$-4 \le c_3 \le 6$
$-2 \le c_3 \le 8$
Explanation. $x_3$ is basic: with $c_3 + \delta$ the reduced costs become $\bar c_j - \delta \bar a_{3j}$. They remain non-positive if $\max\{-4\} \le \delta \le \min\{6\}$, i.e., $-4 \le \delta \le 6$; then $c_3 = 4$ is added.
Example 1 · lp-g-sens-termine-noto · level media · notes
The LP problem $\begin{array}{rl} \max & 6\,x_1 + 4\,x_2 \\ \text{subject to} & 3\,x_1 + x_2 \le 20 \\ & x_1 + 2\,x_2 \le 5 \\ & x_1 + 3\,x_2 \le 16 \\ & x_1, x_2 \ge 0 \end{array}$, with slack variables $x_3, x_4, x_5$, has the optimal basis $\pazocal{B} = \{1, 3, 5\}$ with ${\boldsymbol A}_{\pazocal{B}}^{-1} = \begin{pmatrix} 0 & 1 & 0 \\ 1 & -3 & 0 \\ 0 & -1 & 1 \end{pmatrix}$ and $\bar{\boldsymbol b} = \begin{pmatrix} 5 \\ 5 \\ 11 \end{pmatrix}$ (values of the basic variables, in the order of $\pazocal{B}$). Only the right-hand side $b_2$ is changed. For which values of $b_2$ does this basis remain optimal?
$b_2 \ge 0$
$-5 \le b_2 \le \frac{5}{3}$
$\frac{10}{3} \le b_2 \le 10$
$0 \le b_2 \le \frac{20}{3}$
Explanation. With $b_2 + \delta$ we need $\bar{\boldsymbol b} + \delta \, {\boldsymbol A}_{\pazocal{B}}^{-1} {\boldsymbol e}_2 \ge {\boldsymbol 0}$, where ${\boldsymbol A}_{\pazocal{B}}^{-1} {\boldsymbol e}_2 = \begin{pmatrix} 1 \\ -3 \\ -1 \end{pmatrix}$ is column 2 (not the row). It follows that $-5 \le \delta \le \frac{5}{3}$, and $b_2 = 5$ is added.
Example 2 · lp-g-sens-termine-noto · level media · notes
The LP problem $\begin{array}{rl} \max & 5\,x_1 + x_2 \\ \text{subject to} & 5\,x_1 + 4\,x_2 \le 6 \\ & 5\,x_1 + 5\,x_2 \le 15 \\ & 4\,x_1 + x_2 \le 14 \\ & x_1, x_2 \ge 0 \end{array}$, with slack variables $x_3, x_4, x_5$, has the optimal basis $\pazocal{B} = \{1, 4, 5\}$ with ${\boldsymbol A}_{\pazocal{B}}^{-1} = \begin{pmatrix} \frac{1}{5} & 0 & 0 \\ -1 & 1 & 0 \\ -\frac{4}{5} & 0 & 1 \end{pmatrix}$ and $\bar{\boldsymbol b} = \begin{pmatrix} \frac{6}{5} \\ 9 \\ \frac{46}{5} \end{pmatrix}$ (values of the basic variables, in the order of $\pazocal{B}$). Only the right-hand side $b_1$ is changed. For which values of $b_1$ does this basis remain optimal?
$b_1 \ge 0$
$-6 \le b_1 \le 9$
$0 \le b_1 \le 15$
$-3 \le b_1 \le 12$
Explanation. With $b_1 + \delta$ we need $\bar{\boldsymbol b} + \delta \, {\boldsymbol A}_{\pazocal{B}}^{-1} {\boldsymbol e}_1 \ge {\boldsymbol 0}$, where ${\boldsymbol A}_{\pazocal{B}}^{-1} {\boldsymbol e}_1 = \begin{pmatrix} \frac{1}{5} \\ -1 \\ -\frac{4}{5} \end{pmatrix}$ is column 1 (not the row). It follows that $-6 \le \delta \le 9$, and $b_1 = 6$ is added.
Example 1 · lp-g-sens-nuova-var · level facile · notes
A problem in standard maximization form has an optimal basis with shadow prices ${\boldsymbol \pi} = (\frac{3}{2}, \frac{5}{2})$. A variable $x_\star \ge 0$ with cost $c_\star = 8$ and column ${\boldsymbol A}_\star = (1, 4)$ is added. What is its reduced cost $\bar c_\star = c_\star - {\boldsymbol \pi}{\boldsymbol A}_\star$ and what is concluded?
$\bar c_\star = -\frac{7}{2}$: the basis is no longer optimal
$\bar c_\star = -\frac{7}{2}$: the basis stays optimal
$\bar c_\star = -\frac{39}{2}$: the basis stays optimal
$\bar c_\star = \frac{7}{2}$: the basis is no longer optimal
Explanation. $\bar c_\star = 8 - (\frac{3}{2} \cdot 1 + \frac{5}{2} \cdot 4) = -\frac{7}{2}$; the basis stays optimal if and only if $\bar c_\star \le 0$.
Example 2 · lp-g-sens-nuova-var · level facile · notes
A problem in standard maximization form has an optimal basis with shadow prices ${\boldsymbol \pi} = (2, \frac{5}{2})$. A variable $x_\star \ge 0$ with cost $c_\star = 2$ and column ${\boldsymbol A}_\star = (4, 4)$ is added. What is its reduced cost $\bar c_\star = c_\star - {\boldsymbol \pi}{\boldsymbol A}_\star$ and what is concluded?
$\bar c_\star = -16$: the basis stays optimal
$\bar c_\star = -16$: the basis is no longer optimal
$\bar c_\star = 16$: the basis is no longer optimal
$\bar c_\star = -20$: the basis stays optimal
Explanation. $\bar c_\star = 2 - (2 \cdot 4 + \frac{5}{2} \cdot 4) = -16$; the basis stays optimal if and only if $\bar c_\star \le 0$.
Example 1 · lp-g-sens-b-valore · level complessa · notes
A problem in standard maximization form has an optimal basis with values $\bar{\boldsymbol b} = (4, 6)$ of the two basic variables and optimal value $40$. Column $k$ of ${\boldsymbol A}_{\pazocal{B}}^{-1}$ is $(-3, 1)$ and the shadow price of constraint $k$ is $\pi_k = 2$. For which $\delta$ (with $b_k \to b_k + \delta$) does the basis stay optimal, and what is the optimal value for $\delta = -1$?
$-6 \le \delta \le \frac{4}{3}$; new value $39$
$-6 \le \delta \le \frac{4}{3}$; new value $42$
$-6 \le \delta \le \frac{4}{3}$; new value $38$
$-\frac{4}{3} \le \delta \le 6$; new value $38$
Explanation. We need $\bar{\boldsymbol b} + \delta\,(-3, 1) \ge {\boldsymbol 0}$: $-6 \le \delta \le \frac{4}{3}$. In that interval the value changes by $\pi_k \delta$: $40 + 2 \cdot (-1) = 38$.
Example 2 · lp-g-sens-b-valore · level complessa · notes
A problem in standard maximization form has an optimal basis with values $\bar{\boldsymbol b} = (7, 6)$ of the two basic variables and optimal value $12$. Column $k$ of ${\boldsymbol A}_{\pazocal{B}}^{-1}$ is $(-3, 2)$ and the shadow price of constraint $k$ is $\pi_k = 2$. For which $\delta$ (with $b_k \to b_k + \delta$) does the basis stay optimal, and what is the optimal value for $\delta = -2$?
$-3 \le \delta \le \frac{7}{3}$; new value $8$
$-\frac{7}{3} \le \delta \le 3$; new value $8$
$-3 \le \delta \le \frac{7}{3}$; new value $16$
$-3 \le \delta \le \frac{7}{3}$; new value $10$
Explanation. We need $\bar{\boldsymbol b} + \delta\,(-3, 2) \ge {\boldsymbol 0}$: $-3 \le \delta \le \frac{7}{3}$. In that interval the value changes by $\pi_k \delta$: $12 + 2 \cdot (-2) = 8$.
15. The geometry of Linear Programming (2)
Example 1 · lp-g-dimensione-poliedro · level facile · notes
Consider the polyhedron $F = \{{\boldsymbol x} \in \R^{4} : x_1 + x_2 + 3\,x_3 - 2\,x_4 = 3,~ 3\,x_1 - x_2 - x_3 - 2\,x_4 = -1,~ 4\,x_1 + 2\,x_3 - 4\,x_4 = 2,~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, which contains the point $\bar{\boldsymbol x} = (3, 3, 1, 3)$ with all entries positive. The dimension $\dim(F)$ is the maximum number of affinely independent points of $F$ minus one. What is $\dim(F)$?
$3$
$2$
$4$
$1$
Explanation. Since $\bar{\boldsymbol x} > {\boldsymbol 0}$, no constraint $x_j \ge 0$ holds with equality on the whole of $F$: the only implicit equalities are those of the system, of rank $2$ (the third equation is the sum of the first two). Hence $\dim(F) = n - \rank({\boldsymbol A}) = 4 - 2 = 2$.
Example 2 · lp-g-dimensione-poliedro · level facile · notes
Consider the polyhedron $F = \{{\boldsymbol x} \in \R^{4} : 2\,x_1 + x_2 + 3\,x_3 + 2\,x_4 = 15,~ x_1 + 3\,x_2 + 2\,x_3 - 2\,x_4 = 2,~ 3\,x_1 + 4\,x_2 + 5\,x_3 = 17,~ {\boldsymbol x} \ge {\boldsymbol 0}\}$, which contains the point $\bar{\boldsymbol x} = (1, 1, 2, 3)$ with all entries positive. The dimension $\dim(F)$ is the maximum number of affinely independent points of $F$ minus one. What is $\dim(F)$?
$3$
$2$
$1$
$4$
Explanation. Since $\bar{\boldsymbol x} > {\boldsymbol 0}$, no constraint $x_j \ge 0$ holds with equality on the whole of $F$: the only implicit equalities are those of the system, of rank $2$ (the third equation is the sum of the first two). Hence $\dim(F) = n - \rank({\boldsymbol A}) = 4 - 2 = 2$.
Example 1 · lp-g-base-vertice · level media · notes
Let $F = \{{\boldsymbol x} \in \R^2 : 2\,x_1 + x_2 \le 5,~ -x_1 + 2\,x_2 \le 10,~ 3\,x_1 + 4\,x_2 \le 6,~ x_1, x_2 \ge 0\}$ be the feasible region of an LP problem in canonical maximization form, brought to standard form with the slack variables $x_3, x_4, x_5$. Consider the basis $\pazocal{B} = \{1, 3, 4\}$ (basic variables) and its basic solution, with the non-basic variables at $0$. Which statement is correct?
$(\bar x_1, \bar x_2) = (2, 0)$: it is a vertex of $F$
$(\bar x_1, \bar x_2) = (-10, 0)$: it is infeasible, hence not a vertex of $F$
$(\bar x_1, \bar x_2) = (0, 2)$: it is a vertex of $F$
$(\bar x_1, \bar x_2) = (2, 0)$: it is infeasible, hence not a vertex of $F$
Explanation. The non-basic variables are $0$ and the basic ones solve ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol x}_{\pazocal{B}} = {\boldsymbol b}$: we get $(2, 0, 1, 12, 0)$. All the entries are non-negative: it is a basic feasible solution, hence a vertex of $F$.
Example 2 · lp-g-base-vertice · level media · notes
Let $F = \{{\boldsymbol x} \in \R^2 : 2\,x_2 \le 4,~ 4\,x_1 + 4\,x_2 \le 9,~ 2\,x_1 + 4\,x_2 \le 5,~ x_1, x_2 \ge 0\}$ be the feasible region of an LP problem in canonical maximization form, brought to standard form with the slack variables $x_3, x_4, x_5$. Consider the basis $\pazocal{B} = \{1, 2, 5\}$ (basic variables) and its basic solution, with the non-basic variables at $0$. Which statement is correct?
$(\bar x_1, \bar x_2) = (2, \frac{1}{4})$: it is a vertex of $F$
$(\bar x_1, \bar x_2) = (\frac{1}{4}, 2)$: it is a vertex of $F$
$(\bar x_1, \bar x_2) = (2, \frac{1}{4})$: it is infeasible, hence not a vertex of $F$
$(\bar x_1, \bar x_2) = (\frac{1}{4}, 2)$: it is infeasible, hence not a vertex of $F$
Explanation. The non-basic variables are $0$ and the basic ones solve ${\boldsymbol A}_{\pazocal{B}}{\boldsymbol x}_{\pazocal{B}} = {\boldsymbol b}$: we get $(\frac{1}{4}, 2, 0, 0, -\frac{7}{2})$. Some entry is negative: the basic solution is infeasible and does not correspond to a vertex of $F$.