ScalarMinimizer¶
-
class
desdeo_tools.solver.
ScalarMinimizer
(scalarizer, bounds, constraint_evaluator=None, method=None)[source]¶ Bases:
object
Implements a class for minimizing scalar valued functions with bounds set for the variables, and constraints.
Methods Summary
Return the list of preset minimizers available.
minimize
(x0)Minimizes the scalarizer given an initial guess x0.
Methods Documentation
-
minimize
(x0)[source]¶ Minimizes the scalarizer given an initial guess x0.
- Parameters
x0 (np.ndarray) – A numpy array containing an initial guess of variable values.
- Returns
A dictionary with at least the following entries: ‘x’ indicating the optimal variables found, ‘fun’ the optimal value of the optimized function, and ‘success’ a boolean indicating whether the optimizaton was conducted successfully.
- Return type
Dict
-