12#ifndef BELFEM_CL_OPTIMIZER_HPP
13#define BELFEM_CL_OPTIMIZER_HPP
52 real mFtolRel = 1.0e-8;
55 real mXtolRel = 1.0e-8;
61 bool mMaximize =
false;
116 inline const string &
204 inline const string &
an object that defines a scalar objective function to be optimized.
Definition cl_Objective.hpp:32
real & ftol_rel()
relative tolerance on the objective value ( ftol_rel )
Definition cl_Optimizer.hpp:165
bool & maximize()
flag selecting maximization ( true ) over minimization ( false )
Definition cl_Optimizer.hpp:189
real & xtol_rel()
relative tolerance on the design vector ( xtol_rel )
Definition cl_Optimizer.hpp:173
const string & errmsg() const
detailed diagnostic from the solver for the most recent optimize() call ( e.g.
Definition cl_Optimizer.hpp:205
const Algorithm & algorithm() const
the algorithm used by this optimizer
Definition cl_Optimizer.hpp:197
Status optimize(Vector< real > &aX, real &aValue)
run the optimization, starting from and writing back into aX.
Definition cl_Optimizer.cpp:306
void set_bounds(const Vector< real > &aLowerBounds, const Vector< real > &aUpperBounds)
set the lower and upper bounds of the design variables.
Definition cl_Optimizer.cpp:36
uint & max_eval()
maximum number of objective evaluations; 0 means unlimited
Definition cl_Optimizer.hpp:181
Optimizer(Objective &aObjective, const Algorithm aAlgorithm)
Definition cl_Optimizer.cpp:27
Definition cl_Objective.hpp:21
Algorithm
optimization algorithm selector.
Definition en_Opt_Algorithm.hpp:28
Status
outcome of an optimization run.
Definition en_Opt_Status.hpp:27
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
double real
Definition typedefs.hpp:36