rand_guess_and_bound

(function from pyomo.contrib.multistart.reinit)

pyomo.contrib.multistart.reinit.rand_guess_and_bound(val, lb, ub)[source]

Random choice between current value and farthest bound.