Skip to content

Improve checks for valid batch evaluators #604

Open
@janosg

Description

@janosg

Hey there,

I just wanted to use the new threading functionality together with multistart. This results in the following error:

raise InvalidMultistartError(optimagic.exceptions.InvalidMultistartError: Invalid batch evaluator: threading. Batch evaluator must be a Callable or one of 'joblib' or 'pathos'.

I think this can simply be fixed by adding threading to the list of batch_evaluators in multistart_options.py (line 250).

Originally posted by @nikithiel in #569 (comment)

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