Math & Scienceamsmath | Alignment of multi-lined Formula

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
chrizzl83
Posts: 4
Joined: Fri Jan 25, 2013 5:33 pm

amsmath | Alignment of multi-lined Formula

Post by chrizzl83 »

This is the solution that worked out:

Code: Select all

\begin{align}
 & \mathrlap{\text{minimize}\; z_{\text{ASP}_{fix}}=\sum_{c\in C_{t_{k}}}\sum_{e=1}^{P_{c}}\sum_{t\in T}o_{c,t}^{\text{pp}}(e)*y_{c,e,t}+\sum_{i\in\mathcal{F}}\sum_{d\in\mathcal{D}}o_{i}^{\text{sw}}(d)*z_{d}}\\
 & \text{subject to\;}\nonumber \\
& \sum_{c\in C_{t_{k}}}\sum_{d\in D_{c}}\Theta_{i}^{d}*z_{d}\geq1 &  &  & \forall & i\in F\setminus F_{t_{k}}^{\text{pas}}\label{eq:ASPfix_assignAllFlights}\\
\end{align}


Thanks for the help!!!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply