IconMcCarl GAMS User Guide
IconForword
IconIntroduction
IconQuick Start Tutorial
IconBasic models
IconSolving an optimization problem
IconSolving for an economic equilibrium
IconSolving a nonlinear equation system
IconDissecting the simple models
IconVariables
IconWhat is the new Z variable in the optimization problem?
IconEquations
Icon.. specifications
IconModel
IconSolve
IconWhy does my nonlinear equation system maximize something?
IconWhat are the .L items
IconRunning the job
IconCommand line approach
IconIDE approach
IconExamining the output
IconEcho print
IconIncidence of compilation errors
IconSymbol list and cross reference maps
IconGeneration listing
IconEquation listing
IconVariable listing
IconModel statistics
IconExecution output
IconSolver report
IconSolution summary
IconEquation solution report
IconVariable solution report
IconExploiting algebra
IconEquation writing – sums
IconRevised algebra exploiting optimization example
IconRevised equilibrium example
IconDissecting the algebraic model
IconSets
IconAlias
IconData entry
IconScalars
IconParameters
IconTables
IconDirect assignment
IconAlgebraic nature of variable and equation specifications
IconAlgebra and model .. specifications
IconOutput differences
IconEquation listing
IconVariable list
IconEquation solution report
IconVariable solution report
IconGood modeling practices
IconStructure of GAMS statements, programs and the ;
IconAdding complexity
IconConditionals
IconConditionally execute an assignment
IconConditionally add a term in sum or other set operation
IconConditionally define an equation
IconConditionally include a term in an equation
IconDisplaying data
IconReport writing
IconWhy use GAMS and algebraic modeling
IconUse of algebraic modeling
IconContext changes
IconExpandability
IconAugmentation
IconAid with initial formulation and subsequent changes
IconAdding report writing
IconSelf-documenting nature
IconLarge model facilities
IconAutomated problem handling and portability
IconModel library and widespread professional use
IconUse by Others
IconEase of use with NLP, MIP, CGE and other problem forms
IconInterface with other packages
IconLanguage Basics
IconSets
IconSet declaration
IconSubsets
IconElement definition
IconExplicit element definition
IconSet definition through Tables
IconElement definition by computation
IconMulti dimensional sets
IconDomain checking
IconSet element referencing
IconWhole sets
IconSingle elements
IconOperating over part of a set
IconUsing subsets
IconUsing conditionals
IconSameas and Diag
IconOrd and Card
IconUsing tuples
IconDefining a tuple with the matching and # operators
IconUniversal Set: * as a set identifier
IconUsing set attributes
IconFinding sets from data
IconUsing another name or an alias
IconElement order and capitalization in output
IconFunctions specifically referencing sets
IconOrd
IconOrdered and Unordered sets
IconCard
IconSameas
IconDiag
IconIndexing sets defined over time
IconLeads and Lags: + / -
IconCircular or Equilibrium Leads and Lags: ++ / --
IconElement Position
IconSet Arithmetic
IconUnions
IconIntersections
IconComplements
IconDifferences
IconData Entry
IconScalars
IconParameters
IconTable
IconCalculated data
IconVariables, Equations, Models and Solves
IconVariables
IconVariable Declaration
IconVariable attributes
IconAssigning variable and equation attributes
IconEquation
IconEquation Declaration
Icon.. Equation specifications
IconEquation attributes
IconAssigning equation attributes
IconModel
IconModel attributes
IconList of attributes
IconSolve: Maximizing, Minimizing, and Using
IconActions on executing solve
IconPrograms with multiple solve statements
IconMultiple solve management - merge replace
IconChoosing a solver
IconModel Types and Solvers
IconModel Types
IconLinear programs (LP)
IconNonlinear program (NLP)
IconQuadratically constrained program (QCP)
IconMixed integer programming (MIP)
IconRelaxed mixed integer programming (RMIP)
IconMixed complementarity problem (MCP)
IconMixed integer nonlinear program (MINLP)
IconRelaxed mixed integer nonlinear program (RMINLP)
IconMixed integer quadratically constrained program (MIQCP)
IconRelaxed mixed integer quad. constrain program (RMIQCP)
IconConstrained nonlinear systems (CNS)
IconNonlinear programming with discontinuous derivatives (DNLP)
IconMathematical program with equilibrium constraints (MPEC)
IconRelaxed mathematical program with equilibrium constraints (RMPEC)
IconExtended Mathematical Programs (EMP)
IconSolver capabilities matrix
IconSolvers
IconGeneral notes on solver licensing
IconGeneral notes on solver versions
IconAvailable solvers
IconALPHAECP
IconAMPL
IconBARON
IconBDMLP
IconBENCH
IconBONMIN
IconCBC
IconCSDP
IconCONOPT
IconCONOPTD
IconCONVERT
IconCOUENNE
IconCPLEX
IconCPLEXD
IconDEA
IconDECISC
IconDECISM
IconDICOPT
IconEMP
IconEXAMINER
IconGAMSBAS
IconGAMSCHK
IconGLPK
IconGUROBI
IconIPOPT
IconJAMS
IconKNITRO
IconLGO
IconLINDOGLOBAL
IconLINGO
IconLOGMIP
IconLS
IconMILES
IconMILESE
IconMILESOLD
IconMINOS
IconMINOS5
IconMOSEK
IconMPECDUMP
IconMPSGE
IconMPSWRITE
IconMPS2GMS
IconMSNLP
IconNLPEC
IconOQNLP
IconOS
IconOSICplex
IconOSIGurobi
IconOSIMosek
IconOSIXPRESS
IconOSL
IconOSL3
IconOSLSE
IconPATH
IconPATHC
IconPATHNLP
IconPATHOLD
IconSBB
IconSCENRED
IconSCIP
IconSNOPT
IconXA
IconXAPAR
IconXPRESS
IconZOOM
IconChoosing a solver
IconStandard Output
IconWhere is my output? LOG and LST files
IconOutput overview and navigation
IconGAMS phases and output generated
IconCompilation phase output
IconEcho print of the input file
IconCompilation phase error messages
IconRepositioning error messages
IconSymbol reference map
IconSymbol listing
IconUnique element list
IconUnique element cross reference
IconExecution output
IconDisplay output
IconExecution error output
IconSymptoms of the presence of an execution error
IconOutput produced by a solve statement
IconModel generation error listing
IconEquation listing
IconVariable listing
IconModel characteristics statistics
IconModel generation time
IconSolve summary
IconCommon solver report
IconSolver report
IconThe variable and equation solution listing
IconIncluding slacks in the output
IconRanging analysis
IconFinal execution summary
IconReport summary
IconFile summary
IconManaging output pages
IconPage width and height
IconNew pages
IconAdding an output title to each page
IconManaging output volume
IconEliminate model listing
IconEliminate cross reference map
IconEliminate symbol list
IconEliminate solution output
IconEliminate echo print
IconRestrict output just to a few displays
IconAdding slack variables to the output
IconSending messages to the LOG file
IconWriting Models and Good Modeling Practices
IconFormatting models - my recommendations
IconUse longer names and descriptions
IconBasic point
IconInclude comments on procedures and data nature and sources
IconEntering raw versus calculated data
IconAvoiding use of * in input data set specification
IconMaking sets work for you
IconMaking subsets work for you
IconFormatting the typing of files to improve model readability
IconOther possible conventions
IconChanging licenses
IconLicenses on IDE
IconLicenses outside of IDE—Windows and Unix/Linux
IconRunning Jobs with GAMS and the GAMS IDE
IconBasic approaches to GAMS usage
IconRunning GAMS from the command line
IconIDE concept and usage
IconSteps to using IDE
IconCreate a project
IconDefining a project name and location.
IconCreating or opening an existing GMS file
IconPreparing file for execution
IconSelect default IDE functions
IconPage size and LST file opening
IconMake IDE the default GMS file processor
IconRun GAMS by clicking the run button
IconOpen and navigate around the output
IconUsing the process window
IconUsing the LST file navigation window
IconFinding the Active Location
IconWorking with your own file
IconFixing compilation errors
IconSelected techniques for use of the IDE
IconWays to find and/or replace text strings
IconSearch menu and find in files
IconMatching parentheses
IconMoving column blocks
IconAltering syntax coloring
IconFinding out more through help
IconHelp on the IDE
IconHelp on GAMS
IconAccessing help on solvers
IconAdding your own documentation
IconAccessing documentation outside the IDE
IconUnraveling complex files: Refreader
IconBasic output
IconSymbol Tab
IconFiles used Tab
IconSets, Parameters etc. Tabs
IconUnused Tab
IconSteps to Using Refreader
IconSaving the Refreader output
IconSpell checking in files
IconSaving and Using a Script
IconWhen is it not worth using?
IconEmploying command line parameters
IconA difficulty you will have using IDE
IconInstallation
IconInstall GAMS and on Windows machines the IDE
IconOn Windows machines make IDE icon
IconOn Linux/Unix run Gamsinst
IconChoosing solvers
IconSolver choice outside of IDE
IconUnpacking software on Windows machines
IconFixing Compilation Errors
IconDon’t bark up the wrong tree
IconFinding errors: ****
IconFinding errors: $
IconRepositioning error messages: Errmsg
IconImproperly placed semi colons - error A
IconError message proliferation
IconCommonly found errors and their cause
IconOther common errors
IconExcess or insufficient semi colons - error B
IconSpelling mistakes - error C
IconOmitted Set elements - error D
IconIndexing problems - error E
IconSumming over sets already indexed - error F
IconNeglecting to deal with sets - error G
IconMismatched parentheses - error H
IconImproper equation ".." statements - error I
IconEntering improper nonlinear expressions - error J
IconUsing undefined data - error K
IconImproper references to individual set elements - error L
IconNo variable, parameter, or equation definition - error M
IconDuplicate names - error N
IconReferencing item with wrong set - error O
IconORD on an unordered set - error P
IconMore Language Basics
IconRules for Item Names, Element Names and Explanatory Text
IconItem name rules
IconElement name rules
IconExplanatory text rules
IconIncluding Comments
IconBlank lines
IconSingle line comments
IconMultiple line comments
IconEnd of line comments
IconIn line comments
IconOutside margin comments
IconHidden comments
IconCalculating Items
IconBasic components of calculations
IconOperators
Icon=
Icon.. statements
IconBasic arithmetic + - * / **
IconArithmetic hierarchy
IconChanging hierarchy using () [] {}
IconOperations over set dependent items
Icon=  replacement or .. statements
IconSum , Smax, Smin, Prod
IconSum
IconSmin Smax
IconProd
IconAlternative set addressing schemes
IconAvoiding set domain errors
IconMultiple sets
IconConditionals to restrict set coverage
IconTuples and subsets to restrict set coverage
IconItems that can be calculated
IconSets
IconData
IconEquation calculations
IconAcronyms
IconCautions about calculations
IconDynamic
IconStatic
IconRepeated static
IconCautions about dynamic /static calculations
IconPotential other components in calculations
IconMixing logical expressions, sets and numbers
IconFunctions
IconCommon mathematical functions
IconAbs
IconExecseed
IconExp
IconIfthen
IconLog, Log10, Log2
IconMax , Min
IconProd
IconRound
IconSmin , Smax
IconSqr
IconSqrt
IconSum
IconOther Mathematical functions
IconTime and Calender functions
IconString manipulation functions: Card
IconString manipulation functions: Ord, Ordascii, Ordebcdic
IconGAMS utility and performance functions
IconSpecial values
IconInf, -Inf
IconNa
IconEps
IconUndf
IconYes/No
IconModel and optimal solution items
IconAttributes of variables and equations
IconL
IconM
IconLo
Icon.range
IconUp
IconFx
IconScale
IconPrior
IconAttributes of models
IconIncluding conditionals
IconRight and left hand side conditionals
IconImproving Output via Report Writing
IconAdding report writing
IconBasics of solution based report writing calculations
IconAdding a report
IconNotes on indefinite sets in parameter statements
IconUsing displays
IconAbort
IconControlling displays
IconFormatting display decimals and layout
IconTaking control of display decimals
IconControlling item ordering
IconControlling item capitalization
IconFormatting pages and lines
IconOutput via put commands
IconReordering set order in output
IconPreprogrammed table making utility: Gams2tbl
IconOutput to other programs
IconObtaining graphical output
IconSorting output
IconSorting in GAMS
IconRank
IconRules for Item Capitalization and Ordering
IconItem capitalization
IconReviewing capitalization: $Onsymlist and $Onuellist
IconSet element order
IconReviewing set element ordering: $Onuellist
IconConditionals
IconBasic forms of conditionals
Icon$ conditionals
IconWays $ conditionals are employed
IconSuppressing calculation of items (left hand side)
IconSuppressing terms in equations (right hand side)
IconControlling indices in sums etc
IconSuppressing model equations (left hand side)
IconConditionally displaying information
IconTerminating a program: Abort
IconIf, Else, and Elseif
IconWhile
IconRepeat
IconConditional placement and program execution speed
IconForms of conditional / logical true false statements
IconNumerical comparisons
IconEq: =
IconNe:<>
IconGt: >
IconLt: <
IconGe: >=
IconLe: <=
IconEqv: <=> Imp: ->
IconData existence
IconExistence/nonzero data item or result
IconComputation over a set
IconSet comparisons
IconElement position: Ord and Card
IconElement text comparison: Sameas and Diag
IconSubset or tuple membership
IconAcronym comparisons
IconNesting logical conditions
IconNesting operators
IconAnd
IconOr
IconXor
IconNot
IconNested $ conditionals
IconNested Operators and precedence order
IconNote of caution
IconThe conditional alternative: the tuple
IconControl Structures
IconIf, Else, and Elseif
IconAlternative syntax
IconEndif
IconLoop
IconAlternative syntax
IconEndloop
IconWhile
IconAlternative syntax
IconEndwhile
IconFor, To, Downto, and By
IconAlternative syntax
IconEndfor
IconRepeat, Until
IconDoing a Comparative Analysis with GAMS
IconBasic approaches
IconManual approach
IconIntroducing cross scenario report writing
IconPercentage change cross scenario reports
IconPreserving changed data
IconAn automated approach - avoiding repeated work
IconAdding a scenario
IconChanging model structure
IconWhere am I?
IconGAMS Command Line Parameters
IconImportant parameters
IconCompiler function – regional settings
IconError detection and correction
IconLST and LOG output content and format control
IconSolver name choice
IconOption file presence
IconDirectory management
IconGDIR
IconSaves and restarts
IconUser defined options
IconAlphabetic list of all GAMS command line parameters
Icon--  //  -/  /--  on command lines
IconAction: A
IconAppendExpand or AE
IconAppendlog: Al
IconAppendout: Ao
IconBotmargin: Bm
IconCase
IconCerr
IconCharset
IconCNS
IconCodex: Cx
IconCurdir: Cdir
IconDformat: Df
IconDNLP
IconDumpopt
IconDumpparms: Dp
IconEolonly: Ey
IconErrmsg
IconErrnam
IconError
IconErrorlog: Er
IconEtlim
IconExecerr
IconExecmode
IconExpand: Ef
IconFerr
IconFilecase
IconFsave
IconG205
IconGdir
IconGdx
IconGdxcompress
IconGdxconvert
IconGridscript
IconHeapLimit
IconIde
IconInputdir: Idir
IconInputdir1 to inputdir40: Idir1 to idir40
IconKeep
IconLeftmargin: Lm
IconLibincdir: Ldir
IconLicense
IconLimcol
IconLimrow
IconLogfile: Lf
IconLogline: Ll
IconLogoption_Lo
IconMaxProcDir
IconLP
IconMCP
IconMINLP
IconMIP
IconMPEC
IconMultipass: Mp
IconNLP
IconNocr
IconOldname
IconOpt
IconOptdir
IconOptfile
IconOutput: O
IconPagecontr: Pc
IconPagesize: Ps
IconPagewidth: Pw
IconParmfile: Pf
IconPf
IconPf4
IconPlicense
IconProcDir
IconProfile
IconProfilefile
IconPutdir: Pdir
IconReference: Rf
IconRelpath
IconRestart: R
IconRMINLP
IconRMIP
IconSave: S
IconSavepoint: Sp
IconScrdir: Sd
IconSolprint
IconScrExt
IconSolvelink
IconSt
IconStringchk
IconSubsys
IconSuppress
IconSymbol
IconSysdir
IconSysincdir: Sdir
IconTabin
IconTformat: Tf
IconThreads
IconTopmargin: Tm
IconTrace
IconTraceopt
IconUser1 to user5: U1 to U5
IconWorkdir: Wdir
IconWorkfactor
IconWorkspace
IconXsave: Xs
IconSaves and Restarts
IconSave Restart Basics
IconSave: S
IconRestart: R
IconXsave: Xs
IconUse of save and restarts and their effect
IconSave and restart on command line
IconIDE usage
IconSave and restart calling GAMS from within GAMS
IconWhy use save and restart?
IconIncreasing run efficiency
IconOutput management
IconSeparation of code function
IconSave study results
IconComparative statics analysis
IconCompiled code
IconFast related solutions
IconCustomizing GAMS
IconWhat types of options are there?
IconPossible command line parameters to customize
IconHow can these options be set?
IconTo set in command line via pf=
IconTo set in Gmsprmxx.txt parameter file
IconTo set in IDE
IconHierarchy for customizing options
IconFinding and Fixing Errors or Performance Problems
IconFixing Execution Errors
IconGAMS limit errors
IconArithmetic errors during GAMS execution
IconExecution errors during model generation
IconExecution errors during model solution
IconSolver function evaluation errors
IconSymptoms
IconAllowing errors to occur
IconRepair
IconPresolve errors
IconProblem eliminated
IconNo feasible mixed integer solution
IconNo feasible continuous solution
IconSolver specific limits
IconBasing conditionals on number of errors
IconClearing error conditions
IconScaling GAMS Models
IconBasics
IconTheory of scaling
IconScaling a variable
IconScaling equations
IconSimultaneous equation and variable scaling
IconExample of scaling
IconScaling of GAMS models
IconScaling in GAMS solvers
IconUsing GAMS scaling assistance
IconWhy should you scale?
IconEffect of scaling on GAMS output
IconHow do you know how much to scale?
IconA caution when scaling – runaway cases
IconUser defined data scaling
IconNonlinear scaling
IconSmall to Large: Aid in Development and Debugging
IconBasics
IconExpandability in an example
IconEssence of the small to large approach
IconSteps for working from small to large.
IconMaking small parts of large models
IconSave and restart to isolate problem areas
IconStrategic sub-setting
IconData reduction
IconSpeeding up GAMS
IconBasics
IconFinding where excessive time is being used
IconScreen watching and LOG file examination
IconProfile
IconUse of profile to find slow statements
IconInvoking profile
IconOn the GAMS command line
IconIn the IDE GAMS parameters box
IconAs an internal option
IconWhat should the number be
IconLimiting profile output: Profiletol
IconIsolating terms in slow statements
IconIt takes too long - searching
IconWhy programs can be slow and their repair
IconSet addressing and references
IconAvoiding considering unnecessary cases
IconCalculation statements
IconEquation existence limited using conditionals
IconEquation term consideration limited using conditions
IconVariable specification - suppression
IconWatch out for incomplete suppression
IconPost solution report writing computations
IconTrading memory for time
IconOther speed ups
IconMemory Use Reduction in GAMS
IconBasics
IconFinding where excessive memory is being used
IconScreen watching and LOG file examination
IconProfile
IconProfiling to find memory hogging statements
IconInvoking profile
IconOn the GAMS command line
IconIn the IDE GAMS parameters box
IconAs an internal option
IconWhat should the profile number be
IconLimiting profile output: Profiletol
IconMemory use dumps: Dmpsym
IconLooking within memory hogs to find offending term
IconMy code won’t work - searching
IconCauses of excessive memory use and repair
IconAvoiding considering unnecessary cases
IconCalculation statements
IconEquation existence using conditionals
IconEquation term consideration limited using conditions
IconVariable specification - suppression
IconWatch out for incomplete suppression
IconMemory traps to watch out for
IconClearing memory of unnecessary items
IconLimiting memory use with HeapLimit
IconMore Language Features
IconIncluding External Files
IconInclusion without arguments
Icon$Include
IconIncludes that cause compiler error messages
IconSuppressing the listing of include files
IconRedefining the location of include files - Idir
IconInclude with arguments
Icon$Batinclude
IconHow parameter inclusion works
Icon$Libinclude
IconLdir
Icon$Sysinclude
IconSdir
IconInfluence on LST file contents: $Oninclude and $Offinclude
IconPassing $ commands between code segments: $Onglobal and $Offglobal
IconSpecial provision for CSV files
Icon$Ondelim and $Offdelim
IconDollar Commands
IconBasics
IconWhen do dollar commands occur?
IconCategories of $ commands
IconCommands for inclusion of comments
IconLST and other output file contents control
IconWays of including external files
IconContents dependent compilation
IconAlter numerical procedures used
IconAlter data for items
IconGDX file read/write
IconAlter compiler procedures
IconCause execution of an external program
IconRestrict access to data
IconTear apart strings
IconCompress and encrypt files
IconDetailed description of dollar commands
IconAbort
IconBatinclude
IconCall
IconClear
IconClearerror
IconComment
IconCompress
IconDecompress
IconDollar
IconDouble
IconEcho, Echon
IconEject
IconEncrypt
IconEolcom
IconError
IconEscape
IconExit
IconExpose
IconGdxin
IconGdxout
IconGoto
IconHidden
IconHide
IconIf, If not, Ifi, Ifi not
IconInclude
IconInlinecom
IconKill
IconLabel
IconLibinclude
IconLines
IconLoad
IconLoaddc
IconLog
IconMaxcol
IconMincol
IconOndelim and Offdelim
IconOndigit and Offdigit
IconOndollar and Offdollar
IconOndotl and Offdotl
IconOnecho and Offecho
IconOnempty and Offempty
IconOnend and Offend
IconOneolcom and Offeolcom
IconOneps and Offeps
IconOnexpand and Offexpand
IconOnglobal and Offglobal
IconOninclude and Offinclude
IconOninline and Offinline
IconOnlisting and Offlisting
IconOnmacro and Offmacro
IconOnmargin and Offmargin
IconOnmulti and Offmulti
IconOnnestcom and Offnestcom
IconOnput, Onputs, Onputv, Offput
IconOnsymlist and Offsymlist
IconOnsymxref and Offsymxref
IconOntext and Offtext
IconOnuellist and Offuellist
IconOnuelxref and Offuelxref
IconOnundf and Offundf
IconOnupper and Offupper
IconOnwarning and Offwarning
IconPhantom
IconPrefixpath
IconProtect
IconPurge
IconRemark
IconSet
IconSetargs
IconSetcomps
IconSetddlist
IconSetglobal
IconSetenv
IconSetlocal
IconSetnames
IconShift
IconShow
IconSingle
IconStars
IconStop
IconStitle
IconSysinclude
IconTitle
IconUnload
IconUse205
IconUse225
IconUse999
IconThe Option Command
IconBasics
IconOptions by function
IconOptions for control of solver choice
IconOptions including debugging information in LST file
IconOptions influencing LST file contents
IconOptions influencing solver function
IconOther options altering GAMS settings
IconOptions affecting data for items in memory
IconOptions that form projections of data items
IconDescription of options
IconOption itemname:d and Option itemname:d:r:c
IconOption itemname < or <= itemname2
IconBratio
IconClear
IconCNS
IconDecimals
IconDispwidth
IconDNLP
IconDomlim
IconDmpsym
IconDualcheck
IconEject
IconForlim
IconIterlim
IconKill
IconLimcol
IconLimrow
IconLP
IconMCP
IconMeasure
IconMINLP
IconMIP
IconNLP
IconOldname
IconOptca
IconOptcr
IconProfile
IconProfiletol
IconReslim
IconRMIP
IconRMINLP
IconSavepoint
IconSeed
IconSolvelink
IconSolprint
IconSolslack
IconSolveopt
IconSubsystems
IconSys10
IconSysout
IconAdvanced Language Features
IconMacros in GAMS
IconOutput via Put Commands
IconBasics of put
IconDetails on put related commands
IconFile
IconPutdr: Pdir
Icon.Pdir
IconSending output to the LOG file
IconSending output to the SCREEN
IconPut
IconItems within a put
IconQuoted text
IconSet elements
IconSet element names via .tl
IconSet element explanatory text via .te and .tf
IconPutting out set elements for parameters via .Tn
IconItem explanatory text via .ts
IconNumeric items
IconParameter values
IconModel solution status attributes: .Modelstat, .Solvestat, .Tmodstat, .Tsolstat
IconVariable and equation attributes: .L and .M
IconSystem attributes
Icon.CNS
Icon.Date
Icon.DNLP
Icon.Fe
Icon.Fn
Icon.Fp
Icon.Gamsrelease
Icon.Gstring
Icon.Ifile
Icon.Iline
Icon.Lice1  .Lice2
Icon.LP
Icon.MIP
Icon.MINLP
Icon.NLP
Icon.MCP
Icon.MPEC
Icon.Ofile
Icon.Opage
Icon.Page
Icon.Pfile
Icon.Platform
Icon.Prline
Icon.Prpage
Icon.Rdate
Icon.Rfile
Icon.RMINLP
Icon.RMIP
Icon.Rtime
Icon.Sfile
Icon.Sstring
Icon.Time
Icon.Title
Icon.Version
IconGAMS command line parameters
IconWrite position controls
IconSkip to a specified column: @
IconSkip to a new line: /
IconSkip to a specified row: #
IconOther positioning parameters
Icon.Cc
Icon.Cr
Icon.Hdcc
Icon.Hdcr
Icon.Hdll
Icon.Ll
Icon.Lp
Icon.Tlcc
Icon.Tlll
Icon.Tlcr
Icon.Ws
IconFormatting of items
IconFile formatting – append or overwrite
Icon.Ap
IconPage formatting
Icon.Bm - bottom margin
Icon.Lm - left margin
Icon.Pc - Page control
Icon.Ps or page height
Icon.Pw - page width
Icon.Tm -  top margin
IconAdding page titles and headers
IconPuttl
IconPuthd
IconPutclear
IconUpper lower font case formatting: .Case and .Lcase
IconWidth and decimal formatting
IconGlobal formatting
Icon.Lw set element name width
Icon.Nd number of decimals
Icon.Nw number width
Icon.Sw set indicator width
Icon.Tw explanatory and quoted text width
IconLocal formatting
IconContinuous vs fixed width
IconJustification
IconGlobal formatting
Iconlj set element name justification
Iconnj number justification
Iconsj set indicator justification
Icontj explanatory and quoted text justification
IconLocal formatting
IconAdditional numeric display control
Icon.nr
Icon.nz
IconPutclose
IconPutpage
IconPutting out a block of text: $onput, $offput, $onputs, $onputv
IconMaking puts conditional
IconOutput to other programs
IconPut of data to a regression code
IconPut file for export to mapping program
IconErrors that arise during puts
IconAcronyms
IconDeclaration
IconUsage
IconConditional Compilation
IconControl variables
IconEstablishing control variables
Icon$Setglobal
Icon$Setlocal
Icon$Set
Icon$EvalGlobal
Icon$Evallocal
Icon$Eval
IconSetting environment variables
IconDestroying Contol Variables
IconA problem with control variable definitions
IconEnvironment variables
IconNames of some system environment variables
IconDefining and destroying user environment variables
IconAugmenting environment variables
IconAccessing environment variable status at any point in the code: $Show
Icon$If and $Ifi conditionals
Icon$If and $Ifi
Icon$Ife conditionals
IconNot as a modifier
Icon$ifthen, iftheni, ifthene, else, elseif, endif  conditionals
IconForms of conditionals
IconBased on control and environment variables
IconExistence
IconContents
IconNumerical Value
IconBased on characteristics of named item or parameter
IconItem type
IconDefinition status: Declared and Defined
IconSet dependency: Dimension
IconPassed parameter existence
IconBased on GAMS command line parameters
IconBased on system characteristics
IconBased on error and warning checks
IconBased on file or directory existence
IconBased on put file status
IconIncorporating Goto: $Goto and $Label
IconRedefining expressions
IconSystem attributes that can be included
IconGAMS command line attributes that can be included
IconBased on user options and command line:  --  //  -/  /- User1-5
IconPassed parameter inclusion
IconControl variable inclusion
IconRunning external programs or commands
Icon$Call
IconExecute
IconShellexecute
Icon$Setargs
IconWriting messages to LST, LOG and other files
IconLST File: $Abort and $Error
IconLOG file: $Log
IconOther named files: $Echo, $Offecho, $Onecho
IconEnd the job: $Exit, $Abort, $Error, $Stop, $Terminate
IconLonger examples
IconChanging model type depending on control variable
IconChanging form of data in model and their use
IconHaving batincludes that deal with different data types
IconFor more examples
IconUsing GAMS Data Exchange or GDX Files
IconCreating a GDX file in GAMS
IconCommand line GDX option - GDX dump of the whole problem
IconGDX Point Solution file
IconGDX files containing selected items
IconExecution time selected item GDX file creation
IconCompile time selected item GDX file creation
IconInputting data from a GDX file into GAMS
IconCompile time imports from GDX files
IconExecution time GDX imports
IconExecute_Load
IconExecute_Loadpoint
IconGeneral notes on GDX files
IconIdentifying contents of a GDX file
IconIdentifying contents with $Load
IconIdentifying contents with the IDE
IconIdentifying contents with Gdxdump
IconIdentifying differences in contents with Gdxdiff
IconMerging GDX files
IconUsing GDX files to interface with other programs
IconSpreadsheets
IconGEMPACK
IconOther
IconGdxcopy Making GDX files compatable
IconWriting older GDX versions with GDXCONVERT
IconLinks to Other Programs Including Spreadsheets
IconExecuting an external program
Icon$Call
IconSpaces in file names and paths
IconExecute
IconPut_utility
IconTiming of execution with $Call and Execute
IconPassing data from GAMS to other programs
IconPut file data passage
IconPlain text
IconCSV or otherwise delimited
IconRutherford's CSV put: Gams2csv
IconGDX
IconSpreadsheet links
IconGraphics programs
IconGnuplot
IconGnuplot.gms
IconGnupltxy.gms
IconMatlab
IconSpreadsheet graphics
IconGeographic mapping programs
IconGDX2ACCESS
IconGdxviewer links: Access, Excel pivot table, Excel, CSV, GAMS include, HTML, Text files, Plots, XML
IconOther programs and conversions: Convert, DB2, FLM2GMS, GAMS2TBL, HTML, Latex, MPS, Oracle, XML
IconPassing data from other programs to GAMS
IconIncluding data
IconSpreadsheet links
IconXls2gms
IconInteractive mode
IconBatch mode
IconGAMS program in Excel sheet
IconXLSDUMP
IconDatabase links
IconSQL: Sql2gms
IconGDX
IconMdb2gms
IconInteractive mode
IconBatch Mode
IconOther programs: DB2, Latex, GNETGEN, Gnuplot, Matlab, MPS, NETGEN, Oracle
IconCustomized data interchange links for spreadsheets
IconXlexport, Xldump, Xlimport
IconXlimport
IconXlexport
IconXldump
IconGdxxrw
IconCommand line parameters
IconRng=
IconNameConv=:  NC=
IconGAMS item dimension: Dim=, Rdim=, Cdim=
IconData specification
IconWriting Text and Links
IconSet data: Set= and Dset=
IconExamples
IconLoading rows of set elements
IconLoading columns of set elements
IconLoading  set elements only if they have data or text
IconWriting set elements
IconSets and explanatory text – use of Set
IconLoading by upper left hand corner
IconLoading sets from data tables
IconLoading sets from lists with duplicates
IconDealing with a tuple
IconExecution time set reads
IconExecution time set writes
IconLoading the set into GAMS
IconUnloading the set from GAMS
IconParameter data: Par
IconRearranging rows and columns
IconVariable and equation data: Equ and Var
IconSpecial options for reading from a spreadsheet: Skipempty= and Se=
IconSpecial options for writing to a spreadsheet
IconIs the workbook open or shared?
IconMerge
IconClear
IconFilter
IconSpecial value and zero cell writing options
IconEpsout
IconNaout
IconMinfout
IconPinfout
IconUndfout
IconZeroout
IconSqueeze
IconResetout
IconOptions for reading in command line parameters
IconCommand line parameters in a file
IconParameters in a spreadsheet
IconOther Options
IconTracing Options
IconLog and Logappend
IconTrace
IconWorkbook performance options
IconUpdlinks
IconRunMacros
IconOther GDXXRW Options
IconDebugging Gdxxrw instructions
IconSpreadsheet graphics
IconInteractively including results
IconInteractive calculations in a spreadsheet
IconCalling GAMS from GAMS
IconUsing equations defined by external programs
IconIdentifying the equations and their contents: =X=
IconBuilding the external function evaluator
IconControlling GAMS from External Programs
IconCalling GAMS from other programs
IconExcel spreadsheet in charge
IconExcel part of implementation
IconDefining the links through the map
IconWorksheets present
IconInputs sheet structure
IconResults sheet structure
IconRunning GAMS – the main macro
IconCritical user defined items
IconGAMS run sequence
IconActions involved with executing GAMS
IconExamining the macros
IconGAMS part of implementation
IconDeveloping Excel in charge – summary steps
IconCompiled program in charge – Delphi
IconA Delphi example
IconSteps in application development
IconPassing data to GAMS
IconCalling GAMS
IconChallenges in running GAMS
IconReading the GAMS solution
IconWeb servers or programs in other languages in charge
IconTransferring models to other systems
IconUtilities included in GAMS
IconPosix utilities
IconMatrix Utilities
IconInvert
IconCholesky
IconEigenvalue
IconEigenvector
IconInterface and other utilities
IconGDX Utilities
IconGdxcopy
IconGdxdiff
IconGdxdump
IconGdxmerge
IconGdxrank
IconGdxviewer
IconGdxxrw
IconGdx2access
IconGdx2xls
IconMDB2GMS
IconSQL2GMS
IconXls2gms
IconInterface utilities
IconAsk
IconMsappavail
IconShellexecute
IconXlstalk
IconSolver Option Files
IconBasics
IconTelling a solver to look for an options file: .Optfile
IconOption file name
IconAlternative option file extention names: .Opt, .Op?, .O??, .???
IconOption file contents
IconComments: *
IconOption specifications
IconOption file editor
IconWriting options during a model run
IconLearning about options: Solver manuals
IconDefault settings for Optfile
IconDefining a central location for the option files: Optdir
IconTransitory nature of options
IconAdvanced Basis Usage
IconBasics
IconAdvanced basis formation in GAMS
IconEffect of advanced basis on solution performance
IconBratio
IconProviding a basis
IconGetting a basis through repeated solution
IconSave files
IconAn alternative – use a GDX point file
IconAn older alternative – use GAMSBAS: Bas files
IconGuessing at a basis
IconWhy use a GAMSBAS or GDX Point basis
IconProblems with a basis
IconSymptoms and causes of a poor advanced basis
IconMIP
IconNLP
IconMixed Integer, Semi, and SOS Programming
IconSpecifying types of variables
IconBinary variables
IconInteger variables
IconSpecially ordered set variables of type 1 (SOS1)
IconSpecially ordered set variables of type 2 (SOS2)
IconSemi-continuous variables
IconSemi-integer variables
IconImposing priorities
IconBranch-and-Cut-and-Heuristic Facility
IconGAMS options and model attributes
IconModelname.Cheat = x;
IconModelname.Cutoff = x;
IconModelname.Nodlim = x;
IconModelname.Optca=X; Option Optca=X;
IconModelname.Optcr=X; Option Optcr=X;
IconModelname.Optfile = 1;
IconModelname.Prioropt = 1;
IconModelname.Tryint = x;
IconBranch and bound output
IconNonlinear MIPs
IconIdentifying the solver
IconMINLP
IconMIP
IconRMIP
IconRMINLP
IconModel termination conditions and actions
IconThings to watch out for
IconDefault bounds
IconEnding with a gap – big default for Optcr (10%)
IconThe nonending quest