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

#include <alpaqa_interface.hpp>

Detailed Description

Definition at line 25 of file alpaqa_interface.hpp.

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

Public Member Functions

 AlpaqaInterface (const std::string &name, const Function &nlp)
 
 ~AlpaqaInterface () override
 
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...
 

Public Attributes

Sparsity jacg_sp_
 
Dict opts_
 All Alpaqa options. More...
 

Static Public Attributes

static const Options options_
 
static const std::string meta_doc
 

Protected Member Functions

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

Friends

class AlpaqaProblem
 

Constructor & Destructor Documentation

◆ AlpaqaInterface() [1/2]

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

◆ ~AlpaqaInterface()

casadi::AlpaqaInterface::~AlpaqaInterface ( )
override

◆ AlpaqaInterface() [2/2]

casadi::AlpaqaInterface::AlpaqaInterface ( DeserializingStream s)
explicitprotected

Member Function Documentation

◆ alloc_mem()

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

Definition at line 53 of file alpaqa_interface.hpp.

◆ class_name()

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

Definition at line 41 of file alpaqa_interface.hpp.

◆ creator()

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

Definition at line 34 of file alpaqa_interface.hpp.

◆ deserialize()

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

Definition at line 80 of file alpaqa_interface.hpp.

◆ free_mem()

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

◆ get_options()

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

Definition at line 46 of file alpaqa_interface.hpp.

◆ get_stats()

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

◆ init()

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

◆ init_mem()

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

◆ plugin_name()

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

Definition at line 38 of file alpaqa_interface.hpp.

◆ serialize_body()

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

◆ set_work()

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

◆ solve()

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

Friends And Related Function Documentation

◆ AlpaqaProblem

friend class AlpaqaProblem
friend

Definition at line 26 of file alpaqa_interface.hpp.

Member Data Documentation

◆ jacg_sp_

Sparsity casadi::AlpaqaInterface::jacg_sp_

Definition at line 71 of file alpaqa_interface.hpp.

◆ meta_doc

const std::string casadi::AlpaqaInterface::meta_doc
static

Definition at line 44 of file alpaqa_interface.hpp.

◆ options_

const Options casadi::AlpaqaInterface::options_
static

Definition at line 43 of file alpaqa_interface.hpp.

◆ opts_

Dict casadi::AlpaqaInterface::opts_

Definition at line 74 of file alpaqa_interface.hpp.


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