
Yizhi ZHEN
- Total activity 8
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Posts
Recent activity by Yizhi ZHEN-
How to include an exponent function in an indicator constraint
AnsweredHi, Now I want to model the relationship as followed: if x==1: y=x^-0.5; if x==0: y=0 I have used addGenConstrPow(x,y,-0.5) to model function y=x^-0.5, and used addGenConstrIndicator() function to ...
-
How to include negative exponent in model
Awaiting user inputHi everyone, Now I have a constraint of y=x^-0.5, where y and x are both decision variables. When I code the constraint as below in my model. Result shown that the model is infeasible. But when I m...
-
Using value of a decision variable as index of another decision variable
AnsweredHi everyone, I am having trouble on using value of a decision variable as index of another decision variable. Now I have an integer variable i_d[m] for each m, which means the location of vehicle m...