proxsuite-nlp  0.11.0
A primal-dual augmented Lagrangian-type solver for nonlinear programming on manifolds.
 
Loading...
Searching...
No Matches
logger.hpp File Reference
#include <vector>
#include <array>
#include <fmt/color.h>
#include <fmt/ranges.h>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  proxsuite::nlp::LogRecord
 
struct  proxsuite::nlp::BaseLogger
 A logging utility. More...
 

Namespaces

namespace  proxsuite
 Main package namespace.
 

Variables

constexpr int proxsuite::nlp::NUM_KEYS = 10
 
const std::array< std::string, NUM_KEYS > proxsuite::nlp::BASIC_KEYS
 
constexpr char proxsuite::nlp::int_format [] = "{: >{}d}"
 
constexpr char proxsuite::nlp::sci_format [] = "{: > {}.{}e}"
 
constexpr char proxsuite::nlp::dbl_format [] = "{: > {}.{}g}"
 

Detailed Description

Definition in file logger.hpp.

Variable Documentation

◆ NUM_KEYS

int proxsuite::nlp::NUM_KEYS = 10
constexpr

Definition at line 13 of file logger.hpp.

◆ BASIC_KEYS

const std::array<std::string, NUM_KEYS> proxsuite::nlp::BASIC_KEYS
Initial value:
= {
"iter", "step_size", "inner_crit", "prim_err", "dual_err",
"xreg", "dphi0", "merit", "dM", "al_iter"}

Definition at line 14 of file logger.hpp.

◆ int_format

char proxsuite::nlp::int_format[] = "{: >{}d}"
constexpr

Definition at line 17 of file logger.hpp.

◆ sci_format

char proxsuite::nlp::sci_format[] = "{: > {}.{}e}"
constexpr

Definition at line 18 of file logger.hpp.

◆ dbl_format

char proxsuite::nlp::dbl_format[] = "{: > {}.{}g}"
constexpr

Definition at line 19 of file logger.hpp.