akreon-convex
Typed convex modeling, conic canonicalization, and primal-dual optimization in C++26.
Loading...
Searching...
No Matches
residual_state.hpp
Go to the documentation of this file.
1
/*
2
* Copyright © 2025-2026 Akreon LLC
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#pragma once
7
8
namespace
convex
{
9
13
template
<linalg::VectorContainer Var, linalg::VectorContainer ConeVar,
14
linalg::VectorContainer NuVar>
15
struct
ResidualState
{
16
using
T
= linalg::vector_element_t<Var>;
17
18
Var
rd
{};
19
ConeVar
rp
{};
20
NuVar
req
{};
21
T
rd_norm
{};
22
T
rp_norm
{};
23
T
req_norm
{};
24
};
25
26
}
// namespace convex
convex
Definition
atom.hpp:12
convex::ResidualState
Residual state bundle for a PD-IPM iterate.
Definition
residual_state.hpp:15
convex::ResidualState::rp
ConeVar rp
primal residual
Definition
residual_state.hpp:19
convex::ResidualState::T
linalg::vector_element_t< Var > T
Definition
residual_state.hpp:16
convex::ResidualState::rd
Var rd
dual residual
Definition
residual_state.hpp:18
convex::ResidualState::rp_norm
T rp_norm
||rp||_2
Definition
residual_state.hpp:22
convex::ResidualState::req_norm
T req_norm
||req||_2
Definition
residual_state.hpp:23
convex::ResidualState::rd_norm
T rd_norm
||rd||_2
Definition
residual_state.hpp:21
convex::ResidualState::req
NuVar req
equality residual
Definition
residual_state.hpp:20
include
akreon
convex
solver
residual_state.hpp
Generated by
1.9.8