template<class t_Base>
class humoto::constraints::BoundsB0Mixin< t_Base >
Mixin representing vector 'b = 0' in an equality constraint.
- Template Parameters
-
Definition at line 36 of file constraints_mixins.h.
#include <constraints_mixins.h>
◆ ~BoundsB0Mixin()
Protected destructor: prevent destruction of the child classes through a base pointer.
Definition at line 43 of file constraints_mixins.h.
◆ BoundsB0Mixin()
◆ addATb()
Compute 'A^T * b' for general equality constaints and save or add the result to g.
- Parameters
-
Definition at line 77 of file constraints_mixins.h.
◆ copyBoundsTo()
Copy bounds to given vectors.
- Parameters
-
[in] | lb | |
[in] | ub | |
[in] | location | offset and length |
Definition at line 98 of file constraints_mixins.h.
◆ copyEqualityBoundsTo()
◆ getATb()
Compute 'A^T * b' for general equality constaints and save or add the result to g.
- Parameters
-
Definition at line 70 of file constraints_mixins.h.
◆ logBounds()
Log bounds.
- Parameters
-
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 56 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 |
Definition at line 48 of file constraints_mixins.h.
The documentation for this class was generated from the following file: