[Scip] Help compiling SoPlex 2.0.1 under Visual Studio

Jonathan Currie jonathan.currie at aut.ac.nz
Mon May 4 12:16:26 CEST 2015


Success! Thank you Matthias. Always nervous dropping source files but should have tried that.

Let me know if you have any ideas for my other problems (unbounded errors + cip reading error).

Jonathan

From: Matthias Miltenberger [mailto:miltenberger at zib.de]
Sent: Monday, 4 May 2015 9:58 p.m.
To: Jonathan Currie; scip at zib.de
Subject: Re: [Scip] Help compiling SoPlex 2.0.1 under Visual Studio

Hi Jonathan,

please remove both settings.cpp and settings.h from the soplex/src/ directory. These are unfinished files that should not have been in the distribution. The packages on the website are also fixed now.
I'm sorry for the inconvenience.

all the best
Matthias
On 04.05.2015 08:24, Jonathan Currie wrote:
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 01D086B7.F525B290]

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 01D086B7.F525B290]

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




_______________________________________________

Scip mailing list

Scip at zib.de<mailto:Scip at zib.de>

http://listserv.zib.de/mailman/listinfo/scip



--

\__________________



Matthias Miltenberger

Zuse Institute Berlin

Takustr. 7, 14195 Berlin

www.zib.de/miltenberger<http://www.zib.de/miltenberger>

miltenberger at zib.de<mailto:miltenberger at zib.de>

+49 (30) 841 85-245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20150504/7583b1d7/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/7583b1d7/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/7583b1d7/attachment-0001.png>


More information about the Scip mailing list