#include <alpaqa/config/config.hpp>#include <alpaqa/problem/kkt-error.hpp>#include <alpaqa/util/demangled-typename.hpp>#include <alpaqa/util/print.hpp>#include <alpaqa-version.h>#include "ipopt-driver.hpp"#include "lbfgsb-driver.hpp"#include "options.hpp"#include "panoc-driver.hpp"#include "pantr-driver.hpp"#include "qpalm-driver.hpp"#include "results.hpp"#include "solver-driver.hpp"#include "util.hpp"#include <algorithm>#include <filesystem>#include <fstream>#include <iostream>#include <random>#include <span>#include <stdexcept>#include <string>#include <string_view>#include <tuple>#include <type_traits>
Include dependency graph for alpaqa-driver.cpp:Go to the source code of this file.
Functions | |
| void | print_usage (const char *a0) |
| auto | split_once (std::string_view s, char tok='.') |
Split the string s on the first occurrence of tok. | |
| std::ostream & | get_output_stream (Options &opts, std::ofstream &out_fstream) |
| std::string_view | get_output_paths (Options &opts) |
| auto | get_problem_path (const char *const *argv) |
| auto | get_solver_builder (Options &opts) |
| void | store_solution (const fs::path &sol_output_dir, std::ostream &os, BenchmarkResults &results, std::span< const char * > argv) |
| int | main (int argc, const char *argv[]) |
| void print_usage | ( | const char * | a0 | ) |
| auto split_once | ( | std::string_view | s, |
| char | tok = '.' |
||
| ) |
Split the string s on the first occurrence of tok.
Returns ("", s) if tok was not found.
Definition at line 151 of file alpaqa-driver.cpp.
Here is the caller graph for this function:| std::ostream & get_output_stream | ( | Options & | opts, |
| std::ofstream & | out_fstream | ||
| ) |
Definition at line 160 of file alpaqa-driver.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string_view get_output_paths | ( | Options & | opts | ) |
Definition at line 169 of file alpaqa-driver.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| auto get_problem_path | ( | const char *const * | argv | ) |
Definition at line 175 of file alpaqa-driver.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| auto get_solver_builder | ( | Options & | opts | ) |
Definition at line 186 of file alpaqa-driver.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void store_solution | ( | const fs::path & | sol_output_dir, |
| std::ostream & | os, | ||
| BenchmarkResults & | results, | ||
| std::span< const char * > | argv | ||
| ) |
Definition at line 206 of file alpaqa-driver.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Definition at line 237 of file alpaqa-driver.cpp.
Here is the call graph for this function: