<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><br><div>Anfang der weitergeleiteten E-Mail:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Von: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Mike Steglich &lt;<a href="mailto:mike.steglich@th-wildau.de">mike.steglich@th-wildau.de</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Betreff: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [Cmpl] Yet another probably basic question</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Datum: </b></span><span style="font-family:'Helvetica'; font-size:medium;">18. September 2013 18:01:22 MESZ<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>An: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Michael Bond &lt;<a href="mailto:mbond@videologygroup.com">mbond@videologygroup.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Kopie: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>" &lt;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&gt;<br></span></div><br><div>You are right. &nbsp;Sometimes I'm a little bit absentminded.<br><br>Am 18.09.2013 um 17:11 schrieb Michael Bond:<br><br><blockquote type="cite">I assume 'parameters:' should have been 'constraints:'. That seems to work, thank you.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">________________________________________<br></blockquote><blockquote type="cite">From: Mike Steglich &lt;<a href="mailto:mike.steglich@th-wildau.de">mike.steglich@th-wildau.de</a>&gt;<br></blockquote><blockquote type="cite">Sent: Wednesday, September 18, 2013 8:41 AM<br></blockquote><blockquote type="cite">To: Michael Bond<br></blockquote><blockquote type="cite">Cc: <a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a><br></blockquote><blockquote type="cite">Subject: Re: [Cmpl] Yet another probably basic question<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This Cmpl error is correct because an isolated parameter in an objective function doesn't have an impact on the solution. But to calculate the correct value you can formulate &nbsp;your objective function as a equality constraint with a variable that is used as objective function …<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">e.g.:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">variables:<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;theValue : real;<br></blockquote><blockquote type="cite">objectives:<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;theValue -&gt;max;<br></blockquote><blockquote type="cite">parameters:<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sum{ t in T, s in S : I_ts[t,s] * c_s[s] * m_ts[t,s] } - sum{ t in T, s in S , &nbsp;r in R, k in K : &nbsp;&nbsp;I[t,s] * c_s[s] * w_rtk[r,t,k] * x_rtk[r,t,k] } = theValue;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Am 18.09.2013 um 14:13 schrieb Michael Bond:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">This leads to the problem that the first sum{} does not have a variable which then produces the error 'Objective function is not well formed - Contains a constant parameter, which is ignored.'.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">From: Mike Steglich &lt;<a href="mailto:mike.steglich@th-wildau.de">mike.steglich@th-wildau.de</a>&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sent: Tuesday, September 17, 2013 11:29 AM<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">To: Mike Steglich<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cc: Michael Bond; <a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Subject: Re: [Cmpl] Yet another probably basic question<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Sorry … there were a mistake with a }<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The correct expression should be:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sum{ t in T, s in S : I_ts[t,s] * c_s[s] * m_ts[t,s] } - sum{ t in T, s in S , &nbsp;r in R, k in K : &nbsp;&nbsp;I[t,s] * c_s[s] * w_rtk[r,t,k] * x_rtk[r,t,k] }<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Am 17.09.2013 um 17:25 schrieb Mike Steglich:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">sum{ t in T, s in S : I_ts[t,s] * c_s[s] * m_ts[t,s] - sum{ t in T, s in S , &nbsp;r in R, k in K : &nbsp;&nbsp;I[t,s] * c_s[s] * w_rtk[r,t,k] * x_rtk[r,t,k] } }<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">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.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Cmpl mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://list.coin-or.org/mailman/listinfo/cmpl">http://list.coin-or.org/mailman/listinfo/cmpl</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">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.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Cmpl mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br></blockquote><blockquote type="cite"><a href="http://list.coin-or.org/mailman/listinfo/cmpl">http://list.coin-or.org/mailman/listinfo/cmpl</a><br></blockquote><br></div></blockquote></div><br></body></html>