poli.core.registry.register_problem_from_repository

poli.core.registry.register_problem_from_repository#

poli.core.registry.register_problem_from_repository(name: str, quiet: bool = False)#

Registers a problem from the repository.

This function takes a problem name, and registers it. The problem name corresponds to a folder inside the objective_repository folder. The function will: 1. create the environment from the yaml file 2. run the file from said enviroment (since we can’t import the factory: it may have dependencies that are not installed)

Parameters
  • name (str) – The name of the problem to be registered.

  • quiet (bool, optional) – If True, we squelch the feedback about environment creation and problem registration, by default False.