-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPOPT not picking up HSL solvers in Ubuntu 16.04 #2032
Comments
Alright, lets debug.. |
Hi!
I got CasADi 3.2.0 for matlab 2014b (I use matlab 2016b). Thus far I tried both a compiled version of the HSL release, and the sources which I compiled myself following instructions. |
Is CasADi built or from the binaries? Could you provide the output of the following commands? |
CasADi is from the binaries, I did attempt to compile one, but was unable to determine correct flags The bash output is as follows:
The matlab output is
So, the LD_LIBRARY_PATH in matlab looks completely different from the one that is shown when I check in bash |
Right, so looks like matlab is ignoring your environment. |
Wow, that worked! Why haven't I thought of trying that?.. :) Thanks for the help, it was driving me nuts for days! |
np I'll put up a notice in our wiki.. |
There must be a more proper way that doesn't require starting Matlab from command line, though. Do report it in case you find it |
Was there ever a new solution to this? The command line method worked but wouldnt mind something that addresses the problem... |
Hi, could you please tell me which version of MA57 you used? I have the ma57-3.10.0 and i don't know how you set the symbolic link because i don't have the file libcoinhsl.so as you have. I have the following files : i tried to create a symbolic link with the libma57.so files but i get the same crash of matlab all the time. If you need more details about my setup i would gladly write you a PM. Kind regards |
Hello,
I recently tried getting the HSL solvers, following the instructions here:
https://github.com/casadi/casadi/wiki/Obtaining-HSL
There are some inconsistencies though, and I still haven't managed to make it work. First off, some of the proposed lapack packages can't be found:
Next, even when I try setting the symbolic link in the
<coinhsl_build>/lib
folder like soln -s libcoinhsl.so libhsl.so
as well as inserting this path to the
etc/ld.so.conf.d/coinhsl.conf
file, and adding
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<coinhsl_build>/lib
the IPOPT doesn't seem to be picking it up...
Whenever I switch from 'mumps' solver to 'ma27' or 'ma57', it produces the following output:
I'm not sure if it's the problem with casadi, ipopt, the hsl solvers or ubuntu 16.04, and everyone I asked said "it should be working like that" - I'm kind of at a loss...
Thank you in advance.
The text was updated successfully, but these errors were encountered: