<div dir="ltr"><div>Thanks Peter,</div><div> </div><div>I will look in to this and get back to you.</div><div> </div><div>Regards,</div><div>Indrajit</div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 9, 2015 at 11:40 PM, Mike Steglich <span dir="ltr">&lt;<a href="mailto:mike.steglich@th-wildau.de" target="_blank">mike.steglich@th-wildau.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thats correct ... one note from my side ... Cmpl is able to transform products of variables (if at  least one variable is integer) equivalently into a set of linear in-equations automatically. There is a subchapter in the manual that describes these functionalities.<br>
<br>
<br>
Cheers,<br>
<br>
Mike<br>
&gt; Am 09.03.2015 um 21:39 schrieb Peter Meldrum &lt;<a href="mailto:peter.meldrum@googlemail.com">peter.meldrum@googlemail.com</a>&gt;:<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Indrajit:<br>
&gt;<br>
&gt; Based on the information provided about the formulation, one simple option<br>
&gt; you could try is substituting with another variable to represent the<br>
&gt; nonlinear term:<br>
&gt;<br>
&gt; Z[j,k] = x[j] * x[k]<br>
&gt;<br>
&gt; The objective function will become linear in Z[j,k] and x[k]. Writing this<br>
&gt; in longer form for greater clarity:<br>
&gt;<br>
&gt; Constant *x[k] - Constant * Z[j,k]<br>
&gt;<br>
&gt; Then add simple constraints to enforce the needed relationship between<br>
&gt; Z[j,k] and x[j] and x[k].<br>
&gt;<br>
&gt; I will leave this last part for you to do as an exercise. If you&#39;re not sure<br>
&gt; about the last part, please ask again.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Peter<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:cmpl-bounces@list.coin-or.org">cmpl-bounces@list.coin-or.org</a> [mailto:<a href="mailto:cmpl-bounces@list.coin-or.org">cmpl-bounces@list.coin-or.org</a>]<br>
&gt; On Behalf Of <a href="mailto:cmpl-request@list.coin-or.org">cmpl-request@list.coin-or.org</a><br>
&gt; Sent: 09 March 2015 16:00<br>
&gt; To: <a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a><br>
&gt; Subject: Cmpl Digest, Vol 31, Issue 4<br>
&gt;<br>
&gt; Send Cmpl mailing list submissions to<br>
&gt;       <a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;       <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;       <a href="mailto:cmpl-request@list.coin-or.org">cmpl-request@list.coin-or.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;       <a href="mailto:cmpl-owner@list.coin-or.org">cmpl-owner@list.coin-or.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific than<br>
&gt; &quot;Re: Contents of Cmpl digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;   1. Linearizing a nonlinear objective function (Indrajit Sen Gupta)<br>
&gt;   2.  Benchmark / Statistics (Thorsten)<br>
&gt;   3. [CMPL] Readcsv error (Thorsten)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Mon, 9 Mar 2015 12:05:32 +0530<br>
&gt; From: Indrajit Sen Gupta &lt;<a href="mailto:indrajitsg@gmail.com">indrajitsg@gmail.com</a>&gt;<br>
&gt; To: &quot;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&quot; &lt;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&gt;<br>
&gt; Subject: [Cmpl] Linearizing a nonlinear objective function<br>
&gt; Message-ID:<br>
&gt;       &lt;<a href="mailto:CAB-BrmcAJ_sttf_-SthBwvuorvnbPht6J_j%2Bpu6RWYAwhaEEMA@mail.gmail.com">CAB-BrmcAJ_sttf_-SthBwvuorvnbPht6J_j+pu6RWYAwhaEEMA@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I had a basic question regarding linearizing non-linear objective functions.<br>
&gt; Currently the software that we have is running into issues as it does not<br>
&gt; support non-linear objective function along with binary decision variables.<br>
&gt;<br>
&gt; One part of the objective function looks something like this:<br>
&gt;<br>
&gt; constant * (1 - x[j]) * x[k]<br>
&gt;<br>
&gt; where x&#39;s are binary variables (0/1). Is there a way to linearize the<br>
&gt; objective function in such situations?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Indrajit<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; &lt;<a href="http://list.coin-or.org/pipermail/cmpl/attachments/20150309/1bb010b3/attach" target="_blank">http://list.coin-or.org/pipermail/cmpl/attachments/20150309/1bb010b3/attach</a><br>
&gt; ment-0001.html&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Mon, 9 Mar 2015 10:07:01 +0100<br>
&gt; From: Thorsten &lt;<a href="mailto:thorten@hotmail.com">thorten@hotmail.com</a>&gt;<br>
&gt; To: &quot;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&quot; &lt;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&gt;<br>
&gt; Subject: [Cmpl]  Benchmark / Statistics<br>
&gt; Message-ID: &lt;DUB123-W434C9ABE063C9057693783B11B0@phx.gbl&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt;<br>
&gt; Hi Mike,<br>
&gt;<br>
&gt; thank you very much indeed for the quick reply! I scanned the appendix for<br>
&gt; CBC-Parameters but couldn&#39;t find a suitable one which enables me to get the<br>
&gt; required information. Even increasing the log(Level) to maximum doesn&#39;t<br>
&gt; provide the neccessary information. Do you possibly have a hint or idea in<br>
&gt; mind for a CBC-Command to get me the programs lower bound and the gap?<br>
&gt; Thanks for your support!<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Thorsten<br>
&gt;<br>
&gt; Hi Thorsten,<br>
&gt;<br>
&gt; You can find these information in the Cbc output. Cmpl does not provide<br>
&gt; functionalities to get it directly within a Cmpl model.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt; Am 06.03.2015 um 16:57 schrieb Thorsten &lt;thorten at <a href="http://hotmail.com" target="_blank">hotmail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; Dear CMPL-Community,<br>
&gt;&gt;<br>
&gt;&gt; I have implemented a capacitated vehicle routing problem with time windows<br>
&gt; in CMPL and it runs within coliop. In my thesis I want to compare the<br>
&gt; performance of CMPL and the CBC-solver with the performance of Fico Xpress.<br>
&gt; For the numerical analysis I will need some more statistics than I am able<br>
&gt; to get so far. Besides the objective value and the running time of the model<br>
&gt; I will need the Lower bound of the program and the gap. Can you probably<br>
&gt; help me how I can have these values printed out?<br>
&gt;&gt; Thank you very much in advance,<br>
&gt;&gt; Thorsten<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; &lt;<a href="http://list.coin-or.org/pipermail/cmpl/attachments/20150309/25390df5/attach" target="_blank">http://list.coin-or.org/pipermail/cmpl/attachments/20150309/25390df5/attach</a><br>
&gt; ment-0001.html&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 3<br>
&gt; Date: Mon, 9 Mar 2015 10:12:18 +0100<br>
&gt; From: Thorsten &lt;<a href="mailto:thorten@hotmail.com">thorten@hotmail.com</a>&gt;<br>
&gt; To: &quot;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&quot; &lt;<a href="mailto:cmpl@list.coin-or.org">cmpl@list.coin-or.org</a>&gt;<br>
&gt; Subject: [Cmpl] [CMPL] Readcsv error<br>
&gt; Message-ID: &lt;DUB123-W19BD131338FFFD8FDBF555B11B0@phx.gbl&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt; Hi folks!<br>
&gt;<br>
&gt; I am trying to read parameters from a csv-file and have therefore<br>
&gt; implemented the following code:<br>
&gt; serv[]:=        readcsv(&quot;Dist5C.csv&quot;);<br>
&gt;<br>
&gt; Unfortunately I get the following error message:<br>
&gt; error (input/output): file Minnertry5C.cmpl line 18: Input file &#39;Dist5C.csv&#39;<br>
&gt; not found<br>
&gt;<br>
&gt; The csv-file is in the same directory as the cmpl-file.<br>
&gt; Does anybody have an idea what the problem could be?<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Thorsten<br>
&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL:<br>
&gt; &lt;<a href="http://list.coin-or.org/pipermail/cmpl/attachments/20150309/6be7d5d2/attach" target="_blank">http://list.coin-or.org/pipermail/cmpl/attachments/20150309/6be7d5d2/attach</a><br>
&gt; ment-0001.html&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cmpl mailing list<br>
&gt; <a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
&gt;<br>
&gt; End of Cmpl Digest, Vol 31, Issue 4<br>
&gt; ***********************************<br>
&gt; -----<br>
&gt; No virus found in this message.<br>
&gt; Checked by AVG - <a href="http://www.avg.com" target="_blank">www.avg.com</a><br>
&gt; Version: 2015.0.5646 / Virus Database: 4299/9259 - Release Date: 03/09/15<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cmpl mailing list<br>
&gt; <a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
<br>
<br>
_______________________________________________<br>
Cmpl mailing list<br>
<a href="mailto:Cmpl@list.coin-or.org">Cmpl@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cmpl" target="_blank">http://list.coin-or.org/mailman/listinfo/cmpl</a><br>
</div></div></blockquote></div><br></div>