<p dir="ltr">Can you send me the MIP?</p>
<div class="gmail_quote">Em 12/03/2016 20:46, "Noli Sicad" <<a href="mailto:nsicad@gmail.com">nsicad@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Haroldo,<br>
<br>
I did not work.<br>
<br>
I followed your instruction ( i.e. changing 1.0e-8 to 1.0e-4 ) and<br>
saved the file.<br>
<br>
And then:<br>
<br>
~~~~<br>
make clean<br>
<br>
make<br>
<br>
sudo make install<br>
<br>
~~~~<br>
<br>
However, it did not work. I am still getting the variables with zero<br>
values in my CSV output.<br>
<br>
I tried to solve and output (without zeros vallues) in my LP model but<br>
I did not work.<br>
<br>
I like to this as well in my MIP model (i.e. not getting the zero<br>
values of the variables).<br>
<br>
Any other option to this?<br>
<br>
Thanks.<br>
<br>
Regards,<br>
<br>
Noli<br>
<br>
<br>
On 3/13/16, Haroldo Gambini Santos <<a href="mailto:haroldo.santos@gmail.com">haroldo.santos@gmail.com</a>> wrote:<br>
> Hi Noli,<br>
><br>
> In CbcSolver.cpp,  line 9685,  just change<br>
>         } else if (fabs(primalColumnSolution[iColumn]) > 1.0e-8) {<br>
> to<br>
>         } else if (fabs(primalColumnSolution[iColumn]) > 1.0e-4) {<br>
><br>
> Cheers,<br>
><br>
> Haroldo<br>
><br>
> Em 11-03-2016 21:56, Noli Sicad escreveu:<br>
>> Hi,<br>
>><br>
>> I like to get results  of variables only greater than epsilon( 1e-4).<br>
>><br>
>> # significantly different from zero<br>
>> epsilon  = 1e-4;<br>
>><br>
>> How do I do this? Which source file should I modify and how?<br>
>><br>
>> My MIP model submitted to CBC solver is quite big (e.g. greater than<br>
>> 50,000 columns) and most of the results are just zero (0). Opening in<br>
>> the spreadsheet is slow when cleaning the result.<br>
>><br>
>> I think it would be good to have option in the CSV output with<br>
>> variables only greater than epsilon  (1e-4). No zero (0) included in<br>
>> the CSV output.<br>
>><br>
>> Thanks.<br>
>><br>
>> Regards,<br>
>><br>
>> Noli<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" rel="noreferrer" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
>><br>
><br>
> --<br>
> ==================================================<br>
> Haroldo Gambini Santos<br>
> D.Sc, Computer Science<br>
> Universidade Federal de Ouro Preto<br>
> <a href="http://www.decom.ufop.br/haroldo/" rel="noreferrer" target="_blank">http://www.decom.ufop.br/haroldo/</a><br>
><br>
><br>
</blockquote></div>