#include <qpalm/types.h>
Settings struct.
- Examples
- examples/c/qpalm_demo.c.
Definition at line 124 of file types.h.
◆ max_iter
c_int QPALMSettings::max_iter |
◆ inner_max_iter
c_int QPALMSettings::inner_max_iter |
maximum number of iterations per subproblem
- Note
- Assumption: \(>0\)
Definition at line 126 of file types.h.
◆ eps_abs
◆ eps_rel
◆ eps_abs_in
intermediate absolute convergence tolerance
- Note
- Assumption: \(>=0\), either eps_abs_in or eps_rel_in must be \(>0\)
Definition at line 129 of file types.h.
◆ eps_rel_in
intermediate relative convergence tolerance
- Note
- Assumption: \(>=0\), either eps_abs_in or eps_rel_in must be \(>0\)
Definition at line 130 of file types.h.
◆ rho
tolerance scaling factor
- Note
- Assumption: \(0<\rho<1\)
Definition at line 131 of file types.h.
◆ eps_prim_inf
c_float QPALMSettings::eps_prim_inf |
primal infeasibility tolerance
- Note
- Assumption: \(>=0\)
Definition at line 132 of file types.h.
◆ eps_dual_inf
c_float QPALMSettings::eps_dual_inf |
dual infeasibility tolerance
- Note
- Assumption: \(>=0\)
Definition at line 133 of file types.h.
◆ theta
penalty update criterion parameter
- Note
- Assumption: \(<=1\)
Definition at line 134 of file types.h.
◆ delta
penalty update factor
- Note
- Assumption: \(>1\)
Definition at line 135 of file types.h.
◆ sigma_max
penalty factor cap
- Note
- Assumption: \(>0\)
Definition at line 136 of file types.h.
◆ sigma_init
initial penalty parameter (guideline)
- Note
- Assumption: \(>0\)
Definition at line 137 of file types.h.
◆ proximal
c_int QPALMSettings::proximal |
boolean, use proximal method of multipliers or not
- Note
- Assumption: \(\in \{0,1\}\)
Definition at line 138 of file types.h.
◆ gamma_init
initial proximal penalty parameter
- Note
- Assumption: \(>0\)
Definition at line 139 of file types.h.
◆ gamma_upd
proximal penalty update factor
- Note
- Assumption: \(>=1\)
Definition at line 140 of file types.h.
◆ gamma_max
proximal penalty parameter cap
- Note
- Assumption: \(>=\gamma_\textrm{init}\)
Definition at line 141 of file types.h.
◆ scaling
c_int QPALMSettings::scaling |
scaling iterations, if 0 then scaling is disabled
- Note
- Assumption: \(>=0\)
Definition at line 142 of file types.h.
◆ nonconvex
c_int QPALMSettings::nonconvex |
boolean, indicates whether the QP is nonconvex
- Note
- Assumption: \(\in \{0,1\}\)
Definition at line 143 of file types.h.
◆ verbose
c_int QPALMSettings::verbose |
boolean, write out progress
- Note
- Assumption: \(\in \{0,1\}\)
Definition at line 144 of file types.h.
◆ print_iter
c_int QPALMSettings::print_iter |
frequency of printing
- Note
- Assumption: \(>0\)
Definition at line 145 of file types.h.
◆ warm_start
c_int QPALMSettings::warm_start |
boolean, warm start
- Note
- Assumption: \(\in \{0,1\}\)
Definition at line 146 of file types.h.
◆ reset_newton_iter
c_int QPALMSettings::reset_newton_iter |
frequency of performing a complete Cholesky factorization
- Note
- Assumption: \(>0\)
Definition at line 147 of file types.h.
◆ enable_dual_termination
c_int QPALMSettings::enable_dual_termination |
boolean, enable termination based on dual objective (useful in branch and bound)
- Note
- Assumption: \(\in \{0,1\}\)
Definition at line 148 of file types.h.
◆ dual_objective_limit
c_float QPALMSettings::dual_objective_limit |
termination value for the dual objective (useful in branch and bound)
- Note
- Assumption: none
Definition at line 149 of file types.h.
◆ time_limit
time limit
- Note
- Assumption: \(>0\)
Definition at line 150 of file types.h.
◆ ordering
c_int QPALMSettings::ordering |
ordering method for factorization
Definition at line 151 of file types.h.
◆ factorization_method
c_int QPALMSettings::factorization_method |
factorize KKT or Schur complement
Definition at line 152 of file types.h.
◆ max_rank_update
c_int QPALMSettings::max_rank_update |
maximum rank for the sparse factorization update
Definition at line 153 of file types.h.
◆ max_rank_update_fraction
c_float QPALMSettings::max_rank_update_fraction |
maximum rank (relative to n+m) for the factorization update
Definition at line 154 of file types.h.
The documentation for this struct was generated from the following file: