When adding records to a set, the resulting keys
variable contains only one empty string, instead of the expect "i1"
.
var workspace = new GAMSWorkspace("TestWorkspace");
var database = workspace.AddDatabase();
var set = database.AddSet("TestSet", 1);
var record = set.AddRecord("i1");
var keys = record.Keys;
database.Export("TestDb");
What can cause this problem running the version Assembly GAMS.net4, Version=28.2.0.0
When I export the database
to a .gdx file, the set contains the element i1
.