Cross-platform compilation .Net 5 #24
-
Hi, I'm trying to use the Sonnet interface in a cross-platform project. Building the project on Windows with .Net 5 works fine but of course, the embedded c++ librairies are not compiled for a Unix environment... Has this ever been achieved? Of course, there's still the option to pass the model to solve via MPS file, but that would be last the option. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi Nik, |
Beta Was this translation helpful? Give feedback.
-
I updated the main README to mention that Sonnet is Windows-only. |
Beta Was this translation helpful? Give feedback.
I updated the main README to mention that Sonnet is Windows-only.
The problem is the mixed C++/CLI used in SonnetWrapper. I considered replacing SonnetWrapper by, for example, p/invoke calls to the C API of CoinMP. This would not only be a big design change, but the price would also be the loss of Osi, which currently allows the switching of solvers. Therefore, until further notice, Sonnet remains Windows-only.