Adding Constraints to a model inside a loop in GAMS
Posted: Tue Feb 11, 2014 3:39 pm
Hi,
According to the GAMS manual, one cannot make declarations or define equations inside a loop.
I need to add constraints to the mathematical model inside a loop and execute the solve statement. Is there any other way to add constraints to a model inside a loop?
Thanks in advance.
--
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.