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
8namespace convex {
9
13template <linalg::VectorContainer Var, linalg::VectorContainer ConeVar,
14 linalg::VectorContainer NuVar>
16 using T = linalg::vector_element_t<Var>;
17
18 Var rd{};
19 ConeVar rp{};
20 NuVar req{};
24};
25
26} // namespace convex
Residual state bundle for a PD-IPM iterate.
ConeVar rp
primal residual
linalg::vector_element_t< Var > T
NuVar req
equality residual