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