robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Line search for optimal control problems for unconstrained rigid-body systems. More...
#include <unconstr_line_search.hpp>
Public Member Functions | |
UnconstrLineSearch (const OCP &ocp, const LineSearchSettings &settings=LineSearchSettings()) | |
Construct a line search. More... | |
UnconstrLineSearch () | |
Default constructor. More... | |
~UnconstrLineSearch ()=default | |
Default destructor. More... | |
UnconstrLineSearch (const UnconstrLineSearch &)=default | |
Default copy constructor. More... | |
UnconstrLineSearch & | operator= (const UnconstrLineSearch &)=default |
Default copy assign operator. More... | |
UnconstrLineSearch (UnconstrLineSearch &&) noexcept=default | |
Default move constructor. More... | |
UnconstrLineSearch & | operator= (UnconstrLineSearch &&) noexcept=default |
Default move assign operator. More... | |
double | computeStepSize (const UnconstrDirectMultipleShooting &dms, aligned_vector< Robot > &robots, const std::vector< GridInfo > &time_discretization, const Eigen::VectorXd &q, const Eigen::VectorXd &v, const Solution &s, const Direction &d, const double max_primal_step_size) |
Compute primal step size by fliter line search method. More... | |
double | computeStepSize (const UnconstrBackwardCorrection &bc, aligned_vector< Robot > &robots, const std::vector< GridInfo > &time_discretization, const Eigen::VectorXd &q, const Eigen::VectorXd &v, const Solution &s, const Direction &d, const double max_primal_step_size) |
Compute primal step size by fliter line search method. More... | |
void | clearHistory () |
Clear the line search filter. More... | |
Line search for optimal control problems for unconstrained rigid-body systems.
robotoc::UnconstrLineSearch::UnconstrLineSearch | ( | const OCP & | ocp, |
const LineSearchSettings & | settings = LineSearchSettings() |
||
) |
Construct a line search.
[in] | ocp | Optimal control problem. |
[in] | settings | Line search settings. |
robotoc::UnconstrLineSearch::UnconstrLineSearch | ( | ) |
Default constructor.
|
default |
Default destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
void robotoc::UnconstrLineSearch::clearHistory | ( | ) |
Clear the line search filter.
double robotoc::UnconstrLineSearch::computeStepSize | ( | const UnconstrBackwardCorrection & | bc, |
aligned_vector< Robot > & | robots, | ||
const std::vector< GridInfo > & | time_discretization, | ||
const Eigen::VectorXd & | q, | ||
const Eigen::VectorXd & | v, | ||
const Solution & | s, | ||
const Direction & | d, | ||
const double | max_primal_step_size | ||
) |
Compute primal step size by fliter line search method.
[in] | bc | Backward correction method. |
[in,out] | robots | aligned_vector of Robot. |
[in] | time_discretization | Time discretization. |
[in] | q | Initial configuration. |
[in] | v | Initial generalized velocity. |
[in] | s | Solution. |
[in] | d | Direction. |
[in] | max_primal_step_size | Maximum primal step size. |
double robotoc::UnconstrLineSearch::computeStepSize | ( | const UnconstrDirectMultipleShooting & | dms, |
aligned_vector< Robot > & | robots, | ||
const std::vector< GridInfo > & | time_discretization, | ||
const Eigen::VectorXd & | q, | ||
const Eigen::VectorXd & | v, | ||
const Solution & | s, | ||
const Direction & | d, | ||
const double | max_primal_step_size | ||
) |
Compute primal step size by fliter line search method.
[in] | dms | Direct multiple shooting method. |
[in,out] | robots | aligned_vector of Robot. |
[in] | time_discretization | Time discretization. |
[in] | q | Initial configuration. |
[in] | v | Initial generalized velocity. |
[in] | s | Solution. |
[in] | d | Direction. |
[in] | max_primal_step_size | Maximum primal step size. |
|
default |
Default copy assign operator.
|
defaultnoexcept |
Default move assign operator.