-
foxes_opt.objectives.FarmVarObjective(problem, name, variable, contract_states, contract_turbines, minimize, deps=
None
, scale=1.0
, **kwargs)[source] Constructor.
Parameters¶
- problem: foxes_opt.FarmOptProblem
The underlying optimization problem
- name: str
The name of the objective function
- variable: str
The foxes variable name
- contract_states: str
Contraction rule for states: min, max, sum, mean, weights
- contract_turbines: str
Contraction rule for turbines: min, max, sum, mean
- minimize: bool
Switch for maximizing or minimizing
- deps: list of str
The foxes variables on which the variable depends, or None for all
- scale: float
The scaling factor
- kwargs: dict, optional
Additional parameters for FarmObjective