Hi everyone,
I want to use a lag operation in an equation which is dependent on another variable. I am not allowed to do that. Do you know of any workaround?
[...] .. c(i,lc,t) =l= c(i,lc++step(i,t),t+1)
Many thanks,
supra
Hi everyone,
I want to use a lag operation in an equation which is dependent on another variable. I am not allowed to do that. Do you know of any workaround?
[...] .. c(i,lc,t) =l= c(i,lc++step(i,t),t+1)
Many thanks,
supra
This restriction exists because that is not allowed in mathematical programming. Endogenous variables can’t be used model types like LP, MIP, NLP or MINLP. These type of operators can be easily used in local search and other methods, but GAMS is not a good language for this.
-Michael