Pgams2numpy.gms : Test gams2numpy API

Description

Contributor: Clemens Westphal, July 2020


Small Model of Type : Python


Category : GAMS API library


Main file : Pgams2numpy.gms

$TITLE 'Test gams2numpy API' (PGAMS2NUMPY,SEQ=59)

$ontext
Contributor: Clemens Westphal, 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%g2np_example1.py" "%gams.sysdir%."
$  call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%g2np_example2.py" "%gams.sysdir%."
$endIf