OPTPP::OptBCNewton Class Reference

OptBCNewton is a derived class of OptBCNewtonLike. More...

Inheritance diagram for OPTPP::OptBCNewton:
[legend]
Collaboration diagram for OPTPP::OptBCNewton:
[legend]

List of all members.

Public Member Functions

virtual int checkConvg ()
 Check to see if algorithm satisfies the convergence criterion.
virtual int checkDeriv ()
 Compare the analytic gradient with the finite difference gradient.
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.
virtual void initHessian ()
 Compute the Hessian or its approximation at the initial point.
virtual void initOpt ()
 Initialize algorithmic parameters.
 OptBCNewton (NLP2 *p, TOLS t)
 OptBCNewton (NLP2 *p, UPDATEFCN u)
 OptBCNewton (NLP2 *p)
 OptBCNewton ()
 Default Constructor.
virtual void printStatus (char *)
 Print status of the bound constrained Newton's method.
virtual void reset ()
virtual real stepTolNorm () const
int updateConstraints (int)
 Add and remove variables from the working set.
NEWMAT::SymmetricMatrix updateH (NEWMAT::SymmetricMatrix &H, int k)
 Compute the Hessian or its approximation at the current point.

Protected Attributes

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

Detailed Description

OptBCNewton is a derived class of OptBCNewtonLike.

OptBCNewton implements a bound constrained 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

Definition at line 25 of file OptBCNewton.h.


Constructor & Destructor Documentation

OPTPP::OptBCNewton::OptBCNewton (  )  [inline]
OPTPP::OptBCNewton::OptBCNewton ( NLP2 *  p  )  [inline]
Parameters:
p a pointer to an NLP1.
See also:
OptBCNewton(NLP2* p, UPDATEFCN u)
OptBCNewton(NLP2* p, TOLS t)

Definition at line 50 of file OptBCNewton.h.

References OPTPP::OptimizeClass::method, and work_set.

OPTPP::OptBCNewton::OptBCNewton ( NLP2 *  p,
UPDATEFCN  u 
) [inline]
Parameters:
p a pointer to an NLP1.
u a function pointer.
See also:
OptBCNewton(NLP2* p)
OptBCNewton(NLP2* p, TOLS t)

Definition at line 60 of file OptBCNewton.h.

References OPTPP::OptimizeClass::method, and work_set.

OPTPP::OptBCNewton::OptBCNewton ( NLP2 *  p,
TOLS  t 
) [inline]
Parameters:
p a pointer to an NLP1.
t tolerance class reference.
See also:
OptBCNewton(NLP2* p)
OptBCNewton(NLP2* p, UPDATEFCN u)

Definition at line 70 of file OptBCNewton.h.

References OPTPP::OptimizeClass::method, and work_set.


Member Function Documentation

virtual int OPTPP::OptBCNewton::checkConvg (  )  [virtual]

Check to see if algorithm satisfies the convergence criterion.

Reimplemented from OPTPP::OptBCNewtonLike.

virtual int OPTPP::OptBCNewton::checkDeriv (  )  [virtual]

Compare the analytic gradient with the finite difference gradient.

Reimplemented from OPTPP::OptBCNewtonLike.

double OPTPP::OptBCNewton::computeMaxStep ( NEWMAT::ColumnVector &   )  [virtual]

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

Reimplemented from OPTPP::OptBCNewtonLike.

NEWMAT::ColumnVector OPTPP::OptBCNewton::computeSearch ( NEWMAT::SymmetricMatrix &  H  )  [virtual]

Compute search direction.

Reimplemented from OPTPP::OptBCNewtonLike.

virtual void OPTPP::OptBCNewton::initHessian (  )  [virtual]

Compute the Hessian or its approximation at the initial point.

Reimplemented from OPTPP::OptBCNewtonLike.

virtual void OPTPP::OptBCNewton::initOpt (  )  [virtual]

Initialize algorithmic parameters.

Reimplemented from OPTPP::OptBCNewtonLike.

virtual void OPTPP::OptBCNewton::printStatus ( char *   )  [virtual]

Print status of the bound constrained Newton's method.

Reimplemented from OPTPP::OptBCNewtonLike.

int OPTPP::OptBCNewton::updateConstraints ( int   )  [virtual]

Add and remove variables from the working set.

Reimplemented from OPTPP::OptBCNewtonLike.

NEWMAT::SymmetricMatrix OPTPP::OptBCNewton::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::OptBCNewton::nactive [protected]

Number of variables in active set.

Definition at line 28 of file OptBCNewton.h.

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

Working set of variables.

Definition at line 30 of file OptBCNewton.h.

Referenced by OptBCNewton().


The documentation for this class was generated from the following file:
Generated on Mon Jan 24 12:04:41 2011 for FASTlib by  doxygen 1.6.3