Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs that pyswarms is minimization solver #531

Open
yasirroni opened this issue Jul 18, 2024 · 1 comment
Open

Add docs that pyswarms is minimization solver #531

yasirroni opened this issue Jul 18, 2024 · 1 comment

Comments

@yasirroni
Copy link
Contributor

Describe the bug
No mention in both codes and docs that pyswarms optimize is minimization.

To Reproduce
run example of any maximization problems.

Expected behavior
Clear docs that maximization problems needs to be reformulated

Describe alternatives you've considered
Support maximization as parameter is optimize

@yasirroni
Copy link
Contributor Author

Also, docs about the shape of x in this example:

# import modules
import numpy as np

# create a parameterized version of the classic Rosenbrock unconstrained optimzation function
def rosenbrock_with_args(x, a, b, c=0):
    f = (a - x[:, 0]) ** 2 + b * (x[:, 1] - x[:, 0] ** 2) ** 2 + c
    return f

should be clarified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant