Chenshi Jia
- 合計アクティビティ 11
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 1
- サブスクリプション 4
投稿
Chenshi Jiaによる最近のアクティビティ-
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.
-
Why binary variables range from (0,1)
回答済みHi, I set the variables as binary. But while adding lazy constraints, some values of variables range from (0,1). Please suggest. var = m.addVars(dist.keys(), vtype=GRB.BINARY, name='e')
-
Lazy constraints can not be added to the model.
回答済みHi, I’m currently facing a problem. There are two sets of variables A and B. The objective function is to maximize the summation of A. The constraints are only about B in the model. I want to add l...