30 #ifndef TOWR_CONSTRAINTS_LINEAR_CONSTRAINT_H_ 31 #define TOWR_CONSTRAINTS_LINEAR_CONSTRAINT_H_ 33 #include <ifopt/constraint_set.h> 53 const std::string& variable_set);
57 VecBound
GetBounds() const override final;
VectorXd GetValues() const overridefinal
void FillJacobianBlock(std::string var_set, Jacobian &) const overridefinal
LinearEqualityConstraint(const MatrixXd &M, const VectorXd &v, const std::string &variable_set)
Defines the elements of the linear constraint as g = Mx+v = 0.
std::string variable_name_
virtual ~LinearEqualityConstraint()=default
Calculates the constraint violations for linear constraints.
VecBound GetBounds() const overridefinal