CStrseq.gms : Test object oriented C# API running a sequence of examples based on a transport model

Description

Contributor: Lutz Westermann, October 2012


Small Model of Type : .Net


Category : GAMS API library


Main file : CStrseq.gms

$title 'Test object oriented C# API running a sequence of examples based on a transport model' (CSTRSEQ,SEQ=21)

$onText
Contributor: Lutz Westermann, October 2012
$offText


$set srcRoot %gams.sysdir%api%system.dirsep%dotnet%system.dirsep%examples%system.dirsep%control%system.dirsep%csharp%system.dirsep%

$escape &

$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

$onEchoV > cmexTrans
$call dotnet run --project "%srcRoot%Transport%1%system.dirsep%Transport%1.csproj" -c Release -p:Platform=%PLATFORM% -- "%gams.sysdir%." %2
$if errorlevel 1 $abort 'Problem compiling/executing Transport%1'
$offEcho

$batInclude cmexTrans GDX
$batInclude cmexTrans 1
$batInclude cmexTrans 2
$batInclude cmexTrans 3
$batInclude cmexTrans 4
$batInclude cmexTrans 5
$batInclude cmexTrans 6
$batInclude cmexTrans 7
$batInclude cmexTrans 8
*$batInclude cmexTrans 9
*$batInclude cmexTrans 10
$batInclude cmexTrans 11
$batInclude cmexTrans 12
$batInclude cmexTrans 13
$ifThenE sameas('%system.buildcode%','LEG')or(sameas('%system.buildcode%','LAG'))
$batInclude cmexTrans 14 --useLock
$else
$batInclude cmexTrans 14
$endIf
$batInclude cmexTrans Engine