ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | Friends | List of all members
ocra::ObjQLD Class Reference

ObjQLD class. More...

#include <ObjQLD.h>

Public Member Functions

 ObjQLD ()
 
int solve (Map< MatrixXd > &C, const Map< VectorXd > &d, const Map< MatrixXd > &A, const Map< VectorXd > &b, int me, Map< VectorXd > &x, const Map< VectorXd > &xl, const Map< VectorXd > &xu, bool factorizedC=false)
 
const VectorXd & getLagrangeMultipliers (void) const
 
double getSizeFactor (void) const
 
void setSizeFactor (double f)
 
double getEps (void) const
 
void setEps (double eps)
 

Friends

class OFSQP
 

Detailed Description

ObjQLD class.

Warning
None

MINIMIZE .5*X'*C*X + D'*X SUBJECT TO A(J)*X + B(J) = 0 , J=1,...,ME A(J)*X + B(J) >= 0 , J=ME+1,...,M XL <= X <= XU

Definition at line 52 of file ObjQLD.h.

Constructor & Destructor Documentation

ocra::ObjQLD::ObjQLD ( )

Definition at line 7 of file ObjQLD.cpp.

Member Function Documentation

double ocra::ObjQLD::getEps ( void  ) const
inline

Definition at line 76 of file ObjQLD.h.

const VectorXd & ocra::ObjQLD::getLagrangeMultipliers ( void  ) const

Definition at line 54 of file ObjQLD.cpp.

double ocra::ObjQLD::getSizeFactor ( void  ) const

Definition at line 60 of file ObjQLD.cpp.

void ocra::ObjQLD::setEps ( double  eps)
inline

Definition at line 77 of file ObjQLD.h.

void ocra::ObjQLD::setSizeFactor ( double  f)

Definition at line 66 of file ObjQLD.cpp.

int ocra::ObjQLD::solve ( Map< MatrixXd > &  C,
const Map< VectorXd > &  d,
const Map< MatrixXd > &  A,
const Map< VectorXd > &  b,
int  me,
Map< VectorXd > &  x,
const Map< VectorXd > &  xl,
const Map< VectorXd > &  xu,
bool  factorizedC = false 
)

Definition at line 15 of file ObjQLD.cpp.

Friends And Related Function Documentation

friend class OFSQP
friend

Definition at line 144 of file ObjQLD.h.


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