Description
Contributor: Clemens Westphal, June 2016
Small Model of Type : Python
Category : GAMS API library
Main file : PInterrupt.gms
$TITLE 'Test GamsJob interrupt mechanism in object oriented Python API' (PINTERRUPT,SEQ=54)
$ontext
Contributor: Clemens Westphal, June 2016
$offtext
$set srcRoot %gams.sysdir%api%system.dirsep%python%system.dirsep%examples%system.dirsep%control%system.dirsep%
$ifthen setenv PYTHON37
$ call.checkErrorLevel cd . && "%sysenv.PYTHON37%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endif
$ifthen setenv PYTHON38
$ call.checkErrorLevel cd . && "%sysenv.PYTHON38%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endif
$ifthen setenv PYTHON39
$ call.checkErrorLevel cd . && "%sysenv.PYTHON39%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endif
$ifthen setenv PYTHON310
$ call.checkErrorLevel cd . && "%sysenv.PYTHON310%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endif
$ifthen setenv PYTHON311
$ call.checkErrorLevel cd . && "%sysenv.PYTHON311%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endif
$ifThen dExist "%gams.sysdir%GMSPython"
$ call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endIf