CADETProcess.optimization.SequentialBackend

CADETProcess.optimization.SequentialBackend#

class CADETProcess.optimization.SequentialBackend(n_cores)[source]#

Sequential execution backend for evaluating the target function.

This backend does not perform parallelization. It evaluates the function at each individual in the population sequentially, one by one.

Attributes:
n_coresint

Number of cores to be used. This attribute is constant and always set to 1 for the ‘SequentialBackend’.

Methods

check_required_parameters()

Verify if all required parameters are set.

evaluate(function, population)

Evaluate the function sequentially at all individuals in the population.