jrl::qp Namespace Reference

Namespaces

 constant
 
 decomposition
 
 experimental
 
 internal
 
 structured
 
 test
 
 utils
 

Classes

class  DualSolver
 
class  GoldfarbIdnaniSolver
 
struct  SolverOptions
 

Typedefs

using MatrixConstRef = Eigen::Ref< const Eigen::MatrixXd >
 
using MatrixRef = Eigen::Ref< Eigen::MatrixXd >
 
using VectorConstRef = Eigen::Ref< const Eigen::VectorXd >
 
using VectorRef = Eigen::Ref< Eigen::VectorXd >
 
using Givens = Eigen::JacobiRotation< double >
 
using WVector = decltype(internal::Workspace< double >().asVector(0))
 
using WConstVector = decltype(std::add_const_t< internal::Workspace< double > >().asVector(0))
 

Enumerations

enum  ActivationStatus {
  ActivationStatus::INACTIVE, ActivationStatus::LOWER, ActivationStatus::UPPER, ActivationStatus::EQUALITY,
  ActivationStatus::LOWER_BOUND, ActivationStatus::UPPER_BOUND, ActivationStatus::FIXED
}
 
enum  TerminationStatus {
  TerminationStatus::SUCCESS, TerminationStatus::INCONSISTENT_INPUT, TerminationStatus::NON_POS_HESSIAN, TerminationStatus::INFEASIBLE,
  TerminationStatus::MAX_ITER_REACHED, TerminationStatus::LINEAR_DEPENDENCY_DETECTED, TerminationStatus::OVERCONSTRAINED_PROBLEM, TerminationStatus::UNKNOWN
}
 
enum  LogFlags : std::uint32_t {
  LogFlags::NONE = 0, LogFlags::INPUT = 1 << 0, LogFlags::TERMINATION = 1 << 1, LogFlags::ITERATION_BASIC_DETAILS = 1 << 2,
  LogFlags::ITERATION_ADVANCE_DETAILS = 1 << 3, LogFlags::ACTIVE_SET = 1 << 4, LogFlags::ACTIVE_SET_DETAILS = 1 << 5, LogFlags::INIT = 1 << 6,
  LogFlags::MISC = 1 << 30, LogFlags::NO_ITER = constant::noIterationFlag
}
 

Functions

std::uint32_t operator| (LogFlags a, LogFlags b)
 
std::uint32_t operator| (std::uint32_t a, LogFlags b)
 
std::uint32_t operator| (LogFlags a, std::uint32_t b)
 

Variables

const Eigen::MatrixXd EmptyMatrix = Eigen::MatrixXd(0, 0)
 
const Eigen::VectorXd EmptyVector = Eigen::VectorXd(0)
 

Typedef Documentation

◆ Givens

using jrl::qp::Givens = typedef Eigen::JacobiRotation<double>

◆ MatrixConstRef

using jrl::qp::MatrixConstRef = typedef Eigen::Ref<const Eigen::MatrixXd>

◆ MatrixRef

using jrl::qp::MatrixRef = typedef Eigen::Ref<Eigen::MatrixXd>

◆ VectorConstRef

using jrl::qp::VectorConstRef = typedef Eigen::Ref<const Eigen::VectorXd>

◆ VectorRef

using jrl::qp::VectorRef = typedef Eigen::Ref<Eigen::VectorXd>

◆ WConstVector

using jrl::qp::WConstVector = typedef decltype(std::add_const_t<internal::Workspace<double> >().asVector(0))

Type of a const Eigen::Vector-like object from Workspace

◆ WVector

using jrl::qp::WVector = typedef decltype(internal::Workspace<double>().asVector(0))

Type of a Eigen::Vector-like object from Workspace

Enumeration Type Documentation

◆ ActivationStatus

Activation status of a constraint.

Enumerator
INACTIVE 
LOWER 
UPPER 
EQUALITY 
LOWER_BOUND 
UPPER_BOUND 
FIXED 

◆ LogFlags

enum jrl::qp::LogFlags : std::uint32_t
strong

Flags for the log and debug outputs.

Enumerator
NONE 
INPUT 
TERMINATION 
ITERATION_BASIC_DETAILS 
ITERATION_ADVANCE_DETAILS 
ACTIVE_SET 
ACTIVE_SET_DETAILS 
INIT 
MISC 
NO_ITER 

◆ TerminationStatus

Information on the termination reason for the solver.

Enumerator
SUCCESS 
INCONSISTENT_INPUT 
NON_POS_HESSIAN 
INFEASIBLE 
MAX_ITER_REACHED 
LINEAR_DEPENDENCY_DETECTED 
OVERCONSTRAINED_PROBLEM 
UNKNOWN 

Function Documentation

◆ operator|() [1/3]

std::uint32_t jrl::qp::operator| ( LogFlags  a,
LogFlags  b 
)
inline

◆ operator|() [2/3]

std::uint32_t jrl::qp::operator| ( LogFlags  a,
std::uint32_t  b 
)
inline

◆ operator|() [3/3]

std::uint32_t jrl::qp::operator| ( std::uint32_t  a,
LogFlags  b 
)
inline

Variable Documentation

◆ EmptyMatrix

const Eigen::MatrixXd jrl::qp::EmptyMatrix = Eigen::MatrixXd(0, 0)
inline

◆ EmptyVector

const Eigen::VectorXd jrl::qp::EmptyVector = Eigen::VectorXd(0)
inline