28
GAMS Development Corp. GAMS Software GmbH www.gams.com Recent Enhancements in GAMS Toni Lastusilta: [email protected]

PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GAMS Development Corp. GAMS Software GmbH www.gams.com

Recent Enhancements in GAMS

Toni Lastusilta: [email protected]

Content

ALl

Head

Page 2: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

2

Agenda

What is GAMS?

Overview of Enhancements

Paver 2

Youtube Channel: GAMS lessons

Summary

Page 3: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

3

Algebraic Modeling Languages (AML)

1

• High-level computer programming languages

• Formulation of mathematical optimization problems

• Notation similar to algebraic notation

2 • Do not solve problems directly, but offer links to state-of-

the-art algorithms (“solver-links”)

Source: http://en.wikipedia.org/wiki/Algebraic_modeling_language

Page 4: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

4

What does a modeler have to think about?

GAMS makes modeling easier

1. Application

2. Mathematics

3. Programming

4. Performance

5. Scalability

6. Connectivity

7. Deployment

8. Maintenance (Life Cycle)

9. ...

Page 5: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

5

Design Principle

Model

Platform Solver Data Interface

1 • Simple modeling language with a balanced mix of

declarative and procedural elements

2 • Open architecture and interfaces to other systems,

independent layers

Page 6: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

6

Broad User Community and Network

GAMS used in more than 120 countries

25+ Years GAMS Development

0

20000

40000

60000

80000

100000

2010 2011 2012 2013

Number of visits to GAMS download website

Page 7: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

7

Broad Range of Application Areas

Agricultural Economics Applied General Equilibrium

Chemical Engineering Economic Development

Econometrics Energy

Environmental Economics Engineering

Finance Forestry

International Trade Logistics

Macro Economics Military

Management Science/OR Mathematics

Micro Economics Physics

Page 8: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

8

Agenda

What is GAMS?

Overview of Enhancements

Paver 2

Youtube Channel: GAMS lessons

Summary

Page 9: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

9

Enhancements during last year

GAMS System Updates

Solver Updates

New Tools and API Updates

New Model Library Examples

Upcoming release – GAMS 24.3 (estimated release date: August 2014)

Page 10: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

10

Enhancements during last year

CPP function library

• Automatic differentiation

• Multi-variate Normal Distributions

GAMS System Updates

Obfuscate restart file

BARON 14.0.0: Significant advances in the handling of integer programs

CONOPT: New option to control definitional equations.

GUSS/Scenario solver can now be combined with the GAMS Grid Facility.

Solver Updates for > 15 solvers

Singleton set

Page 11: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

11

Singleton set

Page 12: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

12

Obfuscate restart file

Page 13: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

13

Enhancements during last year

GDXDUMP: new option SymbolsAsSet - to write the symbol table for a set as data.

New tools and API updates

New Model Library Examples

GDXRENAME: Rename the same unique elements in a GDX file using a mapping given by a second GDX file.

Note: The GAMS System includes also a Practical Financial Optimization Models Library

New examples to:

Model Library = 7

Test Library = 48

Data Utilities = 5

EMP Library = 4

Total > 1250 models

.NET, Java and Python fixes and improvements.

Page 14: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

14

GDXRENAME Tool

Page 15: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

15

SpawnGAMSAccess (Datalib,#87)

Page 16: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

16

SpawnGAMSAccess (Datalib,#87)

From VBA we can write a GDX file either with:

• GDXAPI

• MDB2GMS tool

The Access VBA code is in control

Spawn GAMS . Note that we can also control (stop) the GAMS solver.

We use GDXDUMP to write a text file that is transferred to Access.

Notes.

The GAMS model is saved in an Access Memo field.

A temporary model can be modified in the GAMSIDE and executed from Access.

Page 17: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

17

Agenda

What is GAMS?

Overview of Enhancements

Paver 2

Youtube Channel: GAMS lessons

Summary

Page 18: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

18

GAMS related advances

Paver 2 www.gamsworld.org/ performance/paver2/

Page 19: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

19

PAVER server (Performance Analysis and Visualization for Effortless Reproducibility)

Complete rewrite PAVER 2.0, 2013 (Python)

New functionality:

- Consistency checks

- Comparison against solution database

- Many more metrics

Open source (COIN-OR project)

Paver 2

Page 20: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

20

Paver 2

Page 21: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

21

Paver 2

Page 22: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

22

Paver 2

Page 23: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

23

Agenda

What is GAMS?

Overview of Enhancements

Paver 2

Youtube Channel: GAMS lessons

Summary

Page 24: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

24

GAMS related advances

Youtube Channel: GAMS lessons

www.youtube.com/channel/ UCfTAizXPo4vN54CC-Zs9TTg

Page 25: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

25

Youtube Channel: GAMS lessons

Page 26: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

26

Agenda

What is GAMS?

Overview of Enhancements

Paver 2

Youtube Channel: GAMS lessons

Summary

Page 27: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GENERAL ALGEBRAIC MODELING SYSTEM

27

Summary

GAMS related

advances

Paver 2

Youtube Channel

GAMS 24.3 System

Enhancements

Singleton sets

CPP function library

Page 28: PowerPoint Presentation · Title: PowerPoint Presentation Author: purno biswas Created Date: 7/14/2014 7:49:42 AM

GAMS Development Corp. GAMS Software GmbH www.gams.com

Thank You USA

GAMS Development Corp. 1217 Potomac Street, NW Washington, DC 20007

USA Phone: +1 202 342 0180 Fax: +1 202 342 0181

[email protected]

Europe GAMS Software GmbH P.O. Box 40 59 50216 Frechen, Germany Phone: +49 221 949 9170 Fax: +49 221 949 9171 [email protected]