Constraint has no bool value
回答済みHi,
when I add a lazy constraint which is a variable less than a float number, I meet the error as follows:
print(ro[0])
print(model._eta[0])
model.cbLazy(ro[0] >= model._eta[0])


Please suggest.
0
-
Please take a look at the article How do I resolve the error 'Constraint has no bool value (are you trying "lb <= expr <= ub"?)'?.
0
サインインしてコメントを残してください。
コメント
1件のコメント