26 #ifndef CASADI_ROOTFINDER_HPP
27 #define CASADI_ROOTFINDER_HPP
29 #include "function.hpp"
145 const std::vector<std::string> RFP_INPUTS = {
"x",
"p"};
153 const std::vector<std::string> RFP_OUTPUTS = {
"g"};
156 enum RootfinderInput {
166 enum RootfinderOutput {
CASADI_EXPORT Function rootfinder(const std::string &name, const std::string &solver, const SXDict &rfp, const Dict &opts=Dict())
CASADI_EXPORT std::string rootfinder_option_type(const std::string &name, const std::string &op)
Get type info for a particular option.
CASADI_EXPORT std::vector< std::string > rootfinder_options(const std::string &name)
Get all options for a plugin.
CASADI_EXPORT casadi_int rootfinder_n_out()
Number of rootfinder outputs.
CASADI_EXPORT std::vector< std::string > rootfinder_out()
Get rootfinder output scheme.
CASADI_EXPORT casadi_int rootfinder_n_in()
Number of rootfinder inputs.
CASADI_EXPORT void load_rootfinder(const std::string &name)
Explicitly load a plugin dynamically.
CASADI_EXPORT std::string rootfinder_option_info(const std::string &name, const std::string &op)
Get documentation for a particular option.
CASADI_EXPORT std::string doc_rootfinder(const std::string &name)
Get the documentation string for a plugin.
CASADI_EXPORT std::vector< std::string > rootfinder_in()
Get rootfinder input scheme.
CASADI_EXPORT bool has_rootfinder(const std::string &name)
Check if a particular plugin is available.
std::map< std::string, MX > MXDict
std::map< std::string, SX > SXDict
GenericType::Dict Dict
C++ equivalent of Python's dict or MATLAB's struct.