Is there a package for specifying optimization problems, such as in linear programming, quadratic programming, convex programming, etc.?
Or do I have to write my own code with align, constraints and so on? I thought that there might be a very elegant way to specify a min/max problem with some constraints below it.
I am talking about something like Example 2.2 in http://people.ucsc.edu/~rgil/Optimization.pdf.
EDIT: Following a request below, I add an illustrating example of a problem I had with align.
\begin{alignat}{3}
\min && n \\
\mathrm{s.t.} && xxxxxxx \\
&& yyyyyyyyyyyyyyyyyyy \\
&& zzzzzzzzzzzzzzzzzzz
\end{alignat}
What happens is that n is aligned to the far left. I want all of the left columns to be centered below each other. This is my way of formulating a constrained optimization problem, if someone has a better idea I will be glad to hear about it.
If I use only two columns, there is almost no space between $\min$ and $n$. I am almost tempted to use eqnarray :-)