alpaqa guanaqo
Nonconvex constrained optimization
Loading...
Searching...
No Matches
results.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/kkt-error.hpp>
#include <alpaqa/problem/ocproblem-counters.hpp>
#include <alpaqa/problem/problem-counters.hpp>
#include <alpaqa/util/print.hpp>
#include <bit>
#include <charconv>
#include <chrono>
#include <iomanip>
#include <map>
#include <numeric>
#include <random>
#include <string_view>
#include <variant>
#include "problem.hpp"
Include dependency graph for results.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SolverResults
struct  BenchmarkResults
struct  overloaded< Ts >

Namespaces

namespace  detail

Macros

#define EVAL(name)
#define EVAL(name)

Functions

std::string random_hex_string (auto &&rng)
template<class Clk>
auto timestamp_ms ()
void write_evaluations (std::ostream &os, const alpaqa::EvalCounter &evals)
void write_evaluations (std::ostream &os, const alpaqa::OCPEvalCounter &evals)
template<class... Ts>
 overloaded (Ts...) -> overloaded< Ts... >
void print_results (std::ostream &os, const BenchmarkResults &results)
void write_results (std::ostream &os, const BenchmarkResults &results)

Macro Definition Documentation

◆ EVAL [1/2]

#define EVAL ( name)
Value:
dict_elem(#name, evals.name)

◆ EVAL [2/2]

#define EVAL ( name)
Value:
dict_elem(#name, evals.name)

Function Documentation

◆ random_hex_string()

std::string random_hex_string ( auto && rng)
inline

Definition at line 53 of file results.hpp.

Here is the caller graph for this function:

◆ timestamp_ms()

template<class Clk>
auto timestamp_ms ( )

Definition at line 62 of file results.hpp.

Here is the caller graph for this function:

◆ write_evaluations() [1/2]

void write_evaluations ( std::ostream & os,
const alpaqa::EvalCounter & evals )
inline

Definition at line 69 of file results.hpp.

◆ write_evaluations() [2/2]

void write_evaluations ( std::ostream & os,
const alpaqa::OCPEvalCounter & evals )
inline

Definition at line 99 of file results.hpp.

◆ print_results()

void print_results ( std::ostream & os,
const BenchmarkResults & results )
inline

Definition at line 138 of file results.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_results()

void write_results ( std::ostream & os,
const BenchmarkResults & results )
inline

Definition at line 185 of file results.hpp.