Class for defining Linear Inequality Constraints of the form lB <= C*q <= uB for the nonlinear problem NLP.
More...
#include <iKinIpOpt.h>
|
| iKinLinIneqConstr () |
| Default Constructor.
|
|
| iKinLinIneqConstr (const double _lowerBoundInf, const double _upperBoundInf) |
| Constructor.
|
|
| iKinLinIneqConstr (const iKinLinIneqConstr &obj) |
| Creates a new LinIneqConstr object from an already existing LinIneqConstr object.
|
|
virtual iKinLinIneqConstr & | operator= (const iKinLinIneqConstr &obj) |
| Copies a LinIneqConstr object into the current one.
|
|
yarp::sig::Matrix & | getC () |
| Returns a reference to the constraints matrix C.
|
|
yarp::sig::Vector & | getuB () |
| Returns a reference to the upper bounds vector uB.
|
|
yarp::sig::Vector & | getlB () |
| Returns a reference to the lower bounds vector lB.
|
|
double & | getLowerBoundInf () |
| Returns a reference to the internal representation of -inf.
|
|
double & | getUpperBoundInf () |
| Returns a reference to the internal representation of +inf.
|
|
bool | isActive () |
| Returns the state of inequality constraints evaluation.
|
|
void | setActive (bool _active) |
| Sets the state of inequality constraints evaluation.
|
|
virtual void | update (void *) |
| Updates internal state.
|
|
Class for defining Linear Inequality Constraints of the form lB <= C*q <= uB for the nonlinear problem NLP.
Definition at line 68 of file iKinIpOpt.h.
◆ iKinLinIneqConstr() [1/3]
iKinLinIneqConstr::iKinLinIneqConstr |
( |
| ) |
|
◆ iKinLinIneqConstr() [2/3]
iKinLinIneqConstr::iKinLinIneqConstr |
( |
const double |
_lowerBoundInf, |
|
|
const double |
_upperBoundInf |
|
) |
| |
Constructor.
Defines linear inequality constraints of the form lB <= C*q <= uB.
- Parameters
-
_lowerBoundInf | specifies -inf when there is no lower bound. |
_upperBoundInf | specifies +inf when there is no upper bound. |
Definition at line 41 of file iKinIpOpt.cpp.
◆ iKinLinIneqConstr() [3/3]
Creates a new LinIneqConstr object from an already existing LinIneqConstr object.
- Parameters
-
obj | is the LinIneqConstr to be copied. |
Definition at line 64 of file iKinIpOpt.cpp.
◆ clone()
◆ getC()
yarp::sig::Matrix & iCub::iKin::iKinLinIneqConstr::getC |
( |
| ) |
|
|
inline |
Returns a reference to the constraints matrix C.
- Returns
- constraints matrix C.
Definition at line 117 of file iKinIpOpt.h.
◆ getlB()
yarp::sig::Vector & iCub::iKin::iKinLinIneqConstr::getlB |
( |
| ) |
|
|
inline |
Returns a reference to the lower bounds vector lB.
- Returns
- lower bounds vector lB.
Definition at line 129 of file iKinIpOpt.h.
◆ getLowerBoundInf()
double & iCub::iKin::iKinLinIneqConstr::getLowerBoundInf |
( |
| ) |
|
|
inline |
Returns a reference to the internal representation of -inf.
- Returns
- -inf.
Definition at line 135 of file iKinIpOpt.h.
◆ getuB()
yarp::sig::Vector & iCub::iKin::iKinLinIneqConstr::getuB |
( |
| ) |
|
|
inline |
Returns a reference to the upper bounds vector uB.
- Returns
- upper bounds vector uB.
Definition at line 123 of file iKinIpOpt.h.
◆ getUpperBoundInf()
double & iCub::iKin::iKinLinIneqConstr::getUpperBoundInf |
( |
| ) |
|
|
inline |
Returns a reference to the internal representation of +inf.
- Returns
- +inf.
Definition at line 141 of file iKinIpOpt.h.
◆ isActive()
bool iCub::iKin::iKinLinIneqConstr::isActive |
( |
| ) |
|
|
inline |
Returns the state of inequality constraints evaluation.
- Returns
- true if inequality constraints are active.
Definition at line 147 of file iKinIpOpt.h.
◆ operator=()
Copies a LinIneqConstr object into the current one.
- Parameters
-
- Returns
- a reference to the current object.
Definition at line 71 of file iKinIpOpt.cpp.
◆ setActive()
void iCub::iKin::iKinLinIneqConstr::setActive |
( |
bool |
_active | ) |
|
|
inline |
Sets the state of inequality constraints evaluation.
- Parameters
-
if | the new state is true the evaluation is performed. |
Definition at line 153 of file iKinIpOpt.h.
◆ update()
virtual void iCub::iKin::iKinLinIneqConstr::update |
( |
void * |
| ) |
|
|
inlinevirtual |
◆ active
bool iCub::iKin::iKinLinIneqConstr::active |
|
protected |
yarp::sig::Matrix iCub::iKin::iKinLinIneqConstr::C |
|
protected |
◆ lB
yarp::sig::Vector iCub::iKin::iKinLinIneqConstr::lB |
|
protected |
◆ lowerBoundInf
double iCub::iKin::iKinLinIneqConstr::lowerBoundInf |
|
protected |
◆ uB
yarp::sig::Vector iCub::iKin::iKinLinIneqConstr::uB |
|
protected |
◆ upperBoundInf
double iCub::iKin::iKinLinIneqConstr::upperBoundInf |
|
protected |
The documentation for this class was generated from the following files: