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
10
#include <
proxsuite/linalg/veg/type_traits/core.hpp
>
11
#include "
proxsuite/proxqp/sparse/fwd.hpp
"
12
13
namespace
proxsuite
{
14
namespace
proxqp
{
15
16
// SOLVER STATUS
17
enum 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
28
enum struct
InitialGuessStatus
29
{
30
NO_INITIAL_GUESS
,
31
EQUALITY_CONSTRAINED_INITIAL_GUESS
,
32
WARM_START_WITH_PREVIOUS_RESULT
,
33
WARM_START
,
34
COLD_START_WITH_PREVIOUS_RESULT
35
};
36
// PRECONDITIONER STATUS
37
enum struct
PreconditionerStatus
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 */
proxsuite::proxqp
Definition
backward_data.hpp:16
proxsuite::proxqp::InitialGuessStatus
InitialGuessStatus
Definition
status.hpp:29
proxsuite::proxqp::InitialGuessStatus::COLD_START_WITH_PREVIOUS_RESULT
@ COLD_START_WITH_PREVIOUS_RESULT
proxsuite::proxqp::InitialGuessStatus::EQUALITY_CONSTRAINED_INITIAL_GUESS
@ EQUALITY_CONSTRAINED_INITIAL_GUESS
proxsuite::proxqp::InitialGuessStatus::NO_INITIAL_GUESS
@ NO_INITIAL_GUESS
proxsuite::proxqp::InitialGuessStatus::WARM_START
@ WARM_START
proxsuite::proxqp::InitialGuessStatus::WARM_START_WITH_PREVIOUS_RESULT
@ WARM_START_WITH_PREVIOUS_RESULT
proxsuite::proxqp::PreconditionerStatus
PreconditionerStatus
Definition
status.hpp:38
proxsuite::proxqp::PreconditionerStatus::EXECUTE
@ EXECUTE
proxsuite::proxqp::PreconditionerStatus::KEEP
@ KEEP
proxsuite::proxqp::PreconditionerStatus::IDENTITY
@ IDENTITY
proxsuite::proxqp::QPSolverOutput
QPSolverOutput
Definition
status.hpp:18
proxsuite::proxqp::QPSolverOutput::PROXQP_DUAL_INFEASIBLE
@ PROXQP_DUAL_INFEASIBLE
proxsuite::proxqp::QPSolverOutput::PROXQP_SOLVED_CLOSEST_PRIMAL_FEASIBLE
@ PROXQP_SOLVED_CLOSEST_PRIMAL_FEASIBLE
proxsuite::proxqp::QPSolverOutput::PROXQP_MAX_ITER_REACHED
@ PROXQP_MAX_ITER_REACHED
proxsuite::proxqp::QPSolverOutput::PROXQP_PRIMAL_INFEASIBLE
@ PROXQP_PRIMAL_INFEASIBLE
proxsuite::proxqp::QPSolverOutput::PROXQP_SOLVED
@ PROXQP_SOLVED
proxsuite::proxqp::QPSolverOutput::PROXQP_NOT_RUN
@ PROXQP_NOT_RUN
proxsuite
Definition
common.hpp:14
fwd.hpp
core.hpp
include
proxsuite
proxqp
status.hpp
Generated by
1.10.0