27 #ifndef CASADI_NLPSOL_HPP
28 #define CASADI_NLPSOL_HPP
30 #include "function.hpp"
334 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
336 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
338 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
339 const std::string& fname,
const Dict& opts=
Dict());
340 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
342 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
344 CASADI_EXPORT
Function nlpsol(
const std::string& name,
const std::string& solver,
799 CASADI_EXPORT std::string
doc_nlpsol(
const std::string& name);
815 const std::vector<std::string> NL_INPUTS = {
"x",
"p"};
828 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 of an NLP solver plugin.
CASADI_EXPORT std::vector< std::string > nlpsol_in()
Get the input scheme of NLP solvers.
CASADI_EXPORT std::string doc_nlpsol(const std::string &name)
Get the documentation string of an NLP solver plugin.
CASADI_EXPORT bool has_nlpsol(const std::string &name)
Check if an NLP solver plugin is available.
CASADI_EXPORT void load_nlpsol(const std::string &name)
Explicitly load an NLP solver plugin.
CASADI_EXPORT std::string nlpsol_option_info(const std::string &name, const std::string &op)
Get the documentation string of an option of an NLP solver plugin.
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 the type of an option of an NLP solver plugin.
CASADI_EXPORT std::vector< std::string > nlpsol_out()
Get the 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 value of an NLP solver input.
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.