All Classes Namespaces Files Functions Typedefs
roboptim::cminpack::SolverWithJacobian Class Reference

Solver implementing a variant of Levenberg-Marquardt algorithm. More...

#include <roboptim/core/plugin/cminpack.hh>

Inheritance diagram for roboptim::cminpack::SolverWithJacobian:

Public Types

typedef Solver< EigenMatrixDense > parent_t
 Parent type. More...
 
typedef SumOfC1Squares function_t
 Cost function type. More...
 
typedef function_t::argument_t argument_t
 Type of result. More...
 
typedef function_t::argument_ref argument_ref
 
typedef
function_t::const_argument_ref 
const_argument_ref
 
typedef function_t::result_t result_t
 Type of result. More...
 
typedef function_t::gradient_t gradient_t
 Type of gradient. More...
 
typedef
function_t::const_gradient_ref 
const_gradient_ref
 
typedef function_t::size_type size_type
 Size type. More...
 

Public Member Functions

 SolverWithJacobian (const problem_t &problem)
 Constructot by problem. More...
 
virtual ~SolverWithJacobian ()
 
virtual void solve ()
 Solve the optimization problem. More...
 
size_type n () const
 Number of variables. More...
 
size_type m () const
 Number of functions. More...
 
argument_tparameter ()
 Get parameter. More...
 
const argument_tparameter () const
 
const argument_tvalue () const
 Get value. More...
 
const gradient_tjacobianRow (size_type iRow) const
 Get Jacobian. More...
 
const boost::shared_ptr< const
DifferentiableFunction > 
baseCost () const
 

Detailed Description

Solver implementing a variant of Levenberg-Marquardt algorithm.

This solver tries to minimize the euclidean norm of a vector valued function.

Member Typedef Documentation

typedef function_t::argument_ref roboptim::cminpack::SolverWithJacobian::argument_ref

Type of result.

typedef function_t::const_argument_ref roboptim::cminpack::SolverWithJacobian::const_argument_ref
typedef function_t::const_gradient_ref roboptim::cminpack::SolverWithJacobian::const_gradient_ref

Cost function type.

Type of gradient.

typedef Solver<EigenMatrixDense> roboptim::cminpack::SolverWithJacobian::parent_t

Parent type.

Type of result.

Size type.

Constructor & Destructor Documentation

roboptim::cminpack::SolverWithJacobian::SolverWithJacobian ( const problem_t &  problem)
explicit

Constructot by problem.

roboptim::cminpack::SolverWithJacobian::~SolverWithJacobian ( )
virtual

Member Function Documentation

const boost::shared_ptr<const DifferentiableFunction> roboptim::cminpack::SolverWithJacobian::baseCost ( ) const
inline
const gradient_t& roboptim::cminpack::SolverWithJacobian::jacobianRow ( size_type  iRow) const
inline

Get Jacobian.

Referenced by roboptim_plugin_cminpack_fcn().

size_type roboptim::cminpack::SolverWithJacobian::m ( ) const
inline

Number of functions.

Referenced by roboptim_plugin_cminpack_fcn().

size_type roboptim::cminpack::SolverWithJacobian::n ( ) const
inline

Number of variables.

Referenced by roboptim_plugin_cminpack_fcn().

argument_t& roboptim::cminpack::SolverWithJacobian::parameter ( )
inline

Get parameter.

Referenced by roboptim_plugin_cminpack_fcn().

const argument_t& roboptim::cminpack::SolverWithJacobian::parameter ( ) const
inline
void roboptim::cminpack::SolverWithJacobian::solve ( )
virtual

Solve the optimization problem.

References roboptim_plugin_cminpack_fcn().

const argument_t& roboptim::cminpack::SolverWithJacobian::value ( ) const
inline

Get value.

Referenced by roboptim_plugin_cminpack_fcn().