Setting more solver parameters e.g. CPLEX #150
Unanswered
TimChippingtonDerrick
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Tim, You could either
I would say a Pull Request for 2. seems easiest. Thoughts? anybody? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, the approach I have taken so far is more like 1 as per Jan-Willem's list. I think it makes sense for the parameters that are likely to be common across all or most solvers. I am very willing to look at other options if there is a better approach Tim |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I have been using OSI on a few projects, mostly with CBC, but a few needing CPLEX. I don't see any way of setting parameter values for CPLEX other than a very few that are specified in e.g. OsiCpxSolverInterface.
I have been adding my own support for some more parameters by extending the set that is covered in the current interface, e.g. node and time limits and relative mip gap tolerance for solving MIPs. Is this the right way to go, or am I missing something in how I am reading and using OSI?
FWIW, I now mainly use OSI through the Sonnet library from C# code, but have been using CPLEX for abut 25 years, mostly through the Concert API from C++ and C#.
Tim
Beta Was this translation helpful? Give feedback.
All reactions