You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In scipy version 1.9 differential_evolution will gain an integrality keyword that will do exactly what you want, without problem modification. In the meantime you can simply round all the parameter values to integers, e.g. np.round, in your objective function. This approach works with and without constraints.
(source)
--> change from rounding (what is done now) to the integer constraint (will hopefully lead to much better performance)
The text was updated successfully, but these errors were encountered:
--> change from rounding (what is done now) to the integer constraint (will hopefully lead to much better performance)
The text was updated successfully, but these errors were encountered: