Skip to content

[Bug]: self._boundaries not created for pybop.PSO #380

Description

@BradyPlanden

Python Version

3.12

Describe the bug

For pybop.PSO, the self._boundaries attribute is not currently created:

elif issubclass(self.pints_optimiser, PintsPSO):

As such, the optimiser exceeds acceptable values during optimisation.

Steps to reproduce the behaviour

Run the spm_pso.py example script and view the optimiser parameter vector.

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions