Ruoyun Chen
- 合計アクティビティ 10
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 3
アクティビティの概要
Ruoyun Chenさんの最近のアクティビティ-
Ruoyun Chenさんがコメントを作成しました:
Thanks a lot for your detailed response!!!
-
Ruoyun Chenさんが投稿を作成しました:
Making variables equal to each other if the solution of them are non-zero: how to add such constraint?
回答済みHi, Suppose I have these variable: x1, x2, x3, ..., xn The constraint I want to add is: if xi>0 and xj>0: then f(xi)=g(xj), where f and g are some operations of xi and xj. I have already added ind...
-
Ruoyun Chenさんがコメントを作成しました:
I guess a more easier way is to change the upper bound and lower bound for the existing variables. How should I do that?
-
Ruoyun Chenさんが投稿を作成しました:
Different upper bound and lower bound for a list of variables
回答済みHi, I'm using m.addVars(Candidate, name="load") where Candidate is a tuple list, looks like: ( 1 , 1 ) ( 1 , 2 ) ( 1 , 3 ) ( 2 , 1 ) ( 2 , 2 ) ( 2 , 3 ) ( 3 , 1 ) ... However, I wan...
-
Ruoyun Chenさんがコメントを作成しました:
Thanks a lot for your quick response Jaromił!
-
Ruoyun Chenさんがコメントを作成しました:
The reason I'm asking this is because every time I try to implement x>5 it reports: '>' not supported between instances of 'Var' and 'float'
-
Ruoyun Chenさんが投稿を作成しました:
Add Conditional Constraint
回答済みHi, I'm having constraints that should be activated once the solution of one variable is greater than a certain number. For example: I have two variables x and y. What I want to implement is: if...