Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

OPTPP::OptBCQNewton Class Reference

#include <OptBCQNewton.h>

Inheritance diagram for OPTPP::OptBCQNewton:

OPTPP::OptBCNewton1Deriv OPTPP::OptBCNewtonLike OPTPP::OptimizeClass List of all members.

Public Member Functions

 OptBCQNewton ()
 OptBCQNewton (NLP1 *p)
 OptBCQNewton (NLP1 *p, UPDATEFCN u)
 OptBCQNewton (NLP1 *p, TOLS t)
virtual ~OptBCQNewton ()
virtual int checkConvg ()
 Check to see if algorithm satisfies the convergence criterion.
virtual int checkDeriv ()
 Compare the analytic gradient with the finite difference gradient.
virtual void initHessian ()
 Compute the Hessian or its approximation at the initial point.
virtual void initOpt ()
 Initialize algorithmic parameters.
virtual void printStatus (char *)
 Print status of the bound constrained Newton's method.
virtual real stepTolNorm () const
NEWMAT::SymmetricMatrix updateH (NEWMAT::SymmetricMatrix &H, int k)
 Compute the Hessian or its approximation at the current point.
double computeMaxStep (NEWMAT::ColumnVector &)
 Compute the maximum step allowed along the search direction before we hit a constraint.
NEWMAT::ColumnVector computeSearch (NEWMAT::SymmetricMatrix &)
 Compute search direction.
int updateConstraints (int)
 Add and remove variables from the working set.
virtual void reset ()

Protected Attributes

int nactive
 Number of variables in the active set.
NEWMAT::ColumnVector work_set
 Working set.

Detailed Description

OptBCQNewton is a derived class of OptBCNewtonLike. OptBCQNewton implements a bound constrained Quasi-Newton method These methods will use the active set method.

Author:
J.C. Meza, Lawrence Berkeley National Laboratory
Note:
Modified by P.J. Williams, pwillia@sandia.gov
Date:
Last modified 03/2007


Constructor & Destructor Documentation

OPTPP::OptBCQNewton::OptBCQNewton  )  [inline]
 

Default Constructor

See also:
OptBCQNewton(NLP1* p)

OptBCQNewton(NLP1* p, UPDATEFCN u)

OptBCQNewton(NLP1* p, TOLS t)

OPTPP::OptBCQNewton::OptBCQNewton NLP1 p  )  [inline]
 

Parameters:
p a pointer to an NLP1.
See also:
OptBCQNewton(NLP1* p, UPDATEFCN u)

OptBCQNewton(NLP1* p, TOLS t)

OPTPP::OptBCQNewton::OptBCQNewton NLP1 p,
UPDATEFCN  u
[inline]
 

Parameters:
p a pointer to an NLP1.
u a function pointer.
See also:
OptBCQNewton(NLP1* p)

OptBCQNewton(NLP1* p, TOLS t)

OPTPP::OptBCQNewton::OptBCQNewton NLP1 p,
TOLS  t
[inline]
 

Parameters:
p a pointer to an NLP1.
t tolerance class reference.
See also:
OptBCQNewton(NLP1* p)

OptBCQNewton(NLP1* p, TOLS t)

virtual OPTPP::OptBCQNewton::~OptBCQNewton  )  [inline, virtual]
 

Destructor


Member Function Documentation

int OPTPP::OptBCQNewton::checkConvg  )  [virtual]
 

Check to see if algorithm satisfies the convergence criterion.

Reimplemented from OPTPP::OptBCNewtonLike.

int OPTPP::OptBCQNewton::checkDeriv  )  [virtual]
 

Compare the analytic gradient with the finite difference gradient.

Reimplemented from OPTPP::OptBCNewtonLike.

double OPTPP::OptBCQNewton::computeMaxStep NEWMAT::ColumnVector &   )  [virtual]
 

Compute the maximum step allowed along the search direction before we hit a constraint.

Reimplemented from OPTPP::OptBCNewtonLike.

ColumnVector OPTPP::OptBCQNewton::computeSearch NEWMAT::SymmetricMatrix &   )  [virtual]
 

Compute search direction.

Reimplemented from OPTPP::OptBCNewtonLike.

void OPTPP::OptBCQNewton::initHessian  )  [virtual]
 

Compute the Hessian or its approximation at the initial point.

Reimplemented from OPTPP::OptBCNewtonLike.

void OPTPP::OptBCQNewton::initOpt  )  [virtual]
 

Initialize algorithmic parameters.

Reimplemented from OPTPP::OptBCNewtonLike.

void OPTPP::OptBCQNewton::printStatus char *   )  [virtual]
 

Print status of the bound constrained Newton's method.

Reimplemented from OPTPP::OptBCNewtonLike.

void OPTPP::OptBCQNewton::reset  )  [virtual]
 

Reimplemented from OPTPP::OptBCNewtonLike.

real OPTPP::OptBCQNewton::stepTolNorm  )  const [virtual]
 

Reimplemented from OPTPP::OptimizeClass.

int OPTPP::OptBCQNewton::updateConstraints int  step_type  )  [virtual]
 

Add and remove variables from the working set.

Reimplemented from OPTPP::OptBCNewtonLike.

SymmetricMatrix OPTPP::OptBCQNewton::updateH NEWMAT::SymmetricMatrix &  H,
int  k
[virtual]
 

Compute the Hessian or its approximation at the current point.

Implements OPTPP::OptBCNewtonLike.


Member Data Documentation

int OPTPP::OptBCQNewton::nactive [protected]
 

Number of variables in the active set.

NEWMAT::ColumnVector OPTPP::OptBCQNewton::work_set [protected]
 

Working set.


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.