Pex2.gms : Test gams.core to read and write GDX, set options and execute GAMS

Description

Contributor: Lutz Westermann, October 2012


Small Model of Type : Python


Category : GAMS API library


Main file : Pex2.gms

$title 'Test gams.core to read and write GDX, set options and execute GAMS' (PEX2,SEQ=19)

$onText
Contributor: Lutz Westermann, October 2012
$offText


$set srcRoot %gams.sysdir%api%system.dirsep%python%system.dirsep%examples%system.dirsep%core%system.dirsep%
$call.checkErrorLevel cd . && "%gams.sysdir%GMSPython%system.dirsep%python" "%srcRoot%core_example2.py" "%gams.sysdir%." model2.gms
$call.checkErrorLevel gdxdiff demanddata.gdx demandwant.gdx