Changing Coin-HSL dll in MATLAB

165 views
Skip to first unread message

Sakthi Thangavel

unread,
Jan 31, 2017, 2:51:06 PM1/31/17
to CasADi

Dear All,

I am working in Windows 7 system with MATLAB 2014b and Casadi (version- 3.1.0-rc1). I would like to use ma27 solver in order to solve my problem. I downloaded Windows CoinHSL .dll from their website and added the path to MATLAB. When I changed the solver to include ma27 in my problem I get the the following error message.

"Exception message: Selected linear solver MA27 not available."

I think the the solver uses the default coilhsl.dll that came along with casadi. Please let me know how to include the new coinhsl.dll so that I could solve my problem using ma27 solver. 

Regards
Sakthi

Joris Gillis

unread,
Feb 1, 2017, 6:41:01 AM2/1/17
to CasADi
Dear Sakthi,

Last time I check (a semester ago), the binaries provided by coinhsl where NOT working together with CasADi+Matlab.
If you do want to try it out, rename the file to libhsl.dll, append its directory name to the PATH environmental variable, and restart matlab.

What is known to work for CasADi+Matlab is the hsl builds we do internally ( build script at https://github.com/casadi/testbot/blob/merged/recipes/hsl_mingw_trusty.sh );
however we have no permission from hsl to distribute them.

Best regards,
  Joris
Reply all
Reply to author
Forward
0 new messages