(function from pyomo.contrib.pyros.util)
pyomo.contrib.pyros.util
Revert solver options attribute to its state prior to a time limit adjustment performed via the routine adjust_solver_time_settings.
solver (solver type) – Solver of interest.
original_max_time_setting (float, list, or None) – Original solver settings. Type depends on the solver type.
custom_setting_present (bool or None) – Was the max time, or other custom solver settings, specified prior to the adjustment? Can be None if config.time_limit is None.
config.time_limit
config (ConfigDict) – PyROS solver config.