capri_uses_the_gams_software

**This is an old revision of the document!**

To solve the large-scale, non-linear optimization problems in the model, CAPRI uses a software called GAMS (General Algebraic Modelling System). GAMS is a programming language designed for solving optimization problems, widely used in economic modelling. Models in GAMS are defined by one or several text files (gms files) that contain definitions and solution methods for solving constrained optimization problems (such as the supply models of CAPRI) or systems of equations (such as the marked model of CAPRI), as well as commands for data handling and reporting.

Data used or produced by GAMS is generally stored in a file format called GDX (GAMS Data Exchange). CAPRI database and results are stored in gdx files, which can be loaded into the CAPRI Result Viewer in the Graphical User Interface where you can analyse and export the results. Without GAMS, you can view and analyse scenario results from previous scenario runs, but not run new simulations with CAPRI.

GAMS solves models using third-party solvers that are linked to GAMS. GAMS comes with a large library of such solvers, most of them specializing in particular types of problems or solution algorithms. CAPRI relies on a particular solver called CONOPT. While CAPRI itself is distributed free of charge for anyone to download and use, GAMS and the solvers such as CONOPT requires a license to work beyond demonstration mode.

capri_uses_the_gams_software.1575625812.txt.gz · Last modified: 2019/12/06 12:50 by justinap

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International