|
The parameter Pf4 controls the default bounds GAMS uses to limit the maximum value of integer variables. Traditionally the bounds have been 100 but as of version 23.1 this can be changed to +inf by altering Pf5.
The format is PF4=n.
where n is 0,1,2 or 3 and when
| • | Pf4=0: A default upper bound of +INF will be passed to the solver. |
| • | Pf4=1: Bounds of 100 will be passed to the solver as with older GAMS versions. In addition messages will be written to the log and listing to report on the number of integer or semi-integer variables which had bound set to 100. |
| • | PF4=2: The new default values of +INF will be used as with PF4=0. When a solution is returned to GAMS and the level value of an integer variable exceeds the old bound value of 100, a message will be written to the log and listing. |
| • | PF4=3: The same as PF4=2 with an additional execution error issued if the solution reports a level value greater than 100 for any integer variable with a default bound of +INF. |
If the GAMS parameter PF4 is not used GAMS defaults to PF4=1 or bounds of 100 and the problem bounds will be the same as in previous releases.
Setting PF4 values to 2 and 3 are a convenient way to test if the application relies on the previous default bounds of 100.
Future releases may use PF4=0 as the default.
|