Replies: 1 comment 2 replies
-
Sorry, I'm not sure I understand. How is your question related to Sonnet? Sonnet can use any solver that supports the OsiSolverInterface. To be precise, Sonnet contains .NET wrappers for some of the native C++ OsiSolverInterface implementations. Sonnet itself calls these .NET wrappers, which in turn call the actual underlying native C++ base objects. Out of the box, Sonnet is released with .NET wrappers for OsiCbc and OsiClp, but there is no big reason why any of the other Osi implementations could not be wrapped as well, like OsiCpx, etc. However, indeed there does not seem to be something like a native C++ OsiIpoptSolverInterface implementation or a OsiMA27SolverInterface. To create a .NET wrapper, you would first need to create the C++ version and then create a .NET wrapper for it. To implement a .NET wrapper for an Osi implementation, you don't need to create .NET wrappers for the underlying solver C++ classes--the underlying native C++ libraries of the underlying solver are called from within the C++ base objects. Does this help? |
Beta Was this translation helpful? Give feedback.
-
Hi
I'm trying to implement a MA27 solver in IpOpt using C#. I have the source building, and I'm thinking I should extend the OsiSolverInterface and ie an OsiMa27SolverInterface. But then I was thinking this would require me to wrap IpOpt library, and this must have been done before?
Beta Was this translation helpful? Give feedback.
All reactions