iwopy.core.opt_results.SingleObjOptResults
- class iwopy.core.opt_results.SingleObjOptResults[source]
Bases:
object
Container for optimization results for single objective problems.
- 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
- vars_int
Optimal variables, shape: (n_vars_int,)
- Type:
np.array
- vars_float
Optimal variables, shape: (n_vars_float,)
- Type:
np.array
- cons
Constraint values, shape: (n_constraints,)
- Type:
np.array
- problem_results
The results of the variable application to the problem
- Type:
Object
Methods
__init__
(problem, success, vars_int, ...)