
Ruoyun Chen
- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Activity overview
Latest activity by Ruoyun Chen-
Ruoyun Chen commented,
Thanks a lot for your detailed response!!!
-
Ruoyun Chen created a post,
Making variables equal to each other if the solution of them are non-zero: how to add such constraint?
AnsweredHi, 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 commented,
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 created a post,
Different upper bound and lower bound for a list of variables
AnsweredHi, 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 commented,
Thanks a lot for your quick response Jaromił!
-
Ruoyun Chen commented,
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 created a post,
Add Conditional Constraint
AnsweredHi, 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...