Select solver when using Clp via OSI #254
-
I want to solve linear programs using Clp via the Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To choose between dual and primal, you can use a "hint" - this is true for all Osi solvers To have more flexibility you would have to go via solver->getModelPtr() which is ClpSimplex*. This would also allow you to use barrier. |
Beta Was this translation helpful? Give feedback.
To choose between dual and primal, you can use a "hint" - this is true for all Osi solvers
solver->setHintParam(OsiDoDualInResolve, false, OsiHintTry);
To have more flexibility you would have to go via solver->getModelPtr() which is ClpSimplex*. This would also allow you to use barrier.