pl96andy
pl96andy

Reputation: 1

pygmo, how to return no value in problem function

I am using PyGMO in Python. I want to find minimum of black box function which could have no value for particular guess. How should i define return value of fitness function if my function does not return value?

Should it be None or float("inf")? I have tried to return float("inf") but it looks like algorithm PSO_GEN cannot converge.

Upvotes: 0

Views: 22

Answers (0)

Related Questions