Description
This started to work with 22.6 and acronym info in gdx. The acronym index values have to be remapped. Contributor: Alex
Small Model of Type : GAMS
Category : GAMS Test library
Main file : gdx8.gms
$title Bad acronym mapping (GDX8,SEQ=405)
$onText
This started to work with 22.6 and acronym info in gdx.
The acronym index values have to be remapped.
Contributor: Alex
$offText
$call "rm -f acr1.gdx acr2.gdx"
$onEcho > acr1.gms
ACRONYM averLevels,anotherone;
scalar x / averlevels /
y / anotherone /;
parameter z / 1 averLevels,2 anotherone /;
execute_unload "acr1.gdx";
$offEcho
$onEcho > acr2.gms
ACRONYM anotherone,averLevels;
scalar x / averlevels /
y / anotherone /;
parameter z / 1 averLevels,2 anotherone /;
execute_unload "acr2.gdx";
$offEcho
$call gams acr1 lo=%gams.lo%
$call gams acr2 lo=%gams.lo%
$if not exist acr1.gdx $abort 'missing acr1.gdx'
$if not exist acr2.gdx $abort 'missing acr2.gdx'
$call gdxdiff acr1 acr2 > %system.nullfile%
$if errorlevel 1 $abort bad acronym mapping