Loading...
Searching...
No Matches
Examples
These files are available with the GAMS distribution under the following directory:
[detail level 12]
▼ control | |
alias.py | The GAMS Control API does not have the concept of a GAMS alias |
benders_2stage.py | This example demonstrates a sequential implementation of a simple Benders decomposition method for a stochastic linear program |
benders_2stage_mt.py | This example demonstrates a parallel implementation of a simple Benders decomposition method for a stochastic linear program |
clad.py | This example demonstrates how to implement a complex termination criterion for a difficult MIP using GAMS/Cplex |
cutstock.py | This example implements a column generation approach to solve the cutting stock problem |
cutstock_class.py | This example shows the wrapper model of a cutstock problem based on the simple GAMS cutstock model from the GAMS Model Library |
domain_checking.py | Enforcing referential integrity also known in the GAMS lingo as domain checking is an essential and important part of GAMS |
interrupt.py | Ctrl-C in a regular console application results in the interrupt of the entire job |
interrupt_gui.py | This small example demonstrates how to run a GAMS model in a graphical user interface |
markowitz.py | This is a small graphical program that plots the efficient frontier of Markowitz' portfolio selection problem with the two objectives return and risk |
run_engine.py | This is an example how to run a GamsJob on GAMS Engine using the run_engine method: |
simple_cutstock.py | This example implements a column generation approach to solve the cutting stock problem |
special_values.py | This example shows how special values of the programming language (e.g |
transport1.py | This is the 1st model in a series of examples |
transport10.py | This is the 10th model in a series of examples |
transport11.py | This is the 11th model in a series of examples |
transport12.py | This is the 12th model in a series of examples |
transport13.py | This is the 13th model in a series of examples |
transport14.py | This is the 14th model in a series of examples |
transport2.py | This is the 2nd model in a series of examples |
transport3.py | This is the 3rd model in a series of examples |
transport4.py | This is the 4th model in a series of examples |
transport5.py | This is the 5th model in a series of examples |
transport6.py | This is the 6th model in a series of examples |
transport7.py | This is the 7th model in a series of examples |
transport8.py | This is the 8th model in a series of examples |
transport8a.py | This is a variation of the transport8.py example and it uses the multiprocessing Python package instead of threading in order to achieve parallel execution |
transport9.py | This is the 9th model in a series of examples |
transport_class.py | This example shows the wrapper model of a transportation problem based on the simple GAMS [trnsport] model from the GAMS Model Library |
transport_gdx.py | This example shows the use of the GamsDatabase class for reading and writing GDX files |
transport_neos.py | |
tsp.py | This example demonstrates how to use a GamsModelInstance to implement the sub tour elimination algorithm for the Traveling Salesman Problem (TSP) problem |
warehouse.py | This example demonstrates how to solve a simple GAMS model to assign stores to warehouses for different data sets in parallel |
▼ core | |
core_example1.py | |
core_example2.py | |
▼ engine | |
transport_engine.py | |
▼ magic | |
millco.py | |
nordhausdice.py | |
pickstock.py | |
▼ transfer | |
gt_example1.py | |
gt_example2.py | |
transport_gt.py | In this example we show how GAMS Transfer and the Control API work together |