1 / 12

Two Ways to Run GAMS

Two Ways to Run GAMS. GAMS / MPSGE Course: Yerevan, Armenia May 3 – 7, 2010. GAMS – Generalized Algebraic Modeling System Strength: “Optimization” History: Originated in 1990 at World Bank F inanced later by Oil-refineries

libitha
Télécharger la présentation

Two Ways to Run GAMS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Two Ways to Run GAMS GAMS / MPSGE Course: Yerevan, Armenia May 3 – 7, 2010

  2. GAMS – Generalized Algebraic Modeling System • Strength: “Optimization” • History: • Originated in 1990 at World Bank • Financed later by Oil-refineries • Now used by economists, chemists, and other scientists who need optimization • Company is small (4-5 people), based in Georgetown, Washington, DC. Introduction to GAMS

  3. GAMS is a “modular” system • Base GAMS is the general data-management and data-manipulation part. • GAMS “solvers” are separate plugin style software developed by outsiders, for example: • MINOS: Non-Linear Program (NLP) solver, by academics at Stanford U. • CONOPT: NLP developed by professor in Netherlands • PATH: Mixed-Complimentary Solver (MCP) developed at U. Wisconsin (Madison) Structure of GAMS

  4. For 20 years, GAMS has been a “command-line” program • In 2005, GAMS developed “GAMS-IDE” – the “Integrated Development Environment” • IDE is a Graphical Interface for the Command-Line software Using GAMS: GUI or Command?

  5. GAMS IDE

  6. You get a “GUI” where you can edit the program • But files are placed in a strange location: • C:\users\lightm\Documents\gamsdir\projdir\trnsport.gms GAMS IDE

  7. Input Program (.gms) and outputs (.lst) have tabs GAMS IDE

  8. Pros: • Easy to get started • Point and click • Automatically organizes files / folders • Integrated text editor • Cons: • Hard to understand what happens in “background” • File locations are un-intuitive • Always need a “project dir” • Text-editor is weak GAMS IDE: PROs and CONs

  9. Original GAMS uses a “command Line” (MS-DOS) • A separate Text Editor is required • Input and Output files are standard “text files” • No GUI • Must learn commands in MS-DOS Traditional GAMS

  10. Traditional GAMS

  11. GAMS + Epsilon

  12. Pros: • Easier to see where files are • More powerful text editor • Doesn’t require the mouse • Cons: • Harder to get Started • Requires learning about your computer • Can’t easily use the mouse • Must learn to use a text editor • Must learn to use MS-Dos commands GAMS + Epsilon

More Related