26 #ifndef CASADI_NLPSOL_HPP
27 #define CASADI_NLPSOL_HPP
29 #include "function.hpp"
72 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
74 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
76 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
77 const std::string& fname,
const Dict& opts=
Dict());
78 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
80 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
82 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
162 CASADI_EXPORT std::string
doc_nlpsol(
const std::string& name);
178 const std::vector<std::string> NL_INPUTS = {
"x",
"p"};
191 const std::vector<std::string> NL_OUTPUTS = {
"f",
"g"};
A symbolic NLP representation.
CASADI_EXPORT Function nlpsol(const std::string &name, const std::string &solver, const SXDict &nlp, const Dict &opts=Dict())
CASADI_EXPORT std::vector< std::string > nlpsol_options(const std::string &name)
Get all options for a plugin.
CASADI_EXPORT std::vector< std::string > nlpsol_in()
Get input scheme of NLP solvers.
CASADI_EXPORT std::string doc_nlpsol(const std::string &name)
Get the documentation string for a plugin.
CASADI_EXPORT bool has_nlpsol(const std::string &name)
Check if a particular plugin is available.
CASADI_EXPORT void load_nlpsol(const std::string &name)
Explicitly load a plugin dynamically.
CASADI_EXPORT std::string nlpsol_option_info(const std::string &name, const std::string &op)
Get documentation for a particular option.
CASADI_EXPORT casadi_int nlpsol_n_in()
Number of NLP solver inputs.
CASADI_EXPORT std::string nlpsol_option_type(const std::string &name, const std::string &op)
Get type info for a particular option.
CASADI_EXPORT std::vector< std::string > nlpsol_out()
Get NLP solver output scheme of NLP solvers.
CASADI_EXPORT casadi_int nlpsol_n_out()
Number of NLP solver outputs.
CASADI_EXPORT double nlpsol_default_in(casadi_int ind)
Default input for an NLP solver.
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.