Exiting due to infeasibility: 1 lower bound exceeds the corresponding upper bound.

472 views
Skip to first unread message

S. KUMAR

unread,
Feb 25, 2021, 1:12:08 PM2/25/21
to YALMIP
Dear Professor,
May you please suggest to me what's might be wrong, if this error occurs.
"Exiting due to infeasibility:  1 lower bound exceeds the corresponding upper bound". 
I am using fmincon solver to solve an NLP problem (ACOPF).
Thanks and Regards
​--
Suraj Kumar
Ph.D. Student

Department of Electrical Engineering

Indian Institute of Technology Roorkee

Roorkee – 247667

India

Johan Löfberg

unread,
Feb 25, 2021, 1:16:02 PM2/25/21
to YALMIP
Exactly what is says

>> sdpvar x
>> optimize(0 <= x <= -1,x,sdpsettings('solver','fmincon'))
Exiting due to infeasibility: at least one lower bound exceeds the corresponding upper bound.


S. KUMAR

unread,
Feb 25, 2021, 1:56:03 PM2/25/21
to YALMIP
Dear Professor,
Thank you for the response. PFA my boundary constraints and their limits in the command window. I checked all bounds. And there is nothing wrong with boundary constraints. Is there some other possibility or something I am overlooking?
Screenshot (13).png

Johan Löfberg

unread,
Feb 25, 2021, 1:59:50 PM2/25/21
to YALMIP
how would anyone be able to know that by looking at a picture of parts of your code

in general, simplify simplify simplify delete delete delete everything until it does not happen, then you know where it is

S. KUMAR

unread,
Feb 25, 2021, 2:07:44 PM2/25/21
to YALMIP
Okay, thank you, actually this code uses system data (as input) from other platforms (MatPower) that's why sending you the code does not make sense.

Johan Löfberg

unread,
Feb 25, 2021, 2:12:11 PM2/25/21
to YALMIP
you can simply save the data created by matpower etc (but I have matpower)

However, you start by simplifying the code by removing everything which doesn't cause the error, which typilaccy will give you a very small infeasible model, and then it will often be obvious what is wrong

S. KUMAR

unread,
Feb 25, 2021, 2:25:41 PM2/25/21
to YALMIP
Thank you for the suggestion, I will try that.
Reply all
Reply to author
Forward
0 new messages