Drake
 All Classes Files Functions Variables
QuadraticSumConstraint Class Reference

lb <= sum_i (x(:,i)-v(:,i))'Qa(x(:,i)-v(:,i)) <= ub More...

Inheritance diagram for QuadraticSumConstraint:
Collaboration diagram for QuadraticSumConstraint:

Public Member Functions

function QuadraticSumConstraint (lb, ub, Qa, v)
 
- Public Member Functions inherited from QuadraticConstraint
function QuadraticConstraint (lb, ub, Q, b)
 
- Public Member Functions inherited from Constraint
function Constraint (lb, ub, xdim, options)
 Constraint(lb,ub) or Constraint(lb,ub,eval_handle) More...
 
function setSparseStructure (obj, iCfun, jCvar)
 set the sparse structure of the 1st order gradient matrix More...
 
function getGradientSparseStructure (obj)
 
function checkGradient (obj, tol, varargin)
 Check the accuracy and sparsity pattern of the gradient. More...
 
function setName (obj, name)
 
function disp (obj)
 
function eval (obj, varargin)
 
function setBounds (obj, lb, ub)
 revise the bounds for the constraint More...
 

Protected Attributes

Property Qa
 
Property v
 
Property x_rows
 
Property x_cols
 
- Protected Attributes inherited from QuadraticConstraint
Property Q
 
Property b
 
- Protected Attributes inherited from Constraint
Property lb
 
Property ub
 
Property xdim
 
Property num_cnstr
 
Property name
 
Property ceq_idx
 
Property cin_idx
 

Additional Inherited Members

- Public Attributes inherited from Constraint
Property grad_level
 
Property grad_method
 A string indicating the method to compute gradient. If empty,. More...
 
- Protected Member Functions inherited from QuadraticConstraint
function constraintEval (obj, x)
 
- Protected Member Functions inherited from Constraint
virtual function constraintEval (obj, varargin)
 

Detailed Description

lb <= sum_i (x(:,i)-v(:,i))'Qa(x(:,i)-v(:,i)) <= ub

Constructor & Destructor Documentation

function QuadraticSumConstraint ( lb  ,
ub  ,
Qa  ,
v   
)
Parameters
Qaa matrix of size size(x,1) x size(x,1)
va matrix with same dimension as x
Return values
obj

Member Data Documentation

Property Qa
protected
Property v
protected
Property x_cols
protected
Property x_rows
protected

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