Description
The $load should mirror compile time text input with UNDF Contributor: Alex
Small Model of Type : GAMS
Category : GAMS Test library
Main file : load5.gms
$title Tests UNDF with $load (LOAD5,SEQ=526)
$onText
The $load should mirror compile time text input with UNDF
Contributor: Alex
$offText
$onUNDF
set i / i1*i30 /; parameter x(i) / i1*i3 10, i7*i30 undf /; scalar s / undf /;
variable v / l undf /; variable w(i) / i1*i30.up UNDF /;
$offUNDF
$gdxOut test
$unLoad i x s v w
$gdxOut
parameter y(i),z(i),a,b; variable vv,vvv,ww,www
$gdxIn test
$loadDC y=x a=s vv=v ww=w
$if errorfree $abort undf should have triggered an error
$clearError
$onUNDF
$load z=x b=s vvv=v www=w
$gdxIn
$offUNDF
$if NOT errorfree $abort with $undf we should accept undf