WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
exit_status.hpp File Reference
#include <stdint.h>
#include <string_view>
#include "sleipnir/util/symbol_exports.hpp"

Go to the source code of this file.

Namespaces

namespace  slp
 

Enumerations

enum class  slp::ExitStatus : int8_t {
  slp::SUCCESS = 0 , slp::CALLBACK_REQUESTED_STOP = 1 , slp::TOO_FEW_DOFS = -1 , slp::LOCALLY_INFEASIBLE = -2 ,
  slp::GLOBALLY_INFEASIBLE = -3 , slp::FACTORIZATION_FAILED = -4 , slp::LINE_SEARCH_FAILED = -5 , slp::NONFINITE_INITIAL_COST_OR_CONSTRAINTS = -6 ,
  slp::DIVERGING_ITERATES = -7 , slp::MAX_ITERATIONS_EXCEEDED = -8 , slp::TIMEOUT = -9
}
 Solver exit status. More...
 

Functions

SLEIPNIR_DLLEXPORT constexpr std::string_view slp::to_message (const ExitStatus &exit_status)
 Returns user-readable message corresponding to the solver exit status.