aligator
0.6.1
A primal-dual augmented Lagrangian-type solver for nonlinear trajectory optimization.
|
Weighting strategy for the constraints in a stack. More...
#include <aligator/core/alm-weights.hpp>
Public Types | |
using | ConstraintStack = ConstraintStackTpl<Scalar> |
Public Member Functions | |
ALIGATOR_DYNAMIC_TYPEDEFS (Scalar) | |
ConstraintProximalScalerTpl (const ConstraintStack &constraints, const Scalar &mu) | |
std::size_t | size () const |
void | setWeight (const Scalar w, std::size_t j) |
template<typename D > | |
void | setWeights (const Eigen::MatrixBase< D > &weights) |
Set all weights at once. | |
template<typename D > | |
auto | apply (const Eigen::MatrixBase< D > &m) const |
Apply weighted penalty matrix. | |
template<typename D > | |
auto | applyInverse (const Eigen::MatrixBase< D > &m) const |
template<typename D > | |
Scalar | weightedNorm (const Eigen::MatrixBase< D > &m) const |
auto | diagMatrix () const |
Weighting strategy for the constraints in a stack.
Definition at line 9 of file alm-weights.hpp.
using aligator::ConstraintProximalScalerTpl< Scalar >::ConstraintStack = ConstraintStackTpl<Scalar> |
Definition at line 12 of file alm-weights.hpp.
|
inline |
Definition at line 14 of file alm-weights.hpp.
aligator::ConstraintProximalScalerTpl< Scalar >::ALIGATOR_DYNAMIC_TYPEDEFS | ( | Scalar | ) |
|
inline |
Definition at line 21 of file alm-weights.hpp.
|
inline |
Definition at line 23 of file alm-weights.hpp.
|
inline |
Set all weights at once.
Definition at line 28 of file alm-weights.hpp.
|
inline |
Apply weighted penalty matrix.
Definition at line 36 of file alm-weights.hpp.
|
inline |
Definition at line 40 of file alm-weights.hpp.
|
inline |
Definition at line 45 of file alm-weights.hpp.
|
inline |
Definition at line 50 of file alm-weights.hpp.