[Cmpl] Yet another probably basic question

Mike Steglich mike.steglich at th-wildau.de
Mon Sep 16 16:29:55 EDT 2013


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.

Am 16.09.2013 um 22:05 schrieb Michael Bond <mbond at videologygroup.com>:

> 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:
> 
> <f1a239245606221533d0dcba643f0f89.png>
> 
> I tried the following and was getting an 'unexpected SYMBOL_VAR' error:
> 
> 
> 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] })}
> 
> 
> In the function x[r,t,k] is a variable, everything else is a parameter.
> 
> 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.
> _______________________________________________
> Cmpl mailing list
> Cmpl at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cmpl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cmpl/attachments/20130916/4c421542/attachment.html>


More information about the Cmpl mailing list