skip to content
GAMS Support Wiki
This is an old revision of the document!
Table of Contents
General questions using GAMS
How do I...
General questions using GAMS
How do I...
compute the Kronecker product in GAMS
export only rounded numbers from GAMS to Excel
enter a macro over multiple lines
loop over file names
implement a 'lookup-table'
model that constraint: The sum of consecutive four elements in a vector should be less than 10?
get a list of the available solvers in GAMS
formulate logical expressions in equations
get the "Active Process" Window back
model predecessor/successor relations
write only the binding constraints to an external file
obtain the analytical derivatives of the objective function and the constraints
get the Jacobian of my model
define a static set from 1 to N+1, where N is some integer provided by the user at the beginning
code a definite integral
define several independent models in one GAMS file
model a step function
(piecewise constant function)
model a band matrix
call GAMS within GAMS
model an absolute value in a linear model
linearize a non-linear function
union two different sets
output zero values with a display statement
turn on the syntax color coding?
include a file without stating the whole file name
restrict the increments of a variable to certain values only
sort a list of set elements and find duplicate entries
get the GAMS IDE to write the gamside.ini file to another location?
generate different random numbers when re-running one of the random number generators
define variables over subsets
create a new GAMS Chart for every element of a set
formulate a constraint with a "<" condition?
transpose a matrix
protect my GAMS Model?
get a conditional file include?
interpret ''COMPILATION TIME'', ''GENERATION TIME'', and ''EXECUTION TIME'' in the lst-file?
get the index position of the largest element of a set?
interpret the marginal values?
get the Lagrangian Multiplier for the Constraints?
get reverse loops in GAMS?
use different equations based on the value of a function?
get different variable types within one definition?
get the attribute of an equation, that returns the feasibitity status of an equation
enumerate all possible subsets of a set?
add a constraint to a model and do a warm start?
linearize a multi dimensional parameter?
get a ''sleep.exe'' with a millisecond resolution?
keep memory used by GAMS constant for multiple solves in a loop
model piecewise linear functions?
use GAMS return codes in a batch file
Error code 13, System Failure
TERMINATED DUE TO A FILE OPEN ERROR IN SysOpenText
error 3: The system cannot find the path specified
Maximum number of columns in table exceeded (MAXTABCOL=2048)
C OS errno = 28: 'No space left on device'
WARNING - COMPILER OPTIONS ARE NON DEFAULT PHANTOM EMPTY
MCP pair ... has empty equation but associated variable is NOT fixed
Exponential function exp(x) not recognized
Different keyboard layout after starting the GAMSIDE
Terminated due to file open error in WRITE PARM
TERMINATED DUE TO ERRORS IN WF Section, expected = BAS-END, found =
IDECmds error = GAMSIDE is not running
PUT ERROR AT LINE 485 FILE CANNOT BE OPENED - NEW NAME INVENTED
Unexpected Exception from eaccessviolation
TERMINATED DUE TO LIMITS IN Single block NL code size exceeded
Unexpected Exception from eoutofmemory
Endogenous $-control operations not allowed
Error 282 within the GAMS IDE
Error "Set used in 'ord' or lag is not ordered."
CORRUPTED WORKFILE - CANNOT CONTINUE
UNDEFINED REAL POWER
UNCLEARED STRING TRUNCATION CONDITION
Problem running next script: No such file or directory
Can I use Dropbox with GAMS
Fast calculation of mappings
Problems with spaces in nested macros
What is the difference between ''$stop'' and ''$exit''
An Example how to use the GAMS $macro feature to implement the Simpson's rule
How is EPS handled in calculations
Replacing +/- INF
What is the NEOS Server
Should I use Bounds or 'Singleton Equations'
Do not run models in the GAMS System Directory
What is the GAMS Model Library
Where is the GAMS System Directory
Where do I find my GAMS license file
Parallel versus sequential assignments - or beware of "Loop"-Statements
Difference between the **-operator and the power function
How many active processes is GAMS allowed to have running at one time
Precision of Data within GAMS
Set elements are strings, not numbers
GAMS and the MPS format
Fixed Variables vs. parameters vs. equations
A more complex Parameter to Set - Matching Problem
Efficient processing of tuples
Using GAMS for solving Square Nonlinear Systems
A Team Scheduling problem
RASing a Matrix
Schrage's Snow Removal Problem (Stochastic Programming)
Sudoku with GAMS
A GAMS implementation of the example model mentioned in "An overview of genetic algorithms for the solution of optimisation problems"
Random number generator in GAMS
A scalar drives the length of a set
Missing trig functions (arccos, arcsin, tan)
How large should BIG M be
Reusing optimal values
Smooth approximations for MAX(X,0) and MIN(X,0)
MIN function, don't use it
I know a better solution
Alternative optimal solutions
Auditing GAMS runs on a network with a shared GAMS installation
Computer and Executable Dependent Performance Differences
IMPRESSUM / LEGAL NOTICE
· Last modified: 2021/06/21 21:51 by
Back to top
Except where otherwise noted, content on this wiki is licensed under the following license:
CC Attribution-Noncommercial-Share Alike 4.0 International