Adjustment only supported for GAMS, BARON, and IPOPT
interfaces. This routine can be generalized to other solvers
after a generic Pyomo interface to the time limit setting
is introduced.
For IPOPT and BARON, the CPU time limit,
rather than the wallclock time limit, may be adjusted,
as there may be no means by which to specify the wall time
limit explicitly.
For GAMS, we adjust the time limit through the GAMS Reslim
option. However, this may be overridden by any user
specifications included in a GAMS optfile, which may be
difficult to track down.
To ensure the time limit is specified to a strictly
positive value, the time limit is adjusted to a value of
at least 1 second.