I have a quadratic optimization problem with linear constraints that I want to solve using SCIP
. The optimization matrix that I want to be minimized is positive semi-definite (it is the variance of certain variables, to be precise). I have the problem in a file in CPLEX LP
format and when I optimize in SCIP
, I get the message
Quadratic constraint handler does not have LAPACK for eigenvalue computation. Will assume
that matrices (with size > 2x2) are indefinite.
So SCIP
starts optimization assuming that the matrix is indefinite and takes a large amount of time. I have installed LAPACK
and even copied liblapack.a
file in the lib
folder where the SCIP
source and binaries are and reinstalled SCIP
. But, I keep getting the above message.
Is there a way to make SCIP
use the LAPACK
library? I believe the optimization will be really fast, if SCIP
can figure out that the matrix is positive semi-definite.
If you feel like patching up SCIP a bit to use your Lapack lib without providing a full Ipopt (though it's relatively easy to build on *nix and could help performance, as mattmilten pointed out), here is a patch that you could try out:
Use
USRLDFLAGS="-llapack -lblas"
with make.