proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
|
#include <proxsuite/proxqp/dense/wrapper.hpp>
Public Member Functions | |
QP (isize _dim, isize _n_eq, isize _n_in, bool _box_constraints, proxsuite::proxqp::HessianType _hessian_type, DenseBackend _dense_backend) | |
QP (isize _dim, isize _n_eq, isize _n_in, bool _box_constraints, DenseBackend _dense_backend, proxsuite::proxqp::HessianType _hessian_type) | |
QP (isize _dim, isize _n_eq, isize _n_in, bool _box_constraints, proxsuite::proxqp::HessianType _hessian_type) | |
QP (isize _dim, isize _n_eq, isize _n_in, bool _box_constraints, DenseBackend _dense_backend) | |
QP (isize _dim, isize _n_eq, isize _n_in, bool _box_constraints) | |
QP (isize _dim, isize _n_eq, isize _n_in, proxsuite::proxqp::HessianType _hessian_type) | |
QP (isize _dim, isize _n_eq, isize _n_in) | |
bool | is_box_constrained () const |
DenseBackend | which_dense_backend () const |
HessianType | which_hessian_type () const |
void | init (optional< MatRef< T > > H, optional< VecRef< T > > g, optional< MatRef< T > > A, optional< VecRef< T > > b, optional< MatRef< T > > C, optional< VecRef< T > > l, optional< VecRef< T > > u, bool compute_preconditioner=true, optional< T > rho=nullopt, optional< T > mu_eq=nullopt, optional< T > mu_in=nullopt, optional< T > manual_minimal_H_eigenvalue=nullopt) |
void | init (optional< MatRef< T > > H, optional< VecRef< T > > g, optional< MatRef< T > > A, optional< VecRef< T > > b, optional< MatRef< T > > C, optional< VecRef< T > > l, optional< VecRef< T > > u, optional< VecRef< T > > l_box, optional< VecRef< T > > u_box, bool compute_preconditioner=true, optional< T > rho=nullopt, optional< T > mu_eq=nullopt, optional< T > mu_in=nullopt, optional< T > manual_minimal_H_eigenvalue=nullopt) |
void | update (optional< MatRef< T > > H, optional< VecRef< T > > g, optional< MatRef< T > > A, optional< VecRef< T > > b, optional< MatRef< T > > C, optional< VecRef< T > > l, optional< VecRef< T > > u, bool update_preconditioner=false, optional< T > rho=nullopt, optional< T > mu_eq=nullopt, optional< T > mu_in=nullopt, optional< T > manual_minimal_H_eigenvalue=nullopt) |
void | update (optional< MatRef< T > > H, optional< VecRef< T > > g, optional< MatRef< T > > A, optional< VecRef< T > > b, optional< MatRef< T > > C, optional< VecRef< T > > l, optional< VecRef< T > > u, optional< VecRef< T > > l_box, optional< VecRef< T > > u_box, bool update_preconditioner=false, optional< T > rho=nullopt, optional< T > mu_eq=nullopt, optional< T > mu_in=nullopt, optional< T > manual_minimal_H_eigenvalue=nullopt) |
void | solve () |
void | solve (optional< VecRef< T > > x, optional< VecRef< T > > y, optional< VecRef< T > > z) |
void | cleanup () |
Public Attributes | |
Results< T > | results |
Settings< T > | settings |
Model< T > | model |
Workspace< T > | work |
preconditioner::RuizEquilibration< T > | ruiz |
Definition at line 115 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_hessian_type | problem type (QP, LP, DIAGONAL) |
_box_constraints | specify that there are (or not) box constraints. |
_dense_backend | specify which factorization is used. |
Definition at line 140 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_hessian_type | problem type (QP, LP, DIAGONAL) |
_box_constraints | specify that there are (or not) box constraints. |
_dense_backend | specify which factorization is used. |
Definition at line 173 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_hessian_type | problem type (QP, LP, DIAGONAL) |
_box_constraints | specify that there are (or not) box constraints. |
Definition at line 205 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_hessian_type | problem type (QP, LP, DIAGONAL) |
_box_constraints | specify that there are (or not) box constraints. |
_dense_backend | specify which factorization is used. |
Definition at line 237 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_box_constraints | specify that there are (or not) box constraints. |
Definition at line 267 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
_hessian_type | specify that there are (or not) box constraints. |
Definition at line 293 of file wrapper.hpp.
|
inline |
Default constructor using QP model dimensions.
_dim | primal variable dimension. |
_n_eq | number of equality constraints. |
_n_in | number of inequality constraints. |
Definition at line 318 of file wrapper.hpp.
|
inline |
Definition at line 334 of file wrapper.hpp.
|
inline |
Definition at line 335 of file wrapper.hpp.
|
inline |
Definition at line 336 of file wrapper.hpp.
|
inline |
Setups the QP model (with dense matrix format) and equilibrates it if specified by the user.
H | quadratic cost input defining the QP model. |
g | linear cost input defining the QP model. |
A | equality constraint matrix input defining the QP model. |
b | equality constraint vector input defining the QP model. |
C | inequality constraint matrix input defining the QP model. |
l | lower inequality constraint vector input defining the QP model. |
u | upper inequality constraint vector input defining the QP model. |
compute_preconditioner | boolean parameter for executing or not the preconditioner. |
rho | proximal step size wrt primal variable. |
mu_eq | proximal step size wrt equality constrained multiplier. |
mu_in | proximal step size wrt inequality constrained multiplier. |
manual_minimal_H_eigenvalue | manual minimal eigenvalue proposed for H |
Definition at line 354 of file wrapper.hpp.
|
inline |
Setups the QP model (with dense matrix format) and equilibrates it if specified by the user.
H | quadratic cost input defining the QP model. |
g | linear cost input defining the QP model. |
A | equality constraint matrix input defining the QP model. |
b | equality constraint vector input defining the QP model. |
C | inequality constraint matrix input defining the QP model. |
l | lower inequality constraint vector input defining the QP model. |
u | upper inequality constraint vector input defining the QP model. |
l_box | lower box inequality constraint vector input defining the QP model. |
u_box | uppper box inequality constraint vector input defining the QP model. |
compute_preconditioner | boolean parameter for executing or not the preconditioner. |
rho | proximal step size wrt primal variable. |
mu_eq | proximal step size wrt equality constrained multiplier. |
mu_in | proximal step size wrt inequality constrained multiplier. |
manual_minimal_H_eigenvalue | manual minimal eigenvalue proposed for H |
Definition at line 520 of file wrapper.hpp.
|
inline |
Updates the QP model (with dense matrix format) and re-equilibrates it if specified by the user.
H | quadratic cost input defining the QP model. |
g | linear cost input defining the QP model. |
A | equality constraint matrix input defining the QP model. |
b | equality constraint vector input defining the QP model. |
C | inequality constraint matrix input defining the QP model. |
l | lower inequality constraint vector input defining the QP model. |
u | upper inequality constraint vector input defining the QP model. |
update_preconditioner | bool parameter for updating or not the preconditioner and the associated scaled model. |
rho | proximal step size wrt primal variable. |
mu_eq | proximal step size wrt equality constrained multiplier. |
mu_in | proximal step size wrt inequality constrained multiplier. |
manual_minimal_H_eigenvalue | manual minimal eigenvalue proposed for H |
Definition at line 723 of file wrapper.hpp.
|
inline |
Updates the QP model (with dense matrix format) and re-equilibrates it if specified by the user.
H | quadratic cost input defining the QP model. |
g | linear cost input defining the QP model. |
A | equality constraint matrix input defining the QP model. |
b | equality constraint vector input defining the QP model. |
C | inequality constraint matrix input defining the QP model. |
l | lower inequality constraint vector input defining the QP model. |
u | upper inequality constraint vector input defining the QP model. |
l_box | lower inequality constraint vector input defining the QP model. |
u_box | upper inequality constraint vector input defining the QP model. |
update_preconditioner | bool parameter for updating or not the preconditioner and the associated scaled model. |
rho | proximal step size wrt primal variable. |
mu_eq | proximal step size wrt equality constrained multiplier. |
mu_in | proximal step size wrt inequality constrained multiplier. |
manual_minimal_H_eigenvalue | manual minimal eigenvalue proposed for H |
Definition at line 831 of file wrapper.hpp.
|
inline |
Solves the QP problem using PRXOQP algorithm.
Definition at line 922 of file wrapper.hpp.
|
inline |
Solves the QP problem using PROXQP algorithm using a warm start.
x | primal warm start. |
y | dual equality warm start. |
z | dual inequality warm start. |
Definition at line 940 of file wrapper.hpp.
|
inline |
Clean-ups solver's results and workspace.
Definition at line 958 of file wrapper.hpp.
Results<T> proxsuite::proxqp::dense::QP< T >::results |
Definition at line 125 of file wrapper.hpp.
Settings<T> proxsuite::proxqp::dense::QP< T >::settings |
Definition at line 126 of file wrapper.hpp.
Model<T> proxsuite::proxqp::dense::QP< T >::model |
Definition at line 127 of file wrapper.hpp.
Workspace<T> proxsuite::proxqp::dense::QP< T >::work |
Definition at line 128 of file wrapper.hpp.
preconditioner::RuizEquilibration<T> proxsuite::proxqp::dense::QP< T >::ruiz |
Definition at line 129 of file wrapper.hpp.