PInterrupt.gms : Test GamsJob interrupt mechanism in object oriented Python API

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 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 setenv PYTHON312
$  call.checkErrorLevel cd . && "%sysenv.PYTHON312%" "%srcRoot%interrupt.py" "%gams.sysdir%." "-nonInteractive"
$endIf
$ifThen setenv PYTHON313
$  call.checkErrorLevel cd . && "%sysenv.PYTHON313%" "%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