iwopy.core.Problem.apply_population(vars_int, vars_float)[source]

Apply new variables to the problem, for a whole 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)

Returns

problem_results: Any

The results of the variable application to the problem