Including slacks in the output

Top  Previous  Next

GAMS, unlike the rest of the mathematical programming world, includes equation "levels" in its output, not slacks.  An equation level for the equation AX < b is the term AX whereas a slack is b-AX.  Users desiring slacks can get them by inserting the command below anywhere before the solve statement as is done in the example resource.gms.  This is illustrated later in this chapter.

 

option solslack=1;