OPTPP::NonLinearInequality Class Reference

#include <NonLinearInequality.h>

Inheritance diagram for OPTPP::NonLinearInequality:

OPTPP::NonLinearConstraint OPTPP::ConstraintBase List of all members.

Public Member Functions

 NonLinearInequality ()
 NonLinearInequality (NLP *nlprob, int numconstraints=1)
 NonLinearInequality (NLP *nlprob, const NEWMAT::ColumnVector &rhs, int numconstraints=1)
 NonLinearInequality (NLP *nlprob, const bool flag, int numconstraints=1)
 NonLinearInequality (NLP *nlprob, const NEWMAT::ColumnVector &rhs, const bool flag, int numconstraints=1)
 NonLinearInequality (NLP *nlprob, const NEWMAT::ColumnVector &lower, const NEWMAT::ColumnVector &upper, int numconstraints=1)
virtual ~NonLinearInequality ()
NEWMAT::ColumnVector getConstraintType () const
NEWMAT::ColumnVector evalResidual (const NEWMAT::ColumnVector &xc) const
void evalCFGH (const NEWMAT::ColumnVector &xc) const
NEWMAT::Matrix evalGradient (const NEWMAT::ColumnVector &xc) const
NEWMAT::SymmetricMatrix evalHessian (NEWMAT::ColumnVector &xc) const
OptppArray< NEWMAT::SymmetricMatrix > evalHessian (NEWMAT::ColumnVector &xc, int darg) const
bool amIFeasible (const NEWMAT::ColumnVector &xc, double epsilon) const

Protected Attributes

NEWMAT::ColumnVector ctype_
 Type of constraint - NLineq.
const bool oneSided_
 Denotes whether we have a 1-sided constraint.

Constructor & Destructor Documentation

OPTPP::NonLinearInequality::NonLinearInequality (  ) 

Default Constructor

OPTPP::NonLinearInequality::NonLinearInequality ( NLP nlprob,
int  numconstraints = 1 
)

Parameters:
nlprob a pointer to an NLP object
numconstraints an integer argument
Note:
Assumes the right-hand side = 0 and the inequality is in standard form

OPTPP::NonLinearInequality::NonLinearInequality ( NLP nlprob,
const NEWMAT::ColumnVector &  rhs,
int  numconstraints = 1 
)

Parameters:
nlprob a pointer to an NLP object
rhs NEWMAT::ColumnVector
numconstraints an integer argument
Note:
Assumes nonzero right-hand side and the inequality is in standard form

OPTPP::NonLinearInequality::NonLinearInequality ( NLP nlprob,
const bool  flag,
int  numconstraints = 1 
)

Parameters:
nlprob a pointer to an NLP object
flag a bool argument
numconstraints an integer argument
Note:
Assumes the right-hand side = 0

OPTPP::NonLinearInequality::NonLinearInequality ( NLP nlprob,
const NEWMAT::ColumnVector &  rhs,
const bool  flag,
int  numconstraints = 1 
)

Parameters:
nlprob a pointer to an NLP object
rhs NEWMAT::ColumnVector
numconstraints an integer argument
flag a bool argument
Note:
Assumes nonzero right-hand side

OPTPP::NonLinearInequality::NonLinearInequality ( NLP nlprob,
const NEWMAT::ColumnVector &  lower,
const NEWMAT::ColumnVector &  upper,
int  numconstraints = 1 
)

Parameters:
nlprob a pointer to an NLP object
lower NEWMAT::ColumnVector
upper NEWMAT::ColumnVector
numconstraints an integer argument

virtual OPTPP::NonLinearInequality::~NonLinearInequality (  )  [inline, virtual]

Destructor


Member Function Documentation

bool OPTPP::NonLinearInequality::amIFeasible ( const NEWMAT::ColumnVector &  xc,
double  epsilon 
) const [virtual]

Takes two arguments and returns a bool.

Parameters:
xc a ColumnVector
epsilon a real argument.
Returns:
The feasibility of the nonlinear inequalities at xc.

Reimplemented from OPTPP::NonLinearConstraint.

void OPTPP::NonLinearInequality::evalCFGH ( const NEWMAT::ColumnVector &  xc  )  const [virtual]

Reimplemented from OPTPP::NonLinearConstraint.

NEWMAT::Matrix OPTPP::NonLinearInequality::evalGradient ( const NEWMAT::ColumnVector &  xc  )  const [virtual]

Takes one argument and returns a Matrix.

Parameters:
xc a ColumnVector
Returns:
The gradient of the nonlinear inequalities evaluated at xc.

Reimplemented from OPTPP::NonLinearConstraint.

OptppArray<NEWMAT::SymmetricMatrix> OPTPP::NonLinearInequality::evalHessian ( NEWMAT::ColumnVector &  xc,
int  darg 
) const [virtual]

Takes two arguments and returns an array of real SymmetricMatrices.

Parameters:
xc a ColumnVector
darg an integer argument
Returns:
An array of constraint Hessians.

Reimplemented from OPTPP::NonLinearConstraint.

NEWMAT::SymmetricMatrix OPTPP::NonLinearInequality::evalHessian ( NEWMAT::ColumnVector &  xc  )  const [virtual]

Takes one argument and returns a SymmetricMatrix.

Parameters:
xc a ColumnVector
Returns:
The Hessian of the nonlinear inequalities evaluated at xc.

Reimplemented from OPTPP::NonLinearConstraint.

NEWMAT::ColumnVector OPTPP::NonLinearInequality::evalResidual ( const NEWMAT::ColumnVector &  xc  )  const [virtual]

Takes one argument and returns a ColumnVector.

Parameters:
xc a ColumnVector
Returns:
The residual of the nonlinear inequalities evaluated at xc.

Reimplemented from OPTPP::NonLinearConstraint.

NEWMAT::ColumnVector OPTPP::NonLinearInequality::getConstraintType (  )  const [inline, virtual]

Returns:
Type of constraint - NLineq

Reimplemented from OPTPP::NonLinearConstraint.


Member Data Documentation

NEWMAT::ColumnVector OPTPP::NonLinearInequality::ctype_ [protected]

Type of constraint - NLineq.

Reimplemented from OPTPP::NonLinearConstraint.

const bool OPTPP::NonLinearInequality::oneSided_ [protected]

Denotes whether we have a 1-sided constraint.


The documentation for this class was generated from the following files:
Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.