bundles / scipy latest / scipy / optimize / _constraints / old_bound_to_new
function
scipy.optimize._constraints:old_bound_to_new
Signature
def old_bound_to_new ( bounds ) Summary
Convert the old bounds representation to the new one.
Extended Summary
The new representation is a tuple (lb, ub) and the old one is a list containing n tuples, ith containing lower and upper bound on a ith variable. If any of the entries in lb/ub are None they are replaced by -np.inf/np.inf.
Aliases
-
scipy.optimize._constraints.old_bound_to_new