I want to plot the minimum of a function returned by Minimize over a range of constraint values.
Plot[Minimize[{2*Exp[-x] + 0.5*Exp[-y], x >= 0, y >= 0, x + y == z}, {x, y}], {z, 4, 20}]
This is the command I used: for a range of $z$, I wan to plot the minimum of this optimisation program. However I get no graph, though I get values for the Minimize command in isolation. How do I use plot appropriately here?