Skip to content

Seems like bounds are not respected #220

@BIackthorn

Description

@BIackthorn

I grabbed the python test file: libcmaes/python/ptest_bounds.py

If I modify the lower bounds to:
lbounds = [0]*10

Running I get this output:
best x= [-0.0499810245813009, -0.049984952431464294, -0.05000384317232943, -0.05001758520746221, -0.04997964822517451, -0.049981813653182904, -0.050022418111235284, -0.049990267407082206, -0.04999867943305543, -0.049984492061925366]

Clearly negative values and I try changing the bounds to other positive values and I get a similar problem. Am I doing something wrong or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions