LBFGS-Like Methods OptLBFGS is a derived class of OptLBFGSLike that implements the LBFGS method of J. More...
Public Member Functions | |
virtual void | acceptStep (int, int)=0 |
virtual int | checkConvg () |
virtual int | checkDeriv () |
SearchStrategy | getSearchStrategy () const |
virtual void | optimize () |
OptLBFGSLike (int n, TOLS t) | |
OptLBFGSLike (int n) | |
OptLBFGSLike () | |
Default Constructor. | |
virtual void | readOptInput () |
void | setSearchStrategy (SearchStrategy s) |
Set the user-specified globalization strategy. | |
virtual void | updateModel (int, int, NEWMAT::ColumnVector)=0 |
virtual | ~OptLBFGSLike () |
Destructor. | |
Protected Member Functions | |
virtual NLP1 * | nlprob () const =0 |
Protected Attributes | |
NEWMAT::ColumnVector | gprev |
Gradient computed at previous iteration. | |
int | grad_evals |
Number of gradient evaluations. | |
SearchStrategy | strategy |
User-specified globalization strategy. |
LBFGS-Like Methods OptLBFGS is a derived class of OptLBFGSLike that implements the LBFGS method of J.
Nocedal.
Definition at line 22 of file OptLBFGS.h.
OPTPP::OptLBFGSLike::OptLBFGSLike | ( | ) | [inline] |
Default Constructor.
Definition at line 38 of file OptLBFGS.h.
OPTPP::OptLBFGSLike::OptLBFGSLike | ( | int | n | ) | [inline] |
n | an integer argument |
Definition at line 43 of file OptLBFGS.h.
OPTPP::OptLBFGSLike::OptLBFGSLike | ( | int | n, | |
TOLS | t | |||
) | [inline] |
n | an integer argument | |
t | a TOLS object |
Definition at line 50 of file OptLBFGS.h.
virtual OPTPP::OptLBFGSLike::~OptLBFGSLike | ( | ) | [inline, virtual] |
Destructor.
Definition at line 56 of file OptLBFGS.h.
virtual void OPTPP::OptLBFGSLike::acceptStep | ( | int | , | |
int | ||||
) | [pure virtual] |
Implements OPTPP::OptimizeClass.
Implemented in OPTPP::OptLBFGS.
SearchStrategy OPTPP::OptLBFGSLike::getSearchStrategy | ( | ) | const [inline] |
Definition at line 64 of file OptLBFGS.h.
References strategy.
void OPTPP::OptLBFGSLike::setSearchStrategy | ( | SearchStrategy | s | ) | [inline] |
Set the user-specified globalization strategy.
Definition at line 59 of file OptLBFGS.h.
References strategy.
NEWMAT::ColumnVector OPTPP::OptLBFGSLike::gprev [protected] |
Gradient computed at previous iteration.
Definition at line 26 of file OptLBFGS.h.
int OPTPP::OptLBFGSLike::grad_evals [protected] |
Number of gradient evaluations.
Definition at line 28 of file OptLBFGS.h.
SearchStrategy OPTPP::OptLBFGSLike::strategy [protected] |
User-specified globalization strategy.
Definition at line 30 of file OptLBFGS.h.
Referenced by getSearchStrategy(), and setSearchStrategy().