Ipopt solver not found

661 views
Skip to first unread message

池学敏

unread,
Jun 6, 2021, 11:08:57 AM6/6/21
to YALMIP
Dear Johan and community members,  

I ran yalmiptest in Matlab R2018a, it shows that the ipopt found, but when I ran yalmiptest in Matlab R2021a, it says ipopt not found. How to solve this?  I tried  installed different version of yalmip, which didn't help. 

I checked the yalmip's solver file, it contains the 'callipopt' file, but why Matlab R2021a says solver not found ?

Best,
Xuemin Chi

Johan Löfberg

unread,
Jun 6, 2021, 11:12:23 AM6/6/21
to YALMIP
I would assume you haven't installed/set the path then to opti toolbox in your new matlab installation

池学敏

unread,
Jun 6, 2021, 11:41:52 AM6/6/21
to YALMIP
Thank you so much! Is opti toolbox 'optimization toolbox' or 'global optimization toolbox' ? I have installed the former in new matlab, but both in old matlab.

Johan Löfberg

unread,
Jun 6, 2021, 1:31:13 PM6/6/21
to YALMIP

Fp Gill

unread,
Aug 5, 2021, 11:13:55 AM8/5/21
to YALMIP
Hi,
i hope you are good.

When I do not specify the solver, the yalmip finds fmincon as a suitable solver and program is solved successfully. however, when i define fmincon as a default solver, i recieved an error as
         
info: 'No suitable solver'
problem: -2


I used this flag:
ops = sdpsettings('solver', 'FMINCON');
sol=optimize(cons,[],[],ops)

what is the problem?

Johan Löfberg

unread,
Aug 5, 2021, 11:55:05 AM8/5/21
to YALMIP
Are you solving a nonlinear SDP with the develop version?

reproducible example needed

Reply all
Reply to author
Forward
0 new messages