NAG common solver. More...
#include <roboptim/core/plugin/nag/nag-common.hh>
Public Types | |
enum | ConstraintType { LINEAR = 0, NONLINEAR = 1 } |
Categorize constraints. More... | |
typedef Solver< T > | solver_t |
Parent type (solver). | |
typedef solver_t::problem_t | problem_t |
Problem type. | |
Public Member Functions | |
NagSolverCommon (const problem_t &pb) | |
Instantiate the solver from a problem. | |
virtual | ~NagSolverCommon () |
Protected Member Functions | |
void | initializeParameters () |
Initialize parameters. | |
void | updateParameters (Nag_E04State *state, NagError *fail) |
Read parameters and update associated options in NAG. |
NAG common solver.
This solver shares common piece of code of the different NAG solvers.
typedef solver_t::problem_t roboptim::NagSolverCommon< T >::problem_t |
Problem type.
typedef Solver<T> roboptim::NagSolverCommon< T >::solver_t |
Parent type (solver).
enum roboptim::NagSolverCommon::ConstraintType |
Categorize constraints.
Used with the which method of the Boost.Variant, it allows to check for a constraint's real type.
roboptim::NagSolverCommon< T >::NagSolverCommon | ( | const problem_t & | pb | ) | [explicit] |
Instantiate the solver from a problem.
problem | problem that will be solved |
roboptim::NagSolverCommon< T >::~NagSolverCommon | ( | ) | [virtual] |
void roboptim::NagSolverCommon< T >::initializeParameters | ( | ) | [protected] |
Initialize parameters.
Add solver parameters. Called during construction.
References DEFINE_PARAMETER.
void roboptim::NagSolverCommon< T >::updateParameters | ( | Nag_E04State * | state, |
NagError * | fail | ||
) | [protected] |
Read parameters and update associated options in NAG.
Called before solving problem.
state | internal information required for NAG functions. |
fail | NAG error argument |