[Cbc] Decimal round off in cbc
Haroldo Gambini Santos
haroldo.santos at gmail.com
Mon Jul 17 09:38:07 EDT 2017
Hi,
Most LP based solvers use limited precision (double) to compute
solutions. Thus, you can expect some "trash" to appear after, say, the
9th decimal place.
Gurobi has a special mode where quad precision is used.
GLPK has an exact mode but I think that it only applied to LP (no MIP).
On 17-07-2017 09:06, nikhil t.v.s wrote:
> Hi,
> I am using MILP. During solving, i want the decimal variable
> precession to be rounded to limited places. (some times solver returns
> variables values of factor e^-12). Is there a way to limit it.
>
> Thanks,
> Nikhil.
>
> Regards,
> T. Venkata Sai Nikhil,
> International Institute of Information Technology -Hyderabad.
>
> On Mon, Jul 17, 2017 at 5:20 PM, Fausto Richetti Blanco
> <fausto.blanco at gmail.com <mailto:fausto.blanco at gmail.com>> wrote:
>
> I think you're looking for an integer solver and still didn't
> realize it... am I right?
>
> Take a look at MILP to see if that is what you need
>
> On Sun, Jul 16, 2017 at 10:02 PM, nikhil t.v.s
> <t.v.s.nikhil123 at gmail.com <mailto:t.v.s.nikhil123 at gmail.com>> wrote:
>
> Hi ,
> I am new to cbc solver. How can i restrict the
> precession of all decimal variables.
> Tried tolerances but don't have clear understanding of them.
> Anyone pls help.
>
> Thanks,
> NIKHIL,
> IIIT-Hyderabad.
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org <mailto:Cbc at list.coin-or.org>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QLQl3jHZx6hPNKTb0I9pud73uBDZjSYyVOorevkAFrU&m=Owe37T7ky6XIyrm6nAikNwPAJ41AjUVsix7kzJs1jjg&s=5l30AaYOS2X260MMY4sqvo5hSF3OipunaPh4t8gRbjg&e=
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=QLQl3jHZx6hPNKTb0I9pud73uBDZjSYyVOorevkAFrU&m=Owe37T7ky6XIyrm6nAikNwPAJ41AjUVsix7kzJs1jjg&s=5l30AaYOS2X260MMY4sqvo5hSF3OipunaPh4t8gRbjg&e=>
>
>
>
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=pLOfVNEEHf-xhIqn1-uzYcZ6Q7UefG6Bg6rXCKTMiAA&m=24sajRLYqiqzxGwJ_Rr71pRwwDF8Z6iUYFrR0CAXdrE&s=2EoBUyNrwkWQXx7PMvDmi-8GGzyqdR6kxp6d5rqmRtc&e=
--
==================================================
Haroldo Gambini Santos
D.Sc, Computer Science
Universidade Federal de Ouro Preto
http://www.decom.ufop.br/haroldo/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20170717/d12727a0/attachment-0001.html>
More information about the Cbc
mailing list