iwopy.core.Memory.store_population(vars_int, vars_float, objs, cons)[source]

Store objs and cons data 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)

objs: np.array

The objective function values, shape: (n_pop, n_objectives)

con: np.array

The constraints values, shape: (n_pop, n_constraints)