WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
SolverExitCondition.hpp File Reference
#include <stdint.h>
#include <string_view>
#include "sleipnir/util/SymbolExports.hpp"

Go to the source code of this file.

Namespaces

namespace  sleipnir
 

Enumerations

enum class  sleipnir::SolverExitCondition : int8_t {
  sleipnir::kSuccess = 0 , sleipnir::kSolvedToAcceptableTolerance = 1 , sleipnir::kCallbackRequestedStop = 2 , sleipnir::kTooFewDOFs = -1 ,
  sleipnir::kLocallyInfeasible = -2 , sleipnir::kFeasibilityRestorationFailed = -3 , sleipnir::kNonfiniteInitialCostOrConstraints = -4 , sleipnir::kDivergingIterates = -5 ,
  sleipnir::kMaxIterationsExceeded = -6 , sleipnir::kTimeout = -7
}
 Solver exit condition. More...
 

Functions

SLEIPNIR_DLLEXPORT constexpr std::string_view sleipnir::ToMessage (const SolverExitCondition &exitCondition)
 Returns user-readable message corresponding to the exit condition.