One of the constraints evaluates to a DOUBLE variable

553 views
Skip to first unread message

覃岭

unread,
Sep 12, 2014, 11:45:14 PM9/12/14
to yal...@googlegroups.com
Hi johan:
when I add a new constraint to my model, following warning is throw out when solving.

x - y <= 60 + 500*(1- z)
x,y ∈R
z∈{0,1}

Warning:One of the constraints evaluates to a DOUBLE variable 

can you give me some indications about it?


Johan Löfberg

unread,
Sep 13, 2014, 2:57:12 AM9/13/14
to yal...@googlegroups.com
Impossible to say without the full code, but you have something like x+y<=x+y+1, or versions of thereof
Reply all
Reply to author
Forward
0 new messages