MultitaskEvaluator#

class optimas.evaluators.MultitaskEvaluator(tasks, task_evaluators)#

Evaluator to be used with multitask optimization.

Each task has its own evaluator (either a FunctionEvaluator or a TemplateEvaluator). The MultitaskEvaluator groups all tasks and their corresponding evaluators and generates the combined libe_specs and sim_specs.

Parameters:
taskslist of Task

List of the tasks used in the optimization.

task_evaluatorslist of Evaluator

List with the evaluators of each task.

Methods

get_libe_specs()

Get the libE_specs for libEnsemble.

get_run_params()

Return run parameters for this evaluator.

get_sim_specs(varying_parameters, ...)

Get the sim_specs for libEnsemble.

initialize()

Initialize the evaluator.