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
10
namespace
slp {
11
15
struct
SLEIPNIR_DLLEXPORT
Options
{
17
double
tolerance = 1e-8;
18
20
int
max_iterations = 5000;
21
23
std::chrono::duration<double> timeout{
24
std::numeric_limits<double>::infinity()};
25
32
bool
feasible_ipm =
false
;
33
91
bool
diagnostics =
false
;
92
97
bool
spy =
false
;
98
};
99
100
}
// namespace slp
slp::Options
Definition
options.hpp:15
include
sleipnir
optimization
solver
options.hpp
Generated on Thu Apr 17 2025 05:36:22 for Sleipnir C++ API by
1.9.8