skip to content
GAMS Support Wiki
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
use the matching operator
compute the median of a parameter's values
loop over file names
formulate a power set
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
enter GAMS command line options
export all elements of parameter (including Zeros) from GAMS into Excel
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
automatically re-submit a model, which failed due to a solver license error?
execute other Programs within GAMS
output zero values with a display statement
turn on the syntax color coding?
specify a conditional parameter assignment to avoid a 'division by zero' error
create a report with some technical information about the optimzation
include a file without stating the whole file name
enter command-line parameter into the GAMS IDE
interpret the Column Listing
restrict the increments of a variable to certain values only
get an ordered set from a set, which is not ordered
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
dynamically rename put-files?
formulate a constraint with a "<" condition?
transpose a matrix
get a sorted Parameter or Table?
protect my GAMS Model?
find unused symbols in my GAMS model?
get a conditional file include?
get command line arguments into a Model
interpret ''COMPILATION TIME'', ''GENERATION TIME'', and ''EXECUTION TIME'' in the lst-file?
get the *total* model solution time in GAMS?
count the Number of Equations generated by a specific Constraint?
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
reduce the size of my listing (.LST) file?
access environment variables inside GAMS?
enumerate all possible subsets of a set?
add a constraint to a model and do a warm start?
continue subsequent solves in a loop after GAMS execution error abort?
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?
split up my model in a definition and into a data part
use GAMS return codes in a batch file
structure a large GAMS model
Error code 13, System Failure
TERMINATED DUE TO A FILE OPEN ERROR IN SysOpenText
error 3: The system cannot find the path specified
Equation infeasible due to rhs value
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
Workfile with 1 execution errors(s)
Error 286:Invalid in-line/end-of-line comment delimiter specification ...
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
What is the meaning of projected in the MODEL STATISTICS
How is EPS handled in calculations
Replacing +/- INF
Operations with EPS and INF
What is the NEOS Server
The Difference between $set and $setglobal
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
What is the maximal line length for an input line within a current version of GAMS
Precision of Data within GAMS
The 225 - Subdirectories
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
Tabulators in GAMS
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
How to reduce model generation time
Computer and Executable Dependent Performance Differences
IMPRESSUM / LEGAL NOTICE
· Last modified: 2018/05/18 14:09 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