Skip to content

New generation with only integer numbers #14

@alhejaj

Description

@alhejaj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions