Skip to content

Select solver when using Clp via OSI #254

Answered by jjhforrest
InaL9141 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by InaL9141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants