I had a number of students claim on their homework that "All $z_j-c_j$ values are positive, therefore the solution is optimal." Of course, I noted that they should say "non-negative" instead of "positive" or restrict their statement to just the non-basic variables, but this started me thinking: could we have a case where all $z_j -c_j$ values are (strictly) positive?
The homework problem originally was for a maximization problem, but here I'll pose it for a minimization problem, so now we want $c_j - z_j > 0$. Consider a linear program $$\begin{align*} \min &\quad \mathbf{cx} \\ \textrm{s.t. } &\quad A\mathbf{x} \geq \mathbf{b}, \end{align*}$$ where $A \in \mathbb{R}^{m \times n}$ has full row-rank, and $\mathbf{b}$, $\mathbf{c}$, and $\mathbf{x}$ are of corresponding dimensions. In most cases, we have $c_j - \mathbf{c}_B B^{-1}\mathbf{a}_j = c_j - z_j = 0$ for all basic columns due to complementary slackness.
Edit 2: Prubin's answer points out that using the above formula cannot give strictly positive reduced costs, since the dual variables in the Simplex algorithm are always basic: $\mathbf{w} = \mathbf{c}_B B^{-1}$.
At a degenerate optimal solution, where a variable $x_j$ corresponds to constraint $i$, so that $a_{ij}x_j = b_i$, we might conceivably have $c_j - z_j \neq 0$ and still maintain complementary slackness. Of course, in this case the dual problem has alternative optimal solutions. I conjecture that in this degenerate case, we might obtain a non-basic dual solution such that all $c_j - z_j \neq 0$, but even then, we will be attracted to some basis. However, I can't seem to build a proof for this. On the flip side, we know there are cases of cycling in higher dimensions; could the case where all reduced costs are positive be an example of "anti-cycling" (rather than cycling between attractive directions, we cycle between unattractive ones)?
I can think of three possible answers to my question:
- Prove that $c_j - z_j \neq 0$ for all $j=1,\ldots,n$ is impossible at optimality.
- Prove that if $c_j - z_j \neq 0$ for all $j=1,\ldots,n$ then there must exist some $c_j - z_j < 0$.
- Find a counter example, where $c_j - z_j > 0$ for all $j = 1,\ldots,n$ at an optimal solution.