Problem with loop in MINLP model.

Problems with modeling
Post Reply
Fred
Posts: 372
Joined: 7 years ago

Re: Problem with loop in MINLP model.

Post by Fred »

Hi,

Since you don't share with us how you set the starting point when you are not using a loop, there is no chance to tell you where the difference comes from.
What you do in the loop looks strange. You set many variable levels and then you clear most of the variables before you do anything with them...

If you want to compare two (presumably identical) model instances, you can for example compare the equation and column listing (https://www.gams.com/latest/docs/UG_GAM ... tionOutput) of the two model instances.

I hope this helps!

Fred
Post Reply