How to add Ipopt in YALMIP on mac

101 views
Skip to first unread message

Joseph QIU

unread,
Mar 1, 2024, 2:29:04 AM3/1/24
to YALMIP
Dear Professor,
       There is a long-time concern for me to install ipopt on my mac. I installed ipopt with the tutorials on google and I can use ipopt in my terminal. Also, I added the path of ipopt to the matlab. 
However, when I type `yalmiptest` in matlab. It shows 'found' for ipopt but it won't use ipopt in the test function in fact. When I tried to set 'ipopt' as the default solver in `sdpsettings`, it also failed. Is there anything wrong with my installation of ipopt? 

Best regards, 
joseph 

Johan Löfberg

unread,
Mar 1, 2024, 3:11:14 AM3/1/24
to YALMIP
I guess you haven't installed opti-toolbox which is used to interface ipopt (I don't think it is available for anything but windows in pre-compiled form)

Joseph QIU

unread,
Mar 2, 2024, 2:59:45 AM3/2/24
to YALMIP
It seems that there is no OPTI-toolbox support for mac. So how can I use ipopt on my mac? 

Johan Löfberg

unread,
Mar 2, 2024, 3:00:44 AM3/2/24
to YALMIP
you cannot use ipopt in yalmip unless you have opti toolbox
Reply all
Reply to author
Forward
0 new messages