GAMS - Solving Scenarios in The Cloud
GAMS - Solving Scenarios in The Cloud
GAMS - Solving Scenarios in The Cloud
GAMS - History
• Roots: World Bank, 1976
• Alex Meeraus founded GAMS Development Corp. (USA)
in 1987 and GAMS Software GmbH (Germany) in 1995
• New management
team in 2016
2
GENERAL ALGEBRAIC MODELING SYSTEM
GAMS - Product
General Algebraic Modeling System
• Pioneered Algebraic Modeling Languages: Model is
executable algebraic description of optimization
problem
Made mathematical optimization available to
broader audience (domain experts)
Increased productivity tremendously
2012 INFORMS Impact Prize
• Evolution through more than 25 years of R&D and user
feedback
• Maturity through experience and rigorous testing
3
GENERAL ALGEBRAIC MODELING SYSTEM
Agenda
4
GENERAL ALGEBRAIC MODELING SYSTEM
GAMS at a Glance
Powerful algebraic modeling language with open
architecture and uniform interface to all major
commercial and academic solvers (30+ integrated)
Model
Different layers Platform Solver Data Interface
5
GENERAL ALGEBRAIC MODELING SYSTEM
Supported Platforms
Model
6
Platform Solver Data Interface
GENERAL ALGEBRAIC MODELING SYSTEM
Supported Solvers
and
Model Types
Model
7
Platform Solver Data Interface
GENERAL ALGEBRAIC MODELING SYSTEM
Model
8
Platform Solver Data Interface
GENERAL ALGEBRAIC MODELING SYSTEM
Model
9
Platform Solver Data Interface
GENERAL ALGEBRAIC MODELING SYSTEM
Main Program
Data/Results
Wrapper Classes
(.Net, Java, Python, C++)
Options GAMS
Model
Create / Run
Model
10
Platform Solver Data Interface
GENERAL ALGEBRAIC MODELING SYSTEM
Agenda
11
GENERAL ALGEBRAIC MODELING SYSTEM
12
GENERAL ALGEBRAIC MODELING SYSTEM
13
GENERAL ALGEBRAIC MODELING SYSTEM
Solvelink=%Solvelink.LoadLibrary% 03.252
14
GENERAL ALGEBRAIC MODELING SYSTEM
16
GENERAL ALGEBRAIC MODELING SYSTEM
17
GENERAL ALGEBRAIC MODELING SYSTEM
– Job execution
GAMS/Kestrel
Remote Solver Execution on NEOS Servers
Stay in your GAMS environment
Results are being processed
as with any local solver
Remote Cluster
Local Machine
(NEOS)
--- Executing KESTREL: elapsed 0:00:00.006
Connecting to: http://neos-server.org:3332
NEOS Solver: xpress
Model transport /all/; NEOS job#=3631352, pass=iJLdAkhP
Option lp=kestrel;
transport.optfile=1; Check the following URL for progress report :
http://neos-server.org/neos/cgi-bin/nph-neos-
$onecho > kestrel.opt solver.cgi?admin=results&jobnumber=3631352&pass=i
kestrel_solver xpress JLdAkhP
$offecho Job 3631352 dispatched
password: iJLdAkhP
Solve transport using lp minimizing z; ---------- Begin Solver Output -----------
Job submitted to NEOS HTCondor pool.
19
GENERAL ALGEBRAIC MODELING SYSTEM
20
GENERAL ALGEBRAIC MODELING SYSTEM
Issues:
• Automation
• Security
• Licensing
21
GENERAL ALGEBRAIC MODELING SYSTEM
22
GENERAL ALGEBRAIC MODELING SYSTEM
23
GENERAL ALGEBRAIC MODELING SYSTEM
25
GENERAL ALGEBRAIC MODELING SYSTEM
Configured AWS
Instances
• Python
• GAMS
Software Licensing:
• Gurobi and IBM offer per-usage license
• Client with strong preference for annual license
fee, not a per-usage license
27
GENERAL ALGEBRAIC MODELING SYSTEM
28
GENERAL ALGEBRAIC MODELING SYSTEM
29
GENERAL ALGEBRAIC MODELING SYSTEM
30
Thank You Europe USA
GAMS Software GmbH GAMS Development Corp.
P.O. Box 40 59 1217 Potomac Street, NW
50216 Frechen, Germany Washington, DC 20007, USA
Phone: +49 221 949 9170 Phone: +1 202 342 0180
Fax: +49 221 949 9171 Fax: +1 202 342 0181
info@gams.de sales@gams.com