OPTPP::LinearInequality Class Reference

#include <LinearInequality.h>

Inheritance diagram for OPTPP::LinearInequality:

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

Public Member Functions

 LinearInequality ()
 LinearInequality (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &rhs)
 LinearInequality (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &rhs, const bool rowFlag)
 LinearInequality (const NEWMAT::Matrix &A, const NEWMAT::ColumnVector &lower, const NEWMAT::ColumnVector &upper)
virtual ~LinearInequality ()
bool getStdForm () const
virtual NEWMAT::ColumnVector getConstraintType () const
virtual NEWMAT::ColumnVector evalAx (const NEWMAT::ColumnVector &xc) const
virtual NEWMAT::ColumnVector evalResidual (const NEWMAT::ColumnVector &xc) const
virtual void evalCFGH (const NEWMAT::ColumnVector &xc) const
virtual NEWMAT::Matrix evalGradient (const NEWMAT::ColumnVector &xc) const
virtual bool amIFeasible (const NEWMAT::ColumnVector &xc, double epsilon) const

Protected Attributes

NEWMAT::ColumnVector ctype_
 type of constraints

Constructor & Destructor Documentation

OPTPP::LinearInequality::LinearInequality (  ) 

Default Constructor

OPTPP::LinearInequality::LinearInequality ( const NEWMAT::Matrix &  A,
const NEWMAT::ColumnVector &  rhs 
)

Parameters:
A a real Matrix
rhs ColumnVector
See also:
LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& rhs, const bool rowFlag)

LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& lower, const NEWMAT::ColumnVector& upper)

OPTPP::LinearInequality::LinearInequality ( const NEWMAT::Matrix &  A,
const NEWMAT::ColumnVector &  rhs,
const bool  rowFlag 
)

Parameters:
A a real Matrix
rhs ColumnVector
rowFlag a bool
See also:
LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& rhs);

LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& lower, const NEWMAT::ColumnVector& upper)

OPTPP::LinearInequality::LinearInequality ( const NEWMAT::Matrix &  A,
const NEWMAT::ColumnVector &  lower,
const NEWMAT::ColumnVector &  upper 
)

Parameters:
A a real Matrix
lower a ColumnVector
upper a ColumnVector
See also:
LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& rhs);

LinearInequality(const NEWMAT::Matrix& A, const NEWMAT::ColumnVector& rhs, const bool rowFlag)

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

Destructor


Member Function Documentation

virtual bool OPTPP::LinearInequality::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 constraints at xc.

Implements OPTPP::LinearConstraint.

virtual NEWMAT::ColumnVector OPTPP::LinearInequality::evalAx ( const NEWMAT::ColumnVector &  xc  )  const [virtual]

Takes one argument and returns a ColumnVector.

Parameters:
xc a ColumnVector
Returns:
Matrix-vector product of A and xc.

Implements OPTPP::LinearConstraint.

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

Implements OPTPP::LinearConstraint.

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

Takes one argument and returns a real Matrix.

Parameters:
xc a ColumnVector
Returns:
The gradient of the linear inequality constraints evaluated at xc.

Implements OPTPP::LinearConstraint.

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

Takes one argument and returns a ColumnVector.

Parameters:
xc a ColumnVector
Returns:
The residual of the linear inequality constraints evaluated at xc.

Implements OPTPP::LinearConstraint.

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

Returns:
Lineq

Implements OPTPP::LinearConstraint.

bool OPTPP::LinearInequality::getStdForm (  )  const [inline]

Returns:
Standard form representation of the constraints.


Member Data Documentation

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

type of constraints


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.