iwopy.wrappers.DiscretizeRegGrid.evaluate_individual(vars_int, vars_float, ret_prob_res=False)[source]

Evaluate a single individual of the problem.

Parameters

vars_int: np.array

The integer variable values, shape: (n_vars_int,)

vars_float: np.array

The float variable values, shape: (n_vars_float,)

ret_prob_res: bool

Flag for additionally returning of problem results

Returns

objs: np.array

The objective function values, shape: (n_objectives,)

con: np.array

The constraints values, shape: (n_constraints,)

prob_res: object, optional

The problem results