solver:default_upper_bound_for_an_integer_variable

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

solver:default_upper_bound_for_an_integer_variable [2020/10/29 15:27] Atharv Bhosekar removed |
— (current) | ||
---|---|---|---|

Line 1: | Line 1: | ||

- | ====== Default upper bound for an integer Variable ====== | ||

- | //Q: I have a model with large integer variables but I don't manage to get a level greater than 100// | ||

- | For some historical reasons, GAMS sets an upper bound of 100 for all integer variables. The user has to reset the upper bound, i.e.: ''x.up(i) = 1000;'' | ||

- | |||

- | However, formulating integer variables, which can take such huge numbers, as integer variables is in general not reasonable. |