[Couenne] HSL library for Couenne (trunk)

fmargot fmargot at andrew.cmu.edu
Mon Apr 13 05:19:58 EDT 2015


Hi Stefan:

On 04/08/2015 08:11 AM, Stefan Vigerske wrote:
> Hi,
>
> the installation notes might not have kept up with changes on the HSL page.
> Did you download the "source" variant from
> http://www.hsl.rl.ac.uk/ipopt/ (should direct you to
> http://www.hsl.rl.ac.uk/download/coinhsl/2014.01.10/), or the Linux
> library
> (http://www.hsl.rl.ac.uk/download/coinhsl-linux-x86_64/2014.01.10/)?
>

I indeed got the latter. Getting the source tar ball fixes the problem.

> I suspect that if you get the latter, you will get a precompiled HSL
> library for use in Ipopt. ThirdParty/HSL doesn't know what to do with
> this. But you could probably use --with-hsl-lib and --with-hsl-incdir
> configure option to have Ipopt using it.

With --with-hsl-lib and --with-hsl-incdir, configure (for Couenne, not 
Ipopt) works, but compilation fails with

../../../../../Ipopt/Algorithm/LinearSolvers/IpLinearSolversRegOp.cpp:11:27:fatal 
error: CoinHslConfig.h: No such file or directory

> Also loading this precompiled lib dynamically at runtime could work (set
> linear_solver ma27 explicitly and put the lib under the name libhsl.so
> into your library search path).
>
Thanks for your help.

Francois


More information about the Couenne mailing list