Ptrseq.gms : Test object oriented Python API running a sequence of examples based on a transport model

Description

Contributor: Clemens Westphal, October 2012


Small Model of Type : Python


Category : GAMS API library


Main file : Ptrseq.gms

$TITLE 'Test object oriented Python API running a sequence of examples based on a transport model' (PTRSEQ,SEQ=24)

$ontext
Contributor: Clemens Westphal, October 2012
$offtext


$set srcRoot %gams.sysdir%api%system.dirsep%python%system.dirsep%examples%system.dirsep%control%system.dirsep%

$onEchoV > exTrans.gms
$ifthen setenv PYTHON38
$  call.checkErrorLevel cd . && "%sysenv.PYTHON38%" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON39
$  call.checkErrorLevel cd . && "%sysenv.PYTHON39%" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON310
$  call.checkErrorLevel cd . && "%sysenv.PYTHON310%" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON311
$  call.checkErrorLevel cd . && "%sysenv.PYTHON311%" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON312
$  call.checkErrorLevel cd . && "%sysenv.PYTHON312%" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endif

$ifThen dExist "%gams.sysdir%GMSPython"
$  call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%transport%1.py" "%gams.sysdir%."
$endIf
$offEcho

$batinclude exTrans _gdx
$batinclude exTrans 1
$batinclude exTrans 2
$batinclude exTrans 3
$batinclude exTrans 4
$batinclude exTrans 5
$batinclude exTrans 6
$batinclude exTrans 7
$batinclude exTrans 8
$batinclude exTrans 8a
* These two need more references, cannot assume that they are the same one all machines
*$batinclude exTrans 9
*$batinclude exTrans 10
$batinclude exTrans 11
$batinclude exTrans 12
$batinclude exTrans 13
$batinclude exTrans 14