Search found 5 matches

by ABMlerGams
1 year ago
Forum: API
Topic: Java Api - change set entries in ModelInstance via Modifier or else
Replies: 2
Views: 5091

Re: Java Api - change set entries in ModelInstance via Modifier or else

Anybody an Idea about modifiying sets in a ModelInstance? Is it possible?
by ABMlerGams
1 year ago
Forum: API
Topic: Java Api - change set entries in ModelInstance via Modifier or else
Replies: 2
Views: 5091

Java Api - change set entries in ModelInstance via Modifier or else

Hi, still working on the Java API. A question: I want to use the Modelinstance with Gamsmodifiers. All straightforward with Parameters. However, I would like to add/remove set entries via the modifier which seems not to be possible. Is there a way to do this via SyncDB operations or is this just out...
by ABMlerGams
1 year ago
Forum: API
Topic: Java API - Model results uncorrect after first solve of Modelinstance
Replies: 5
Views: 5011

Re: Java API - Model results uncorrect after first solve of Modelinstance

It was the old GAMS version indeed. Anybody with the same Problem: use the latest GAMS version. Solved for me
by ABMlerGams
1 year ago
Forum: API
Topic: Java API - Model results uncorrect after first solve of Modelinstance
Replies: 5
Views: 5011

Re: Java API - Model results uncorrect after first solve of Modelinstance

... well this might be a bit difficult but I might do it if desperate enough. Yes, paying customer at University. Could the fact that I use a MIP play into it? The wrong output entails this piece of info: MIP start 'm1' defined solution with objective 0.0000. MIP start 'm2' defined no solution. 1 of...
by ABMlerGams
1 year ago
Forum: API
Topic: Java API - Model results uncorrect after first solve of Modelinstance
Replies: 5
Views: 5011

Java API - Model results uncorrect after first solve of Modelinstance

Hi, I am using the Modelinstance over the Java API with a Modifier. All works fine for the first solve. However, results from many solves after the first one are not what I expect. I do clear the Modifier from previous records before re-solving. Thus, I need to re-intantiate the Instance after every...