pyswarm icon indicating copy to clipboard operation
pyswarm copied to clipboard

Scipy style bounds

Open arose13 opened this issue 8 years ago • 0 comments

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

arose13 avatar May 29 '16 13:05 arose13