Page 1 of 1

Re: how to dynamically update a set

Posted: Tue Mar 07, 2017 2:59 pm
by cladelpino
This is GAMS code to accomplish that:

sets A,B(A);
parameter C(A);

B(A)=YES$(C(A)>0);