Re: how to dynamically update a set
Posted: Tue Mar 07, 2017 2:59 pm
This is GAMS code to accomplish that:
sets A,B(A);
parameter C(A);
B(A)=YES$(C(A)>0);
sets A,B(A);
parameter C(A);
B(A)=YES$(C(A)>0);
Forum for questions on the use of GAMS
https://forum.gamsworld.org/