[Scip] Help compiling SoPlex 2.0.1 under Visual Studio

Jonathan Currie jonathan.currie at aut.ac.nz
Mon May 4 08:24:54 CEST 2015


Hi,

With SoPlex v2.0.1 the settings.cpp file has been added, which no longer compiles nicely using Visual Studio. Normally I can sort out these sorts of errors, but these ones escape me unfortunately!

All errors below are in settings.cpp within SoPlex v2.0.1 from the 3.1.1 suite. Perhaps I am missing some defines or VS is not as flexible as it should be?


1)      Missing class reference?
[cid:image001.png at 01D08697.9C645870]

Should the function be declared as part of the Settings class (i.e. Settings::boolParam())? As it is, it cannot access private data members of the settings class... This type of error exists (in VS) in a lot of the functions e.g. intParam, realParam, settings, setBoolParam, setIntParam, etc etc.



2)      Static / Private data members of SoPlex class?

[cid:image002.png at 01D08697.9C645870]

In the code "SoPlex::_realLP->changeSense()" it looks to me like _realLP is being used as a static data member, but it is declared in soplex.h as a private data member? There is no reference to the class object (if one is to be created) and if there was one, it is private? This error (in VS) exists all through settings.cpp as well.

Thanks for any help guys.

Thanks,
Jonathan Currie
OPTI Toolbox Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150504/3c86ab8d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9422 bytes
Desc: image001.png
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150504/3c86ab8d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 17975 bytes
Desc: image002.png
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150504/3c86ab8d/attachment-0001.png>


More information about the Scip mailing list