Sleipnir C++ API
Loading...
Searching...
No Matches
options.hpp
1// Copyright (c) Sleipnir contributors
2
3#pragma once
4
5#include <chrono>
6#include <limits>
7
8#include "sleipnir/util/symbol_exports.hpp"
9
10namespace slp {
11
15struct SLEIPNIR_DLLEXPORT Options {
17 double tolerance = 1e-8;
18
20 int max_iterations = 5000;
21
26 double acceptable_tolerance = 1e-6;
27
30 int max_acceptable_iterations = 15;
31
33 std::chrono::duration<double> timeout{
34 std::numeric_limits<double>::infinity()};
35
42 bool feasible_ipm = false;
43
101 bool diagnostics = false;
102
107 bool spy = false;
108};
109
110} // namespace slp
Definition options.hpp:15