TOLS is the Base Class for Tolerances which will be used in the optimization methods. More...
Public Member Functions | |
| double | getCTol () const |
| double | getFTol () const |
| double | getGTol () const |
| double | getLSTol () const |
| int | getMaxBacktrackIter () const |
| int | getMaxFeval () const |
| int | getMaxIter () const |
| double | getMaxStep () const |
| double | getMinStep () const |
| double | getStepTol () const |
| double | getTRSize () const |
| void | operator= (TOLS &t) |
| Assignment Operator. | |
| void | printTol (ostream *) |
| Print the current tolerances to file ofstream. | |
| void | printTol () |
| Please use setOutputFile with version 1.6 and higher See OptimizeClass in Opt.h void setOutput(ofstream& f) {cerr << "setOutput no longer supported\n";}. | |
| void | setCTol (double x) |
| Set tolerance used for constraint feasibility test. | |
| void | setDefaultTol () |
| Set all default tolerances. | |
| void | setFTol (double x) |
| Set tolerance used in function convergence test. | |
| void | setGTol (double x) |
| Set tolerance used in gradient convergence test. | |
| void | setLSTol (double x) |
| Set linesearch tolerance. | |
| void | setMaxBacktrackIter (int k) |
| Set maximum backtrack iterations. | |
| void | setMaxFeval (int k) |
| Set maximum allowable function evaluations. | |
| void | setMaxIter (int k) |
| Set maximum number of iterations. | |
| 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 | setTRSize (double x) |
| Set trust-region radius. | |
| TOLS (TOLS &t) | |
| Copy Constructor. | |
| TOLS () | |
| Default Constructor. | |
| virtual | ~TOLS () |
| Destructor. | |
TOLS is the Base Class for Tolerances which will be used in the optimization methods.
Definition at line 29 of file TOLS.h.
| double OPTPP::TOLS::getCTol | ( | ) | const [inline] |
| double OPTPP::TOLS::getFTol | ( | ) | const [inline] |
| double OPTPP::TOLS::getGTol | ( | ) | const [inline] |
| double OPTPP::TOLS::getLSTol | ( | ) | const [inline] |
| int OPTPP::TOLS::getMaxBacktrackIter | ( | ) | const [inline] |
| int OPTPP::TOLS::getMaxFeval | ( | ) | const [inline] |
| int OPTPP::TOLS::getMaxIter | ( | ) | const [inline] |
| double OPTPP::TOLS::getMaxStep | ( | ) | const [inline] |
| double OPTPP::TOLS::getMinStep | ( | ) | const [inline] |
| double OPTPP::TOLS::getStepTol | ( | ) | const [inline] |
| double OPTPP::TOLS::getTRSize | ( | ) | const [inline] |
| void OPTPP::TOLS::operator= | ( | TOLS & | t | ) | [inline] |
| void OPTPP::TOLS::printTol | ( | ostream * | ) |
Print the current tolerances to file ofstream.
| void OPTPP::TOLS::printTol | ( | ) |
Please use setOutputFile with version 1.6 and higher See OptimizeClass in Opt.h void setOutput(ofstream& f) {cerr << "setOutput no longer supported\n";}.
Print the current tolerances being used
| void OPTPP::TOLS::setCTol | ( | double | x | ) |
Set tolerance used for constraint feasibility test.
Referenced by OPTPP::OptimizeClass::setConTol().
| void OPTPP::TOLS::setDefaultTol | ( | ) |
Set all default tolerances.
Referenced by OPTPP::OptimizeClass::OptimizeClass().
| void OPTPP::TOLS::setFTol | ( | double | x | ) |
Set tolerance used in function convergence test.
Referenced by OPTPP::OptimizeClass::setFcnTol().
| void OPTPP::TOLS::setGTol | ( | double | x | ) |
Set tolerance used in gradient convergence test.
Referenced by OPTPP::OptimizeClass::setGradTol().
| void OPTPP::TOLS::setLSTol | ( | double | x | ) |
Set linesearch tolerance.
Referenced by OPTPP::OptimizeClass::setLineSearchTol().
| void OPTPP::TOLS::setMaxBacktrackIter | ( | int | k | ) |
Set maximum backtrack iterations.
Referenced by OPTPP::OptimizeClass::setMaxBacktrackIter().
| void OPTPP::TOLS::setMaxFeval | ( | int | k | ) |
Set maximum allowable function evaluations.
Referenced by OPTPP::OptimizeClass::setMaxFeval().
| void OPTPP::TOLS::setMaxIter | ( | int | k | ) |
Set maximum number of iterations.
Referenced by OPTPP::OptimizeClass::setMaxIter().
| void OPTPP::TOLS::setMaxStep | ( | double | x | ) |
Set maximum allowable steplength.
Referenced by OPTPP::OptimizeClass::setMaxStep().
| void OPTPP::TOLS::setMinStep | ( | double | x | ) |
Set minimum allowable steplength.
Referenced by OPTPP::OptimizeClass::setMinStep().
| void OPTPP::TOLS::setStepTol | ( | double | x | ) |
Set tolerance used for step convergence test.
Referenced by OPTPP::OptimizeClass::setStepTol().
| void OPTPP::TOLS::setTRSize | ( | double | x | ) |
Set trust-region radius.
1.6.3