#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/kkt-error.hpp>
#include <alpaqa/util/print.hpp>
#include <alpaqa/util/span.hpp>
#include <guanaqo/demangled-typename.hpp>
#include <guanaqo/string-util.hpp>
#include <alpaqa-version.h>
#include "fista-driver.hpp"
#include "ipopt-driver.hpp"
#include "lbfgsb-driver.hpp"
#include "options.hpp"
#include "panoc-driver.hpp"
#include "pantr-driver.hpp"
#include "param-complete.hpp"
#include "qpalm-driver.hpp"
#include "results.hpp"
#include "solver-driver.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>
Go to the source code of this file.
|
void | print_usage (const char *a0) |
void | print_version () |
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 | get_output_paths (Options &opts) |
auto | get_problem_path (const char *const *argv) |
void | print_problem_description (std::ostream &os, LoadedProblem &problem, bool show_funcs) |
auto | get_solver_builder (Options &opts) |
void | store_solution (const fs::path &sol_output_dir, std::ostream &os, BenchmarkResults &results, auto &solver, const Options &opts, std::span< const char * > argv) |
int | main (int argc, const char *argv[]) |
◆ print_usage()
void print_usage |
( |
const char * | a0 | ) |
|
◆ print_version()
◆ split_once()
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 188 of file alpaqa-driver.cpp.
◆ get_output_stream()
std::ostream & get_output_stream |
( |
Options & | opts, |
|
|
std::ofstream & | out_fstream ) |
◆ get_output_paths()
std::string get_output_paths |
( |
Options & | opts | ) |
|
◆ get_problem_path()
auto get_problem_path |
( |
const char *const * | argv | ) |
|
◆ print_problem_description()
void print_problem_description |
( |
std::ostream & | os, |
|
|
LoadedProblem & | problem, |
|
|
bool | show_funcs ) |
◆ get_solver_builder()
auto get_solver_builder |
( |
Options & | opts | ) |
|
◆ store_solution()
void store_solution |
( |
const fs::path & | sol_output_dir, |
|
|
std::ostream & | os, |
|
|
BenchmarkResults & | results, |
|
|
auto & | solver, |
|
|
const Options & | opts, |
|
|
std::span< const char * > | argv ) |
◆ main()
int main |
( |
int | argc, |
|
|
const char * | argv[] ) |
◆ docs