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