aligator  0.10.0
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
Loading...
Searching...
No Matches
solver-util.hpp File Reference

Common utilities for all solvers. More...

Include dependency graph for solver-util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  aligator
 Main package namespace.
 

Functions

template<typename Scalar >
void aligator::xs_default_init (const TrajOptProblemTpl< Scalar > &problem, std::vector< typename math_types< Scalar >::VectorXs > &xs)
 Default-intialize a trajectory to the neutral states for each state space at each stage.
 
template<typename Scalar >
void aligator::us_default_init (const TrajOptProblemTpl< Scalar > &problem, std::vector< typename math_types< Scalar >::VectorXs > &us)
 Default-initialize a controls trajectory from the neutral element of each control space.
 
template<typename Scalar >
auto aligator::problemInitializeSolution (const TrajOptProblemTpl< Scalar > &problem)
 
template<typename T1 , typename T2 >
bool aligator::assign_no_resize (const std::vector< T1 > &lhs, std::vector< T2 > &rhs)
 Assign a vector of Eigen types into another, ensure there is no resize.
 
template<typename Scalar >
void aligator::check_trajectory_and_assign (const TrajOptProblemTpl< Scalar > &problem, const typename math_types< Scalar >::VectorOfVectors &xs_init, const typename math_types< Scalar >::VectorOfVectors &us_init, typename math_types< Scalar >::VectorOfVectors &xs_out, typename math_types< Scalar >::VectorOfVectors &us_out)
 Check the input state-control trajectory is a consistent warm-start for the output.
 

Detailed Description

Common utilities for all solvers.

Definition in file solver-util.hpp.