Avoiding considering unnecessary cases
One way to speed up GAMS is to make sure only necessary cases are indexed. There are five contexts which merit consideration
Calculation statements
Equation existence
Equation terms
Variable specification
Post solution computations