saealib.Result¶
- class saealib.Result(X, F, fe, gen, ctx)[source]¶
Bases:
objectOptimization result returned by
minimize()/maximize().- Parameters:
X (ndarray)
F (ndarray)
fe (int)
gen (int)
ctx (OptimizationContext)
- X¶
Best design variables. Shape
(dim,)for single-objective,(n_pareto, dim)for multi-objective.- Type:
np.ndarray
- F¶
Best objective values. Shape
(n_obj,)for single-objective,(n_pareto, n_obj)for multi-objective.- Type:
np.ndarray
- fe¶
Total number of true function evaluations used.
- Type:
int
- gen¶
Total number of generations completed.
- Type:
int
- ctx¶
Full optimization context providing access to the archive and more.
- Type:
OptimizationContext
Methods
Method Details
- Result.__init__(X, F, fe, gen, ctx)¶
- Parameters:
X (ndarray)
F (ndarray)
fe (int)
gen (int)
ctx (OptimizationContext)
- Return type:
None