MultitaskEvaluator#
- class optimas.evaluators.MultitaskEvaluator(tasks, task_evaluators)#
Evaluator to be used with multitask optimization.
Each task has its own evaluator (either a
FunctionEvaluatoror aTemplateEvaluator). TheMultitaskEvaluatorgroups all tasks and their corresponding evaluators and generates the combinedlibe_specsandsim_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 the libE_specs for libEnsemble.
Return run parameters for this evaluator.
get_sim_specs(varying_parameters, ...)Get the sim_specs for libEnsemble.
Initialize the evaluator.