Pgamstransfer.gms : Test gamstransfer API

Description

Contributor: Adam Christensen, July 2020


Small Model of Type : Python


Category : GAMS API library


Main file : Pgamstransfer.gms

$TITLE 'Test gamstransfer API' (PGAMSTRANSFER,SEQ=58)

$ontext
Contributor: Adam Christensen, July 2020
$offtext

$set srcRoot %gams.sysdir%apifiles%system.dirsep%Python%system.dirsep%
$                             set C ;
$if %system.filesys% == UNIX $set C :

$ifThen dExist "%gams.sysdir%GMSPython"
$  dropEnv PYTHONPATH
$  call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%gt_example1.py" "%gams.sysdir%."
$  call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%gt_example2.py" "%gams.sysdir%."
$endIf