Description
we have to trick gams a bit with the variables to make them scalars
Small Model of Type : GAMS
Category : GAMS Test library
Main file : unload9.gms
$title 'Test export of defaults for uninitialized scalars' (UNLOAD9,SEQ=208)
* we have to trick gams a bit with the variables
* to make them scalars
$gdxOut temp
scalar a;
variable x; equation e; e.. x =e= 1;
$unLoad a x
$gdxOut
$gdxIn temp
$load a x
$gdxIn
display a,x.l, x.lo;
abort$(a <> 0) 'uninitialized scalar wrong';
abort$(x.lo <> -inf) 'uninitialized variable wrong';