Settings for optimization routines in ZonoOpt library.
More...
#include <SolverDataStructures.hpp>
|
| bool | settings_valid () const |
| | Checks whether settings struct is valid.
|
| |
| std::string | print () const |
| | displays settings as string
|
| |
Settings for optimization routines in ZonoOpt library.
◆ print()
| std::string ZonoOpt::OptSettings::print |
( |
| ) |
const |
|
inline |
displays settings as string
- Returns
- string
◆ settings_valid()
| bool ZonoOpt::OptSettings::settings_valid |
( |
| ) |
const |
|
inline |
Checks whether settings struct is valid.
- Returns
- validity boolean
◆ contractor_iter
| int ZonoOpt::OptSettings::contractor_iter = 1 |
number of interval contractor iterations
◆ contractor_tree_search_depth
| int ZonoOpt::OptSettings::contractor_tree_search_depth = 10 |
when applying interval contractor in branch and bound, this is how deep to search the constraint tree for affected variables
◆ eps_a
absolute convergence tolerance
◆ eps_dual
dual convergence tolerance
◆ eps_dual_search
dual residual convergence tolerance during branch and bound and search
◆ eps_prim
primal convergence tolerance
◆ eps_prim_search
primal residual convergence tolerance during branch and bound and search
◆ eps_r
relative convergence tolerance
◆ inf_norm_conv
| bool ZonoOpt::OptSettings::inf_norm_conv = true |
use infinity norm for convergence check (if false, scaled 2-norm is used)
◆ k_inf_check
| int ZonoOpt::OptSettings::k_inf_check = 10 |
check infeasibility every k_inf_check iterations
◆ k_max_admm
| int ZonoOpt::OptSettings::k_max_admm = 5000 |
◆ k_max_bnb
| int ZonoOpt::OptSettings::k_max_bnb = static_cast<int>(1e5) |
max number of branch-and-bound iterations
◆ max_nodes
| int ZonoOpt::OptSettings::max_nodes = static_cast<int>(1e5) |
terminate if more than this many nodes are in branch and bound queue
◆ n_threads_bnb
| int ZonoOpt::OptSettings::n_threads_bnb = 4 |
max threads for branch and bound
◆ polish
| bool ZonoOpt::OptSettings::polish = true |
flag to perform solution polishing
◆ rho
admm penalty parameter, higher prioritizes feasibility during iterations, lower prioritizes optimality
◆ search_mode
| int ZonoOpt::OptSettings::search_mode = 0 |
0: best first, 1: best dive
◆ t_max
| double ZonoOpt::OptSettings::t_max = std::numeric_limits<double>::max() |
max time for optimization
◆ use_interval_contractor
| bool ZonoOpt::OptSettings::use_interval_contractor = true |
flag to use interval contractor for constraint tightening / implication
◆ verbose
| bool ZonoOpt::OptSettings::verbose = false |
display optimization progress
◆ verbosity_interval
| int ZonoOpt::OptSettings::verbosity_interval = 100 |
print every verbose_interval iterations
The documentation for this struct was generated from the following file: