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

Defines simple bounds associated with variables. More...

#include <qp_as.h>

List of all members.

Public Member Functions

void set (const int, const double, const double, const bool)
 Set parameters of the bound.

Public Attributes

int var_num
double lb
double ub
bool isActive

Detailed Description

Defines simple bounds associated with variables.

Definition at line 33 of file qp_as.h.


Member Function Documentation

void bound::set ( const int  var_num_,
const double  lb_,
const double  ub_,
const bool  active 
)

Set parameters of the bound.

Parameters:
[in]var_num_index of variable in the vector of states
[in]lb_lower bound
[in]ub_upper bound
[in]activeactivity of the bound

Definition at line 28 of file qp_as.cpp.


Member Data Documentation

If isActive then one of the bounds is in the working set.

Definition at line 52 of file qp_as.h.

double bound::lb

Lower bound.

Definition at line 43 of file qp_as.h.

double bound::ub

Upper bound.

Definition at line 46 of file qp_as.h.

Variable number (on which to impose the bounds).

Definition at line 40 of file qp_as.h.


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