26 #ifndef CASADI_IMPLICIT_TO_NLP_HPP
27 #define CASADI_IMPLICIT_TO_NLP_HPP
29 #include "casadi/core/rootfinder_impl.hpp"
30 #include <casadi/solvers/casadi_rootfinder_nlpsol_export.h>
79 std::string
class_name()
const override {
return "ImplicitToNlp";}
88 void init(
const Dict& opts)
override;
97 void set_work(
void* mem,
const double**& arg,
double**& res,
98 casadi_int*& iw,
double*& w)
const override;
101 int solve(
void* mem)
const override;
107 Dict get_stats(
void* mem)
const override;
'nlp' plugin for Rootfinder
void * alloc_mem() const override
Create memory block.
const Options & get_options() const override
Options.
static const Options options_
Options.
static const std::string meta_doc
A documentation string.
void free_mem(void *mem) const override
Free memory block.
std::string class_name() const override
Readable name of the internal class.
Function solver_
NLP solver.
static Rootfinder * creator(const std::string &name, const Function &f)
Create a new Rootfinder.
const char * plugin_name() const override
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.
Options metadata for a class.