|
Public Member Functions |
| | OptNewtonLike () |
| | OptNewtonLike (int n) |
| | OptNewtonLike (int n, UPDATEFCN u) |
| | OptNewtonLike (int n, TOLS t) |
| virtual | ~OptNewtonLike () |
| virtual void | acceptStep (int k, int step_type) |
| virtual NEWMAT::ColumnVector | computeSearch (NEWMAT::SymmetricMatrix &H) |
| | Compute Newton direction.
|
| virtual void | updateModel (int k, int ndim, NEWMAT::ColumnVector x) |
| 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 int | computeStep (NEWMAT::ColumnVector sk) |
| | Compute the step length along the Newton direction.
|
| virtual void | initOpt () |
| | Initialize algorithmic parameters.
|
| virtual void | initHessian () |
| | Compute the Hessian or its approximation at the initial point.
|
| virtual double | initTrustRegionSize () const |
| | Initialize the size of the trust-region. Only relevant when either the trustregion or trustpds globalization strategies are selected.
|
| virtual void | optimize () |
| | Invoke Newton's method on an unconstrained problem.
|
| virtual void | readOptInput () |
| | Read user-specified input options from a file.
|
| virtual void | reset () |
| | Reset parameters.
|
| int | checkAnalyticFDGrad () |
| | Compare the analytic gradient with the finite difference gradient.
|
| int | getFevals () const |
| int | getGevals () const |
| real | getTRSize () const |
| void | setTRSize (real delta) |
| | Set trust-region radius.
|
| real | getGradMult () const |
| void | setGradMult (real tau) |
| | Set gradient multiplier which is used to compute trust-region radius.
|
| int | getSearchSize () const |
| void | setSearchSize (int sss) |
| | Set number of points in search scheme for trust-pds search strategy.
|
| bool | getWarmStart () const |
| void | UseWarmStart (NEWMAT::SymmetricMatrix &H) |
| void | setSearchStrategy (SearchStrategy s) |
| SearchStrategy | getSearchStrategy () const |
| | Set globalization strategy for optimization algorithms.
|
| void | setDerivOption (DerivOption d) |
| DerivOption | getDerivOption () const |
| | Set the type of finite difference routine.
|
| NEWMAT::SymmetricMatrix | getHessian () const |
| void | setHessian (NEWMAT::SymmetricMatrix &H) |
| | Store the current Hessian matrix.
|
| virtual NEWMAT::SymmetricMatrix | updateH (NEWMAT::SymmetricMatrix &H, int k)=0 |
| | Compute the Hessian of the objective function or its approximation at the current point.
|
| void | printStatus (char *) |
| | Print status of unconstrained Newton's method.
|
Protected Member Functions |
| virtual NLP1 * | nlprob () const =0 |
| | Returns pointer to an NLP1 object.
|
| void | defaultAcceptStep (int, int) |
| NEWMAT::ColumnVector | defaultComputeSearch (NEWMAT::SymmetricMatrix &) |
Protected Attributes |
| NEWMAT::ColumnVector | gprev |
| | Gradient at the prev. iteration.
|
| NEWMAT::SymmetricMatrix | Hessian |
| | Current Hessian.
|
| int | grad_evals |
| | Number of gradient evaluations.
|
| SearchStrategy | strategy |
| | User-specified globalization Strategy.
|
| DerivOption | finitediff |
| | User-specified derivative option.
|
| real | TR_size |
| | Trust region radius.
|
| real | gradMult |
| | Gradient multiplier to compute TR_size.
|
| int | searchSize |
| | Search pattern size for TRPDS.
|
| bool | WarmStart |
Friends |
| int | trustregion (NLP1 *, ostream *, NEWMAT::SymmetricMatrix &, NEWMAT::ColumnVector &, NEWMAT::ColumnVector &, real &, real &, real stpmax, real stpmin) |
| int | trustpds (NLP1 *, ostream *, NEWMAT::SymmetricMatrix &, NEWMAT::ColumnVector &, NEWMAT::ColumnVector &, real &, real &, real stpmax, real stpmin, int) |