WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
exit_status.hpp File Reference
#include <stdint.h>
#include <fmt/base.h>
#include "sleipnir/util/unreachable.hpp"

Go to the source code of this file.

Classes

struct  fmt::formatter< slp::ExitStatus >
 Formatter for ExitStatus. More...

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. Negative values indicate failure. More...