Description
Contributor: Lutz Westermann, October 2012
Small Model of Type : .Net
Category : GAMS API library
Main file : CSBenders.gms
$title 'Test object oriented C# API using a (multi-threaded) Benders Decomposition Algorithm' (CSBENDERS,SEQ=26)
$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%Benders2Stage%system.dirsep%Benders2Stage.csproj" -c Release -p:Platform=%PLATFORM% -- "%gams.sysdir%."
$if errorlevel 1 $abort 'Problem compiling/executing Benders2Stage'
$call dotnet run --project "%srcRoot%Benders2StageMT%system.dirsep%Benders2StageMT.csproj" -c Release -p:Platform=%PLATFORM% -- "%gams.sysdir%."
$if errorlevel 1 $abort 'Problem compiling/executing Benders2StageMT'