<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Unfortunately it is not permitted to put variables in brackets. We change that ... but in the meantime you have to reformulate your objective function into two terms.</div><div><br>Am 16.09.2013 um 22:05 schrieb Michael Bond &lt;<a href="mailto:mbond@videologygroup.com">mbond@videologygroup.com</a>&gt;:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">



<div name="divtagdefaultwrapper" id="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:#000000; margin:0">
Is it possible to implement the following as part of an objective and if so how would I represent it, removing the '-' at the beginning of course:
<div><br>
</div>
<div>
<p></p>
&lt;f1a239245606221533d0dcba643f0f89.png&gt;
<p></p>
<br>
<p>I tried the following and was getting an 'unexpected SYMBOL_VAR' error:</p>
<p><br>
</p>
<p>sum{ t in T, s in S : I[t,s] * c[s] * (m[t,s] - sum{ r in R, k in K : w[r,t,k] * x[r,t,k] })}</p>
<p><br>
</p>
<p>In the function x[r,t,k] is a variable, everything else is a parameter.</p>
</div>
</div>
<b>This email is intended only for the use of the individual(s) to whom it is addressed. If you have received this communication in error, please immediately notify the sender and delete the original email.</b>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Cmpl mailing list</span><br><span><a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a></span><br><span><a href="http://list.coin-or.org/mailman/listinfo/cmpl">http://list.coin-or.org/mailman/listinfo/cmpl</a></span></div></blockquote></body></html>