gdxmerg4.gms : test gdxmerge - (at)input.txt with blank lines

Description

Make sure calling gdxmerge with (at)input.txt works even when the textfile contains blank lines.

Contributor: Aileen Homey, March 2025


Small Model of Type : GAMS


Category : GAMS Test library


Main file : gdxmerg4.gms

$title 'test gdxmerge - (at)input.txt with blank lines' (GDXMERG4,SEQ=980)

$onText
Make sure calling gdxmerge with (at)input.txt works even when the textfile contains blank lines.

Contributor: Aileen Homey, March 2025
$offText

$onCheckErrorLevel
$call gamslib -q trnsport
$call gams trnsport lp=cplex gdx=cplex lo=%GAMS.lo%
$call gams trnsport lp=xpress gdx=xpress lo=%GAMS.lo%

$onEcho > merge.txt
cplex.gdx
xpress.gdx

$offEcho

$call gdxmerge @merge.txt > %system.nullfile%
$call rm merge.txt