foxes_opt.constraints.MinDistConstraint(problem, min_dist, min_dist_unit='m', name='dist', sel_turbines=None, **kwargs)[source]

Constructor.

Parameters

problem: foxes_opt.FarmOptProblem

The underlying optimization problem

min_dist: float

The minimal distance

min_dist_unit: str

The minimal distance unit, either m or D

name: str

The name of the constraint

sel_turbines: list of int, optional

The selected turbines

kwargs: dict, optional

Additional parameters for iwopy.Constraint