GQCP
|
#include <MinimizationEnvironment.hpp>
Public Types | |
using | Scalar = _Scalar |
![]() | |
using | Iterate = VectorX< _Scalar > |
using | Scalar = typename Iterate::Scalar |
Public Member Functions | |
MinimizationEnvironment (const VectorX< _Scalar > &initial_guess, const VectorFunction< Scalar > &gradient_function, const MatrixFunction< Scalar > &hessian_function) | |
![]() | |
OptimizationEnvironment (const Iterate &initial_guess) | |
Public Attributes | |
VectorFunction< Scalar > | gradient_function |
MatrixFunction< Scalar > | hessian_function |
std::deque< double > | function_values |
![]() | |
std::deque< VectorX< _Scalar > > | variables |
An environment that can be used to minimize scalar functions.
_Scalar | the scalar type that is used to represent the variables of scalar function |
using GQCP::MinimizationEnvironment< _Scalar >::Scalar = _Scalar |
|
inline |
Initialize the optimization environment with an initial guess
initial_guess | the initial guess for the variables |
gradient_function | a callable function that produces the gradient of the scalar function, evaluated at the given variables |
hessian_function | a callable function that produces the Hessian of the scalar function, evaluated at the given variables |
std::deque<double> GQCP::MinimizationEnvironment< _Scalar >::function_values |
VectorFunction<Scalar> GQCP::MinimizationEnvironment< _Scalar >::gradient_function |
MatrixFunction<Scalar> GQCP::MinimizationEnvironment< _Scalar >::hessian_function |