Public Member Functions | Private Attributes
towr::LinearEqualityConstraint Class Reference

Calculates the constraint violations for linear constraints. More...

#include <linear_constraint.h>

List of all members.

Public Member Functions

void FillJacobianBlock (std::string var_set, Jacobian &) const override final
VecBound GetBounds () const override final
VectorXd GetValues () const override final
 LinearEqualityConstraint (const MatrixXd &M, const VectorXd &v, const std::string &variable_set)
 Defines the elements of the linear constraint as g = Mx+v = 0.
virtual ~LinearEqualityConstraint ()

Private Attributes

MatrixXd M_
VectorXd v_
std::string variable_name_

Detailed Description

Calculates the constraint violations for linear constraints.

Definition at line 40 of file linear_constraint.h.


Constructor & Destructor Documentation

towr::LinearEqualityConstraint::LinearEqualityConstraint ( const MatrixXd &  M,
const VectorXd &  v,
const std::string &  variable_set 
)

Defines the elements of the linear constraint as g = Mx+v = 0.

Parameters:
MThe matrix M defining the slope.
vThe vector v defining the constanct offset.
variable_setThe name of the variables x.

Definition at line 35 of file linear_constraint.cc.


Member Function Documentation

void towr::LinearEqualityConstraint::FillJacobianBlock ( std::string  var_set,
Jacobian &  jac 
) const [override]

Definition at line 67 of file linear_constraint.cc.

LinearEqualityConstraint::VecBound towr::LinearEqualityConstraint::GetBounds ( ) const [override]

Definition at line 54 of file linear_constraint.cc.

LinearEqualityConstraint::VectorXd towr::LinearEqualityConstraint::GetValues ( ) const [override]

Definition at line 47 of file linear_constraint.cc.


Member Data Documentation

Definition at line 61 of file linear_constraint.h.

Definition at line 62 of file linear_constraint.h.

Definition at line 63 of file linear_constraint.h.


The documentation for this class was generated from the following files:


towr_core
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 9 2018 03:12:44