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

New generation with only integer numbers #14

Open
alhejaj opened this issue Feb 20, 2018 · 0 comments
Open

New generation with only integer numbers #14

alhejaj opened this issue Feb 20, 2018 · 0 comments

Comments

@alhejaj
Copy link

alhejaj commented Feb 20, 2018

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 time to reach the solution!

Here is my objective function

`def optimum(x):

H, Np = x

simulate(H, Np)

display(df)

return df['RoCoF']`

Your help is appreciated in advance

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