Skip to content

Potential issue in SBX with non standard sampling. #728

Open
@oliverweissl

Description

@oliverweissl

Relates to #725 but is not the same! I`m not sure if this is relevant, so if it is not please discard this and feel free to close the issue :D.

The problem:

y1 and y2 can be out of bounds in the sampling method is not from pymoo. This can cause problems in calc_betaq.

Potential solutions:

  • Assert the min,max values to be within the bounds, else raise an Exception (currently its a warning but numpy casts the affected values to 0)
  • Or: Clip y1 and y2 to the bounds.

If this seems relevant i can do a pr for either, just not sure as I think external sampling is not a common case.

Metadata

Metadata

Assignees

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