Replies: 4 comments 11 replies
-
(It appears this and #724 are essentially duplicate issues.) I'm afraid I don't have the answer for you. I too tried unsuccessfully to build a working MATLAB MEX interface for Apple Silicon (see ebertolazzi/mexIPOPT#24). But, it looks like you got further than I did. If you care to share the details of how you are building what you have now, I'd be happy to at least try it and see if I get the same error. |
Beta Was this translation helpful? Give feedback.
-
The script looks as if it should include Mumps into the Ipopt build, and then it should be possible to set If you can share also the log of your whole installation procedure, maybe we can say more. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I found a simple solution to a working native Apple Silicon IPOPT MEX file. It's not statically linked with everything it needs, and I'm pretty sure it doesn't include HSL, so it may not have everything you need. But its finally running on MATLAB R2023b on my M2 MacBook Pro. |
Beta Was this translation helpful? Give feedback.
-
Please see my new post #772 which I believe might provide more information on my troubles compiling the Mex file. In particular, please see that I am unable to successfully run "make test" in the Ipopt/build directory because the HSL libraries are not found and Ipopt is searching for the dynamically loaded library libhsl.dylib. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I am trying to compile an IPOPT Mex file for the Silicon Mac using just the MUMPS linear solver. I can successfully compile the Mex file, but when I try to run it I get the error,
*** Error using Ipopt Matlab interface: ***
Invalid value for IPOPT option "linear_solver"
I am running the examples examplehs071 and examplehs038, both which have the linear solver set to "mumps", but I get the above error. In case it helps, I am compiling the MATLAB interface written by Enrico Bertolazzi on an Apple Silicon Mac.
I am confused.
Beta Was this translation helpful? Give feedback.
All reactions