PTsp.gms : Test object oriented Python API using a Traveling Salesman Problem

Description

Contributor: Clemens Westphal, April 2014


Small Model of Type : Python


Category : GAMS API library


Main file : PTsp.gms

$TITLE 'Test object oriented Python API using a Traveling Salesman Problem' (PTSP,SEQ=38)

$ontext
Contributor: Clemens Westphal, April 2014
$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%tsp.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON39
$  call.checkErrorLevel cd . && "%sysenv.PYTHON39%" "%srcRoot%tsp.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON310
$  call.checkErrorLevel cd . && "%sysenv.PYTHON310%" "%srcRoot%tsp.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON311
$  call.checkErrorLevel cd . && "%sysenv.PYTHON311%" "%srcRoot%tsp.py" "%gams.sysdir%."
$endif
$ifthen setenv PYTHON312
$  call.checkErrorLevel cd . && "%sysenv.PYTHON312%" "%srcRoot%tsp.py" "%gams.sysdir%."
$endif

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