Interface for specifying user-defined evaluations of constraint products. More...
#include <ConstraintProduct.hpp>

Public Member Functions | |
| ConstraintProduct () | |
| ConstraintProduct (const ConstraintProduct &toCopy) | |
| virtual int | operator() (int constrIndex, const real_t *const x, real_t *const constrValue) const =0 |
| ConstraintProduct & | operator= (const ConstraintProduct &toCopy) |
| virtual | ~ConstraintProduct () |
Interface for specifying user-defined evaluations of constraint products.
A class which allows to specify a user-defined function for evaluating the constraint product at the current iterate to speed-up QP solution in case of a specially structured constraint matrix.
Definition at line 57 of file ConstraintProduct.hpp.
| ConstraintProduct::ConstraintProduct | ( | ) | [inline] |
Default constructor.
Definition at line 61 of file ConstraintProduct.hpp.
| ConstraintProduct::ConstraintProduct | ( | const ConstraintProduct & | toCopy | ) | [inline] |
Copy constructor.
| toCopy | Rhs object. |
Definition at line 64 of file ConstraintProduct.hpp.
| virtual ConstraintProduct::~ConstraintProduct | ( | ) | [inline, virtual] |
Destructor.
Definition at line 68 of file ConstraintProduct.hpp.
| virtual int ConstraintProduct::operator() | ( | int | constrIndex, |
| const real_t *const | x, | ||
| real_t *const | constrValue | ||
| ) | const [pure virtual] |
Evaluates the product of a given constraint with the current iterate. This function needs to be implemented in a derived class for the user-defined constraint product function.
| constrIndex | Number of constraint to be evaluated. |
| x | Array containing current primal iterate. |
| constrValue | Output: Scalar value of the evaluated constraint. |
Implemented in MyConstraintProduct.
| ConstraintProduct& ConstraintProduct::operator= | ( | const ConstraintProduct & | toCopy | ) | [inline] |
Assignment operator.
| toCopy | Rhs object. |
Definition at line 71 of file ConstraintProduct.hpp.