[Coin-discuss] XPRESS MP and OSI

Matthew Saltzman mjs at ces.clemson.edu
Tue Jun 17 22:36:36 EDT 2003


On Tue, 17 Jun 2003, Jesper Hansen wrote:

> I'm using Xpress-MP 2003B with Microsoft Visual C++ 6.0 and OSI. I however
> get the error messages listed below.
>
> Have anyone else experienced similar problems?

The OsiXprSolverInterface was built against XPRESS v12 and v13.  As far as
I know, you're the first to report trying it with XPRESS 2003.  Also, we
are still using the XPRESS v12 API, which is deprecated but should still
work with v2003.

I'm not a Windows developer, but it looks to me like your linker is
failing to find the XPRESS libraries.  Check to make sure that:

(a) the Xpress-Optimizer callable libraries are properly installed, and

(b) the path to the XPRESS libraries is properly set in
COIN/Win/startMsDevStudio.bat.

Then start Visual Studio with that .bat file.  That should set the paths
and load the project files you need.

HTH.  Let us know if not.

>
>
> Linking...
> OsiXprSolverInterface.obj : error LNK2001: unresolved external symbol
> _maxim at 4
> OsiXprSolverInterface.obj : error LNK2001: unresolved external symbol
> _minim at 4
>[...]
>
> --
> Jesper Hansen                   mailto:jesper at carmenconsulting.com
> Carmen Consulting, Fruebjergvej 3, Box 248, DK-2100 Kbh Ø, Denmark
> Telephone: +45 39 17 83 80                 Mobile: +45 61 33 29 69
> http://www.carmenconsulting.com

-- 
		Matthew Saltzman

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



More information about the Coin-discuss mailing list