[Soplex] Compiling with c++20
Leon Eifler
eifler at zib.de
Sat Feb 4 20:57:42 CET 2023
Hello Salome,
personally, I don't see a reason why we should not implement this
change, as long as it does not pose any problems with earlier c++
standards (which I don't think it will and I also don't think it will
change the interface).
Could you possibly create a pull-request on github?
https://github.com/scipopt/soplex
Best,
Leon
Am 2/4/2023 um 3:23 PM schrieb Salome Eriksson:
> Dear SoPlex developers
>
> Currently SoPlex cannot be used as a library when compiling with
> c++20, since adding the template parameter to the constructor of a
> templated class is no longer permitted
> (https://cplusplus.github.io/CWG/issues/2237.html), but SoPlex uses
> this in several header files.
> I added a diff to the header files as attachment showing the changes
> we performed to the include files of the library in order to compile
> code with c++20 that includes soplex.h.
>
> Our code base Fast Downward (https://www.fast-downward.org/) is built
> with support for using SoPlex as a LP solver through the OSI
> interface. However, we recently upgraded our c++ standard to c++20,
> and want to remove OSI and instead directly communicate with the
> SoPlex library, but with the current (and older) release we cannot do
> this. I thus wanted to inquire if you would consider adding this patch
> in your next release.
>
> Best regards,
> Salomé Eriksson
>
> _______________________________________________
> SoPlex mailing list
> SoPlex at zib.de
> https://listserv.zib.de/mailman/listinfo/soplex
More information about the SoPlex
mailing list