ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | List of all members
ocra::OFSQPProblem Class Referenceabstract

#include <OFSQP.h>

Inheritance diagram for ocra::OFSQPProblem:
[legend]

Public Member Functions

 OFSQPProblem ()
 
virtual void obj (int nparam, int j, double *x, double *fj, void *cd)=0
 
virtual void constr (int nparam, int j, double *x, double *gj, void *cd)=0
 
virtual void gradob (int nparam, int j, double *x, double *gradfj, void *cd)
 
virtual void gradcn (int nparam, int j, double *x, double *gradgj, void *cd)
 
void invalidateX ()
 
void validateX ()
 
bool isXNew ()
 
void setFSQPstruct (fsqpDetails::Grd &grd, fsqpDetails::Prnt &prnt)
 
void resetFSQPstruct ()
 

Detailed Description

Definition at line 38 of file OFSQP.h.

Constructor & Destructor Documentation

ocra::OFSQPProblem::OFSQPProblem ( )

Definition at line 8 of file OFSQP.cpp.

Member Function Documentation

virtual void ocra::OFSQPProblem::constr ( int  nparam,
int  j,
double *  x,
double *  gj,
void *  cd 
)
pure virtual

Implemented in ocra::FSQPSolver.

void ocra::OFSQPProblem::gradcn ( int  nparam,
int  j,
double *  x,
double *  gradgj,
void *  cd 
)
virtual

Reimplemented in ocra::FSQPSolver.

Definition at line 41 of file OFSQP.cpp.

void ocra::OFSQPProblem::gradob ( int  nparam,
int  j,
double *  x,
double *  gradfj,
void *  cd 
)
virtual

Reimplemented in ocra::FSQPSolver.

Definition at line 13 of file OFSQP.cpp.

void ocra::OFSQPProblem::invalidateX ( )

Definition at line 69 of file OFSQP.cpp.

bool ocra::OFSQPProblem::isXNew ( )

Definition at line 79 of file OFSQP.cpp.

virtual void ocra::OFSQPProblem::obj ( int  nparam,
int  j,
double *  x,
double *  fj,
void *  cd 
)
pure virtual

Implemented in ocra::FSQPSolver.

void ocra::OFSQPProblem::resetFSQPstruct ( )

Definition at line 90 of file OFSQP.cpp.

void ocra::OFSQPProblem::setFSQPstruct ( fsqpDetails::Grd grd,
fsqpDetails::Prnt prnt 
)

Definition at line 84 of file OFSQP.cpp.

void ocra::OFSQPProblem::validateX ( )

Definition at line 74 of file OFSQP.cpp.


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