PSpecialValues.gms : Test handling of Special Values in object oriented Python API

Description

Contributor: Clemens Westphal, January 2015


Small Model of Type : Python


Category : GAMS API library


Main file : PSpecialValues.gms

$title 'Test handling of Special Values in object oriented Python API' (PSPECIALVALUES,SEQ=48)

$onText
Contributor: Clemens Westphal, January 2015
$offText


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

$ifThen setenv PYTHON38
$  call.checkErrorLevel cd . && "%sysenv.PYTHON38%" "%srcRoot%special_values.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON39
$  call.checkErrorLevel cd . && "%sysenv.PYTHON39%" "%srcRoot%special_values.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON310
$  call.checkErrorLevel cd . && "%sysenv.PYTHON310%" "%srcRoot%special_values.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON311
$  call.checkErrorLevel cd . && "%sysenv.PYTHON311%" "%srcRoot%special_values.py" "%gams.sysdir%."
$endIf
$ifThen setenv PYTHON312
$  call.checkErrorLevel cd . && "%sysenv.PYTHON312%" "%srcRoot%special_values.py" "%gams.sysdir%."
$endIf

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