A sparse MPC solver for walking motion generation (old version).
Public Member Functions | Private Attributes
chol_solve_ip Class Reference

Solves KKT system using Cholesky decomposition. More...

#include <chol_solve_ip.h>

List of all members.

Public Member Functions

 chol_solve_ip (const int)
 Constructor.
 ~chol_solve_ip ()
void solve (const problem_parameters &, const double *, const double *, const double *, double *)
 Determines feasible descent direction.

Private Attributes

matrix_E E
 matrix of equality constraints
matrix_ecL_ip ecL
 L for equality constraints, see 'Cholesky factor'.
double * w
 Lagrange multipliers.

Detailed Description

Solves KKT system using Cholesky decomposition.

Definition at line 33 of file chol_solve_ip.h.


Constructor & Destructor Documentation

chol_solve_ip::chol_solve_ip ( const int  N)

Constructor.

Parameters:
[in]Nsize of the preview window.

Definition at line 28 of file chol_solve_ip.cpp.

Definition at line 34 of file chol_solve_ip.cpp.


Member Function Documentation

void chol_solve_ip::solve ( const problem_parameters ppar,
const double *  i2hess_grad,
const double *  i2hess,
const double *  x,
double *  dx 
)

Determines feasible descent direction.

Parameters:
[in]pparparameters.
[in]i2hess_gradnegated inverted hessian * g.
[in]i2hessdiagonal elements of inverted hessian.
[in]xinitial guess.
[out]dxfeasible descent direction, must be allocated.

Definition at line 51 of file chol_solve_ip.cpp.


Member Data Documentation

matrix of equality constraints

Definition at line 44 of file chol_solve_ip.h.

L for equality constraints, see 'Cholesky factor'.

Definition at line 47 of file chol_solve_ip.h.

double* chol_solve_ip::w [private]

Lagrange multipliers.

Definition at line 50 of file chol_solve_ip.h.


The documentation for this class was generated from the following files: