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
13
struct
SLEIPNIR_DLLEXPORT
Options
{
15
double
tolerance = 1
e
-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
slp::IntrusiveSharedPtr
Definition
intrusive_shared_ptr.hpp:27
slp::Options
Solver options.
Definition
options.hpp:13
include
sleipnir
optimization
solver
options.hpp
Generated on Wed Dec 10 2025 22:14:43 for Sleipnir C++ API by
1.9.8