CSTsp.gms : Test object oriented C# API using a Traveling Salesman Problem

Description

Contributor: Lutz Westermann, October 2012


Small Model of Type : .Net


Category : GAMS API library


Main file : CSTsp.gms

$title 'Test object oriented C# API using a Traveling Salesman Problem' (CSTSP,SEQ=36)

$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%Tsp%system.dirsep%Tsp.csproj" -c Release -p:Platform=%PLATFORM% -- "%gams.sysdir%."
$if errorlevel 1 $abort 'Problem compiling/executing Tsp'