#include <LinearConstraint.h>
Inheritance diagram for OPTPP::LinearConstraint:

Public Member Functions | |
| LinearConstraint () | |
| LinearConstraint (const NEWMAT::Matrix &A) | |
| LinearConstraint (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &b) | |
| LinearConstraint (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &b, const bool rowFlag) | |
| LinearConstraint (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &lower, const NEWMAT::ColumnVector &upper) | |
| virtual | ~LinearConstraint () |
| virtual int | getNumOfCons () const |
| virtual int | getNumOfVars () const |
| virtual NEWMAT::ColumnVector | getLower () const |
| virtual NEWMAT::ColumnVector | getUpper () const |
| virtual NEWMAT::ColumnVector | getConstraintValue () const |
| virtual NEWMAT::ColumnVector | getConstraintViolation () const |
| OptppArray< int > | getConstraintMappingIndices () const |
| void | setA (NEWMAT::Matrix &A) |
| virtual NEWMAT::ColumnVector | getConstraintType () const =0 |
| virtual NEWMAT::ColumnVector | evalAx (const NEWMAT::ColumnVector &xc) const =0 |
| virtual NEWMAT::ColumnVector | evalResidual (const NEWMAT::ColumnVector &xc) const =0 |
| virtual void | evalCFGH (const NEWMAT::ColumnVector &xc) const =0 |
| virtual NEWMAT::Matrix | evalGradient (const NEWMAT::ColumnVector &xc) const =0 |
| virtual bool | amIFeasible (const NEWMAT::ColumnVector &xc, double epsilon) const =0 |
Protected Attributes | |
| int | numOfCons_ |
| Number of constraints. | |
| int | numOfVars_ |
| Number of variables. | |
| int | nnzl_ |
| Number of finite lower bounds. | |
| int | nnzu_ |
| Number of finite upper bounds. | |
| NEWMAT::Matrix | A_ |
| Matrix representation of the constraints. | |
| NEWMAT::ColumnVector | Ax_ |
| Matrix-vector product. | |
| NEWMAT::ColumnVector | lower_ |
| Lower bounds on the variables. | |
| NEWMAT::ColumnVector | upper_ |
| Upper bounds on the variables. | |
| NEWMAT::ColumnVector | cvalue_ |
| The value of the linear constraints. | |
| NEWMAT::ColumnVector | cviolation_ |
| The constraint violation, zero if all constraints satisfied. | |
| OptppArray< int > | constraintMappingIndices_ |
| Indices of finite bounds. | |
| bool | stdForm_ |
| Standard form representation of constraints. | |
Private Member Functions | |
| virtual NEWMAT::SymmetricMatrix | evalHessian (NEWMAT::ColumnVector &xc) const |
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalHessian (NEWMAT::ColumnVector &xc, int darg) const |
| bool | dimMatch (NEWMAT::Matrix &A) |
|
|
Default Constructor |
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Destructor |
|
||||||||||||
|
Takes two arguments and returns a bool.
Implements OPTPP::ConstraintBase. Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
|
Takes one arguments and returns a bool.
|
|
|
Takes one argument and returns a ColumnVector.
Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
|
Implements OPTPP::ConstraintBase. Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
|
Takes one argument and returns a real Matrix.
Implements OPTPP::ConstraintBase. Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
||||||||||||
|
Takes two arguments and returns an array of real SymmetricMatrices.
Implements OPTPP::ConstraintBase. |
|
|
Takes one argument and returns a SymmetricMatrix
Implements OPTPP::ConstraintBase. |
|
|
Takes one argument and returns a ColumnVector.
Implements OPTPP::ConstraintBase. Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. Implemented in OPTPP::LinearEquation, and OPTPP::LinearInequality. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Assigns a value to the constraint matrix. |
|
|
Matrix representation of the constraints.
|
|
|
Matrix-vector product.
|
|
|
Indices of finite bounds.
|
|
|
The value of the linear constraints.
|
|
|
The constraint violation, zero if all constraints satisfied.
|
|
|
Lower bounds on the variables.
|
|
|
Number of finite lower bounds.
|
|
|
Number of finite upper bounds.
|
|
|
Number of constraints.
|
|
|
Number of variables.
|
|
|
Standard form representation of constraints.
|
|
|
Upper bounds on the variables.
|