List of all members | Public Member Functions | Public Attributes
casadi::QpoasesMemory Struct Reference

#include <qpoases_interface.hpp>

Detailed Description

Definition at line 49 of file qpoases_interface.hpp.

Inheritance diagram for casadi::QpoasesMemory:
Inheritance graph
[legend]
Collaboration diagram for casadi::QpoasesMemory:
Collaboration graph
[legend]

Public Member Functions

 QpoasesMemory ()
 Constructor. More...
 
 ~QpoasesMemory ()
 Destructor. More...
 
void add_stat (const std::string &s)
 

Public Attributes

Linsol linsol
 
std::string linsol_plugin
 
union {
   qpOASES::SQProblem *   sqp
 
   qpOASES::QProblemB *   qp
 
}; 
 QP Solver. More...
 
qpOASES::SymSparseMat * h
 
qpOASES::SparseMatrix * a
 
bool called_once
 Has qpOASES been called once? More...
 
std::vector< casadi_int > lin_map
 
std::vector< casadi_int > row
 
std::vector< casadi_int > col
 
std::vector< casadi_int > nz_map
 
std::vector< int > h_row
 
std::vector< int > h_colind
 
std::vector< int > a_row
 
std::vector< int > a_colind
 
std::vector< double > nz
 
int return_status
 
casadi_qp_data< double > d_qp
 
bool stats_available
 
std::map< std::string, FStatsfstats
 
FStatst_total
 

Constructor & Destructor Documentation

◆ QpoasesMemory()

casadi::QpoasesMemory::QpoasesMemory ( )

Definition at line 843 of file qpoases_interface.cpp.

843  {
844  this->qp = nullptr;
845  this->h = nullptr;
846  this->a = nullptr;
847  }
qpOASES::SymSparseMat * h
qpOASES::QProblemB * qp
qpOASES::SparseMatrix * a

References a, h, and qp.

◆ ~QpoasesMemory()

casadi::QpoasesMemory::~QpoasesMemory ( )

Definition at line 849 of file qpoases_interface.cpp.

849  {
850  delete this->qp;
851  delete this->h;
852  delete this->a;
853  }

References a, h, and qp.

Member Function Documentation

◆ add_stat()

void casadi::ProtoFunctionMemory::add_stat ( const std::string &  s)
inlineinherited

Member Data Documentation

◆ 

union { ... }

◆ a

qpOASES::SparseMatrix* casadi::QpoasesMemory::a

Definition at line 64 of file qpoases_interface.hpp.

Referenced by QpoasesMemory(), and ~QpoasesMemory().

◆ a_colind

std::vector<int> casadi::QpoasesMemory::a_colind

Definition at line 75 of file qpoases_interface.hpp.

◆ a_row

std::vector<int> casadi::QpoasesMemory::a_row

Definition at line 75 of file qpoases_interface.hpp.

◆ called_once

bool casadi::QpoasesMemory::called_once

Definition at line 67 of file qpoases_interface.hpp.

Referenced by casadi::QpoasesInterface::init_mem().

◆ col

std::vector<casadi_int> casadi::QpoasesMemory::col

Definition at line 73 of file qpoases_interface.hpp.

Referenced by casadi::QpoasesInterface::qpoases_init().

◆ d_qp

casadi_qp_data<double> casadi::ConicMemory::d_qp
inherited

Definition at line 39 of file conic_impl.hpp.

Referenced by casadi::Conic::get_stats().

◆ fstats

std::map<std::string, FStats> casadi::ProtoFunctionMemory::fstats
inherited

◆ h

qpOASES::SymSparseMat* casadi::QpoasesMemory::h

Definition at line 63 of file qpoases_interface.hpp.

Referenced by QpoasesMemory(), and ~QpoasesMemory().

◆ h_colind

std::vector<int> casadi::QpoasesMemory::h_colind

Definition at line 75 of file qpoases_interface.hpp.

◆ h_row

std::vector<int> casadi::QpoasesMemory::h_row

Definition at line 75 of file qpoases_interface.hpp.

◆ lin_map

std::vector<casadi_int> casadi::QpoasesMemory::lin_map

◆ linsol

Linsol casadi::QpoasesMemory::linsol

◆ linsol_plugin

std::string casadi::QpoasesMemory::linsol_plugin

Definition at line 54 of file qpoases_interface.hpp.

Referenced by casadi::QpoasesInterface::qpoases_init().

◆ nz

std::vector<double> casadi::QpoasesMemory::nz

◆ nz_map

std::vector<casadi_int> casadi::QpoasesMemory::nz_map

Definition at line 73 of file qpoases_interface.hpp.

Referenced by casadi::QpoasesInterface::qpoases_init().

◆ qp

qpOASES::QProblemB* casadi::QpoasesMemory::qp

Definition at line 59 of file qpoases_interface.hpp.

Referenced by QpoasesMemory(), and ~QpoasesMemory().

◆ return_status

int casadi::QpoasesMemory::return_status

Definition at line 80 of file qpoases_interface.hpp.

◆ row

std::vector<casadi_int> casadi::QpoasesMemory::row

Definition at line 73 of file qpoases_interface.hpp.

Referenced by casadi::QpoasesInterface::qpoases_init().

◆ sqp

qpOASES::SQProblem* casadi::QpoasesMemory::sqp

Definition at line 58 of file qpoases_interface.hpp.

◆ stats_available

bool casadi::FunctionMemory::stats_available
inherited

◆ t_total

FStats* casadi::ProtoFunctionMemory::t_total
inherited

Definition at line 71 of file function_internal.hpp.

Referenced by casadi::LinsolCall< Tr >::eval(), and casadi::Linsol::solve().


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