[Scip] LAPACK support and quadratic problems
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Jul 8 14:51:34 MEST 2013
Hi,
there is currently no easy option in the Makefiles to enable the use of
LAPACK libraries without linking against Ipopt, mainly because guessing
the right fortran naming convention is not so trivial (I believe).
Further, it's usually a good idea to build with Ipopt when solving
nonlinear problems with SCIP, anyway.
Anyhow, attached is a patch for cons_quadratic.c that uses Lapack
directly without the detour of the Ipopt/Lapack C-interface.
You will have to compile with USRLDFLAGS="-llapack -lblas" and maybe
also have to adjust the F77_FUNC define in the patch to work with your
Fortran compiler.
Stefan
PS: Clp and Ipopt are two very different things.
On 07/08/2013 12:15 PM, Vincent Devillierse wrote:
> Dear SCIP community,
>
> I've tried to solve a non integer quadratic problem with SCIP, but the
> computing time was very slow.
> Apparently I need to either link against CLP (to benefit from the Interior
> Point solver Ipopt) or compile SCIP with LAPACK support.
>
> I'd like to go with the second possibility. In the INSTALL file I read this
> :
> "If this file is not present in your Clp version, SCIP tries to guess the
> paths and libraries: it assumes that Blas and Lapack are installed as
> system libraries (libblas.a, liblapack.a) and are not build into the
> CoinUtils library."
>
> This is my case (Blas and Lapack are installed as system libraries) but
> when I use SCIP I keep getting the message "Quadratic constraint handler
> does not have LAPACK for eigenvalue computation." and low performance.
>
> What am I missing and what should I do ?
>
> Thanks in advance for any help you are able to provide !
>
> Best regards,
>
> Vincent
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> http://listserv.zib.de/mailman/listinfo/scip
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: consquad_lapack.patch
Type: text/x-patch
Size: 4349 bytes
Desc: not available
Url : http://listserv.zib.de/mailman/private/scip/attachments/20130708/01cb8216/consquad_lapack.bin
More information about the Scip
mailing list