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
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
slp::Options
Definition
options.hpp:15
include
sleipnir
optimization
solver
options.hpp
Generated on Fri Mar 14 2025 19:37:46 for Sleipnir C++ API by
1.9.8