iwopy.core.SingleObjOptResults(problem, success, vars_int, vars_float, objs, cons, problem_results)[source]

Constructor

ParametersΒΆ

problem: iwopy.core.Problem

The problem

success: bool

Optimization success

vars_int: np.array

Optimal variables, shape: (n_vars_int,)

vars_float: np.array

Optimal variables, shape: (n_vars_float,)

objs: float

Optimal objective function value

cons: np.array

Constraint values, shape: (n_constraints,)

problem_results: Object

The results of the variable application to the problem