#include <ConstrainedOptPack_VariableBoundsTester.hpp>
Public Member Functions | |
| void | warning_tol (const value_type &warning_tol) |
| | |
| void | error_tol (const value_type &error_tol) |
| | |
| VariableBoundsTester (value_type warning_tol=1e-10, value_type error_tol=1e-5) | |
| | |
| virtual | ~VariableBoundsTester () |
| | |
| virtual bool | check_in_bounds (std::ostream *out, bool print_all_warnings, bool print_vectors, const Vector &xL, const char xL_name[], const Vector &xU, const char xU_name[], const Vector &x, const char x_name[]) |
| Check that the variables are within bounds. | |
xL <= x <= xU
The relative error for each comparison is rel_err(i) = (xL(i)-x(i))/(1+||x||inf) or rel_err(i) = (x(i)-xU(i))/(1+||x||inf). If rel_err(i) >= error_tol, then the tests will be terminated immediately. All of the rel_err(i) >= warning_tol will be printed.
Definition at line 49 of file ConstrainedOptPack_VariableBoundsTester.hpp.
|
||||||||||||
|
Definition at line 38 of file ConstrainedOptPack_VariableBoundsTester.cpp. |
|
|
Definition at line 65 of file ConstrainedOptPack_VariableBoundsTester.hpp. |
|
|
Definition at line 53 of file ConstrainedOptPack_VariableBoundsTester.hpp. |
|
|
Definition at line 56 of file ConstrainedOptPack_VariableBoundsTester.hpp. |
|
||||||||||||||||||||||||||||||||||||||||
|
Check that the variables are within bounds.
Definition at line 46 of file ConstrainedOptPack_VariableBoundsTester.cpp. |
1.3.9.1