no result because solver cannot go on?

27 views
Skip to first unread message

Weiwei Yao

unread,
Jan 22, 2019, 10:50:02 PM1/22/19
to YALMIP
Dear Professor,
By varying a constant constantly in a for-loop code, I can observe some other sdpvar variables trend easily. But now seems no results can be calculated for some particular constant in that for-loop. No result no matter how long.   code following

ops=sdpsettings('solver','gurobi','gurobi.NodeLimit',1500,'gurobi.MIPGap',1.0e-01);

yalmip question.JPG


Message has been deleted

Weiwei Yao

unread,
Jan 22, 2019, 10:58:04 PM1/22/19
to YALMIP
And my computer CPU utilization is always 100% in some cases.

Johan Löfberg

unread,
Jan 23, 2019, 2:05:54 AM1/23/19
to YALMIP
You mean that it stalls forever after 5 seconds?

Then it smells like a bug, and all you can do is to start tweaking various options in gurobi to see if you can get rid of it, such as tweaking cutting strategies, presolves, priorities etc etc, i.e. random testing)

Weiwei Yao

unread,
Jan 23, 2019, 2:11:11 AM1/23/19
to YALMIP
I change another PC and problem solved,  but I dont know why.  Anyway thank you all!
Reply all
Reply to author
Forward
0 new messages