Theorem (optimality in the transport problem)
Consider the transport problem. If for some feasible $x$, we have dual variables $\v \lambda\in\R^n$ (for suppliers) and $\v\mu\in\R^m$ (for consumers) such that the following holds:
-
dual feasibility: $c_{ij}\geq \lambda_i + \mu_j$ for all $i,j$; and
-
complementary slackness: $(c_{ij} - \lambda_i - \mu_j)x_{ij} = 0$,
then $x$ is optimal.