bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::maths::optimization::QPSettings Struct Reference

The settings of QPSolver. More...

#include <qp_solver.h>

Public Attributes

real_t rho {0.1}
 the step of the dual update; equality rows use 1000 rho
real_t sigma {1.0e-6}
 a small regularisation of the x update
real_t alpha {1.6}
 over-relaxation, in (0, 2)
real_t eps_abs {1.0e-4}
 absolute tolerance of the residuals
real_t eps_rel {1.0e-4}
 relative tolerance of the residuals
uint_t max_iterations {4000}
 iterations at most
uint_t check_every {10}
 iterations between checks of the residuals
bool adaptive_rho {true}
 change rho to balance the residuals, as OSQP does
uint_t scaling_iterations {10}
 iterations of the Ruiz equilibration; 0 for none

Detailed Description

The settings of QPSolver.

Member Data Documentation

◆ adaptive_rho

bool bitsim::maths::optimization::QPSettings::adaptive_rho {true}

change rho to balance the residuals, as OSQP does

◆ alpha

real_t bitsim::maths::optimization::QPSettings::alpha {1.6}

over-relaxation, in (0, 2)

◆ check_every

uint_t bitsim::maths::optimization::QPSettings::check_every {10}

iterations between checks of the residuals

◆ eps_abs

real_t bitsim::maths::optimization::QPSettings::eps_abs {1.0e-4}

absolute tolerance of the residuals

◆ eps_rel

real_t bitsim::maths::optimization::QPSettings::eps_rel {1.0e-4}

relative tolerance of the residuals

◆ max_iterations

uint_t bitsim::maths::optimization::QPSettings::max_iterations {4000}

iterations at most

◆ rho

real_t bitsim::maths::optimization::QPSettings::rho {0.1}

the step of the dual update; equality rows use 1000 rho

◆ scaling_iterations

uint_t bitsim::maths::optimization::QPSettings::scaling_iterations {10}

iterations of the Ruiz equilibration; 0 for none

◆ sigma

real_t bitsim::maths::optimization::QPSettings::sigma {1.0e-6}

a small regularisation of the x update


The documentation for this struct was generated from the following file: