proxsuite
0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
wrapper.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
8
#ifndef PROXSUITE_SERIALIZATION_WRAPPER_HPP
9
#define PROXSUITE_SERIALIZATION_WRAPPER_HPP
10
11
#include <cereal/cereal.hpp>
12
#include <
proxsuite/proxqp/dense/wrapper.hpp
>
13
14
namespace
cereal
{
15
16
template
<
class
Archive,
typename
T>
17
void
18
serialize
(Archive& archive,
proxsuite::proxqp::dense::QP<T>
& qp)
19
{
20
archive(
21
CEREAL_NVP(qp.
model
), CEREAL_NVP(qp.
results
), CEREAL_NVP(qp.
settings
));
22
}
// CEREAL_NVP(qp.ruiz), ,CEREAL_NVP(qp.ruiz)
23
}
// namespace cereal
24
#endif
/* end of include guard PROXSUITE_SERIALIZATION_WRAPPER_HPP */
cereal
Definition
eigen.hpp:16
cereal::serialize
void serialize(Archive &archive, proxsuite::proxqp::dense::Model< T > &model)
Definition
model.hpp:18
wrapper.hpp
proxsuite::proxqp::dense::QP
Definition
wrapper.hpp:116
proxsuite::proxqp::dense::QP::model
Model< T > model
Definition
wrapper.hpp:127
proxsuite::proxqp::dense::QP::settings
Settings< T > settings
Definition
wrapper.hpp:126
proxsuite::proxqp::dense::QP::results
Results< T > results
Definition
wrapper.hpp:125
include
proxsuite
serialization
wrapper.hpp
Generated by
1.10.0