Description
Contributor: Lutz Westermann, October 2012
Small Model of Type : .Net
Category : GAMS API library
Main file : VBex2.gms
$title 'Test expert level VB.Net API to read and write GDX, set options and execute GAMS' (VBEX2,SEQ=20)
$onText
Contributor: Lutz Westermann, October 2012
$offText
$set srcRoot %gams.sysdir%api%system.dirsep%dotnet%system.dirsep%examples%system.dirsep%core%system.dirsep%vb%system.dirsep%
$if %system.platform% == WEX $set PLATFORM x64
$if %system.platform% == LAX $set PLATFORM arm64
$if %system.platform% == LEX $set PLATFORM x64
$if %system.platform% == DEX $set PLATFORM x64
$if %system.platform% == DAX $set PLATFORM arm64
$call rm -rf demanddata.gdx
$call dotnet run --project "%srcRoot%xp_example2.vbproj" -c Release -p:Platform=%PLATFORM% -- "%gams.sysdir%." model2.gms
$if errorlevel 1 $abort 'Problem compiling/executing xp_example2 writing GDX file'
$call gdxdiff demanddata.gdx demandwant.gdx
$if errorlevel 1 $abort 'Demanddata not as expected'