CSWarehouse.gms : Test object oriented C# API using a warehouse location problem

Description

Contributor: Lutz Westermann, October 2012


Small Model of Type : .Net


Category : GAMS API library


Main file : CSWarehouse.gms

$title 'Test object oriented C# API using a warehouse location problem' (CSWAREHOUSE,SEQ=39)

$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

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