akreon-convex
Typed convex modeling, conic canonicalization, and primal-dual optimization in C++26.
Loading...
Searching...
No Matches
convex::PdIpmIterTrace< T, NumCones > Struct Template Reference

Outer PD-IPM iteration diagnostics. More...

#include <pd_ipm_trace.hpp>

Public Member Functions

constexpr void reset ()
 reset
 

Public Attributes

T mu {}
 public member vars
 
T alpha_x {}
 Max primal cone step.
 
T alpha_y {}
 Max dual cone step.
 
T rd_norm {}
 ||dual residual||_2.
 
T rp_norm {}
 ||cone/primal residual||_2.
 
T req_norm {}
 ||equality residual||_2.
 
T pz_norm {}
 ||Newton step in z||_2.
 
T pnu_norm {}
 ||Newton step in nu||_2.
 
T px_norm {}
 ||Newton step in x||_2.
 
T py_norm {}
 ||Newton step in y||_2.
 
PdIpmStepTrace< T, NumCones > predictor {}
 predictor pd ipm trace
 
PdIpmStepTrace< T, NumCones > corrector {}
 corrector pd ipm trace
 
config::SolverResult tag {}
 tag of solver result
 
linalg::NumericalEvent event {}
 event of reported numerical result
 
bool stalled {}
 tag whether or not its been stalled
 

Detailed Description

template<linalg::Field T, std::size_t NumCones>
struct convex::PdIpmIterTrace< T, NumCones >

Outer PD-IPM iteration diagnostics.

This is intentionally global/iteration-level. Per-cone scalar diagnostics are stored under predictor and corrector.

Definition at line 71 of file pd_ipm_trace.hpp.

Member Function Documentation

◆ reset()

template<linalg::Field T, std::size_t NumCones>
constexpr void convex::PdIpmIterTrace< T, NumCones >::reset ( )
inlineconstexpr

reset

Returns
void

Definition at line 78 of file pd_ipm_trace.hpp.

Member Data Documentation

◆ alpha_x

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::alpha_x {}

Max primal cone step.

Definition at line 82 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ alpha_y

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::alpha_y {}

Max dual cone step.

Definition at line 83 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ corrector

template<linalg::Field T, std::size_t NumCones>
PdIpmStepTrace<T, NumCones> convex::PdIpmIterTrace< T, NumCones >::corrector {}

corrector pd ipm trace

Definition at line 93 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ event

template<linalg::Field T, std::size_t NumCones>
linalg::NumericalEvent convex::PdIpmIterTrace< T, NumCones >::event {}

event of reported numerical result

Definition at line 96 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ mu

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::mu {}

public member vars

Normalized duality gap for the full iterate.

Definition at line 81 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ pnu_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::pnu_norm {}

||Newton step in nu||_2.

Definition at line 88 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ predictor

template<linalg::Field T, std::size_t NumCones>
PdIpmStepTrace<T, NumCones> convex::PdIpmIterTrace< T, NumCones >::predictor {}

predictor pd ipm trace

Definition at line 92 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ px_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::px_norm {}

||Newton step in x||_2.

Definition at line 89 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ py_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::py_norm {}

||Newton step in y||_2.

Definition at line 90 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ pz_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::pz_norm {}

||Newton step in z||_2.

Definition at line 87 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ rd_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::rd_norm {}

||dual residual||_2.

Definition at line 84 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ req_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::req_norm {}

||equality residual||_2.

Definition at line 86 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ rp_norm

template<linalg::Field T, std::size_t NumCones>
T convex::PdIpmIterTrace< T, NumCones >::rp_norm {}

||cone/primal residual||_2.

Definition at line 85 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ stalled

template<linalg::Field T, std::size_t NumCones>
bool convex::PdIpmIterTrace< T, NumCones >::stalled {}

tag whether or not its been stalled

Definition at line 97 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().

◆ tag

template<linalg::Field T, std::size_t NumCones>
config::SolverResult convex::PdIpmIterTrace< T, NumCones >::tag {}

tag of solver result

Definition at line 95 of file pd_ipm_trace.hpp.

Referenced by convex::debug::append_iter_trace().


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