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

Public Member Functions | |
| CompoundConstraint () | |
| CompoundConstraint (const Constraint &c1) | |
| CompoundConstraint (const Constraint &c1, const Constraint &c2) | |
| CompoundConstraint (const OptppArray< Constraint > &constraints) | |
| CompoundConstraint (const CompoundConstraint &cc) | |
| ~CompoundConstraint () | |
| CompoundConstraint & | operator= (const CompoundConstraint &cc) |
| Assignment Operator. | |
| int | compare (const Constraint &c1, const Constraint &c2) |
| int | getNumOfSets () const |
| int | getNumOfNLCons () const |
| virtual int | getNumOfCons () const |
| virtual int | getNumOfVars () const |
| virtual NEWMAT::ColumnVector | getLower () const |
| virtual NEWMAT::ColumnVector | getUpper () const |
| virtual NEWMAT::ColumnVector | getConstraintType () const |
| virtual NEWMAT::ColumnVector | getConstraintValue () const |
| virtual NEWMAT::ColumnVector | getConstraintViolation () const |
| NEWMAT::ColumnVector | getNLConstraintValue () const |
| virtual OptppArray< int > | getConstraintMappingIndices () const |
| Constraint & | operator[] (int i) |
| const Constraint & | operator[] (int i) const |
| void | computeFeasibleBounds (NEWMAT::ColumnVector &xcurrent, double epsilon) |
| void | computeFeasibleInequalities (NEWMAT::ColumnVector &xcurrent, double ftol) |
| void | insertSort () |
| void | printConstraints () |
| virtual NEWMAT::ColumnVector | evalResidual (const NEWMAT::ColumnVector &xcurrent) const |
| virtual void | evalCFGH (const NEWMAT::ColumnVector &xcurrent) const |
| virtual NEWMAT::Matrix | evalGradient (const NEWMAT::ColumnVector &xcurrent) const |
| NEWMAT::SymmetricMatrix | evalHessian (NEWMAT::ColumnVector &xcurrent, const NEWMAT::ColumnVector &LagMultiplier) const |
| virtual NEWMAT::SymmetricMatrix | evalHessian (NEWMAT::ColumnVector &xcurrent) const |
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalHessian (NEWMAT::ColumnVector &xcurrent, int darg) const |
| virtual bool | amIFeasible (const NEWMAT::ColumnVector &xcurrent, double epsilon) const |
Private Member Functions | |
| void | insertSort (const OptppArray< Constraint > &constraints) |
Private Attributes | |
| OptppArray< Constraint > | constraints_ |
| Array of constraints. | |
| int | numOfSets_ |
| Number of constraint sets. | |
| NEWMAT::ColumnVector | lower_ |
| Lower bound on the constraints. | |
| NEWMAT::ColumnVector | upper_ |
| Upper bound on the constraints. | |
|
|
Default Constructor |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Copy constructor
|
|
|
Destructor |
|
||||||||||||
|
Takes two arguments and returns a bool.
Implements OPTPP::ConstraintBase. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Implements OPTPP::ConstraintBase. |
|
|
Takes one argument and returns a real Matrix.
Implements OPTPP::ConstraintBase. |
|
||||||||||||
|
Takes two arguments and returns an array of real SymmetricMatrices
Implements OPTPP::ConstraintBase. |
|
|
Takes one arguments and returns a NEWMAT::SymmetricMatrix
Implements OPTPP::ConstraintBase. |
|
||||||||||||
|
Takes two arguments and returns a real SymmetricMatrix
|
|
|
Takes one argument and returns a ColumnVector
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
|
|
|
Implements OPTPP::ConstraintBase. |
|
|
|
|
|
|
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Sorts an array of constraints. Equations are followed by inequalities. |
|
|
|
|
|
Assignment Operator.
|
|
|
|
|
|
|
|
|
|
|
|
Array of constraints.
|
|
|
Lower bound on the constraints.
|
|
|
Number of constraint sets.
|
|
|
Upper bound on the constraints.
|