Move topHoleRatio limit into standard OptimizationPreferences class.
Deprecate the temporary class OptimizationPreferencesWithTempConstraint.