proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I > Struct Template Reference

#include <proxsuite/proxqp/sparse/preconditioner/ruiz.hpp>

Collaboration diagram for proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >:
[legend]

Public Member Functions

 RuizEquilibration (isize n_, isize n_eq_in, T epsilon_=T(1e-3), i64 max_iter_=10, Symmetry sym_=Symmetry::UPPER, std::ostream *logger=nullptr)
 
void scale_qp_in_place (QpViewMut< T, I > qp, bool execute_preconditioner, bool preconditioning_for_infeasible_problems, const isize max_iter, const T epsilon, proxsuite::linalg::veg::dynstack::DynStackMut stack)
 
void scale_primal_in_place (VectorViewMut< T > primal) const
 
void scale_dual_in_place (VectorViewMut< T > dual)
 
void scale_dual_in_place_eq (VectorViewMut< T > dual) const
 
void scale_dual_in_place_in (VectorViewMut< T > dual) const
 
void unscale_primal_in_place (VectorViewMut< T > primal) const
 
void unscale_dual_in_place (VectorViewMut< T > dual) const
 
void unscale_dual_in_place_eq (VectorViewMut< T > dual) const
 
void unscale_dual_in_place_in (VectorViewMut< T > dual) const
 
void scale_primal_residual_in_place (VectorViewMut< T > primal) const
 
void scale_primal_residual_in_place_eq (VectorViewMut< T > primal_eq) const
 
void scale_primal_residual_in_place_in (VectorViewMut< T > primal_in) const
 
void scale_dual_residual_in_place (VectorViewMut< T > dual) const
 
void unscale_primal_residual_in_place (VectorViewMut< T > primal) const
 
void unscale_primal_residual_in_place_eq (VectorViewMut< T > primal_eq) const
 
void unscale_primal_residual_in_place_in (VectorViewMut< T > primal_in) const
 
void unscale_dual_residual_in_place (VectorViewMut< T > dual) const
 

Static Public Member Functions

static auto scale_qp_in_place_req (proxsuite::linalg::veg::Tag< T > tag, isize n, isize n_eq, isize n_in) -> proxsuite::linalg::veg::dynstack::StackReq
 

Public Attributes

Vec< T > delta
 
isize n
 
c
 
epsilon
 
i64 max_iter
 
Symmetry sym
 
std::ostream * logger_ptr = nullptr
 

Detailed Description

template<typename T, typename I>
struct proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >

Definition at line 335 of file ruiz.hpp.

Constructor & Destructor Documentation

◆ RuizEquilibration()

template<typename T , typename I >
proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::RuizEquilibration ( isize n_,
isize n_eq_in,
T epsilon_ = T(1e-3),
i64 max_iter_ = 10,
Symmetry sym_ = Symmetry::UPPER,
std::ostream * logger = nullptr )
inline

Definition at line 346 of file ruiz.hpp.

Member Function Documentation

◆ scale_qp_in_place_req()

template<typename T , typename I >
static auto proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_qp_in_place_req ( proxsuite::linalg::veg::Tag< T > tag,
isize n,
isize n_eq,
isize n_in ) -> proxsuite::linalg::veg::dynstack::StackReq
inlinestatic

Definition at line 363 of file ruiz.hpp.

◆ scale_qp_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_qp_in_place ( QpViewMut< T, I > qp,
bool execute_preconditioner,
bool preconditioning_for_infeasible_problems,
const isize max_iter,
const T epsilon,
proxsuite::linalg::veg::dynstack::DynStackMut stack )
inline

Definition at line 373 of file ruiz.hpp.

◆ scale_primal_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_primal_in_place ( VectorViewMut< T > primal) const
inline

Definition at line 491 of file ruiz.hpp.

◆ scale_dual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_dual_in_place ( VectorViewMut< T > dual)
inline

Definition at line 495 of file ruiz.hpp.

◆ scale_dual_in_place_eq()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_dual_in_place_eq ( VectorViewMut< T > dual) const
inline

Definition at line 501 of file ruiz.hpp.

◆ scale_dual_in_place_in()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_dual_in_place_in ( VectorViewMut< T > dual) const
inline

Definition at line 507 of file ruiz.hpp.

◆ unscale_primal_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_primal_in_place ( VectorViewMut< T > primal) const
inline

Definition at line 513 of file ruiz.hpp.

◆ unscale_dual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_dual_in_place ( VectorViewMut< T > dual) const
inline

Definition at line 517 of file ruiz.hpp.

◆ unscale_dual_in_place_eq()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_dual_in_place_eq ( VectorViewMut< T > dual) const
inline

Definition at line 523 of file ruiz.hpp.

◆ unscale_dual_in_place_in()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_dual_in_place_in ( VectorViewMut< T > dual) const
inline

Definition at line 530 of file ruiz.hpp.

◆ scale_primal_residual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_primal_residual_in_place ( VectorViewMut< T > primal) const
inline

Definition at line 536 of file ruiz.hpp.

◆ scale_primal_residual_in_place_eq()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_primal_residual_in_place_eq ( VectorViewMut< T > primal_eq) const
inline

Definition at line 541 of file ruiz.hpp.

◆ scale_primal_residual_in_place_in()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_primal_residual_in_place_in ( VectorViewMut< T > primal_in) const
inline

Definition at line 546 of file ruiz.hpp.

◆ scale_dual_residual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::scale_dual_residual_in_place ( VectorViewMut< T > dual) const
inline

Definition at line 551 of file ruiz.hpp.

◆ unscale_primal_residual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_primal_residual_in_place ( VectorViewMut< T > primal) const
inline

Definition at line 555 of file ruiz.hpp.

◆ unscale_primal_residual_in_place_eq()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_primal_residual_in_place_eq ( VectorViewMut< T > primal_eq) const
inline

Definition at line 559 of file ruiz.hpp.

◆ unscale_primal_residual_in_place_in()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_primal_residual_in_place_in ( VectorViewMut< T > primal_in) const
inline

Definition at line 564 of file ruiz.hpp.

◆ unscale_dual_residual_in_place()

template<typename T , typename I >
void proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::unscale_dual_residual_in_place ( VectorViewMut< T > dual) const
inline

Definition at line 569 of file ruiz.hpp.

Member Data Documentation

◆ delta

template<typename T , typename I >
Vec<T> proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::delta

Definition at line 337 of file ruiz.hpp.

◆ n

template<typename T , typename I >
isize proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::n

Definition at line 338 of file ruiz.hpp.

◆ c

template<typename T , typename I >
T proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::c

Definition at line 339 of file ruiz.hpp.

◆ epsilon

template<typename T , typename I >
T proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::epsilon

Definition at line 340 of file ruiz.hpp.

◆ max_iter

template<typename T , typename I >
i64 proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::max_iter

Definition at line 341 of file ruiz.hpp.

◆ sym

template<typename T , typename I >
Symmetry proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::sym

Definition at line 342 of file ruiz.hpp.

◆ logger_ptr

template<typename T , typename I >
std::ostream* proxsuite::proxqp::sparse::preconditioner::RuizEquilibration< T, I >::logger_ptr = nullptr

Definition at line 344 of file ruiz.hpp.


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