WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
slp::Bounds< Scalar > Struct Template Reference

Bound constraint metadata. More...

#include </home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/optimization/solver/util/bounds.hpp>

Public Attributes

Eigen::ArrayX< bool > bound_constraint_mask
 Which constraints, if any, are bound constraints.
gch::small_vector< std::pair< Scalar, Scalar > > bounds
 The tightest bounds on each decision variable.
gch::small_vector< std::pair< Eigen::Index, Eigen::Index > > conflicting_bound_indices
 Whether or not the constraints are feasible (given previously encountered bounds).

Detailed Description

template<typename Scalar>
struct slp::Bounds< Scalar >

Bound constraint metadata.

Template Parameters
ScalarScalar type.

Member Data Documentation

◆ bound_constraint_mask

template<typename Scalar>
Eigen::ArrayX<bool> slp::Bounds< Scalar >::bound_constraint_mask

Which constraints, if any, are bound constraints.

◆ bounds

template<typename Scalar>
gch::small_vector<std::pair<Scalar, Scalar> > slp::Bounds< Scalar >::bounds

The tightest bounds on each decision variable.

◆ conflicting_bound_indices

template<typename Scalar>
gch::small_vector<std::pair<Eigen::Index, Eigen::Index> > slp::Bounds< Scalar >::conflicting_bound_indices

Whether or not the constraints are feasible (given previously encountered bounds).


The documentation for this struct was generated from the following file:
  • /home/runner/work/allwpilib/allwpilib/wpimath/src/main/native/thirdparty/sleipnir/include/sleipnir/optimization/solver/util/bounds.hpp