.. _program_listing_file__tmp_ws_src_proxsuite_include_proxsuite_proxqp_status.hpp: Program Listing for File status.hpp =================================== |exhale_lsh| :ref:`Return to documentation for file ` (``/tmp/ws/src/proxsuite/include/proxsuite/proxqp/status.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // // Copyright (c) 2022 INRIA // #ifndef PROXSUITE_PROXQP_CONSTANTS_HPP #define PROXSUITE_PROXQP_CONSTANTS_HPP #include #include "proxsuite/proxqp/sparse/fwd.hpp" namespace proxsuite { namespace proxqp { // SOLVER STATUS enum struct QPSolverOutput { PROXQP_SOLVED, // the problem is solved. PROXQP_MAX_ITER_REACHED, // the maximum number of iterations has been reached. PROXQP_PRIMAL_INFEASIBLE, // the problem is primal infeasible. PROXQP_DUAL_INFEASIBLE, // the problem is dual infeasible. PROXQP_NOT_RUN // the solver has not been run yet. }; // INITIAL GUESS STATUS enum struct InitialGuessStatus { NO_INITIAL_GUESS, EQUALITY_CONSTRAINED_INITIAL_GUESS, WARM_START_WITH_PREVIOUS_RESULT, WARM_START, COLD_START_WITH_PREVIOUS_RESULT }; // PRECONDITIONER STATUS enum struct PreconditionerStatus { EXECUTE, // initialize or update with qp in entry KEEP, // keep previous preconditioner (for update method) IDENTITY // do not execute, hence use identity preconditioner (for init // method) }; } // namespace proxqp } // namespace proxsuite #endif /* end of include guard PROXSUITE_PROXQP_CONSTANTS_HPP */