Economic interpretation

A factory owner produces $n$ products, each of amount $\v x = (x_1, x_2, \ldots, x_n)$, for a profit of $f(\v x)$. They own $m$ types of raw materials, each of amount $\v b = (b_1, b_2, \ldots, b_m)$. To produce $\v x$ amount of products, they need $h_i(\v x)$ amount of material $i$.

They want to find the maximum profit $\phi(\v b)$ using the available raw materials $\v b$:

Problem

$$ \begin{align*} \text{Maximise } & f(\v x) \\ \text{over } &\v x\geq \v 0 \\ \text{subject to } &h(\v x) \leq \v b. \end{align*} $$

Shadow price

How much will the factory owner be willing to pay for an extra, small amount of raw materials $\v \epsilon = (\epsilon_1, \epsilon_2, \ldots, \epsilon_m)$?

If they buy it, the extra profit/loss is $\phi(\v b+\v \epsilon) - \phi(\v b) \approx \nabla\phi(\v b)\cdot\v \epsilon$. by We call $\partial \phi/\partial b_i$ the shadow price of material $i$: if it is offered at less the shadow price, the factory owner would not buy it to avoid loss; if it is higher, they would buy it to make more profit.

If $\v \phi$ has a supporting hyperplane $\v \lambda$, then the Lagrange multiplier is $\v\lambda$. If we further assume $\phi$ is differentiable at $\v b$, then we have $\v \lambda = \nabla\phi(\v b)$, the shadow price vector.

Complementary slackness

If at the optimal $\v x$, raw material $j$ is not used up, i.e. $h_j(\v x) < b_j$, then the shadow price $\lambda_j = \partial \phi/\partial b_j$ is zero: the factory owner is not willing to pay for anything to get extra raw material $j$.

Conversely, if they are willing to pay to get more raw material $j$, i.e. $\lambda_j > 0$, then they must have used up all raw material $j$, i.e. $h_j(\v x) = b_j$.

This agrees with complementary slackness.

Dual problem

Now the same factory owner has access to a raw material seller. The factory owner can buy and sell raw material $j$ to the seller for a price of $\lambda_j$.

The factory owner's profit for producing $\v x$ amount of products is $$ \begin{align*} L(\v x, \v \lambda) = f(\v x) - \v \lambda^T(h(\v x) - \v b). \end{align*} $$

Problem

$$ \begin{align*} \text{Maximise } & L(\v x, \v \lambda) \\ \text{over } &\v x\geq \v 0. \end{align*} $$

When the price is $\v \lambda$, the factory owner will set $\v x$ such that they get the maximum profit $$ \begin{align*} g(\v \lambda) = \max_{\v x\geq \v 0} L(\v x, \v \lambda). \end{align*} $$

Suppose the seller wants to minimise their profit. Then they are solving the dual problem

Problem

$$ \begin{align*} \text{Mimimise } & g(\v \lambda) \\ \text{over } &\v \lambda\geq \v 0. \end{align*} $$