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
13struct SLEIPNIR_DLLEXPORT Options {
15 double tolerance = 1e-8;
16
18 int max_iterations = 5000;
19
21 std::chrono::duration<double> timeout{
22 std::numeric_limits<double>::infinity()};
23
30 bool feasible_ipm = false;
31
89 bool diagnostics = false;
90};
91
92} // namespace slp
Definition intrusive_shared_ptr.hpp:27
Solver options.
Definition options.hpp:13