Burning the Midnight Oil

Research, personal interests, life and all the pretty stuff in between

Formatting Optimization Problems with LaTeX | JC Notes

leave a comment »

\usepackage{amsmath}

\begin{equation*}
\begin{aligned}
& \underset{x}{\text{minimize}}
& & f_0(x) \\
& \text{subject to}
& & f_i(x) \leq b_i, \; i = 1, \ldots, m.
\end{aligned}
\end{equation*}

produces:

\begin{aligned}  & \underset{x}{\text{minimize}}  & & f_0(x) \\  & \text{subject to}  & & f_i(x) \leq b_i, \; i = 1, \ldots, m.  \end{aligned}

Extracted from Formatting Optimization Problems with LaTeX | JC Notes.

Advertisements

Written by cd

August 14, 2013 at 5:28 am

Posted in LaTeX tips

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: