Knitro multistart

41 views
Skip to first unread message

Aras

unread,
Aug 26, 2018, 6:59:36 PM8/26/18
to YALMIP
Hi! In Knitro solver, there is a multistart option: ms_enable
IS it possible to switch it via Yalmip? Thanks!

Mark L. Stone

unread,
Aug 26, 2018, 7:24:20 PM8/26/18
to YALMIP
Specify your knitro options file by putting
'knitro.optionsfile',filename
in sdpsettings, and set ms_emable in the knitro options file.

Aras

unread,
Aug 26, 2018, 7:58:08 PM8/26/18
to YALMIP
Thank you! Will I manually write such a file in txt?

Mark L. Stone

unread,
Aug 26, 2018, 9:05:41 PM8/26/18
to YALMIP
The knitro distribution includes an options file, knitro.opt, which you can edit to set the options to whatever you want, and provide it whatever file name you want.

Johan Löfberg

unread,
Aug 27, 2018, 1:29:03 AM8/27/18
to YALMIP
It might be that you have to specify the option sdpsettings options knitro.optionsfile to the correct file name. Never tried it .
Reply all
Reply to author
Forward
0 new messages