Avoiding considering unnecessary cases

Top  Previous  Next

One way to reduce memory use in GAMS is to make sure only necessary cases are indexed.  There are five contexts which merit consideration.

 

Calculation statements

Equation existence

Equation terms

Variable specifications

Memory traps to watch out for

 

Each is discussed below.