foxes_opt.objectives.MaxNTurbines(problem, name='max_n_turbines', check_valid=True, **kwargs)[source]

Constructor.

Parameters

problem: foxes_opt.FarmOptProblem

The underlying optimization problem

name: str

The name of the objective function

check_valid: bool

Check FC.VALID variable before counting

kwargs: dict, optional

Additional parameters for FarmObjective