-
iwopy.core.Problem.evaluate_population(vars_int, vars_float, ret_prob_res=
False
)[source] Evaluate all individuals of a population.
Parameters¶
- vars_int: np.array
The integer variable values, shape: (n_pop, n_vars_int)
- vars_float: np.array
The float variable values, shape: (n_pop, n_vars_float)
- ret_prob_res: bool
Flag for additionally returning of problem results
Returns¶
- objs: np.array
The objective function values, shape: (n_pop, n_objectives)
- cons: np.array
The constraints values, shape: (n_pop, n_constraints)
- prob_res: object, optional
The problem results