[Cbc] Question on zeoTolerance
John Forrest
john.forrest at fastercoin.com
Thu Dec 17 10:39:33 EST 2015
Babak,
The quick (not necessarily virtuous) way is to use dynamic_casts.
OsiClpSolverInterface * clpSolver
= dynamic_cast<OsiClpSolverInterface *> (model->solver());
if (clpSolver) {
ClpSimplex * clpSimplex = clpSolver->getModelPtr();
.......
John Forrest
On 14/12/15 17:40, Babak Moazzez wrote:
> Hi
>
> How can I use zeoTolerance in a c++ code? it works in command line
> but I don't see it in CbcModel or OsiSolverInterface. It only appears
> in ClpSimplex, but what if I have a CbcModel instead?
>
> --
> Babak Moazzez
> UC Davis
>
>
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/cbc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20151217/4759bfed/attachment.html>
More information about the Cbc
mailing list