pyswarm icon indicating copy to clipboard operation
pyswarm copied to clipboard

Particle swarm optimization (PSO) that supports constraints

Results 17 pyswarm issues
Sort by recently updated
recently updated
newest added

For a specific problem, I need to fix the initial particle positions. How can I do that?

Can the below log comment can be turned of? Stopping search: maximum iterations reached Thank You!

I’m trying to optimise a black-box function which needs to obey a constraint. However, I noticed that the objective function is evaluated with values that don’t obey the constraint. I...

Hello everyone. I would like to know how do I use pyswarm on Windows. I can use it perfectly on Linux, but on Windows, it always crashes when it's called....

Hi all, I would like to ask about the optimization problems with both integer and float numbers. Is it possible to define the integer variables separately in pyswarm? Kind regards,...

This lets users provide a pool with a map() method, rather than handling this via multiprocessing internally. This allows for more flexibility for users to provide alternate pools (such as...

The `multiprocessing`built-in uses pickle, which fails for functions defined outside the top-level of a module. Although not perhaps the best idea, it can be _convenient_ to define a loss function...

Hi I wonder how will be to generate integer and rounded numbers instead of long float numbers. Currently, Pyswarm generates number like these: Np: 21.2335149705 H: -8.660139296140425 Which increase the...

Hi maintainers of pyswarm! This is just a thank you message! I've used your library two years ago during my undergrad and it helped me a lot in our material...

Hello, I have been using your library for a project. The repo is currently at version 0.7 but only version 0.6 is `pip` installable. Could you perhaps make a new...