Thank you so much. I misunderstood it. as i read more carefully your answer, now it is fixed.
Thanks again,
Farzaneh
On Mon, Jul 6, 2015 at 11:38 AM, Lutz Westermann wrote:
Farzaneh,
Can you provide more information about your problem (including a small example to reproduce it)? As I wrote before, the option pf4 was introduced with GAMS 23.1, so I don’t see an obvious reason, why it should not work with your version 24.1.
Best regards,
Lutz
On 7/5/2015 6:52 AM, Farzaneh wrote:
Hi Lutz,
I have same problem and still couldnt fix it. I use GAMS version 24.1
would you please help me through it?
thank you so much,
farzaneh
On Monday, February 27, 2012 at 1:25:18 PM UTC+3:30, Lutz Westermann wrote:
Markus,
If you are using a recent GAMS system you should see something like
this
in your log:
*** 6 Integer +INF Bounds have been reset to 100
So you are right that by default there is an upper bound of 100 on all
integer variables. With GAMS version 23.1 we introduced the parameter
pf4 to change this behavior. If you start your model like this
gams modelname.gms pf4=0
the upper bound for you integer variables will be +INF. Instead of this
you could also reset the upper bounds of your integer variables
manually
(e.g x.up(i,j)=200;). More information about the parameter pf4 can be
found here:
http://www.gams.com/docs/release/release.htm#23.1
I hope that helps,
Lutz
On 2/26/2012 11:53 AM, Markus Klems wrote:
Hello,
I am trying to solve a MINLP with 4 integer variables:
x1 between 1 and 20
x2 between 1 and 5
x3 between 1 and 5
x4 between 1 and 5
The equations have interaction terms and quadratic terms, i.e. x1
and x1^2.
The results of my optimization don’t seem to be correct (I tried
different solvers). I suspect that GAMS ignores the terms where the
integer range exceeds 100. At least, I read in the GAMS tutorial that
only integers between 0 and 100 are allowed. Does this limit apply to
the nonlinear terms stated above (x1 * x2, et cetera)? If this should
be the problem, is there anything I can do?
Thank you so much,
Markus
\
Lutz Westermann LWest...@gams.com
GAMS Development Corporation GAMS Software GmbH
1217 Potomac St. NW, Eupener Str. 135-137
Washington DC, 20007, USA 50933 Cologne, Germany
Fon/Fax: +1 202 342-0180/1 Fon/Fax: +49 221 949-9170/1
http://www.gams.com http://www.gams.de
Lutz Westermann LWestermann@gams.com
GAMS Development Corporation GAMS Software GmbH
1217 Potomac St. NW, P.O. Box 40 59
Washington DC, 20007, USA 50216 Frechen, Germany
Fon/Fax: +1 202 342-0180/1 Fon/Fax: +49 221 949-9170/1
http://www.gams.com
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.