#include <OptGSS.h>
Inheritance diagram for OPTPP::OptGSS:

Public Member Functions | |
| void | setParams () |
| Assign default values to algorithm parameters. | |
| void | setParams (OptGSS_params op) |
| Assign values to parameters as specified in argument. | |
| OptGSS () | |
| OptGSS (NLP0 *p, GenSetBase *g) | |
| OptGSS (NLP1 *p, GenSetBase *g) | |
| OptGSS (NLP0 *p, GenSetBase *g, NEWMAT::Matrix &M) | |
| OptGSS (NLP1 *p, GenSetBase *g, NEWMAT::Matrix &M) | |
| OptGSS (NLP0 *p, GenSetBase *g, OptGSS_params op) | |
| OptGSS (NLP1 *p, GenSetBase *g, OptGSS_params op) | |
| OptGSS (NLP0 *p, GenSetBase *g, NEWMAT::Matrix &M, OptGSS_params op) | |
| OptGSS (NLP1 *p, GenSetBase *g, NEWMAT::Matrix &M, OptGSS_params op) | |
| ~OptGSS () | |
| void | setStepSize (double s) |
| void | setStepTol (double s) |
| void | setStepInc (double s) |
| void | setStepDec (double s) |
| void | setMaxIter (int s) |
| void | setFullSearch (bool s) |
| bool | extras_searched () |
| void | setPrintX (bool s) |
| void | setPrintG (bool s) |
| void | printCopyright (bool doit) |
| void | setComputeGrad (bool s) |
| void | expandStep () |
| void | contractStep () |
| void | updateX (double &newfX, NEWMAT::ColumnVector &newX) |
| bool | StopCondition () |
| int | StepCondition () |
| int | search () |
| virtual void | reset () |
| virtual void | initOpt () |
| virtual void | optimize () |
| virtual int | checkConvg () |
| int | checkConvg_fcn () |
| int | checkConvg_grad () |
| virtual void | printStatus (char *msg) |
| virtual void | printStatus (char *msg) |
| void | printStatus (char *msg, bool printXc) |
| Print the status of optimizer at Xc, but not Xc. | |
| NEWMAT::ColumnVector | computeSearch (NEWMAT::SymmetricMatrix &) |
| Print the status of optimizer at Xc, and Xc if 2n arg==true. | |
| virtual void | acceptStep (int k, int step_type) |
| virtual void | updateModel (int k, int ndim, NEWMAT::ColumnVector x) |
| virtual void | readOptInput () |
| void | printIter (int iter, int bp) |
| int | getMPIRank () |
| int | getMPISize () |
Protected Member Functions | |
| void | printHeader () |
| Prints header of output file before optimization begins. | |
| void | setpid () |
Protected Attributes | |
| NLP0 * | nlp |
| Pointer to an NLP0 object. | |
| NLP1 * | nlp1 |
| Pointer to an NLP1 object. | |
| NEWMAT::ColumnVector | X |
| Best (current) point in search. | |
| double | fX |
| Value of objective function at X. | |
| NEWMAT::ColumnVector | gX |
| Value of gradient at X (when available). | |
| double | fprev |
| stores previous best value | |
| double | Delta |
| Step-length parameter. | |
| double | Phi |
| Steplength expanding parameter (>=1). | |
| double | Theta |
| Steplength contracting parameter (0<Theta<ThetaMax<1). | |
| double | Delta_tol |
| Convergence tolerance. Algoritms stops when Theta <= Theta_tol. | |
| int | Iter_max |
| Upper limit on the number of iterations. | |
| bool | SearchAll |
| search type flag (true ==> search on all direction) -- now defunct | |
| bool | computeGrad |
| flag to compute gradient after 1st iteration. Used by trustGSS. | |
| GenSetBase * | gset |
| Pointer to an Generating Set object. | |
| NEWMAT::Matrix | extras |
| Extra search directions. | |
| bool | extras_srched |
| True when extra directions have been searched. | |
| bool | printCOPYRIGHT |
| if true copyright header is printed before optimization | |
| bool | printXiter |
| flag for printing (up to 3) components of X during iterations | |
| bool | printGiter |
| flag for printing (up to 3) components of gX during iterations | |
| int | mpi_rank |
| int | mpi_size |
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Implements OPTPP::OptDirect. |
|
|
Reimplemented from OPTPP::OptDirect. |
|
|
|
|
|
|
|
|
Print the status of optimizer at Xc, and Xc if 2n arg==true.
Implements OPTPP::OptimizeClass. |
|
|
Default Step Decrement Method |
|
|
Default Step Increment Method |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from OPTPP::OptDirect. |
|
|
|
|
|
Prints header of output file before optimization begins.
|
|
||||||||||||
|
|
|
||||||||||||
|
Print the status of optimizer at Xc, but not Xc.
|
|
|
Implements OPTPP::OptimizeClass. |
|
|
Implements OPTPP::OptimizeClass. |
|
|
Reimplemented from OPTPP::OptDirect. |
|
|
Reset parameter values Reimplemented from OPTPP::OptDirect. |
|
|
Search for improved point; |
|
|
|
|
|
Let the user set the search strategy |
|
|
Let the user set the max number of iterations Reimplemented from OPTPP::OptimizeClass. |
|
|
Assign values to parameters as specified in argument.
|
|
|
Assign default values to algorithm parameters.
|
|
|
|
|
|
|
|
|
|
|
|
Let the user set the step decrement parameter |
|
|
Let the user set the step increment parameter |
|
|
Let the user set the step size |
|
|
Let the user set the step tolerance |
|
|
|
|
|
Default Stopping criterion |
|
||||||||||||||||
|
Implements OPTPP::OptDirect. |
|
||||||||||||
|
Default update of X and FX with new values |
|
|
flag to compute gradient after 1st iteration. Used by trustGSS.
|
|
|
Step-length parameter.
|
|
|
Convergence tolerance. Algoritms stops when Theta <= Theta_tol.
|
|
|
Extra search directions.
|
|
|
True when extra directions have been searched.
|
|
|
stores previous best value
Reimplemented from OPTPP::OptimizeClass. |
|
|
Value of objective function at X.
|
|
|
Pointer to an Generating Set object.
|
|
|
Value of gradient at X (when available).
|
|
|
Upper limit on the number of iterations.
|
|
|
|
|
|
|
|
|
Pointer to an NLP0 object.
|
|
|
Pointer to an NLP1 object.
|
|
|
Steplength expanding parameter (>=1).
|
|
|
if true copyright header is printed before optimization
|
|
|
flag for printing (up to 3) components of gX during iterations
|
|
|
flag for printing (up to 3) components of X during iterations
|
|
|
search type flag (true ==> search on all direction) -- now defunct
|
|
|
Steplength contracting parameter (0<Theta<ThetaMax<1).
|
|
|
Best (current) point in search.
|