- foxes_opt.problems.layout.RegularLayoutOptProblem.opt2farm_vars_individual(vars_int, vars_float)[source]
Translates optimization variables to farm variables
Parameters¶
- vars_int: numpy.ndarray
The integer optimization variable values, shape: (n_vars_int,)
- vars_float: numpy.ndarray
The float optimization variable values, shape: (n_vars_float,)
Returns¶
- farm_vars: dict
The foxes farm variables. Key: var name, value: numpy.ndarray with values, shape: (n_states, n_sel_turbines)