Public Member Functions

Stores and evaluates coupled path constraints within optimal control problems. More...

#include <coupled_path_constraint.hpp>

Inheritance diagram for CoupledPathConstraint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

returnValue add (const double lb_, const Expression *arg, const double ub_)
 CoupledPathConstraint ()
 CoupledPathConstraint (const Grid &grid_)
 CoupledPathConstraint (const CoupledPathConstraint &rhs)
returnValue evaluate (const OCPiterate &iter)
returnValue evaluateSensitivities ()
returnValue evaluateSensitivities (const DMatrix &seed, BlockMatrix &hessian)
int getNC () const
CoupledPathConstraintoperator= (const CoupledPathConstraint &rhs)
virtual ~CoupledPathConstraint ()

Detailed Description

Stores and evaluates coupled path constraints within optimal control problems.

The class CoupledPathConstraint allows to manage and evaluate constraints along the whole horizon within optimal control problems that are coupled across control intervals. If the contraints are decoupled, the class PathConstraint should be used.

Author:
Boris Houska, Hans Joachim Ferreau

Definition at line 57 of file coupled_path_constraint.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 48 of file coupled_path_constraint.cpp.

Default constructor.

Definition at line 53 of file coupled_path_constraint.cpp.

Copy constructor (deep copy).

Definition at line 58 of file coupled_path_constraint.cpp.

Destructor.

Definition at line 63 of file coupled_path_constraint.cpp.


Member Function Documentation

returnValue CoupledPathConstraint::add ( const double  lb_,
const Expression arg,
const double  ub_ 
) [inline]

Adds a coupled-path-constraint component.

Returns:
SUCCESSFUL_RETURN RET_MEMBER_NOT_INITIALISED (if the ConstraintElement::fcn is not initialized)

Evaluates all components in this constraint and stores the
residuum.

Returns:
SUCESSFUL_RETURN

Definition at line 78 of file coupled_path_constraint.cpp.

Evaluates the sensitivities of all components in this
constraint. Note that the seed can be defined via the base
class ConstraintElement.

Returns:
SUCESSFUL_RETURN

Definition at line 122 of file coupled_path_constraint.cpp.

Evaluates the sensitivities and Hessian.

Returns:
SUCESSFUL_RETURN

Definition at line 231 of file coupled_path_constraint.cpp.

int CoupledPathConstraint::getNC ( ) const [inline]

returns the number of constraints

CoupledPathConstraint & CoupledPathConstraint::operator= ( const CoupledPathConstraint rhs)

Assignment operator (deep copy).

Definition at line 67 of file coupled_path_constraint.cpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:38