how to abort the matlab when runing yalmip

21 views
Skip to first unread message

Lucas

unread,
Jul 23, 2019, 2:33:17 AM7/23/19
to YALMIP
Dear Johan
    I am trying to solve a MISOCP problem by MOSEK solver. Although it can be solved, iteration is really inefficient. moreover, after dozens of times of iterations, real objective (i.e.  BEST_INT_OBJ) is not changed and the relaxed objective is only approaching to  real objective. Hence, can I set the yalmip to  abort when real objective is not changed (perhaps after 50 iterations real objective is still not changed ) ? in addition, when I am runing, the CTRL+C didn't work, so I have to set this in advance.
New Folder.zip

Johan Löfberg

unread,
Jul 23, 2019, 2:43:09 AM7/23/19
to YALMIP
You would have to look in the mosek options to see if there is any option available that would suit your needs.

Lucas

unread,
Jul 25, 2019, 5:10:40 AM7/25/19
to YALMIP
Ok, I have solved the problem by set the options.mosek.MSK_DPAR_MIO_TOL_REL_GAP. Thank you very much.
Reply all
Reply to author
Forward
0 new messages