[Coin-discuss] XPRESS MP and OSI

Matthew Saltzman mjs at ces.clemson.edu
Wed Jun 18 23:45:15 EDT 2003


Jesper-

Great detective work.  Thanks!

I have committed the change to CVS.  Please test, as I don't have a
Windows test platform.

On Wed, 18 Jun 2003, Jesper Hansen wrote:

> I got some help from Susanne Heipcke, Dash Optimization:
>
> > I'm not sure that I follow. I have added xpressmp/bin to the path and all
> > libraries in xpressmp/lib is added to the compilation. What exactly is the
> > macro DLL?
>
> This macro is required for compiling the older versions of Xpress under
> Windows.
> You either have to add this definition as compiler option or you copy the
> following into your source code, immediately before the inclusion of the
> header
> file "xpresso.h":
>
> #ifdef _WIN32
> #define DLL
> #endif
>
> #include "xpresso.h"
>
>
> I.e. should be added to OsiXprSolverInterface.cpp like this:
>
> #ifdef _WIN32
> #define DLL
> #endif
>
> #define __ANSIC_
> #include <xpresso.h>
> #undef  __ANSIC_
>
> #include "OsiXprSolverInterface.hpp"
>
> ....
>
> Best regards
>
> Jesper Hansen

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs at clemson.edu
http://www.math.clemson.edu/~mjs



More information about the Coin-discuss mailing list