qpmad
Eigen-based C++ QP solver.
Loading...
Searching...
No Matches
solver_parameters.h
Go to the documentation of this file.
1/**
2 @file
3 @author Alexander Sherikov
4
5 @copyright 2017 Alexander Sherikov. Licensed under the Apache License,
6 Version 2.0. (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7
8 @brief
9*/
10
11#pragma once
12
13namespace qpmad
14{
16 {
17 public:
19 {
24 // HESSIAN_DIAGONAL = 1,
25 };
26
27
28 public:
30
31 double tolerance_;
32
33 std::ptrdiff_t max_iter_;
34
36
37
38 public:
40 {
41 // default hessian type
43
44 tolerance_ = 1e-12;
45
46 // -1 -> unlimited
47 max_iter_ = -1;
48
49 // this operation requires an extra copy and is not needed for
50 // problems with varying Hessian, but allows skipping Hessian
51 // inversion otherwise.
53 }
54 };
55} // namespace qpmad