condition that involves variable (use $ or not)
Posted: Sun Aug 06, 2017 5:50 am
Hi dear all,
I write the following in which Price is a variable. The model solves but doe not take the condition in to account.Is there any way I can use the $ if the condition is related to a variable? If not, is there any other way I can proceed?
Thanks
q_ginstock2(Yr,i) $ (PRICE.l(Yr,i) < pmin(i))..
GINSTOCK(Yr,i) =E=Stock_cap(i)/ PRICE.L(Yr,i);
I write the following in which Price is a variable. The model solves but doe not take the condition in to account.Is there any way I can use the $ if the condition is related to a variable? If not, is there any other way I can proceed?
Thanks
q_ginstock2(Yr,i) $ (PRICE.l(Yr,i) < pmin(i))..
GINSTOCK(Yr,i) =E=Stock_cap(i)/ PRICE.L(Yr,i);