#include <TOLS.h>
Public Member Functions | |
| TOLS () | |
| Default Constructor. | |
| TOLS (TOLS &t) | |
| Copy Constructor. | |
| virtual | ~TOLS () |
| Destructor. | |
| void | operator= (TOLS &t) |
| Assignment Operator. | |
| void | setDefaultTol () |
| Set all default tolerances. | |
| void | setMaxStep (double x) |
| Set maximum allowable steplength. | |
| void | setMinStep (double x) |
| Set minimum allowable steplength. | |
| void | setStepTol (double x) |
| Set tolerance used for step convergence test. | |
| void | setFTol (double x) |
| Set tolerance used in function convergence test. | |
| void | setCTol (double x) |
| Set tolerance used for constraint feasibility test. | |
| void | setGTol (double x) |
| Set tolerance used in gradient convergence test. | |
| void | setLSTol (double x) |
| Set linesearch tolerance. | |
| void | setTRSize (double x) |
| Set trust-region radius. | |
| void | setMaxIter (int k) |
| Set maximum number of iterations. | |
| void | setMaxBacktrackIter (int k) |
| Set maximum backtrack iterations. | |
| void | setMaxFeval (int k) |
| Set maximum allowable function evaluations. | |
| double | getMaxStep () const |
| double | getMinStep () const |
| double | getStepTol () const |
| double | getFTol () const |
| double | getCTol () const |
| double | getGTol () const |
| double | getLSTol () const |
| double | getTRSize () const |
| int | getMaxIter () const |
| int | getMaxBacktrackIter () const |
| int | getMaxFeval () const |
| void | printTol () |
| void | printTol (ostream *) |
Private Attributes | |
| double | mcheps |
| Machine epsilon. | |
| double | max_step |
| Maximum step allowed in computestep. | |
| double | min_step |
| Minimum step allowed in computestep. | |
| double | step_tol |
| Step tolerance used for convergence test. | |
| double | fcn_tol |
| Function tolerance used for convergence test. | |
| double | con_tol |
| Constraint tolerance used for convergence test. | |
| double | grad_tol |
| Gradient tolerance used for convergence test. | |
| double | linesearch_tol |
| Line search tolerance. | |
| double | tr_size |
| Initial trust region size. | |
| int | max_iter |
| Maximum number of iterations allowed. | |
| int | max_backiter |
| Maximum number of backtracks allowed in lnsrch. | |
| int | max_feval |
| Maximum number of function evaluations allowed. | |
|
|
Default Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Assignment Operator.
|
|
|
Print the current tolerances to file ofstream |
|
|
Print the current tolerances being used |
|
|
Set tolerance used for constraint feasibility test.
|
|
|
Set all default tolerances.
|
|
|
Set tolerance used in function convergence test.
|
|
|
Set tolerance used in gradient convergence test.
|
|
|
Set linesearch tolerance.
|
|
|
Set maximum backtrack iterations.
|
|
|
Set maximum allowable function evaluations.
|
|
|
Set maximum number of iterations.
|
|
|
Set maximum allowable steplength.
|
|
|
Set minimum allowable steplength.
|
|
|
Set tolerance used for step convergence test.
|
|
|
Set trust-region radius.
|
|
|
Constraint tolerance used for convergence test.
|
|
|
Function tolerance used for convergence test.
|
|
|
Gradient tolerance used for convergence test.
|
|
|
Line search tolerance.
|
|
|
Maximum number of backtracks allowed in lnsrch.
|
|
|
Maximum number of function evaluations allowed.
|
|
|
Maximum number of iterations allowed.
|
|
|
Maximum step allowed in computestep.
|
|
|
Machine epsilon.
|
|
|
Minimum step allowed in computestep.
|
|
|
Step tolerance used for convergence test.
|
|
|
Initial trust region size.
|