template<class t_Base>
class humoto::constraints::BoundsBMixin< t_Base >
Mixin representing vector 'b' in an equality constraint.
- Template Parameters
-
Definition at line 115 of file constraints_mixins.h.
#include <constraints_mixins.h>
|
void | copyBoundsTo (Eigen::VectorXd &lb, Eigen::VectorXd &ub, const Location &location) const |
| Copy bounds to given vectors. More...
|
|
Eigen::VectorXd & | getB () |
| Get vector b from equalities: 'A*x = b' or 'x = b'. More...
|
|
const Eigen::VectorXd & | getB () const |
| Get vector b from equalities: 'A*x = b' or 'x = b'. More...
|
|
◆ ~BoundsBMixin()
Protected destructor: prevent destruction of the child classes through a base pointer.
Definition at line 126 of file constraints_mixins.h.
◆ BoundsBMixin()
◆ copyBoundsTo()
Copy bounds to given vectors.
- Parameters
-
[in] | lb | |
[in] | ub | |
[in] | location | offset and length |
Definition at line 190 of file constraints_mixins.h.
◆ copyEqualityBoundsTo()
◆ getB() [1/2]
Get vector b from equalities: 'A*x = b' or 'x = b'.
- Returns
- Vector b.
Definition at line 176 of file constraints_mixins.h.
◆ getB() [2/2]
Get vector b from equalities: 'A*x = b' or 'x = b'.
- Returns
- Vector b.
Definition at line 183 of file constraints_mixins.h.
◆ logBounds()
Log bounds.
- Parameters
-
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 149 of file constraints_mixins.h.
◆ resetBounds()
Reset bounds of constraints (b, lb, ub)
- Parameters
-
[in] | number_of_constraints | number of constraints |
[in] | initialize_matrices | initialize matrices using defaults |
- Note
- Initialization: b is filled with zeros
Definition at line 134 of file constraints_mixins.h.
◆ b_
The documentation for this class was generated from the following file: