Chenshi Jia
- 合計アクティビティ 11
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 1
- サブスクリプション 4
アクティビティの概要
Chenshi Jiaさんの最近のアクティビティ-
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.
-
Chenshi Jiaさんがコメントを作成しました:
Thank you!
-
Chenshi Jiaさんがコメントを作成しました:
Some pictures are missing.
-
Chenshi Jiaさんが投稿を作成しました:
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')
-
Chenshi Jiaさんがコメントを作成しました:
Hi, To describe my issue, I add a set of continuous variables to the TSP problem in the Gurobi example for callback. The detailed model can be seen: The detailed code can be seen: import mathimpor...
-
Chenshi Jiaさんが投稿を作成しました:
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...