List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
casadi::SLEQPInterface Class Reference

#include <sleqp_interface.hpp>

Detailed Description

Definition at line 46 of file sleqp_interface.hpp.

Inheritance diagram for casadi::SLEQPInterface:
Inheritance graph
[legend]

Public Member Functions

 SLEQPInterface (const std::string &name, const Function &nlp)
 
 ~SLEQPInterface () override
 
const Sparsityjac_sparsity () const
 
const char * plugin_name () const override
 
std::string class_name () const override
 
const Options & get_options () const override
 
void init (const Dict &opts) override
 
void * alloc_mem () const override
 Create memory block. More...
 
int init_mem (void *mem) const override
 Initalize memory block. More...
 
void free_mem (void *mem) const override
 Free memory block. More...
 
Dict get_stats (void *mem) const override
 Get all statistics. More...
 
void set_work (void *mem, const double **&arg, double **&res, casadi_int *&iw, double *&w) const override
 Set the (persistent) work vectors. More...
 
int solve (void *mem) const override
 
void serialize_body (SerializingStream &s) const override
 Serialize an object without type information. More...
 

Static Public Member Functions

static Nlpsol * creator (const std::string &name, const Function &nlp)
 
static ProtoFunction * deserialize (DeserializingStream &s)
 Deserialize into MX. More...
 

Static Public Attributes

static const Options options_
 
static const std::string meta_doc
 

Protected Member Functions

 SLEQPInterface (DeserializingStream &s)
 Deserializing constructor. More...
 

Constructor & Destructor Documentation

◆ SLEQPInterface() [1/2]

casadi::SLEQPInterface::SLEQPInterface ( const std::string &  name,
const Function nlp 
)
explicit

◆ ~SLEQPInterface()

casadi::SLEQPInterface::~SLEQPInterface ( )
override

◆ SLEQPInterface() [2/2]

casadi::SLEQPInterface::SLEQPInterface ( DeserializingStream s)
explicitprotected

Member Function Documentation

◆ alloc_mem()

void* casadi::SLEQPInterface::alloc_mem ( ) const
inlineoverride

Definition at line 90 of file sleqp_interface.hpp.

◆ class_name()

std::string casadi::SLEQPInterface::class_name ( ) const
inlineoverride

Definition at line 78 of file sleqp_interface.hpp.

◆ creator()

static Nlpsol* casadi::SLEQPInterface::creator ( const std::string &  name,
const Function nlp 
)
inlinestatic

Definition at line 69 of file sleqp_interface.hpp.

◆ deserialize()

static ProtoFunction* casadi::SLEQPInterface::deserialize ( DeserializingStream s)
inlinestatic

Definition at line 112 of file sleqp_interface.hpp.

◆ free_mem()

void casadi::SLEQPInterface::free_mem ( void *  mem) const
override

◆ get_options()

const Options& casadi::SLEQPInterface::get_options ( ) const
inlineoverride

Definition at line 83 of file sleqp_interface.hpp.

◆ get_stats()

Dict casadi::SLEQPInterface::get_stats ( void *  mem) const
override

◆ init()

void casadi::SLEQPInterface::init ( const Dict opts)
override

◆ init_mem()

int casadi::SLEQPInterface::init_mem ( void *  mem) const
override

◆ jac_sparsity()

const Sparsity& casadi::SLEQPInterface::jac_sparsity ( ) const
inline

Definition at line 73 of file sleqp_interface.hpp.

◆ plugin_name()

const char* casadi::SLEQPInterface::plugin_name ( ) const
inlineoverride

Definition at line 75 of file sleqp_interface.hpp.

◆ serialize_body()

void casadi::SLEQPInterface::serialize_body ( SerializingStream s) const
override

◆ set_work()

void casadi::SLEQPInterface::set_work ( void *  mem,
const double **&  arg,
double **&  res,
casadi_int *&  iw,
double *&  w 
) const
override

◆ solve()

int casadi::SLEQPInterface::solve ( void *  mem) const
override

Member Data Documentation

◆ meta_doc

const std::string casadi::SLEQPInterface::meta_doc
static

Definition at line 81 of file sleqp_interface.hpp.

◆ options_

const Options casadi::SLEQPInterface::options_
static

Definition at line 80 of file sleqp_interface.hpp.


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