proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
status.hpp
Go to the documentation of this file.
1//
2// Copyright (c) 2022 INRIA
3//
7#ifndef PROXSUITE_PROXQP_CONSTANTS_HPP
8#define PROXSUITE_PROXQP_CONSTANTS_HPP
9
12
13namespace proxsuite {
14namespace proxqp {
15
16// SOLVER STATUS
17enum struct QPSolverOutput
18{
19 PROXQP_SOLVED, // the problem is solved.
20 PROXQP_MAX_ITER_REACHED, // the maximum number of iterations has been reached.
21 PROXQP_PRIMAL_INFEASIBLE, // the problem is primal infeasible.
22 PROXQP_SOLVED_CLOSEST_PRIMAL_FEASIBLE, // the closest (in L2 sense) feasible
23 // problem is solved.
24 PROXQP_DUAL_INFEASIBLE, // the problem is dual infeasible.
25 PROXQP_NOT_RUN // the solver has not been run yet.
26};
27// INITIAL GUESS STATUS
36// PRECONDITIONER STATUS
38{
39 EXECUTE, // initialize or update with qp in entry
40 KEEP, // keep previous preconditioner (for update method)
41 IDENTITY // do not execute, hence use identity preconditioner (for init
42 // method)
43};
44
45} // namespace proxqp
46} // namespace proxsuite
47
48#endif /* end of include guard PROXSUITE_PROXQP_CONSTANTS_HPP */