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 final
VecBound GetBounds () const final
VectorXd GetValues () const 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 42 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

Definition at line 67 of file linear_constraint.cc.

LinearEqualityConstraint::VecBound towr::LinearEqualityConstraint::GetBounds ( ) const

Definition at line 54 of file linear_constraint.cc.

LinearEqualityConstraint::VectorXd towr::LinearEqualityConstraint::GetValues ( ) const

Definition at line 47 of file linear_constraint.cc.


Member Data Documentation

Definition at line 63 of file linear_constraint.h.

Definition at line 64 of file linear_constraint.h.

Definition at line 65 of file linear_constraint.h.


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


towr
Author(s): Alexander W. Winkler
autogenerated on Mon Apr 15 2019 02:42:32