$LOADDC domain violation as output
Posted: Tue Sep 07, 2021 11:19 pm
Hi!
Do you know of a way to output the domains violations in a txt or csv file?
Being more specific, I have two sets, set_db and set_nondb
set_db should have all elements
set_nondb should have only elements from db but in ocacions there will be new elements and we need to capture them.
Sets:
set_db
set_nondb(set_db)
Then, when loading the data..
$GDXIN somefile.gdx
$LOAD set_db
$LOADDC ser_nondb
$GXDIN
When set_nondb contains elements that are missing from sets_db an error will ocurr, I would like to output all the missing elements (no only the first 10) in a txt csv file, on that error
Any ideas?
Do you know of a way to output the domains violations in a txt or csv file?
Being more specific, I have two sets, set_db and set_nondb
set_db should have all elements
set_nondb should have only elements from db but in ocacions there will be new elements and we need to capture them.
Sets:
set_db
set_nondb(set_db)
Then, when loading the data..
$GDXIN somefile.gdx
$LOAD set_db
$LOADDC ser_nondb
$GXDIN
When set_nondb contains elements that are missing from sets_db an error will ocurr, I would like to output all the missing elements (no only the first 10) in a txt csv file, on that error
Any ideas?