<div dir="ltr"><div><div>Cbc do not allow us to solve this kind of problem?<br></div>Or any package on Coin-OR?<br><br></div>Thanks<br><br>Soufiane<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/17 Mike Steglich <span dir="ltr">&lt;<a href="mailto:mike.steglich@berlin.de" target="_blank">mike.steglich@berlin.de</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">An additional alternative for an open source MPL is CMPL (<a href="http://coliop.org" target="_blank">coliop.org</a>).<br>

<br>
Mike<br>
<br>
Am 17.10.2013 um 16:26 schrieb Stefan Vigerske:<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Hi,<br>
&gt;<br>
&gt; you might want to look into algebraic modeling languages then, e.g.,<br>
&gt; Pyomo, ZIMPL for open source, and<br>
&gt; AIMMS, AMPL, GAMS for commercial.<br>
&gt;<br>
&gt; Stefan<br>
&gt;<br>
&gt;<br>
&gt; On 10/16/2013 08:18 PM, soufiane khiat wrote:<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m new on Optimization topic. I try to minimize:<br>
&gt;&gt; ||Ax-b||_2<br>
&gt;&gt; Subject to a list of constraint {B_i, L_ij, E_ij}:<br>
&gt;&gt; B_i (each x_i could have a: no bound, min bound, max bound or both):<br>
&gt;&gt; min_i&lt;=x_i&lt;=max_i<br>
&gt;&gt;<br>
&gt;&gt; L_ij (with i != j, (i,j) On [1..N]):<br>
&gt;&gt; x_i + x_j = u_ij With u_ij = {0 OR 1}<br>
&gt;&gt;<br>
&gt;&gt; E_ij (with i != j, (i,j) On [1..N]):<br>
&gt;&gt; u_i &gt;= x_i<br>
&gt;&gt; u_j &gt;= x_j<br>
&gt;&gt; u_i + u_j &lt;= 1 With (u_i, u_j) is Binary variable like u_ij on L_ij.<br>
&gt;&gt;<br>
&gt;&gt; I have no control on size of data, number of B_i, L_ij and E_ij it is only<br>
&gt;&gt; a data.<br>
&gt;&gt; A is a Matrix NxM, x and b is a vector. So I would like to find best as<br>
&gt;&gt; possible x to satisfact this constraints.<br>
&gt;&gt;<br>
&gt;&gt; My question is, how can I fill a CbcModel to describ this problem without<br>
&gt;&gt; *.mps file?<br>
&gt;&gt; It is possible to only provide a Matrix A and b?<br>
&gt;&gt;<br>
&gt;&gt; Thanks for you answers.<br>
&gt;&gt;<br>
&gt;&gt; Soufiane KHIAT<br>
&gt;&gt; Software Engineer<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Cbc mailing list<br>
&gt;&gt; <a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cbc mailing list<br>
&gt; <a href="mailto:Cbc@list.coin-or.org">Cbc@list.coin-or.org</a><br>
&gt; <a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br>
</div></div></blockquote></div><br></div>