- 3.0.2 optimal control module.
|
#include <SnoptSolver.h>
Public Member Functions | |
SnoptSolver () | |
SnoptSolver (std::shared_ptr< Nlp > nlp, NlpSolverSettings settings) | |
virtual void | configureDerived (const NlpSolverSettings &settings) override |
Forwards the settings to the corresponding nlp solver. More... | |
virtual bool | solve () override |
Solves the nlp. More... | |
virtual void | prepareWarmStart (size_t maxIterations) override |
Prepares the solver for a warmstarting scenario with available (good) initial guess. More... | |
Public Member Functions inherited from ct::optcon::tpl::NlpSolver< SCALAR > | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | NlpSolver () |
Default constructor. More... | |
NlpSolver (std::shared_ptr< Nlp< SCALAR >> nlp) | |
Custom Constructor 1. More... | |
NlpSolver (std::shared_ptr< Nlp< SCALAR >> nlp, NlpSolverSettings settings) | |
Custom constructor 2. More... | |
virtual | ~NlpSolver ()=default |
Destructor. More... | |
void | configure (const NlpSolverSettings &settings) |
Configures the solver with new settings. More... | |
bool | isInitialized () |
Additional Inherited Members | |
Protected Attributes inherited from ct::optcon::tpl::NlpSolver< SCALAR > | |
std::shared_ptr< Nlp< SCALAR > > | nlp_ |
NlpSolverSettings | settings_ |
bool | isInitialized_ |
|
inline |
|
inline |
|
inlineoverridevirtual |
Forwards the settings to the corresponding nlp solver.
[in] | settings | The nlp settings |
Implements ct::optcon::tpl::NlpSolver< SCALAR >.
|
inlineoverridevirtual |
Solves the nlp.
Implements ct::optcon::tpl::NlpSolver< SCALAR >.
|
inlineoverridevirtual |
Prepares the solver for a warmstarting scenario with available (good) initial guess.
[in] | maxIterations | Specifies the maximum number of nlp iteration the user is willing to spend |
Implements ct::optcon::tpl::NlpSolver< SCALAR >.