Crocoddyl
BoxQPSolution Struct Reference

Box QP solution. More...

#include <box-qp.hpp>

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW BoxQPSolution ()
 Initialize the QP solution structure.
 
 BoxQPSolution (const Eigen::MatrixXd &Hff_inv, const Eigen::VectorXd &x, const std::vector< size_t > &free_idx, const std::vector< size_t > &clamped_idx)
 Initialize the QP solution structure. More...
 

Public Attributes

std::vector< size_t > clamped_idx
 Clamped space indexes.
 
std::vector< size_t > free_idx
 Free space indexes.
 
Eigen::MatrixXd Hff_inv
 Inverse of the free space Hessian.
 
Eigen::VectorXd x
 Decision vector.
 

Detailed Description

Box QP solution.

It contains the Box QP solution data which consists of

  • the inverse of the free space Hessian
  • the optimal decision vector
  • the indexes for the free space
  • the indexes for the clamped (constrained) space

Definition at line 29 of file box-qp.hpp.

Constructor & Destructor Documentation

◆ BoxQPSolution()

BoxQPSolution ( const Eigen::MatrixXd &  Hff_inv,
const Eigen::VectorXd &  x,
const std::vector< size_t > &  free_idx,
const std::vector< size_t > &  clamped_idx 
)
inline

Initialize the QP solution structure.

Parameters
[in]Hff_invInverse of the free space Hessian
[in]xDecision vector
[in]free_idxFree space indexes
[in]clamped_idxClamped space indexes

Definition at line 45 of file box-qp.hpp.


The documentation for this struct was generated from the following file: