|
humoto
|
A container for a QP Objective.
Definition at line 19 of file qp_problem.h.
#include <qp_problem.h>

Public Types | |
| enum | HessianType { HESSIAN_UNDEFINED = 0, HESSIAN_GENERIC = 1, HESSIAN_DIAGONAL = 2, HESSIAN_LOWER_TRIANGULAR = 3 } |
| enum | Status { UNDEFINED = 0, INITIALIZED = 1, MODIFIED = 2 } |
Public Member Functions | |
| const Eigen::VectorXd & | getGradient () const |
| Const accessor. More... | |
| Eigen::VectorXd & | getGradient () |
| Non-const accessor. More... | |
| const Eigen::MatrixXd & | getHessian () const |
| Const accessor. More... | |
| Eigen::MatrixXd & | getHessian () |
| Non-const accessor. More... | |
| HessianType | getHessianType () const |
| Hessian type. More... | |
| Status | getStatus () const |
| Status of the objective. More... | |
| void | initializeObjective (const humoto::HierarchyLevel &hlevel, const bool initialize_upper_triangular_part=true) |
| Generates (general) objective containing all constraints on this level. More... | |
| void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="objective") const |
| Log objective. More... | |
| void | regularize (const double regularization_factor) |
| Adds regularization to the Hessian. More... | |
Protected Attributes | |
| Eigen::VectorXd | g_ |
| Gradient vector. More... | |
| Eigen::MatrixXd | H_ |
| Hessian. More... | |
| HessianType | hessian_type_ |
| Status | status_ |
| Enumerator | |
|---|---|
| HESSIAN_UNDEFINED | |
| HESSIAN_GENERIC | |
| HESSIAN_DIAGONAL | |
| HESSIAN_LOWER_TRIANGULAR | |
Definition at line 29 of file qp_problem.h.
| Enumerator | |
|---|---|
| UNDEFINED | |
| INITIALIZED | |
| MODIFIED | |
Definition at line 22 of file qp_problem.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Generates (general) objective containing all constraints on this level.
| [in] | hlevel | hierarchy level |
| [in] | initialize_upper_triangular_part |
Definition at line 56 of file qp_problem.h.
|
inline |
Log objective.
| [in,out] | logger | logger |
| [in] | parent | parent |
| [in] | name | name |
Definition at line 186 of file qp_problem.h.
|
inline |
Adds regularization to the Hessian.
| [in] | regularization_factor |
Definition at line 168 of file qp_problem.h.
|
protected |
Gradient vector.
Definition at line 43 of file qp_problem.h.
|
protected |
Hessian.
Definition at line 40 of file qp_problem.h.
|
protected |
Definition at line 45 of file qp_problem.h.
|
protected |
Definition at line 46 of file qp_problem.h.
1.8.13