PDomainChecking.gms : Test object oriented Python API for domain checks

Description

Contributor: Clemens Westphal, November 2014


Small Model of Type : Python


Category : GAMS API library


Main file : PDomainChecking.gms

$title 'Test object oriented Python API for domain checks' (PDOMAINCHECKING,SEQ=34)

$onText
Contributor: Clemens Westphal, November 2014
$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%domain_checking.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON310
$  call.checkErrorLevel cd . && "%sysenv.PYTHON310%" "%srcRoot%domain_checking.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON311
$  call.checkErrorLevel cd . && "%sysenv.PYTHON311%" "%srcRoot%domain_checking.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON312
$  call.checkErrorLevel cd . && "%sysenv.PYTHON312%" "%srcRoot%domain_checking.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON313
$  call.checkErrorLevel cd . && "%sysenv.PYTHON313%" "%srcRoot%domain_checking.py" "%gams.sysdir%."
$endIf

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