Hu Zhenghao
- 合計アクティビティ 5
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 1
- サブスクリプション 1
アクティビティの概要
Hu Zhenghaoさんの最近のアクティビティ-
Hu Zhenghaoさんがコメントを作成しました:
Actually, my objective is also changed with variables, like : if p[9,0]>=4: objective=max p[9,1] else: objective=max p[9,0] the expression is simplified.The objective function is segmented an...
-
Hu Zhenghaoさんがコメントを作成しました:
Thanks for your suggestion, I tried to use a binary variable and use indicator constraints, but the constraint is quadratic. So I added a new variable to define the quadratic equation, it works. I ...
-
Hu Zhenghaoさんが投稿を作成しました:
about the constraints changed with variables
ユーザーの入力を待っています。Eexcuse me, in my problem, I have several constraints changed with variables. For example I need to achieve the model has following logic: if p[0]>=4: model.addConstr(p[1]<=1.5) else: model.a...