随机猜测与边界

(函数来自 pyomo.contrib.multistart.reinit)

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

在当前值和最远边界之间随机选择。