proxsuite
0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
prints.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
6
#ifndef PROXSUITE_PROXQP_UTILS_PRINTS_HPP
7
#define PROXSUITE_PROXQP_UTILS_PRINTS_HPP
8
9
#include <iostream>
10
11
namespace
proxsuite
{
12
namespace
proxqp
{
13
14
inline
void
15
print_line
()
16
{
17
std::string the_line =
"-----------------------------------------------------"
18
"--------------------------------------------\0"
;
19
std::cout << the_line <<
"\n"
<< std::endl;
20
}
21
22
inline
void
23
print_header
()
24
{
25
std::cout <<
"iter objective pri res dua res mu_in \n"
26
<< std::endl;
27
}
28
29
inline
void
30
print_preambule
()
31
{
32
print_line
();
33
std::cout
34
<<
" ProxQP - Primal-Dual Proximal QP "
35
"Solver\n"
36
<<
" (c) Antoine Bambade, Sarah El Kazdadi, Fabian Schramm, Adrien "
37
"Taylor, and "
38
"Justin Carpentier\n"
39
<<
" Inria Paris 2022 \n"
40
<< std::endl;
41
print_line
();
42
}
43
44
}
// end namespace proxqp
45
}
// end namespace proxsuite
46
47
#endif
/* end of include guard PROXSUITE_PROXQP_UTILS_PRINTS_HPP */
proxsuite::proxqp
Definition
backward_data.hpp:16
proxsuite::proxqp::print_line
void print_line()
Definition
prints.hpp:15
proxsuite::proxqp::print_header
void print_header()
Definition
prints.hpp:23
proxsuite::proxqp::print_preambule
void print_preambule()
Definition
prints.hpp:30
proxsuite
Definition
common.hpp:14
include
proxsuite
proxqp
utils
prints.hpp
Generated by
1.10.0