Funzione obiettivo

Bisogna massimizzare il beneficio complessivo:

\begin{displaymath}
\max \sum_{i=1}^m \sum_{j=1}^n g_j x_{ij}.
\end{displaymath}