call6.gms : Call GAMS in a folder containing a %

Description

This tests that GAMS runs in a directory which name contains a % character.

Contributor: Lutz Westermann, January 2015


Small Model of Type : GAMS


Category : GAMS Test library


Main file : call6.gms

$title 'Call GAMS in a directory which name contains a % character.' (CALL6,SEQ=674)

$onText
This tests that GAMS runs in a directory which name contains a % character.

Contributor: Lutz Westermann, January 2015
$offText


$call rm -rf some%
$call mkdir some%
$call cd some% && gamslib -q trnsport
$echo "abort$(transport.solvestat <> %solveStat.normalCompletion% or transport.modelstat <> %modelStat.optimal%) 'Problems running transport';" >> some%/trnsport.gms
$call cd some% && gams trnsport lo=%GAMS.lo%
$if errorlevel 1 $abort Problem running GAMS in folder some%