One of the constraints evaluates to a FALSE LOGICAL variable. Your model is infeasible #1327
-
Dear Johan, I encountered this error prompt while editing constraint conditions. May I know the reason? How can I solve this problem? Among them, delta (t)+p_ Fut (t) is a variable of type sdpvar. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Something evaluates to something like 1==0
Also, the use of short-circuit && appears odd since it should not work
as you must use &
Better to not use & as it is confusing to most, better to just concatenate |
Beta Was this translation helpful? Give feedback.
-
That's right, I got it. Thank you very much for pointing out my mistake!
在 2023-09-03 20:59:58,"Johan Löfberg" ***@***.***> 写道:
actually, that must mean the stuff you have with p_Tra >= ... actually doesn't involve any sdpvars and evaluates to false
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Something evaluates to something like 1==0
Also, the use of short-circuit && appears odd since it should not work
as you must use &