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

Public Member Functions | |
| BoundConstraint () | |
| BoundConstraint (int nc, const NEWMAT::ColumnVector &lower) | |
| BoundConstraint (int nc, const NEWMAT::ColumnVector &bound, const BoolVector &bdFlag) | |
| BoundConstraint (int nc, const NEWMAT::ColumnVector &lower, const NEWMAT::ColumnVector &upper) | |
| ~BoundConstraint () | |
| virtual int | getNumOfCons () const |
| virtual int | getNumOfVars () const |
| virtual NEWMAT::ColumnVector | getLower () const |
| void | setLower (NEWMAT::ColumnVector &x) |
| virtual NEWMAT::ColumnVector | getUpper () const |
| void | setUpper (NEWMAT::ColumnVector &x) |
| virtual NEWMAT::ColumnVector | getConstraintType () const |
| virtual NEWMAT::ColumnVector | getConstraintValue () const |
| virtual NEWMAT::ColumnVector | getConstraintViolation () const |
| OptppArray< int > | getConstraintMappingIndices () const |
| BoolVector | getFixedVar () const |
| BoolVector | getFreeVar () const |
| BoolVector | getStdForm () const |
| virtual bool | amIFeasible (const NEWMAT::ColumnVector &xc, double epsilon) const |
| bool | amIConsistent () const |
| virtual NEWMAT::ColumnVector | evalResidual (const NEWMAT::ColumnVector &xc) const |
| virtual void | evalCFGH (const NEWMAT::ColumnVector &xc) const |
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::ColumnVector | lower_ |
| Lower bounds on the variables. | |
| NEWMAT::ColumnVector | upper_ |
| Upper bounds on the variables. | |
| NEWMAT::ColumnVector | cvalue_ |
| Value of the variables. | |
| BoolVector | fixedVar_ |
| Indicator of a fixed variable. | |
| BoolVector | freeVar_ |
| Indicator of a free variable. | |
| const BoolVector | stdForm_ |
| Denotes whether a constraint is written in standard form or not. | |
| NEWMAT::ColumnVector | ctype_ |
| Type of constraint. | |
| OptppArray< int > | constraintMappingIndices_ |
| Index vector of finite constraints. | |
Private Member Functions | |
| virtual NEWMAT::Matrix | evalGradient (const NEWMAT::ColumnVector &xc) const |
| virtual NEWMAT::SymmetricMatrix | evalHessian (NEWMAT::ColumnVector &xc) const |
| virtual OptppArray< NEWMAT::SymmetricMatrix > | evalHessian (NEWMAT::ColumnVector &xc, int darg) const |
|
|
Default Constructor
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
Destructor |
|
|
Takes no arguments and returns a bool.
|
|
||||||||||||
|
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 one argument 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 NEWMAT::ColumnVector of reals.
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
CPJW Placeholder!!
Implements OPTPP::ConstraintBase. |
|
|
|
|
|
|
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
Implements OPTPP::ConstraintBase. |
|
|
|
|
|
Implements OPTPP::ConstraintBase. |
|
|
Set lower bounds on the variables. |
|
|
Set upper bounds on the variables. |
|
|
Index vector of finite constraints.
|
|
|
Type of constraint.
|
|
|
Value of the variables.
|
|
|
Indicator of a fixed variable.
|
|
|
Indicator of a free variable.
|
|
|
Lower bounds on the variables.
|
|
|
Number of finite lower bounds.
|
|
|
Number of finite upper bounds.
|
|
|
Number of constraints.
|
|
|
Number of variables.
|
|
|
Denotes whether a constraint is written in standard form or not.
|
|
|
Upper bounds on the variables.
|