I'm having trouble using the align environment to stack up equations for a linear program. The issue I'm having is that the contents of the center column in the top row are so long that they push the lower rows into the margin and affect the alignment of the row numbers. What I'd like to do is maybe put in extra sub-columns in the lower rows and/or join them such that the "for each" statements are aligned, but under the overhang of the top equation. I tried a handful of commands, but no success. Here is the current state of affairs...
By the way... I'm pretty much a noob at LaTex. I only have reason to use it occasionally, and I usually throw code at it till it works, so assume nothing in your answer! :)
\usepackage{amsmath}
\begin{flalign}
max \quad &Z=\sum_{d \in D} w_1*dep_d - \sum_{V, a \in G^v} w_2*x_{v,a} \sum_{S, a \in G^s} w_3*x_{s, a}\\
s.t. \quad & x_{s,a} \le x_{v,a} &\forall s \in S, v \in V, a \in CN\\
&count_{cfg} * x_{v,a} \le \sum_{s \in S} x_{s,a} &\forall v \in V, a \in CN, cfg \in C_d
\end{flalign}
\span
after trying several other incantations. It works. Will answer my own question, which I'm hesitant to do, in case it helps others w/ same.*
represent? Ordinary multiplication? Something else? Please advise.