GAMSPy Base
GAMSPy Base is a subset of full GAMS installation which can be found at: https://gams.com/download/.
How to use it in other GAMS APIs
Control:
from gams import GamsWorkspace
from gamspy_base import directory
ws = GamsWorkspace(system_directory=directory)
Magic:
%reload_ext gams.magic
from gamspy_base import directory
gams.reset(directory)
GamsInteractive:
from gamspy_base import directory
from gams.magic import GamsInteractive
gams = GamsInteractive()
gams.reset(directory)
Transfer:
import gams.transfer as gt
from gamspy_base import directory
m = gt.Container(system_directory=directory)
Connect:
from gams.connect import ConnectDatabase
from gamspy_base import directory
cdb = ConnectDatabase(directory)
GDX Expert-Level:
import gams.core.gdx as gdx
from gamspy_base import directory
rc = gdx.gdxGetReadyD(directory, 255)
License Agreement
By downloading this software, you agree to the GAMS license agreement.