pyswarm
pyswarm copied to clipboard
Scipy style bounds
I was wondering if I could make a Pull Request for a more scipy
style bounds field from to the current to something like the version of I've modified?
(func, bounds, ieqcons=[], ...
lower_bound, upper_bound = [], []
for variable_bounds in bounds:
lower_bound.append(variable_bounds[0])
upper_bound.append(variable_bounds[1])
It wouldn't break anything and I could make it backwards compatible also. https://gist.github.com/arose13/2fc85adb1042b89e2eb13ac054789f19