'osqp' plugin for Conic More...
#include <osqp_interface.hpp>
Interface to the OSQP Solver for quadratic programming
Extra doc: https://github.com/casadi/casadi/wiki/L_220
Extra doc: https://github.com/casadi/casadi/wiki/L_243
Id | Type | Description |
---|---|---|
osqp | OT_DICT | const Options to be passed to osqp. |
warm_start_dual | OT_BOOL | Use lam_a0 and lam_x0 input to warmstart [Default: truw]. |
warm_start_primal | OT_BOOL | Use x0 input to warmstart [Default: true]. |
Id | Type | Description | Used in |
---|---|---|---|
ad_weight | OT_DOUBLE | Weighting factor for derivative calculation.When there is an option of either using forward or reverse mode directional derivatives, the condition ad_weight*nf<=(1-ad_weight)*na is used where nf and na are estimates of the number of forward/reverse mode directional derivatives needed. By default, ad_weight is calculated automatically, but this can be overridden by setting this option. In particular, 0 means forcing forward mode and 1 forcing reverse mode. Leave unset for (class specific) heuristics. | casadi::FunctionInternal |
ad_weight_sp | OT_DOUBLE | Weighting factor for sparsity pattern calculation calculation.Overrides default behavior. Set to 0 and 1 to force forward and reverse mode respectively. Cf. option "ad_weight". When set to -1, sparsity is completely ignored and dense matrices are used. | casadi::FunctionInternal |
always_inline | OT_BOOL | Force inlining. | casadi::FunctionInternal |
cache | OT_DICT | Prepopulate the function cache. Default: empty | casadi::FunctionInternal |
compiler | OT_STRING | Just-in-time compiler plugin to be used. | casadi::FunctionInternal |
custom_jacobian | OT_FUNCTION | Override CasADi's AD. Use together with 'jac_penalty': 0. Note: Highly experimental. Syntax may break often. | casadi::FunctionInternal |
der_options | OT_DICT | Default options to be used to populate forward_options, reverse_options, and jacobian_options before those options are merged in. | casadi::FunctionInternal |
derivative_of | OT_FUNCTION | The function is a derivative of another function. The type of derivative (directional derivative, Jacobian) is inferred from the function name. | casadi::FunctionInternal |
discrete | OT_BOOLVECTOR | Indicates which of the variables are discrete, i.e. integer-valued | casadi::Conic |
dump | OT_BOOL | Dump function to file upon first evaluation. [false] | casadi::FunctionInternal |
dump_dir | OT_STRING | Directory to dump inputs/outputs to. Make sure the directory exists [.] | casadi::FunctionInternal |
dump_format | OT_STRING | Choose file format to dump matrices. See DM.from_file [mtx] | casadi::FunctionInternal |
dump_in | OT_BOOL | Dump numerical values of inputs to file (readable with DM.from_file) [default: false] A counter is used to generate unique names. The counter may be reset using reset_dump_count. | casadi::FunctionInternal |
dump_out | OT_BOOL | Dump numerical values of outputs to file (readable with DM.from_file) [default: false] A counter is used to generate unique names. The counter may be reset using reset_dump_count. | casadi::FunctionInternal |
enable_fd | OT_BOOL | Enable derivative calculation by finite differencing. [default: false]] | casadi::FunctionInternal |
enable_forward | OT_BOOL | Enable derivative calculation using generated functions for Jacobian-times-vector products - typically using forward mode AD - if available. [default: true] | casadi::FunctionInternal |
enable_jacobian | OT_BOOL | Enable derivative calculation using generated functions for Jacobians of all differentiable outputs with respect to all differentiable inputs - if available. [default: true] | casadi::FunctionInternal |
enable_reverse | OT_BOOL | Enable derivative calculation using generated functions for transposed Jacobian-times-vector products - typically using reverse mode AD - if available. [default: true] | casadi::FunctionInternal |
equality | OT_BOOLVECTOR | Indicate an upfront hint which of the constraints are equalities. Some solvers may be able to exploit this knowledge. When true, the corresponding lower and upper bounds are assumed equal. When false, the corresponding bounds may be equal or different. | casadi::Conic |
error_on_fail | OT_BOOL | Throw exceptions when function evaluation fails (default true). | casadi::ProtoFunction |
external_transform | OT_VECTORVECTOR | List of external_transform instruction arguments. Default: empty | casadi::FunctionInternal |
fd_method | OT_STRING | Method for finite differencing [default 'central'] | casadi::FunctionInternal |
fd_options | OT_DICT | Options to be passed to the finite difference instance | casadi::FunctionInternal |
forward_options | OT_DICT | Options to be passed to a forward mode constructor | casadi::FunctionInternal |
gather_stats | OT_BOOL | Deprecated option (ignored): Statistics are now always collected. | casadi::FunctionInternal |
input_scheme | OT_STRINGVECTOR | Deprecated option (ignored) | casadi::FunctionInternal |
inputs_check | OT_BOOL | Throw exceptions when the numerical values of the inputs don't make sense | casadi::FunctionInternal |
is_diff_in | OT_BOOLVECTOR | Indicate for each input if it should be differentiable. | casadi::FunctionInternal |
is_diff_out | OT_BOOLVECTOR | Indicate for each output if it should be differentiable. | casadi::FunctionInternal |
jac_penalty | OT_DOUBLE | When requested for a number of forward/reverse directions, it may be cheaper to compute first the full jacobian and then multiply with seeds, rather than obtain the requested directions in a straightforward manner. Casadi uses a heuristic to decide which is cheaper. A high value of 'jac_penalty' makes it less likely for the heurstic to chose the full Jacobian strategy. The special value -1 indicates never to use the full Jacobian strategy | casadi::FunctionInternal |
jacobian_options | OT_DICT | Options to be passed to a Jacobian constructor | casadi::FunctionInternal |
jit | OT_BOOL | Use just-in-time compiler to speed up the evaluation | casadi::FunctionInternal |
jit_cleanup | OT_BOOL | Cleanup up the temporary source file that jit creates. Default: true | casadi::FunctionInternal |
jit_name | OT_STRING | The file name used to write out code. The actual file names used depend on 'jit_temp_suffix' and include extensions. Default: 'jit_tmp' | casadi::FunctionInternal |
jit_options | OT_DICT | Options to be passed to the jit compiler. | casadi::FunctionInternal |
jit_serialize | OT_STRING | Specify behaviour when serializing a jitted function: SOURCE|link|embed. | casadi::FunctionInternal |
jit_temp_suffix | OT_BOOL | Use a temporary (seemingly random) filename suffix for generated code and libraries. This is desired for thread-safety. This behaviour may defeat caching compiler wrappers. Default: true | casadi::FunctionInternal |
max_io | OT_INT | Acceptable number of inputs and outputs. Warn if exceeded. | casadi::FunctionInternal |
max_num_dir | OT_INT | Specify the maximum number of directions for derivative functions. Overrules the builtin optimized_num_dir. | casadi::FunctionInternal |
never_inline | OT_BOOL | Forbid inlining. | casadi::FunctionInternal |
osqp | OT_DICT | const Options to be passed to osqp. | casadi::OsqpInterface |
output_scheme | OT_STRINGVECTOR | Deprecated option (ignored) | casadi::FunctionInternal |
post_expand | OT_BOOL | After construction, expand this Function. Default: False | casadi::FunctionInternal |
post_expand_options | OT_DICT | Options to be passed to post-construction expansion. Default: empty | casadi::FunctionInternal |
print_canonical | OT_BOOL | When printing numerical matrices, use a format that is exact and reproducible in generated C code. | casadi::FunctionInternal |
print_in | OT_BOOL | Print numerical values of inputs [default: false] | casadi::FunctionInternal |
print_out | OT_BOOL | Print numerical values of outputs [default: false] | casadi::FunctionInternal |
print_problem | OT_BOOL | Print a numeric description of the problem | casadi::Conic |
print_time | OT_BOOL | print information about execution time. Implies record_time. | casadi::ProtoFunction |
record_time | OT_BOOL | record information about execution time, for retrieval with stats(). | casadi::ProtoFunction |
regularity_check | OT_BOOL | Throw exceptions when NaN or Inf appears during evaluation | casadi::ProtoFunction |
reverse_options | OT_DICT | Options to be passed to a reverse mode constructor | casadi::FunctionInternal |
user_data | OT_VOIDPTR | A user-defined field that can be used to identify the function or pass additional information | casadi::FunctionInternal |
verbose | OT_BOOL | Verbose evaluation – for debugging | casadi::ProtoFunction |
warm_start_dual | OT_BOOL | Use lam_a0 and lam_x0 input to warmstart [Default: truw]. | casadi::OsqpInterface |
warm_start_primal | OT_BOOL | Use x0 input to warmstart [Default: true]. | casadi::OsqpInterface |
Definition at line 66 of file osqp_interface.hpp.
Public Types | |
typedef Conic *(* | Creator) (const std::string &name, const std::map< std::string, Sparsity > &st) |
using | weak_ref_type = WeakRefInternal |
typedef int(* | RegFcn) (Plugin *plugin) |
Public Member Functions | |
OsqpInterface (const std::string &name, const std::map< std::string, Sparsity > &st) | |
Create a new Solver. More... | |
~OsqpInterface () override | |
Destructor. More... | |
const char * | plugin_name () const override |
std::string | class_name () const override |
Readable name of the internal class. More... | |
void | init (const Dict &opts) override |
Initialize. More... | |
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... | |
int | solve (const double **arg, double **res, casadi_int *iw, double *w, void *mem) const override |
Solve the QP. More... | |
bool | integer_support () const override |
Can discrete variables be treated. More... | |
bool | psd_support () const override |
Can psd constraints be treated. More... | |
Dict | get_stats (void *mem) const override |
Get all statistics. More... | |
void | codegen_body (CodeGenerator &g) const override |
Generate code for the function body. More... | |
void | codegen_init_mem (CodeGenerator &g) const override |
Codegen alloc_mem. More... | |
void | codegen_free_mem (CodeGenerator &g) const override |
Codegen free_mem. More... | |
std::string | codegen_mem_type () const override |
Thread-local memory object type. More... | |
void | serialize_body (SerializingStream &s) const override |
Serialize an object without type information. More... | |
int | eval (const double **arg, double **res, casadi_int *iw, double *w, void *mem) const final |
Solve the QP. More... | |
void | set_work (void *mem, const double **&arg, double **&res, casadi_int *&iw, double *&w) const override |
Set the (persistent) work vectors. More... | |
virtual void | check_inputs (const double *lbx, const double *ubx, const double *lba, const double *uba) const |
Check if the numerical values of the supplied bounds make sense. More... | |
virtual void | generateNativeCode (std::ostream &file) const |
bool | is_a (const std::string &type, bool recursive) const override |
Check if the function is of a particular type. More... | |
double | get_default_in (casadi_int ind) const override |
Get default input value. More... | |
void | qp_codegen_body (CodeGenerator &g) const |
Generate code for the function body. More... | |
void | serialize (SerializingStream &s) const |
Serialize an object. More... | |
void | serialize_type (SerializingStream &s) const override |
Serialize type information. More... | |
std::string | serialize_base_function () const override |
String used to identify the immediate FunctionInternal subclass. More... | |
virtual std::string | getAdaptorSolverName () const |
Obtain solver name from Adaptor. More... | |
Dict | generate_options (const std::string &target) const override |
Reconstruct options dict. More... | |
void | change_option (const std::string &option_name, const GenericType &option_value) override |
Change option after object creation for debugging. More... | |
void | reset_dump_count () |
Reset the counter used to name dump files. More... | |
void | finalize () override |
Finalize the object creation. More... | |
Function | self () const |
Get a public class instance. More... | |
virtual Function | factory (const std::string &name, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux, const Dict &opts) const |
virtual std::vector< std::string > | get_function () const |
virtual const Function & | get_function (const std::string &name) const |
virtual bool | has_function (const std::string &fname) const |
void | add_embedded (std::map< FunctionInternal *, Function > &all_fun, const Function &dep, casadi_int max_depth) const |
virtual void | find (std::map< FunctionInternal *, Function > &all_fun, casadi_int max_depth) const |
virtual std::vector< bool > | which_depends (const std::string &s_in, const std::vector< std::string > &s_out, casadi_int order, bool tr=false) const |
Which variables enter with some order. More... | |
virtual int | eval_sx (const SXElem **arg, SXElem **res, casadi_int *iw, SXElem *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate with symbolic scalars. More... | |
virtual void | eval_mx (const MXVector &arg, MXVector &res, bool always_inline, bool never_inline) const |
Evaluate with symbolic matrices. More... | |
template<typename M > | |
void | call (const std::vector< M > &arg, std::vector< M > &res, bool always_inline, bool never_inline) const |
Call a function, templated. More... | |
template<typename M > | |
bool | matching_arg (const std::vector< M > &arg, casadi_int &npar) const |
Check if input arguments that needs to be replaced. More... | |
template<typename M > | |
bool | matching_res (const std::vector< M > &arg, casadi_int &npar) const |
Check if output arguments that needs to be replaced. More... | |
template<typename M > | |
std::vector< M > | replace_arg (const std::vector< M > &arg, casadi_int npar) const |
Replace 0-by-0 inputs. More... | |
template<typename M > | |
std::vector< M > | project_arg (const std::vector< M > &arg, casadi_int npar) const |
Project sparsities. More... | |
template<typename M > | |
std::vector< M > | project_res (const std::vector< M > &arg, casadi_int npar) const |
Project sparsities. More... | |
template<typename M > | |
std::vector< M > | replace_res (const std::vector< M > &res, casadi_int npar) const |
Replace 0-by-0 outputs. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_fseed (const std::vector< std::vector< M >> &fseed, casadi_int npar) const |
Replace 0-by-0 forward seeds. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_fseed (const std::vector< std::vector< M > > &fseed, casadi_int npar) const |
template<typename M > | |
std::vector< std::vector< M > > | replace_aseed (const std::vector< std::vector< M >> &aseed, casadi_int npar) const |
Replace 0-by-0 reverse seeds. More... | |
template<typename M > | |
std::vector< std::vector< M > > | replace_aseed (const std::vector< std::vector< M > > &aseed, casadi_int npar) const |
std::vector< MX > | mapsum_mx (const std::vector< MX > &arg, const std::string ¶llelization) |
Parallel evaluation. More... | |
virtual bool | uses_output () const |
Do the derivative functions need nondifferentiated outputs? More... | |
std::string | diff_prefix (const std::string &prefix) const |
Determine prefix for differentiated functions. More... | |
virtual Function | slice (const std::string &name, const std::vector< casadi_int > &order_in, const std::vector< casadi_int > &order_out, const Dict &opts) const |
returns a new function with a selection of inputs/outputs of the original More... | |
virtual const Function & | oracle () const |
Get oracle. More... | |
bool | has_derivative () const |
Can derivatives be calculated in any way? More... | |
virtual double | ad_weight () const |
Weighting factor for chosing forward/reverse mode. More... | |
virtual double | sp_weight () const |
Weighting factor for chosing forward/reverse mode,. More... | |
virtual std::vector< MX > | free_mx () const |
Get free variables (MX) More... | |
virtual std::vector< SX > | free_sx () const |
Get free variables (SX) More... | |
virtual bool | has_free () const |
Does the function have free variables. More... | |
virtual void | generate_lifted (Function &vdef_fcn, Function &vinit_fcn) const |
Extract the functions needed for the Lifted Newton method. More... | |
virtual casadi_int | n_instructions () const |
Get the number of atomic operations. More... | |
virtual casadi_int | instruction_id (casadi_int k) const |
Get an atomic operation operator index. More... | |
virtual std::vector< casadi_int > | instruction_input (casadi_int k) const |
Get the (integer) input arguments of an atomic operation. More... | |
virtual double | instruction_constant (casadi_int k) const |
Get the floating point output argument of an atomic operation. More... | |
virtual std::vector< casadi_int > | instruction_output (casadi_int k) const |
Get the (integer) output argument of an atomic operation. More... | |
virtual casadi_int | n_nodes () const |
Number of nodes in the algorithm. More... | |
virtual MX | instruction_MX (casadi_int k) const |
get MX expression associated with instruction More... | |
virtual SX | instructions_sx () const |
get SX expression associated with instructions More... | |
Function | wrap () const |
Wrap in an Function instance consisting of only one MX call. More... | |
Function | wrap_as_needed (const Dict &opts) const |
Wrap in an Function instance consisting of only one MX call. More... | |
Dict | cache () const |
Get all functions in the cache. More... | |
bool | incache (const std::string &fname, Function &f, const std::string &suffix="") const |
Get function in cache. More... | |
void | tocache (const Function &f, const std::string &suffix="") const |
Save function to cache. More... | |
void | tocache_if_missing (Function &f, const std::string &suffix="") const |
Save function to cache, only if missing. More... | |
void | codegen (CodeGenerator &g, const std::string &fname) const |
Generate code the function. More... | |
void | codegen_meta (CodeGenerator &g) const |
Generate meta-information allowing a user to evaluate a generated function. More... | |
void | codegen_sparsities (CodeGenerator &g) const |
Codegen sparsities. More... | |
virtual std::string | codegen_name (const CodeGenerator &g, bool ns=true) const |
Get name in codegen. More... | |
std::string | codegen_mem (CodeGenerator &g, const std::string &index="mem") const |
Get thread-local memory object. More... | |
virtual void | codegen_incref (CodeGenerator &g) const |
Codegen incref for dependencies. More... | |
virtual void | codegen_decref (CodeGenerator &g) const |
Codegen decref for dependencies. More... | |
virtual void | codegen_alloc_mem (CodeGenerator &g) const |
Codegen decref for alloc_mem. More... | |
virtual void | codegen_checkout (CodeGenerator &g) const |
Codegen for checkout. More... | |
virtual void | codegen_release (CodeGenerator &g) const |
Codegen for release. More... | |
std::string | signature (const std::string &fname) const |
Code generate the function. More... | |
std::string | signature_unrolled (const std::string &fname) const |
Code generate the function. More... | |
virtual void | codegen_declarations (CodeGenerator &g) const |
Generate code for the declarations of the C function. More... | |
virtual std::string | generate_dependencies (const std::string &fname, const Dict &opts) const |
Export / Generate C code for the dependency function. More... | |
virtual bool | has_codegen () const |
Is codegen supported? More... | |
virtual void | jit_dependencies (const std::string &fname) |
Jit dependencies. More... | |
virtual void | export_code (const std::string &lang, std::ostream &stream, const Dict &options) const |
Export function in a specific language. More... | |
void | disp (std::ostream &stream, bool more) const override |
Display object. More... | |
virtual void | disp_more (std::ostream &stream) const |
Print more. More... | |
std::string | definition () const |
Get function signature: name:(inputs)->(outputs) More... | |
void | print_dimensions (std::ostream &stream) const |
Print dimensions of inputs and outputs. More... | |
virtual std::vector< std::string > | get_free () const |
Print free variables. More... | |
void | get_partition (casadi_int iind, casadi_int oind, Sparsity &D1, Sparsity &D2, bool compact, bool symmetric, bool allow_forward, bool allow_reverse) const |
Get the unidirectional or bidirectional partition. More... | |
virtual double | get_max_in (casadi_int ind) const |
Get largest input value. More... | |
virtual double | get_min_in (casadi_int ind) const |
Get smallest input value. More... | |
virtual std::vector< double > | get_nominal_in (casadi_int ind) const |
virtual std::vector< double > | get_nominal_out (casadi_int ind) const |
virtual double | get_reltol () const |
Get relative tolerance. More... | |
virtual double | get_abstol () const |
Get absolute tolerance. More... | |
virtual bool | get_diff_in (casadi_int i) |
Which inputs are differentiable. More... | |
virtual bool | get_diff_out (casadi_int i) |
Which outputs are differentiable. More... | |
casadi_int | index_in (const std::string &name) const |
Get input scheme index by name. More... | |
casadi_int | index_out (const std::string &name) const |
Get output scheme index by name. More... | |
virtual int | sp_forward (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem) const |
Propagate sparsity forward. More... | |
virtual int | sp_forward_block (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem, casadi_int oind, casadi_int iind) const |
Propagate sparsity forward, specific block. More... | |
virtual int | sp_reverse (bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem) const |
Propagate sparsity backwards. More... | |
void | sz_work (size_t &sz_arg, size_t &sz_res, size_t &sz_iw, size_t &sz_w) const |
Get number of temporary variables needed. More... | |
size_t | sz_arg () const |
Get required length of arg field. More... | |
size_t | sz_res () const |
Get required length of res field. More... | |
size_t | sz_iw () const |
Get required length of iw field. More... | |
size_t | sz_w () const |
Get required length of w field. More... | |
void | alloc_arg (size_t sz_arg, bool persistent=false) |
Ensure required length of arg field. More... | |
void | alloc_res (size_t sz_res, bool persistent=false) |
Ensure required length of res field. More... | |
void | alloc_iw (size_t sz_iw, bool persistent=false) |
Ensure required length of iw field. More... | |
void | alloc_w (size_t sz_w, bool persistent=false) |
Ensure required length of w field. More... | |
void | alloc (const Function &f, bool persistent=false, int num_threads=1) |
Ensure work vectors long enough to evaluate function. More... | |
virtual void | set_temp (void *mem, const double **arg, double **res, casadi_int *iw, double *w) const |
Set the (temporary) work vectors. More... | |
void | setup (void *mem, const double **arg, double **res, casadi_int *iw, double *w) const |
Set the (persistent and temporary) work vectors. More... | |
virtual Dict | info () const |
Function | map (casadi_int n, const std::string ¶llelization) const |
Generate/retrieve cached serial map. More... | |
void | generate_in (const std::string &fname, const double **arg) const |
Export an input file that can be passed to generate C code with a main. More... | |
void | generate_out (const std::string &fname, double **res) const |
virtual void | merge (const std::vector< MX > &arg, std::vector< MX > &subs_from, std::vector< MX > &subs_to) const |
List merge opportunitities. More... | |
template<typename MatType > | |
std::vector< std::vector< MatType > > | fwd_seed (casadi_int nfwd) const |
Symbolic expressions for the forward seeds. More... | |
template<typename MatType > | |
std::vector< std::vector< MatType > > | symbolicAdjSeed (casadi_int nadj, const std::vector< MatType > &v) const |
Symbolic expressions for the adjoint seeds. More... | |
void | print_in (std::ostream &stream, const double **arg, bool truncate) const |
Print inputs. More... | |
void | print_out (std::ostream &stream, double **res, bool truncate) const |
Print outputs. More... | |
void | construct (const Dict &opts) |
Construct. More... | |
void | print_options (std::ostream &stream) const |
Print list of options. More... | |
void | print_option (const std::string &name, std::ostream &stream) const |
Print all information there is to know about a certain option. More... | |
bool | has_option (const std::string &option_name) const |
Does a particular option exist. More... | |
int | checkout () const |
Checkout a memory object. More... | |
void | release (int mem) const |
Release a memory object. More... | |
void * | memory (int ind) const |
Memory objects. More... | |
bool | has_memory (int ind) const |
Check for existance of memory object. More... | |
virtual void | check_mem_count (casadi_int n) const |
Check for validatity of memory object count. More... | |
void | clear_mem () |
Clear all memory (called from destructor) More... | |
void | print (const char *fmt,...) const |
C-style formatted printing during evaluation. More... | |
void | sprint (char *buf, size_t buf_sz, const char *fmt,...) const |
C-style formatted printing to string. More... | |
void | format_time (char *buffer, double time) const |
Format time in a fixed width 8 format. More... | |
void | print_time (const std::map< std::string, FStats > &fstats) const |
Print timing statistics. More... | |
casadi_int | getCount () const |
Get the reference count. More... | |
std::string | debug_repr (const SharedObjectInternal *) const |
GenericWeakRef< SharedObject, SharedObjectInternal > * | weak () |
Get a weak reference to the object. More... | |
size_t | get_n_in () override |
Number of function inputs and outputs. More... | |
size_t | get_n_out () override |
Number of function inputs and outputs. More... | |
Sparsity | get_sparsity_in (casadi_int i) override |
Sparsities of function inputs and outputs. More... | |
Sparsity | get_sparsity_out (casadi_int i) override |
Sparsities of function inputs and outputs. More... | |
std::string | get_name_in (casadi_int i) override |
Names of function input and outputs. More... | |
std::string | get_name_out (casadi_int i) override |
Names of function input and outputs. More... | |
virtual bool | has_spfwd () const |
Is the class able to propagate seeds through the algorithm? More... | |
virtual bool | has_sprev () const |
Is the class able to propagate seeds through the algorithm? More... | |
int | eval_gen (const double **arg, double **res, casadi_int *iw, double *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate numerically. More... | |
int | eval_gen (const SXElem **arg, SXElem **res, casadi_int *iw, SXElem *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate a function, overloaded. More... | |
int | eval_gen (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem, bool always_inline, bool never_inline) const |
Evaluate a function, overloaded. More... | |
virtual std::vector< DM > | eval_dm (const std::vector< DM > &arg) const |
Evaluate with DM matrices. More... | |
virtual bool | has_eval_dm () const |
Evaluate with DM matrices. More... | |
void | call_gen (const MXVector &arg, MXVector &res, casadi_int npar, bool always_inline, bool never_inline) const |
Call a function, overloaded. More... | |
template<typename D > | |
void | call_gen (const std::vector< Matrix< D > > &arg, std::vector< Matrix< D > > &res, casadi_int npar, bool always_inline, bool never_inline) const |
Call a function, overloaded. More... | |
template<typename M > | |
void | check_arg (const std::vector< M > &arg, casadi_int &npar) const |
Check if input arguments have correct length and dimensions. More... | |
template<typename M > | |
void | check_res (const std::vector< M > &res, casadi_int &npar) const |
Check if output arguments have correct length and dimensions. More... | |
template<typename M > | |
std::map< std::string, M > | convert_arg (const std::vector< M > &arg) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::vector< M > | convert_arg (const std::map< std::string, M > &arg) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::map< std::string, M > | convert_res (const std::vector< M > &res) const |
Convert from/to input/output lists/map. More... | |
template<typename M > | |
std::vector< M > | convert_res (const std::map< std::string, M > &res) const |
Convert from/to input/output lists/map. More... | |
std::vector< double > | nz_in (const std::vector< DM > &arg) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< DM > | nz_in (const std::vector< double > &arg) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< double > | nz_out (const std::vector< DM > &res) const |
Convert from/to flat vector of input/output nonzeros. More... | |
std::vector< DM > | nz_out (const std::vector< double > &res) const |
Convert from/to flat vector of input/output nonzeros. More... | |
virtual void | call_forward (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &fseed, std::vector< std::vector< MX > > &fsens, bool always_inline, bool never_inline) const |
Forward mode AD, virtual functions overloaded in derived classes. More... | |
virtual void | call_forward (const std::vector< SX > &arg, const std::vector< SX > &res, const std::vector< std::vector< SX > > &fseed, std::vector< std::vector< SX > > &fsens, bool always_inline, bool never_inline) const |
Forward mode AD, virtual functions overloaded in derived classes. More... | |
virtual void | call_reverse (const std::vector< MX > &arg, const std::vector< MX > &res, const std::vector< std::vector< MX > > &aseed, std::vector< std::vector< MX > > &asens, bool always_inline, bool never_inline) const |
Reverse mode, virtual functions overloaded in derived classes. More... | |
virtual void | call_reverse (const std::vector< SX > &arg, const std::vector< SX > &res, const std::vector< std::vector< SX > > &aseed, std::vector< std::vector< SX > > &asens, bool always_inline, bool never_inline) const |
Reverse mode, virtual functions overloaded in derived classes. More... | |
Function | jacobian () const |
Return Jacobian of all input elements with respect to all output elements. More... | |
virtual bool | has_jacobian () const |
Return Jacobian of all input elements with respect to all output elements. More... | |
virtual Function | get_jacobian (const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const |
Return Jacobian of all input elements with respect to all output elements. More... | |
Sparsity & | jac_sparsity (casadi_int oind, casadi_int iind, bool compact, bool symmetric) const |
Get Jacobian sparsity. More... | |
virtual bool | has_jac_sparsity (casadi_int oind, casadi_int iind) const |
Get Jacobian sparsity. More... | |
virtual Sparsity | get_jac_sparsity (casadi_int oind, casadi_int iind, bool symmetric) const |
Get Jacobian sparsity. More... | |
Function | forward (casadi_int nfwd) const |
Return function that calculates forward derivatives. More... | |
virtual bool | has_forward (casadi_int nfwd) const |
Return function that calculates forward derivatives. More... | |
virtual Function | get_forward (casadi_int nfwd, const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const |
Return function that calculates forward derivatives. More... | |
Function | reverse (casadi_int nadj) const |
Return function that calculates adjoint derivatives. More... | |
virtual bool | has_reverse (casadi_int nadj) const |
Return function that calculates adjoint derivatives. More... | |
virtual Function | get_reverse (casadi_int nadj, const std::string &name, const std::vector< std::string > &inames, const std::vector< std::string > &onames, const Dict &opts) const |
Return function that calculates adjoint derivatives. More... | |
virtual const SX | sx_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< SX > | sx_in () const |
Get function input(s) and output(s) More... | |
virtual const SX | sx_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< SX > | sx_out () const |
Get function input(s) and output(s) More... | |
virtual const MX | mx_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< MX > | mx_in () const |
Get function input(s) and output(s) More... | |
virtual const MX | mx_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
virtual const std::vector< MX > | mx_out () const |
Get function input(s) and output(s) More... | |
const DM | dm_in (casadi_int ind) const |
Get function input(s) and output(s) More... | |
const std::vector< DM > | dm_in () const |
Get function input(s) and output(s) More... | |
const DM | dm_out (casadi_int ind) const |
Get function input(s) and output(s) More... | |
const std::vector< DM > | dm_out () const |
Get function input(s) and output(s) More... | |
casadi_int | nnz_in () const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_in (casadi_int ind) const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_out () const |
Number of input/output nonzeros. More... | |
casadi_int | nnz_out (casadi_int ind) const |
Number of input/output nonzeros. More... | |
casadi_int | numel_in () const |
Number of input/output elements. More... | |
casadi_int | numel_in (casadi_int ind) const |
Number of input/output elements. More... | |
casadi_int | numel_out (casadi_int ind) const |
Number of input/output elements. More... | |
casadi_int | numel_out () const |
Number of input/output elements. More... | |
casadi_int | size1_in (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size2_in (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size1_out (casadi_int ind) const |
Input/output dimensions. More... | |
casadi_int | size2_out (casadi_int ind) const |
Input/output dimensions. More... | |
std::pair< casadi_int, casadi_int > | size_in (casadi_int ind) const |
Input/output dimensions. More... | |
std::pair< casadi_int, casadi_int > | size_out (casadi_int ind) const |
Input/output dimensions. More... | |
const Sparsity & | sparsity_in (casadi_int ind) const |
Input/output sparsity. More... | |
const Sparsity & | sparsity_out (casadi_int ind) const |
Input/output sparsity. More... | |
bool | all_scalar () const |
Are all inputs and outputs scalar. More... | |
virtual bool | jac_is_symm (casadi_int oind, casadi_int iind) const |
Is a Jacobian block known to be symmetric a priori? More... | |
Sparsity | to_compact (casadi_int oind, casadi_int iind, const Sparsity &sp) const |
Convert to compact Jacobian sparsity pattern. More... | |
Sparsity | from_compact (casadi_int oind, casadi_int iind, const Sparsity &sp) const |
Convert from compact Jacobian sparsity pattern. More... | |
template<bool fwd> | |
Sparsity | get_jac_sparsity_gen (casadi_int oind, casadi_int iind) const |
Get the sparsity pattern via sparsity seed propagation. More... | |
Sparsity | get_jac_sparsity_hierarchical (casadi_int oind, casadi_int iind) const |
A flavor of get_jac_sparsity_gen that does hierarchical block structure recognition. More... | |
Sparsity | get_jac_sparsity_hierarchical_symm (casadi_int oind, casadi_int iind) const |
virtual std::vector< MX > | symbolic_output (const std::vector< MX > &arg) const |
Get a vector of symbolic variables corresponding to the outputs. More... | |
virtual size_t | codegen_sz_arg (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_res (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_iw (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual size_t | codegen_sz_w (const CodeGenerator &g) const |
Get required lengths, for codegen. More... | |
virtual bool | fwdViaJac (casadi_int nfwd) const |
Calculate derivatives by multiplying the full Jacobian and multiplying. More... | |
virtual bool | adjViaJac (casadi_int nadj) const |
Calculate derivatives by multiplying the full Jacobian and multiplying. More... | |
Static Public Member Functions | |
static Conic * | creator (const std::string &name, const std::map< std::string, Sparsity > &st) |
Create a new QP Solver. More... | |
static ProtoFunction * | deserialize (DeserializingStream &s) |
Deserialize with type disambiguation. More... | |
static std::string | shortname () |
Short name. More... | |
static std::string | forward_name (const std::string &fcn, casadi_int nfwd) |
Helper function: Get name of forward derivative function. More... | |
static std::string | reverse_name (const std::string &fcn, casadi_int nadj) |
Helper function: Get name of adjoint derivative function. More... | |
template<typename MatType > | |
static MatType | ensure_stacked (const MatType &v, const Sparsity &sp, casadi_int n) |
Ensure that a matrix's sparsity is a horizontal multiple of another, or empty. More... | |
template<typename MatType > | |
static bool | purgable (const std::vector< MatType > &seed) |
Can a derivative direction be skipped. More... | |
static std::string | string_from_UnifiedReturnStatus (UnifiedReturnStatus status) |
static void | print_canonical (std::ostream &stream, const Sparsity &sp, const double *nz) |
Print canonical representation of a numeric matrix. More... | |
static void | print_canonical (std::ostream &stream, casadi_int sz, const double *nz) |
Print canonical representation of a numeric vector. More... | |
static void | print_canonical (std::ostream &stream, double a) |
Print canonical representation of a number. More... | |
static bool | has_plugin (const std::string &pname, bool verbose=false) |
Check if a plugin is available or can be loaded. More... | |
static const Options & | plugin_options (const std::string &pname) |
Get the plugin options. More... | |
static Deserialize | plugin_deserialize (const std::string &pname) |
Get the plugin deserialize_map. More... | |
static Plugin | pluginFromRegFcn (RegFcn regfcn) |
Instantiate a Plugin struct from a factory function. More... | |
static Plugin | load_plugin (const std::string &pname, bool register_plugin=true, bool needs_lock=true) |
Load a plugin dynamically. More... | |
static handle_t | load_library (const std::string &libname, std::string &resultpath, bool global) |
Load a library dynamically. More... | |
static void | registerPlugin (const Plugin &plugin, bool needs_lock=true) |
Register an integrator in the factory. More... | |
static void | registerPlugin (RegFcn regfcn, bool needs_lock=true) |
Register an integrator in the factory. More... | |
static Plugin & | getPlugin (const std::string &pname) |
Load and get the creator function. More... | |
static Conic * | instantiate (const std::string &fname, const std::string &pname, Problem problem) |
static bool | check_mat (const Sparsity &arg, const Sparsity &inp, casadi_int &npar) |
Public Attributes | |
casadi_int | nnzHupp_ |
casadi_int | nnzA_ |
OSQPSettings | settings_ |
bool | warm_start_primal_ |
bool | warm_start_dual_ |
casadi_qp_prob< double > | p_qp_ |
bool | always_inline_ |
bool | never_inline_ |
size_t | n_in_ |
Number of inputs and outputs. More... | |
size_t | n_out_ |
std::vector< bool > | is_diff_in_ |
Are inputs and outputs differentiable? More... | |
std::vector< bool > | is_diff_out_ |
std::vector< Sparsity > | sparsity_in_ |
Input and output sparsity. More... | |
std::vector< Sparsity > | sparsity_out_ |
std::vector< std::string > | name_in_ |
Input and output scheme. More... | |
std::vector< std::string > | name_out_ |
bool | jit_ |
Use just-in-time compiler. More... | |
bool | jit_cleanup_ |
Cleanup jit source file. More... | |
std::string | jit_serialize_ |
Serialize behaviour. More... | |
std::string | jit_name_ |
Name if jit source file. More... | |
std::string | jit_base_name_ |
bool | jit_temp_suffix_ |
Use a temporary name. More... | |
eval_t | eval_ |
Numerical evaluation redirected to a C function. More... | |
casadi_checkout_t | checkout_ |
Checkout redirected to a C function. More... | |
casadi_release_t | release_ |
Release redirected to a C function. More... | |
Dict | stats_ |
Dict of statistics (resulting from evaluate) More... | |
bool | has_refcount_ |
Reference counting in codegen? More... | |
Dict | cache_init_ |
Values to prepopulate the function cache with. More... | |
WeakCache< std::string, Function > | cache_ |
Function cache. More... | |
std::vector< Sparsity > | jac_sparsity_ [2] |
Cache for sparsities of the Jacobian blocks. More... | |
Function | derivative_of_ |
If the function is the derivative of another function. More... | |
void * | user_data_ |
User-set field. More... | |
std::string | compiler_plugin_ |
Just-in-time compiler. More... | |
Importer | compiler_ |
Dict | jit_options_ |
double | jac_penalty_ |
Penalty factor for using a complete Jacobian to calculate directional derivatives. More... | |
bool | enable_forward_ |
bool | enable_reverse_ |
bool | enable_jacobian_ |
bool | enable_fd_ |
bool | enable_forward_op_ |
bool | enable_reverse_op_ |
bool | enable_jacobian_op_ |
bool | enable_fd_op_ |
double | ad_weight_ |
Weighting factor for derivative calculation and sparsity pattern calculation. More... | |
double | ad_weight_sp_ |
casadi_int | max_num_dir_ |
Maximum number of sensitivity directions. More... | |
bool | inputs_check_ |
Errors are thrown if numerical values of inputs look bad. More... | |
Dict | fd_options_ |
double | fd_step_ |
std::string | fd_method_ |
bool | print_in_ |
bool | print_out_ |
bool | print_canonical_ |
casadi_int | max_io_ |
bool | dump_in_ |
bool | dump_out_ |
bool | dump_ |
std::string | dump_dir_ |
std::string | dump_format_ |
Dict | forward_options_ |
Dict | reverse_options_ |
Dict | jacobian_options_ |
Dict | der_options_ |
Function | custom_jacobian_ |
casadi_int | dump_count_ |
std::string | name_ |
Name. More... | |
bool | verbose_ |
Verbose printout. More... | |
bool | print_time_ |
bool | record_time_ |
bool | regularity_check_ |
Errors are thrown when NaN is produced. More... | |
bool | error_on_fail_ |
Throw an exception on failure? More... | |
Static Public Attributes | |
static const std::string | meta_doc |
A documentation string. More... | |
static std::map< std::string, Plugin > | solvers_ |
Collection of solvers. More... | |
static const std::string | infix_ = "conic" |
Infix. More... | |
static std::map< std::string, ProtoFunction *(*)(DeserializingStream &)> | deserialize_map |
Protected Member Functions | |
OsqpInterface (DeserializingStream &e) | |
Deserializing constructor. More... | |
void | sdp_to_socp_init (SDPToSOCPMem &mem) const |
SDP to SOCP conversion initialization. More... | |
void | serialize (SerializingStream &s, const SDPToSOCPMem &m) const |
void | deserialize (DeserializingStream &s, SDPToSOCPMem &m) |
void | set_jac_sparsity (casadi_int oind, casadi_int iind, const Sparsity &sp) |
Populate jac_sparsity_ and jac_sparsity_compact_ during initialization. More... | |
void | initSingleton () |
void | destroySingleton () |
B | shared_from_this () |
Get a shared object from the current internal object. More... | |
const B | shared_from_this () const |
Get a shared object from the current internal object. More... | |
Protected Attributes | |
std::vector< bool > | discrete_ |
Options. More... | |
std::vector< bool > | equality_ |
bool | print_problem_ |
Sparsity | H_ |
Problem structure. More... | |
Sparsity | A_ |
Sparsity | Q_ |
Sparsity | P_ |
casadi_int | nx_ |
Number of decision variables. More... | |
casadi_int | na_ |
The number of constraints (counting both equality and inequality) == A.size1() More... | |
casadi_int | np_ |
The shape of psd constraint matrix. More... | |
static const Options | options_ |
const Options More... | |
const Options & | get_options () const override |
const Options More... | |
|
inherited |
Definition at line 116 of file conic_impl.hpp.
|
inherited |
Definition at line 73 of file plugin_interface.hpp.
|
inherited |
Definition at line 152 of file shared_object.hpp.
|
explicit |
Definition at line 48 of file osqp_interface.cpp.
References casadi::FunctionInternal::has_refcount_.
|
override |
Definition at line 55 of file osqp_interface.cpp.
References casadi::ProtoFunction::clear_mem().
|
explicitprotected |
Definition at line 459 of file osqp_interface.cpp.
References nnzA_, nnzHupp_, settings_, casadi::DeserializingStream::unpack(), casadi::DeserializingStream::version(), warm_start_dual_, and warm_start_primal_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l5
Definition at line 3274 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, and casadi::FunctionInternal::enable_reverse_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::Function::expand(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 3717 of file function_internal.cpp.
References casadi::FunctionInternal::find(), casadi::Function::get(), and casadi::GenericShared< Shared, Internal >::is_null().
Referenced by casadi::MXFunction::find(), casadi::Switch::find(), casadi::SXFunction::find(), and casadi::BSplineInterpolant::find().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nc
Definition at line 3009 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::nnz_in(), and casadi::FunctionInternal::nnz_out().
Referenced by casadi::FunctionInternal::call_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mi
Definition at line 3748 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::call().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n8
Definition at line 2958 of file function_internal.cpp.
References casadi::FunctionInternal::alloc_arg(), casadi::FunctionInternal::alloc_iw(), casadi::FunctionInternal::alloc_res(), casadi::FunctionInternal::alloc_w(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::Function::sz_work().
Referenced by casadi::OracleFunction::finalize(), casadi::KinsolInterface::get_jtimes(), casadi::FiniteDiff::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::Switch::init(), casadi::Feasiblesqpmethod::init(), casadi::ImplicitToNlp::init(), casadi::QpToNlp::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), and casadi::Sqpmethod::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n4
Definition at line 2926 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg().
Referenced by casadi::FunctionInternal::alloc(), casadi::External::init(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n6
Definition at line 2942 of file function_internal.cpp.
References casadi::FunctionInternal::sz_iw().
Referenced by casadi::FunctionInternal::alloc(), casadi::BlazingSplineFunction::init(), casadi::External::init(), casadi::FmuFunction::init(), casadi::Integrator::init(), casadi::Interpolant::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::GurobiInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::OoqpInterface::init(), casadi::SlicotDple::init(), casadi::SlicotExpm::init(), casadi::SundialsInterface::init(), casadi::BSplineInterpolant::init(), casadi::Feasiblesqpmethod::init(), casadi::Ipqp::init(), casadi::LinearInterpolant::init(), casadi::LinearInterpolantJac::init(), casadi::Qrqp::init(), and casadi::Sqpmethod::init().
|
inlineoverridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 97 of file osqp_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n5
Definition at line 2934 of file function_internal.cpp.
References casadi::FunctionInternal::sz_res().
Referenced by casadi::FunctionInternal::alloc(), casadi::External::init(), casadi::FiniteDiff::init(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n7
Definition at line 2950 of file function_internal.cpp.
References casadi::FunctionInternal::sz_w().
Referenced by casadi::FunctionInternal::alloc(), casadi::BlazingSplineFunction::init(), casadi::External::init(), casadi::FiniteDiff::init(), casadi::FmuFunction::init(), casadi::Integrator::init(), casadi::FixedStepIntegrator::init(), casadi::Interpolant::init(), casadi::JitFunction::init(), casadi::Map::init(), casadi::OmpMap::init(), casadi::ThreadMap::init(), casadi::MapSum::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::Switch::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::CbcInterface::init(), casadi::ClarabelInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::GurobiInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::MadnlpInterface::init(), casadi::OoqpInterface::init(), init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::SLEQPInterface::init(), casadi::SlicotDple::init(), casadi::SlicotExpm::init(), casadi::SnoptInterface::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::KinsolInterface::init(), casadi::SundialsInterface::init(), casadi::SuperscsInterface::init(), casadi::WorhpInterface::init(), casadi::BSplineInterpolant::init(), casadi::FastNewton::init(), casadi::Feasiblesqpmethod::init(), casadi::ImplicitToNlp::init(), casadi::Ipqp::init(), casadi::LinearInterpolant::init(), casadi::LinearInterpolantJac::init(), casadi::Newton::init(), casadi::QpToNlp::init(), casadi::Qrqp::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), and casadi::Sqpmethod::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26g
Definition at line 1054 of file function_internal.cpp.
References casadi::FunctionInternal::cache_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kh
Definition at line 1559 of file function_internal.hpp.
References casadi::FunctionInternal::all_scalar(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::replace_arg().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ku
Definition at line 3029 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::forward(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::replace_fseed(), casadi::FunctionInternal::size2_out(), and casadi::FunctionInternal::size_out().
Referenced by casadi::Rootfinder::ad_forward(), casadi::Call::ad_forward(), casadi::MXFunction::ad_forward(), casadi::XFunction< DerivedType, MatType, NodeType >::call_forward(), casadi::MX::forward(), casadi::Integrator::get_forward_dae(), and casadi::Scpgen::init().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ku
Definition at line 3248 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kg
Definition at line 3922 of file function_internal.cpp.
References casadi::FunctionInternal::eval_mx(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::size2_in().
Referenced by casadi::FunctionInternal::call().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kg
Definition at line 1663 of file function_internal.hpp.
References casadi::ProtoFunction::error_on_fail_, casadi::FunctionInternal::eval_gen(), casadi::get_ptr(), casadi::ProtoFunction::memory(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::project_arg(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::sparsity_out(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::GenericMatrix< Matrix< Scalar > >::zeros().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kv
Definition at line 3134 of file function_internal.cpp.
References casadi::FunctionInternal::adjViaJac(), casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_reverse(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::replace_aseed(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size_in(), and casadi::T.
Referenced by casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::Call::ad_reverse(), casadi::XFunction< DerivedType, MatType, NodeType >::call_reverse(), casadi::Scpgen::init(), and casadi::MX::reverse().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kv
Definition at line 3261 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k5
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::MXFunction.
Definition at line 433 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::ad_weight_sp_, casadi::ProtoFunction::change_option(), casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_dir_, casadi::FunctionInternal::dump_format_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::print_canonical_, casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out_, and casadi::GenericType::to_string().
Referenced by casadi::FmuFunction::change_option(), and casadi::MXFunction::change_option().
|
inherited |
Raises errors.
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_ki
Definition at line 1710 of file function_internal.hpp.
References casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::sparsity_in(), and casadi::str().
Referenced by casadi::FunctionInternal::mapsum_mx(), and casadi::FunctionInternal::matching_arg().
|
virtualinherited |
Definition at line 487 of file conic.cpp.
References casadi::inf, casadi::Conic::na_, casadi::Conic::nx_, and casadi::str().
Referenced by casadi::Conic::eval(), casadi::SqicInterface::evaluate(), and casadi::GurobiInterface::solve().
|
staticinherited |
Helper function
npar[in] | normal usage: 1, disallow pararallel calls: -1 |
npar[out] | required number of parallel calls (or -1) |
Definition at line 3460 of file function_internal.cpp.
References casadi::Sparsity::is_empty(), casadi::Sparsity::is_scalar(), casadi::Sparsity::is_vector(), casadi::Sparsity::size(), casadi::Sparsity::size1(), and casadi::Sparsity::size2().
Referenced by casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::check_res(), and casadi::FunctionInternal::mapsum_mx().
|
inlinevirtualinherited |
Purpose if to allow more helpful error messages
Extra doc: https://github.com/casadi/casadi/wiki/L_2b7
Reimplemented in casadi::FmuFunction.
Definition at line 179 of file function_internal.hpp.
Referenced by casadi::ProtoFunction::checkout().
|
inherited |
Raises errors.
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kj
Definition at line 1734 of file function_internal.hpp.
References casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::size_out(), casadi::FunctionInternal::sparsity_out(), and casadi::str().
Referenced by casadi::FunctionInternal::matching_res().
|
inherited |
Definition at line 3669 of file function_internal.cpp.
References casadi::ProtoFunction::alloc_mem(), casadi::ProtoFunction::check_mem_count(), and casadi::ProtoFunction::init_mem().
Referenced by casadi::ProtoFunction::finalize(), casadi::FunctionBuffer::FunctionBuffer(), and casadi::Sqpmethod::init_mem().
|
inlineoverridevirtual |
Implements casadi::SharedObjectInternal.
Definition at line 85 of file osqp_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jq
Definition at line 3557 of file function_internal.cpp.
References casadi::ProtoFunction::free_mem().
Referenced by casadi::AlpaqaInterface::~AlpaqaInterface(), casadi::AmplInterface::~AmplInterface(), casadi::BlazingSplineFunction::~BlazingSplineFunction(), casadi::Blocksqp::~Blocksqp(), casadi::BonminInterface::~BonminInterface(), casadi::BSplineInterpolant::~BSplineInterpolant(), casadi::CallbackInternal::~CallbackInternal(), casadi::CbcInterface::~CbcInterface(), casadi::ClarabelInterface::~ClarabelInterface(), casadi::ClpInterface::~ClpInterface(), casadi::CplexInterface::~CplexInterface(), casadi::CsparseInterface::~CsparseInterface(), casadi::CvodesInterface::~CvodesInterface(), casadi::DaqpInterface::~DaqpInterface(), casadi::External::~External(), casadi::FastNewton::~FastNewton(), casadi::FatropConicInterface::~FatropConicInterface(), casadi::FatropInterface::~FatropInterface(), casadi::Feasiblesqpmethod::~Feasiblesqpmethod(), casadi::FiniteDiff::~FiniteDiff(), casadi::FixedStepIntegrator::~FixedStepIntegrator(), casadi::FmuFunction::~FmuFunction(), casadi::GurobiInterface::~GurobiInterface(), casadi::HighsInterface::~HighsInterface(), casadi::HpipmInterface::~HpipmInterface(), casadi::HpmpcInterface::~HpmpcInterface(), casadi::IdasInterface::~IdasInterface(), casadi::ImplicitToNlp::~ImplicitToNlp(), casadi::IpoptInterface::~IpoptInterface(), casadi::Ipqp::~Ipqp(), casadi::JitFunction::~JitFunction(), casadi::KinsolInterface::~KinsolInterface(), casadi::KnitroInterface::~KnitroInterface(), casadi::LapackLu::~LapackLu(), casadi::LapackQr::~LapackQr(), casadi::LinearInterpolant::~LinearInterpolant(), casadi::LinearInterpolantJac::~LinearInterpolantJac(), casadi::LinsolLdl::~LinsolLdl(), casadi::LinsolQr::~LinsolQr(), casadi::LinsolTridiag::~LinsolTridiag(), casadi::Lsqr::~Lsqr(), casadi::Ma27Interface::~Ma27Interface(), casadi::MadnlpInterface::~MadnlpInterface(), casadi::Map::~Map(), casadi::MapSum::~MapSum(), casadi::MumpsInterface::~MumpsInterface(), casadi::MXFunction::~MXFunction(), casadi::Newton::~Newton(), casadi::Nlpsol::~Nlpsol(), casadi::OmpMap::~OmpMap(), casadi::OoqpInterface::~OoqpInterface(), ~OsqpInterface(), casadi::ProxqpInterface::~ProxqpInterface(), casadi::QpoasesInterface::~QpoasesInterface(), casadi::QpToNlp::~QpToNlp(), casadi::Qrqp::~Qrqp(), casadi::Qrsqp::~Qrsqp(), casadi::Scpgen::~Scpgen(), casadi::SLEQPInterface::~SLEQPInterface(), casadi::SlicotDple::~SlicotDple(), casadi::SlicotExpm::~SlicotExpm(), casadi::SnoptInterface::~SnoptInterface(), casadi::Sqpmethod::~Sqpmethod(), casadi::SuperscsInterface::~SuperscsInterface(), casadi::Switch::~Switch(), casadi::SXFunction::~SXFunction(), casadi::SymbolicQr::~SymbolicQr(), casadi::ThreadMap::~ThreadMap(), and casadi::WorhpInterface::~WorhpInterface().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lm
Definition at line 2390 of file function_internal.cpp.
References casadi::CodeGenerator::body, casadi::FunctionInternal::codegen_body(), casadi::FunctionInternal::definition(), casadi::CodeGenerator::flush(), casadi::CodeGenerator::scope_enter(), casadi::CodeGenerator::scope_exit(), and casadi::FunctionInternal::signature().
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lt
Reimplemented in casadi::External.
Definition at line 2438 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
overridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 373 of file osqp_interface.cpp.
References casadi::Conic::A_, casadi::CodeGenerator::add_auxiliary(), casadi::CodeGenerator::add_include(), casadi::CodeGenerator::arg(), casadi::CodeGenerator::AUX_INF, casadi::FunctionInternal::codegen_mem(), casadi::CodeGenerator::comment(), casadi::CONIC_A, casadi::CONIC_COST, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LAM_A, casadi::CONIC_LAM_A0, casadi::CONIC_LAM_X, casadi::CONIC_LAM_X0, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::CONIC_X, casadi::CONIC_X0, casadi::CodeGenerator::constant(), casadi::CodeGenerator::copy_check(), casadi::CodeGenerator::copy_default(), casadi::ProtoFunction::error_on_fail_, casadi::Sparsity::get_colind(), casadi::Conic::H_, casadi::CodeGenerator::init_local(), casadi::CodeGenerator::local(), casadi::Conic::na_, nnzA_, nnzHupp_, casadi::Conic::nx_, casadi::CodeGenerator::res(), casadi::SOLVER_RET_INFEASIBLE, casadi::SOLVER_RET_UNKNOWN, casadi::str(), and casadi::CodeGenerator::tri_project().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lw
Reimplemented in casadi::External.
Definition at line 2447 of file function_internal.cpp.
References casadi::FunctionInternal::alloc_mem(), casadi::CodeGenerator::auxiliaries, casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), casadi::ProtoFunction::init_mem(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lz
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Sqpmethod, casadi::Feasiblesqpmethod, casadi::FastNewton, casadi::BSplineInterpolant, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::FatropInterface, casadi::SXFunction, casadi::Switch, casadi::Nlpsol, casadi::MXFunction, casadi::MapSum, casadi::Map, casadi::FiniteDiff, and casadi::External.
Definition at line 2822 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::BSplineInterpolant::codegen_declarations().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ls
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 854 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::FunctionInternal::codegen_meta().
|
overridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 298 of file osqp_interface.cpp.
References casadi::FunctionInternal::codegen_mem().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lr
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 849 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::FunctionInternal::codegen_meta().
|
overridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 302 of file osqp_interface.cpp.
References casadi::Conic::A_, casadi::CodeGenerator::clear(), casadi::FunctionInternal::codegen_mem(), casadi::CodeGenerator::constant_copy(), casadi::Sparsity::diag(), casadi::Sparsity::get_colind(), casadi::Sparsity::get_row(), casadi::Conic::H_, casadi::CodeGenerator::local(), casadi::Conic::na_, casadi::Sparsity::nnz(), casadi::Sparsity::nnz_upper(), nnzA_, casadi::Conic::nx_, settings_, casadi::str(), and casadi::Sparsity::triu().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lq
Definition at line 2816 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::ClarabelInterface::codegen_free_mem(), casadi::DaqpInterface::codegen_free_mem(), casadi::FatropInterface::codegen_free_mem(), casadi::HighsInterface::codegen_free_mem(), casadi::IpoptInterface::codegen_free_mem(), casadi::MadnlpInterface::codegen_free_mem(), codegen_free_mem(), casadi::ClarabelInterface::codegen_init_mem(), casadi::DaqpInterface::codegen_init_mem(), casadi::FatropInterface::codegen_init_mem(), casadi::HighsInterface::codegen_init_mem(), casadi::IpoptInterface::codegen_init_mem(), casadi::MadnlpInterface::codegen_init_mem(), and codegen_init_mem().
|
inlineoverridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 138 of file osqp_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ln
Definition at line 2484 of file function_internal.cpp.
References casadi::all(), casadi::CodeGenerator::array(), casadi::CodeGenerator::body, casadi::FunctionInternal::codegen_decref(), casadi::FunctionInternal::codegen_incref(), casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::codegen_sz_arg(), casadi::FunctionInternal::codegen_sz_iw(), casadi::FunctionInternal::codegen_sz_res(), casadi::FunctionInternal::codegen_sz_w(), casadi::CodeGenerator::constant(), casadi::CodeGenerator::declare(), casadi::CodeGenerator::flush(), casadi::CodeGenerator::from_mex(), casadi::FunctionInternal::get_default_in(), casadi::CodeGenerator::header, casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::CodeGenerator::main, casadi::CodeGenerator::mex, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::CodeGenerator::printf(), casadi::CodeGenerator::res(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sparsity_in_, casadi::FunctionInternal::sparsity_out_, casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::CodeGenerator::to_mex(), casadi::CodeGenerator::with_header, and casadi::CodeGenerator::with_mem.
Referenced by casadi::CodeGenerator::add().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lp
Definition at line 2801 of file function_internal.cpp.
References casadi::CodeGenerator::added_functions_, casadi::ProtoFunction::name_, and casadi::str().
Referenced by casadi::FunctionInternal::codegen_alloc_mem(), casadi::FunctionInternal::codegen_checkout(), casadi::Call::codegen_decref(), casadi::Call::codegen_incref(), casadi::FunctionInternal::codegen_mem(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_release(), and casadi::CodeGenerator::mem().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lx
Reimplemented in casadi::External.
Definition at line 2473 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lo
Definition at line 2480 of file function_internal.cpp.
References casadi::CodeGenerator::add_io_sparsities(), casadi::ProtoFunction::name_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2913 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2919 of file function_internal.cpp.
References casadi::FunctionInternal::sz_iw().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Definition at line 2916 of file function_internal.cpp.
References casadi::FunctionInternal::sz_res().
Referenced by casadi::FunctionInternal::codegen_meta().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29g
Reimplemented in casadi::SXFunction.
Definition at line 2922 of file function_internal.cpp.
References casadi::FunctionInternal::sz_w().
Referenced by casadi::FunctionInternal::codegen_meta().
|
inherited |
Prepares the function for evaluation
Extra doc: https://github.com/casadi/casadi/wiki/L_jf
Definition at line 138 of file function_internal.cpp.
References casadi::Options::check(), casadi::SharedObjectInternal::class_name(), casadi::ProtoFunction::finalize(), casadi::ProtoFunction::get_options(), casadi::ProtoFunction::init(), casadi::Options::is_sane(), casadi::ProtoFunction::name_, and casadi::Options::sanitize().
Referenced by casadi::Function::create(), casadi::FmuFunction::factory(), casadi::FmuFunction::get_forward(), casadi::FmuFunction::get_jacobian(), casadi::LinearInterpolant::get_jacobian(), and casadi::FmuFunction::get_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1834 of file function_internal.hpp.
References casadi::FunctionInternal::get_default_in(), casadi::FunctionInternal::index_in(), and casadi::FunctionInternal::n_in_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1822 of file function_internal.hpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, and casadi::str().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1863 of file function_internal.hpp.
References casadi::FunctionInternal::index_out(), and casadi::FunctionInternal::n_out_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ks
Definition at line 1851 of file function_internal.hpp.
References casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_out_, and casadi::str().
|
inlinestatic |
Definition at line 73 of file osqp_interface.hpp.
Referenced by casadi::casadi_register_conic_osqp().
|
inherited |
Definition at line 62 of file generic_shared_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ma
Definition at line 1025 of file function_internal.cpp.
References casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::codegen(), casadi::FunctionInternal::disp(), casadi::MXFunction::should_inline(), and casadi::SXFunction::should_inline().
|
inlinestatic |
Definition at line 143 of file osqp_interface.hpp.
Referenced by casadi::casadi_register_conic_osqp().
|
protectedinherited |
Definition at line 728 of file conic.cpp.
References casadi::Conic::SDPToSOCPMem::A_mapping, casadi::Conic::SDPToSOCPMem::AT, casadi::Conic::SDPToSOCPMem::indval_size, casadi::Conic::SDPToSOCPMem::map_P, casadi::Conic::SDPToSOCPMem::map_Q, casadi::Conic::SDPToSOCPMem::r, and casadi::DeserializingStream::unpack().
Referenced by casadi::CplexInterface::CplexInterface(), casadi::GurobiInterface::GurobiInterface(), and casadi::SuperscsInterface::SuperscsInterface().
|
inlineprotectedinherited |
Called in the destructor of singletons
Definition at line 77 of file generic_shared_internal.hpp.
|
inherited |
Definition at line 2127 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, and casadi::FunctionInternal::name_out_.
Referenced by casadi::FunctionInternal::forward(), and casadi::FunctionInternal::reverse().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m8
Implements casadi::SharedObjectInternal.
Definition at line 1046 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::definition(), and casadi::FunctionInternal::disp_more().
Referenced by casadi::MXFunction::eval(), and casadi::SXFunction::eval().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m9
Reimplemented in casadi::SXFunction, casadi::Switch, casadi::Nlpsol, and casadi::MXFunction.
Definition at line 945 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::disp().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3328 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::nz_in().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3304 of file function_internal.cpp.
References casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< MatType >::zeros().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3336 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::nz_out().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3308 of file function_internal.cpp.
References casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< MatType >::zeros().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26j
Definition at line 1880 of file function_internal.hpp.
References casadi::Sparsity::size1(), and casadi::Sparsity::size2().
|
finalvirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 530 of file conic.cpp.
References casadi::Conic::A_, casadi::Conic::check_inputs(), casadi::CONIC_A, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::ProtoFunction::error_on_fail_, casadi::Conic::H_, casadi::FunctionInternal::inputs_check_, casadi::Conic::na_, casadi::Conic::nx_, casadi::Matrix< double >::print_dense(), casadi::Conic::print_problem_, casadi::FunctionInternal::setup(), casadi::Conic::solve(), casadi::SOLVER_RET_SUCCESS, and casadi::uout().
Referenced by casadi::ProxqpInterface::solve().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 2110 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::FunctionInternal::eval().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kf
Definition at line 435 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kb
Definition at line 914 of file function_internal.cpp.
References casadi::FunctionInternal::checkout_, casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::eval(), casadi::FunctionInternal::eval_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out(), casadi::FunctionInternal::print_out_, casadi::ProtoFunction::print_time(), casadi::ProtoFunction::regularity_check_, casadi::FunctionInternal::release_, casadi::FunctionInternal::sparsity_out(), casadi::FunctionMemory::stats_available, casadi::str(), casadi::FunctionInternal::sz_w(), and casadi::uout().
Referenced by casadi::FunctionInternal::call_gen().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kf
Definition at line 431 of file function_internal.hpp.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kd
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 2325 of file function_internal.cpp.
References casadi::FunctionInternal::always_inline_, casadi::Function::call(), casadi::Call::create(), casadi::ProtoFunction::name_, casadi::FunctionInternal::never_inline_, casadi::str(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_gen(), casadi::MXFunction::eval_mx(), and casadi::SXFunction::eval_mx().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kc
Reimplemented in casadi::SXFunction, casadi::Switch, casadi::MXFunction, casadi::MapSum, and casadi::Map.
Definition at line 2114 of file function_internal.cpp.
References casadi::FunctionInternal::always_inline_, casadi::SharedObjectInternal::class_name(), casadi::CallSX::eval_sx(), and casadi::FunctionInternal::never_inline_.
Referenced by casadi::MXFunction::eval_sx(), and casadi::SXFunction::eval_sx().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m5
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 2285 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::FmuFunction, casadi::External, and casadi::CallbackInternal.
Definition at line 3697 of file function_internal.cpp.
References casadi::Function::factory(), and casadi::FunctionInternal::wrap().
Referenced by casadi::Function::factory(), casadi::External::factory(), and casadi::FmuFunction::factory().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k7
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::OracleFunction.
Definition at line 704 of file function_internal.cpp.
References casadi::CodeGenerator::add(), casadi::FunctionInternal::checkout_, casadi::FunctionInternal::compiler_, casadi::FunctionInternal::compiler_plugin_, casadi::FunctionInternal::dump_, casadi::FunctionInternal::eval_, casadi::ProtoFunction::finalize(), casadi::CodeGenerator::generate(), casadi::get_from_dict(), casadi::Importer::get_function(), casadi::FunctionInternal::has_codegen(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jit_, casadi::FunctionInternal::jit_base_name_, casadi::FunctionInternal::jit_dependencies(), casadi::FunctionInternal::jit_name_, casadi::FunctionInternal::jit_options_, casadi::FunctionInternal::jit_temp_suffix_, casadi::ProtoFunction::name_, casadi::FunctionInternal::release_, casadi::temporary_file(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::FunctionInternal::deserialize(), casadi::CallbackInternal::finalize(), and casadi::OracleFunction::finalize().
|
inlinevirtualinherited |
Reimplemented in casadi::BSplineInterpolant, casadi::SXFunction, casadi::Switch, and casadi::MXFunction.
Definition at line 376 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::add_embedded(), casadi::MX::cse(), casadi::FunctionInternal::from_compact(), and casadi::FunctionInternal::to_compact().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jt
Definition at line 3856 of file function_internal.cpp.
References casadi::ProtoFunction::sprint().
Referenced by casadi::ProtoFunction::print_time().
|
inherited |
forward(nfwd) returns a cached instance if available, and calls Function get_forward(casadi_int nfwd)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l0
Definition at line 2163 of file function_internal.cpp.
References casadi::Function::assert_size_in(), casadi::Function::assert_sparsity_out(), casadi::combine(), casadi::Function::create(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::fd_method_, casadi::FunctionInternal::fd_options_, casadi::Function::forward(), casadi::FunctionInternal::forward_name(), casadi::FunctionInternal::forward_options_, casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::get_forward(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size1_out(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size2_out(), casadi::FunctionInternal::sparsity_out(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_forward(), and casadi::Function::forward().
|
inlinestaticinherited |
Definition at line 638 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::Integrator::bdae_sp_forward(), casadi::Integrator::bdae_sp_reverse(), casadi::Integrator::bquad_sp_forward(), casadi::Integrator::bquad_sp_reverse(), casadi::SundialsInterface::calc_daeB(), casadi::SundialsInterface::calc_daeF(), casadi::Integrator::calc_edot(), casadi::SundialsInterface::calc_jtimesF(), casadi::SundialsInterface::calc_quadB(), casadi::SundialsInterface::calc_quadF(), casadi::OracleFunction::create_forward(), casadi::Integrator::fdae_sp_forward(), casadi::Integrator::fdae_sp_reverse(), casadi::FunctionInternal::forward(), casadi::Integrator::fquad_sp_forward(), casadi::Integrator::fquad_sp_reverse(), casadi::Integrator::sp_jac_dae(), casadi::Integrator::sp_jac_rdae(), casadi::FixedStepIntegrator::stepB(), casadi::FixedStepIntegrator::stepF(), and casadi::Integrator::trigger_event().
|
inlineoverridevirtual |
Reimplemented from casadi::FunctionInternal.
Definition at line 103 of file osqp_interface.hpp.
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3377 of file function_internal.cpp.
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3381 of file function_internal.cpp.
|
inherited |
Definition at line 1928 of file function_internal.cpp.
References casadi::Sparsity::enlargeColumns(), casadi::Sparsity::enlargeRows(), casadi::FunctionInternal::find(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::numel_in(), casadi::FunctionInternal::numel_out(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sparsity_in(), and casadi::FunctionInternal::sparsity_out().
Referenced by casadi::FunctionInternal::jac_sparsity().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nr
Definition at line 1519 of file function_internal.hpp.
References casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::size_in(), casadi::FunctionInternal::sparsity_in(), and casadi::str().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nc
Definition at line 2993 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::nnz_in(), and casadi::FunctionInternal::nnz_out().
Referenced by casadi::FunctionInternal::call_forward().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m2
Reimplemented in casadi::OracleFunction.
Definition at line 2833 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ne
Definition at line 749 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::normalized_out(), casadi::normalized_setup(), and casadi::Filesystem::ofstream_ptr().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l9
Reimplemented in casadi::MXFunction.
Definition at line 3385 of file function_internal.cpp.
|
overridevirtualinherited |
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 391 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_, casadi::FunctionInternal::ad_weight_sp_, casadi::FunctionInternal::always_inline_, casadi::FunctionInternal::compiler_plugin_, casadi::FunctionInternal::der_options_, casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::dump_, casadi::FunctionInternal::dump_dir_, casadi::FunctionInternal::dump_format_, casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::FunctionInternal::enable_fd_op_, casadi::FunctionInternal::enable_forward_op_, casadi::FunctionInternal::enable_jacobian_op_, casadi::FunctionInternal::enable_reverse_op_, casadi::FunctionInternal::fd_method_, casadi::FunctionInternal::fd_options_, casadi::FunctionInternal::forward_options_, casadi::ProtoFunction::generate_options(), casadi::FunctionInternal::inputs_check_, casadi::FunctionInternal::jac_penalty_, casadi::FunctionInternal::jacobian_options_, casadi::FunctionInternal::jit_, casadi::FunctionInternal::jit_base_name_, casadi::FunctionInternal::jit_cleanup_, casadi::FunctionInternal::jit_options_, casadi::FunctionInternal::jit_serialize_, casadi::FunctionInternal::jit_temp_suffix_, casadi::FunctionInternal::max_io_, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::never_inline_, casadi::FunctionInternal::print_canonical_, casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out_, casadi::FunctionInternal::reverse_options_, and casadi::FunctionInternal::user_data_.
Referenced by casadi::FunctionInternal::forward(), casadi::MXFunction::generate_options(), casadi::SXFunction::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::FunctionInternal::reverse().
|
inherited |
Definition at line 765 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::normalized_out(), casadi::normalized_setup(), and casadi::Filesystem::ofstream_ptr().
|
virtualinherited |
Generate native code in the interfaced language for debugging
Reimplemented in casadi::SqicInterface.
Definition at line 505 of file conic.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::conic_debug().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mp
Reimplemented in casadi::SundialsInterface, casadi::Smoothing, casadi::CentralDiff, and casadi::ForwardDiff.
Definition at line 1099 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1jd
Reimplemented from casadi::FunctionInternal.
Definition at line 517 of file conic.cpp.
References casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, and casadi::CONIC_UBX.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ms
Reimplemented in casadi::BSplineInterpolant, casadi::Interpolant, casadi::GenericExternal, casadi::Expm, and casadi::BlazingSplineFunction.
Definition at line 1116 of file function_internal.hpp.
Referenced by casadi::GenericExternal::get_diff_in(), and casadi::FunctionInternal::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mt
Reimplemented in casadi::GenericExternal.
Definition at line 1121 of file function_internal.hpp.
Referenced by casadi::GenericExternal::get_diff_out(), and casadi::FunctionInternal::init().
|
virtualinherited |
forward(nfwd) returns a cached instance if available, and calls Function get_forward(casadi_int nfwd)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l0
Reimplemented in casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::Rootfinder, casadi::Nlpsol, casadi::MapSum, casadi::Map, casadi::Integrator, casadi::FmuFunction, casadi::Smoothing, casadi::CentralDiff, casadi::ForwardDiff, casadi::External, casadi::Expm, casadi::Dple, and casadi::CallbackInternal.
Definition at line 2269 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::FunctionInternal::forward(), casadi::FmuFunction::get_forward(), and casadi::BSplineInterpolant::get_forward().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mc
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 1020 of file function_internal.cpp.
References casadi::FunctionInternal::has_free().
|
virtualinherited |
Reimplemented in casadi::OracleFunction, casadi::MapSum, and casadi::Map.
Definition at line 3706 of file function_internal.cpp.
|
virtualinherited |
Reimplemented in casadi::OracleFunction, casadi::MapSum, and casadi::Map.
Definition at line 3711 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Reimplemented in casadi::FmuFunction, casadi::GenericExternal, casadi::Expm, and casadi::CallbackInternal.
Definition at line 1871 of file function_internal.cpp.
References casadi::bvec_size, casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::FunctionInternal::has_spfwd(), casadi::FunctionInternal::has_sprev(), casadi::GlobalOptions::hierarchical_sparsity, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::FunctionInternal::sp_weight(), and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::Expm::get_jac_sparsity(), casadi::GenericExternal::get_jac_sparsity(), and casadi::FunctionInternal::jac_sparsity().
|
inherited |
Definition at line 1216 of file function_internal.cpp.
References casadi::bvec_size, casadi::Sparsity::density(), casadi::get_ptr(), casadi::ProtoFunction::memory(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::Sparsity::size(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::triplet(), and casadi::ProtoFunction::verbose_.
|
inherited |
Decide which ad_mode to take
Definition at line 1556 of file function_internal.cpp.
References casadi::bvec_or(), casadi::bvec_size, casadi::bvec_toggle(), casadi::Sparsity::colind(), casadi::D, casadi::Sparsity::dense(), casadi::Sparsity::density(), casadi::diff(), casadi::Sparsity::dim(), casadi::Sparsity::get_nz(), casadi::get_ptr(), casadi::lookupvector(), casadi::ProtoFunction::memory(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::nz_in(), casadi::FunctionInternal::nz_out(), casadi::range(), casadi::Sparsity::row(), casadi::Sparsity::size(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::FunctionInternal::sp_weight(), casadi::Matrix< Scalar >::sparsity(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::T(), casadi::Sparsity::triplet(), casadi::Matrix< casadi_int >::triplet(), casadi::Sparsity::uni_coloring(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::FunctionInternal::get_jac_sparsity().
|
inherited |
A flavor of get_jac_sparsity_gen that does hierarchical block structure recognition for symmetric Jacobians
Definition at line 1321 of file function_internal.cpp.
References casadi::bvec_or(), casadi::bvec_size, casadi::bvec_toggle(), casadi::Sparsity::colind(), casadi::D, casadi::Sparsity::dense(), casadi::Sparsity::density(), casadi::diff(), casadi::Sparsity::dim(), casadi::Sparsity::get_nz(), casadi::get_ptr(), casadi::FunctionInternal::has_spfwd(), casadi::lookupvector(), casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::range(), casadi::Sparsity::row(), casadi::Sparsity::size(), casadi::Matrix< Scalar >::sparsity(), casadi::Sparsity::star_coloring(), casadi::str(), casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), casadi::Sparsity::T(), casadi::Sparsity::triplet(), casadi::Matrix< casadi_int >::triplet(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::FunctionInternal::get_jac_sparsity().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 2382 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::External::get_jacobian(), casadi::BSplineInterpolant::get_jacobian(), casadi::LinearInterpolantJac::get_jacobian(), and casadi::FunctionInternal::jacobian().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mm
Definition at line 1070 of file function_internal.hpp.
References casadi::inf.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mn
Definition at line 1077 of file function_internal.hpp.
References casadi::inf.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j6
Reimplemented from casadi::FunctionInternal.
Definition at line 59 of file conic_impl.hpp.
References casadi::CONIC_NUM_IN.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j6
Reimplemented from casadi::FunctionInternal.
Definition at line 60 of file conic_impl.hpp.
References casadi::CONIC_NUM_OUT.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j8
Reimplemented from casadi::FunctionInternal.
Definition at line 75 of file conic_impl.hpp.
References casadi::conic_in().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j8
Reimplemented from casadi::FunctionInternal.
Definition at line 76 of file conic_impl.hpp.
References casadi::conic_out().
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1081 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_in().
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1085 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_out().
|
inlineoverridevirtual |
Reimplemented from casadi::Conic.
Definition at line 90 of file osqp_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_md
Definition at line 2011 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_reverse_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jac_sparsity(), casadi::ProtoFunction::name_, casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Sparsity::star_coloring(), casadi::str(), casadi::Sparsity::T(), casadi::Sparsity::uni_coloring(), and casadi::ProtoFunction::verbose_.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mo
Reimplemented in casadi::SundialsInterface.
Definition at line 1092 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
virtualinherited |
reverse(nadj) returns a cached instance if available, and calls Function get_reverse(casadi_int nadj)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l1
Reimplemented in casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::Rootfinder, casadi::Nlpsol, casadi::MapSum, casadi::Map, casadi::Integrator, casadi::FmuFunction, casadi::External, casadi::Expm, casadi::Dple, and casadi::CallbackInternal.
Definition at line 2277 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::BSplineInterpolant::get_reverse(), and casadi::FunctionInternal::reverse().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j7
Reimplemented from casadi::FunctionInternal.
Definition at line 355 of file conic.cpp.
References casadi::Conic::A_, casadi::CONIC_A, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LAM_A, casadi::CONIC_LAM_A0, casadi::CONIC_LAM_X0, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_NUM_IN, casadi::CONIC_P, casadi::CONIC_Q, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::CONIC_X, casadi::CONIC_X0, casadi::Conic::get_sparsity_out(), casadi::Conic::H_, casadi::Conic::P_, and casadi::Conic::Q_.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1j7
Reimplemented from casadi::FunctionInternal.
Definition at line 380 of file conic.cpp.
References casadi::CONIC_COST, casadi::CONIC_LAM_A, casadi::CONIC_LAM_X, casadi::CONIC_NUM_OUT, casadi::CONIC_X, casadi::Sparsity::dense(), casadi::Conic::na_, casadi::Conic::nx_, and casadi::Sparsity::scalar().
Referenced by casadi::Conic::get_sparsity_in().
|
overridevirtual |
Reimplemented from casadi::Conic.
Definition at line 445 of file osqp_interface.cpp.
References casadi::Conic::get_stats(), and casadi::OsqpMemory::work.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k3
Definition at line 304 of file function_internal.hpp.
|
inherited |
Definition at line 60 of file generic_shared_internal.hpp.
|
staticinherited |
Definition at line 102 of file plugin_interface.hpp.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m3
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::MapSum, casadi::Map, casadi::JitFunction, casadi::FiniteDiff, and casadi::BlazingSplineFunction.
Definition at line 914 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l4
Definition at line 2989 of file function_internal.cpp.
References casadi::FunctionInternal::enable_fd_, casadi::FunctionInternal::enable_forward_, casadi::FunctionInternal::enable_jacobian_, and casadi::FunctionInternal::enable_reverse_.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::reverse().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 424 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval().
|
inlinevirtualinherited |
forward(nfwd) returns a cached instance if available, and calls Function get_forward(casadi_int nfwd)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l0
Reimplemented in casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::Rootfinder, casadi::Nlpsol, casadi::MapSum, casadi::Map, casadi::Integrator, casadi::FmuFunction, casadi::Smoothing, casadi::CentralDiff, casadi::ForwardDiff, casadi::External, casadi::Expm, casadi::Dple, and casadi::CallbackInternal.
Definition at line 654 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FmuFunction::has_forward(), and casadi::FunctionInternal::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l8
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 743 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_free().
|
inlinevirtualinherited |
Reimplemented in casadi::OracleFunction, casadi::MapSum, and casadi::Map.
Definition at line 369 of file function_internal.hpp.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Reimplemented in casadi::FmuFunction, casadi::GenericExternal, casadi::Expm, and casadi::CallbackInternal.
Definition at line 633 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_sparsity_out(), casadi::GenericExternal::has_jac_sparsity(), and casadi::FunctionInternal::jac_sparsity().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 620 of file function_internal.hpp.
Referenced by casadi::External::has_jacobian(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::jacobian().
|
inherited |
Definition at line 3665 of file function_internal.cpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jj
Definition at line 1004 of file function_internal.cpp.
References casadi::Options::find(), and casadi::ProtoFunction::get_options().
|
staticinherited |
Definition at line 76 of file plugin_interface.hpp.
|
inlinevirtualinherited |
reverse(nadj) returns a cached instance if available, and calls Function get_reverse(casadi_int nadj)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l1
Reimplemented in casadi::BSplineInterpolant, casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Switch, casadi::Rootfinder, casadi::Nlpsol, casadi::MapSum, casadi::Map, casadi::Integrator, casadi::FmuFunction, casadi::External, casadi::Expm, casadi::Dple, and casadi::CallbackInternal.
Definition at line 675 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_reverse(), and casadi::FunctionInternal::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ka
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Rootfinder, casadi::MapSum, casadi::Map, and casadi::Integrator.
Definition at line 394 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::sp_weight().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ka
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Rootfinder, casadi::MapSum, casadi::Map, and casadi::Integrator.
Definition at line 395 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::sp_weight().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lk
Definition at line 1078 of file function_internal.cpp.
References casadi::FunctionInternal::cache_.
Referenced by casadi::MapSum::create(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::forward(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::wrap().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mu
Definition at line 1126 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::convert_arg().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mv
Definition at line 1138 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::convert_res().
|
virtualinherited |
Obtain information about function
Reimplemented in casadi::Switch, and casadi::Map.
Definition at line 3025 of file function_internal.cpp.
Referenced by casadi::MXFunction::export_code_body(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::filterLineSearch(), casadi::Blocksqp::fullstep(), casadi::BSplineInterpolant::init(), casadi::Blocksqp::kktErrorReduction(), casadi::Feasiblesqpmethod::print_iteration(), casadi::Sqpmethod::print_iteration(), casadi::Blocksqp::secondOrderCorrection(), casadi::SnoptInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Sqpmethod::solve(), and casadi::Sqpmethod::solve_elastic_mode().
|
overridevirtual |
Reimplemented from casadi::Conic.
Definition at line 73 of file osqp_interface.cpp.
References casadi::Conic::A_, casadi::FunctionInternal::alloc_w(), casadi::Conic::H_, casadi::Conic::init(), casadi::Conic::na_, casadi::Sparsity::nnz(), casadi::Sparsity::nnz_upper(), nnzA_, nnzHupp_, casadi::Conic::nx_, settings_, warm_start_dual_, and warm_start_primal_.
|
overridevirtual |
Reimplemented from casadi::Conic.
Definition at line 149 of file osqp_interface.cpp.
References casadi::Conic::A_, casadi::Sparsity::diag(), casadi::Sparsity::get_colind(), casadi::get_ptr(), casadi::Sparsity::get_row(), casadi::Conic::H_, casadi::Conic::init_mem(), casadi::Conic::na_, casadi::Sparsity::nnz(), casadi::Sparsity::nnz_upper(), nnzA_, casadi::Conic::nx_, settings_, and casadi::Sparsity::triu().
|
inlineprotectedinherited |
Called in the constructor of singletons to avoid that the counter reaches zero
Definition at line 71 of file generic_shared_internal.hpp.
|
staticinherited |
Definition at line 106 of file plugin_interface.hpp.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ld
Reimplemented in casadi::SXFunction.
Definition at line 3402 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lb
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3394 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lc
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3398 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3410 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_le
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3406 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3414 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inlineoverridevirtual |
Reimplemented from casadi::Conic.
Definition at line 110 of file osqp_interface.hpp.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1jc
Reimplemented from casadi::FunctionInternal.
Definition at line 575 of file conic.cpp.
References casadi::FunctionInternal::is_a().
|
virtualinherited |
Definition at line 1858 of file function_internal.cpp.
References casadi::FunctionInternal::derivative_of_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Function::name(), and casadi::ProtoFunction::name_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kz Get, if necessary generate, the sparsity of a Jacobian block
Definition at line 1946 of file function_internal.cpp.
References casadi::Sparsity::dense(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::has_jac_sparsity(), casadi::FunctionInternal::has_spfwd(), casadi::FunctionInternal::has_sprev(), casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Sparsity::is_symmetric(), casadi::FunctionInternal::jac_sparsity_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::Sparsity::size1(), casadi::Sparsity::size2(), casadi::Sparsity::T(), and casadi::FunctionInternal::to_compact().
Referenced by casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::sp_forward_block(), and casadi::FunctionInternal::sp_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ky
Definition at line 2341 of file function_internal.cpp.
References casadi::combine(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::enable_jacobian_, casadi::FunctionInternal::get_jacobian(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::has_jacobian(), casadi::FunctionInternal::incache(), casadi::Function::jacobian(), casadi::FunctionInternal::jacobian_options_, casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), and casadi::Function::jacobian().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m4
Reimplemented in casadi::OracleFunction.
Definition at line 919 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize().
|
staticinherited |
Definition at line 92 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 88 of file plugin_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nd
Definition at line 1091 of file function_internal.cpp.
References casadi::Map::create(), casadi::FunctionInternal::incache(), casadi::Function::name(), casadi::ProtoFunction::name_, casadi::str(), and casadi::FunctionInternal::tocache_if_missing().
Referenced by casadi::Dple::get_forward(), casadi::Dple::get_reverse(), and casadi::FunctionInternal::mapsum_mx().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kw
Definition at line 3423 of file function_internal.cpp.
References casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::check_mat(), casadi::FunctionInternal::map(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::range(), casadi::replace_mat(), casadi::FunctionInternal::size2_in(), and casadi::FunctionInternal::sparsity_in_.
|
inherited |
Raises errors
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kk
Definition at line 1745 of file function_internal.hpp.
References casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::size1_in(), and casadi::FunctionInternal::size2_in().
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::FunctionInternal::call(), casadi::FunctionInternal::call_forward(), and casadi::FunctionInternal::nz_in().
|
inherited |
Raises errors
npar[in] | normal usage: 1, disallow pararallel calls: -1 | |
[out] | npar | max number of horizontal repetitions across all arguments (or -1) |
Extra doc: https://github.com/casadi/casadi/wiki/L_kl
Definition at line 1755 of file function_internal.hpp.
References casadi::FunctionInternal::check_res(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::size1_out(), and casadi::FunctionInternal::size2_out().
Referenced by casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::call_reverse(), and casadi::FunctionInternal::nz_out().
|
inherited |
Definition at line 3658 of file function_internal.cpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::Sqpmethod::solve_ela_QP(), and casadi::Sqpmethod::solve_QP().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2b8
Reimplemented in casadi::BlazingSplineFunction.
Definition at line 3372 of file function_internal.cpp.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::MXFunction.
Definition at line 3352 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::Nlpsol::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::Nlpsol::get_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::MXFunction.
Definition at line 3344 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< MX >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3360 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::Nlpsol::get_forward(), and casadi::Nlpsol::get_reverse().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3348 of file function_internal.cpp.
References casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< MX >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_la
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3390 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lf
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3418 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2301 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_gen(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::eval_gen(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_in(), casadi::FunctionInternal::get_jac_sparsity(), casadi::Expm::get_jac_sparsity(), casadi::FmuFunction::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::JitFunction::init(), casadi::Nlpsol::init(), casadi::CbcInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::OoqpInterface::init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::ImplicitToNlp::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::nz_in(), casadi::ImplicitToNlp::set_work(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::OoqpInterface::solve(), casadi::ProxqpInterface::solve(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), casadi::FunctionInternal::sp_forward(), and casadi::FunctionInternal::sp_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 974 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2307 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_gen(), casadi::Nlpsol::check_inputs(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::eval_gen(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_out(), casadi::FunctionInternal::get_jac_sparsity(), casadi::Expm::get_jac_sparsity(), casadi::FmuFunction::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::JitFunction::init(), casadi::Nlpsol::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::nz_out(), casadi::KinsolInterface::solve(), casadi::FunctionInternal::sp_forward(), and casadi::FunctionInternal::sp_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 976 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2313 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
Referenced by casadi::FunctionInternal::from_compact(), and casadi::Integrator::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 984 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2319 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
Referenced by casadi::FunctionInternal::from_compact(), and casadi::Integrator::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 985 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3513 of file function_internal.cpp.
References casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::project_arg(), and casadi::FunctionInternal::replace_arg().
Referenced by casadi::SXFunction::call_fwd(), casadi::SXFunction::call_rev(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), and casadi::FunctionInternal::get_jac_sparsity_hierarchical().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3483 of file function_internal.cpp.
References casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::nnz_in(), casadi::Matrix< Scalar >::ptr(), and casadi::str().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3531 of file function_internal.cpp.
References casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::project_res(), and casadi::FunctionInternal::replace_res().
Referenced by casadi::SXFunction::call_fwd(), casadi::SXFunction::call_rev(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_gen(), and casadi::FunctionInternal::get_jac_sparsity_hierarchical().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3498 of file function_internal.cpp.
References casadi::FunctionInternal::dm_out(), casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_out(), casadi::Matrix< Scalar >::ptr(), and casadi::str().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l3
Reimplemented in casadi::OracleFunction.
Definition at line 3736 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::Function::oracle(), and casadi::DaeBuilder::oracle().
|
staticinherited |
Definition at line 82 of file plugin_interface.hpp.
|
inlineoverridevirtual |
Implements casadi::PluginInterface< Conic >.
Definition at line 82 of file osqp_interface.hpp.
|
staticinherited |
Definition at line 79 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 85 of file plugin_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jr
Definition at line 3897 of file function_internal.cpp.
References casadi::uout().
Referenced by casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Nlpsol::callback(), casadi::Blocksqp::convertHessian(), casadi::FmuFunction::eval_task(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::fullstep(), casadi::Blocksqp::init(), casadi::Feasiblesqpmethod::init(), casadi::Ipqp::init(), casadi::Qrqp::init(), casadi::Qrsqp::init(), casadi::Sqpmethod::init(), casadi::LinsolQr::nfact(), casadi::Feasiblesqpmethod::print_iteration(), casadi::Qrsqp::print_iteration(), casadi::Sqpmethod::print_iteration(), casadi::SundialsInterface::print_stats(), casadi::ProtoFunction::print_time(), casadi::Blocksqp::printInfo(), casadi::Blocksqp::printProgress(), casadi::Blocksqp::run(), casadi::Blocksqp::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Feasiblesqpmethod::solve_LP(), casadi::Feasiblesqpmethod::solve_QP(), casadi::Qrsqp::solve_QP(), casadi::Sqpmethod::solve_QP(), and casadi::Blocksqp::solveQP().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2di
Definition at line 858 of file function_internal.cpp.
References casadi::normalized_out(), and casadi::normalized_setup().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2dh
Definition at line 873 of file function_internal.cpp.
References casadi::Sparsity::colind(), casadi::Sparsity::dim(), casadi::Sparsity::is_dense(), casadi::Sparsity::is_scalar(), casadi::Sparsity::nnz(), casadi::normalized_out(), casadi::normalized_setup(), casadi::Sparsity::row(), and casadi::Sparsity::size2().
Referenced by casadi::Monitor::eval(), casadi::MXFunction::print_arg(), casadi::SXFunction::print_arg(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_out(), casadi::MXFunction::print_res(), and casadi::SXFunction::print_res().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2dj
Definition at line 908 of file function_internal.cpp.
References casadi::normalized_out(), and casadi::normalized_setup().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mb
Definition at line 983 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_in_, and casadi::FunctionInternal::sparsity_out_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nv
Definition at line 824 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::print_canonical(), casadi::FunctionInternal::print_canonical_, casadi::Matrix< double >::print_default(), and casadi::FunctionInternal::sparsity_in_.
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ji
Definition at line 1000 of file function_internal.cpp.
References casadi::ProtoFunction::get_options(), and casadi::Options::print_one().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jh
Definition at line 996 of file function_internal.cpp.
References casadi::ProtoFunction::get_options(), and casadi::Options::print_all().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nw
Definition at line 841 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::print_canonical(), casadi::FunctionInternal::print_canonical_, casadi::Matrix< double >::print_default(), and casadi::FunctionInternal::sparsity_out_.
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ju
Definition at line 3817 of file function_internal.cpp.
References casadi::ProtoFunction::format_time(), casadi::ProtoFunction::name_, casadi::ProtoFunction::print(), casadi::ProtoFunction::print_time_, and casadi::ProtoFunction::sprint().
Referenced by casadi::FunctionInternal::eval_gen().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kn
Definition at line 1617 of file function_internal.hpp.
References casadi::FunctionInternal::n_in_, casadi::FunctionInternal::size2_in(), and casadi::FunctionInternal::sparsity_in().
Referenced by casadi::FunctionInternal::call_gen(), and casadi::FunctionInternal::nz_in().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ko
Definition at line 1657 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::nz_out().
|
inlineoverridevirtual |
Reimplemented from casadi::Conic.
Definition at line 113 of file osqp_interface.hpp.
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nq
Definition at line 1510 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), and casadi::MXFunction::ad_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_24y
Definition at line 788 of file conic.cpp.
References casadi::Conic::A_, casadi::CodeGenerator::add_auxiliary(), casadi::CodeGenerator::AUX_QP, casadi::CONIC_A, casadi::CONIC_COST, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LAM_A, casadi::CONIC_LAM_A0, casadi::CONIC_LAM_X, casadi::CONIC_LAM_X0, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::CONIC_X, casadi::CONIC_X0, casadi::Conic::H_, casadi::CodeGenerator::local(), and casadi::CodeGenerator::sparsity().
Referenced by casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::HpipmInterface::codegen_body(), and casadi::Qrqp::codegen_body().
|
staticinherited |
Definition at line 96 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 99 of file plugin_interface.hpp.
|
inherited |
Definition at line 3690 of file function_internal.cpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_km
Definition at line 1790 of file function_internal.hpp.
References casadi::replace_mat(), and casadi::FunctionInternal::sparsity_in().
Referenced by casadi::FunctionInternal::call(), casadi::FunctionInternal::nz_in(), and casadi::FunctionInternal::replace_fseed().
|
inherited |
Definition at line 1814 of file function_internal.hpp.
References casadi::FunctionInternal::replace_res().
|
inherited |
|
inherited |
Definition at line 1806 of file function_internal.hpp.
References casadi::FunctionInternal::replace_arg().
|
inherited |
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kp
Definition at line 1798 of file function_internal.hpp.
References casadi::replace_mat(), and casadi::FunctionInternal::sparsity_out().
Referenced by casadi::FunctionInternal::nz_out(), and casadi::FunctionInternal::replace_aseed().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2dx
Definition at line 461 of file function_internal.cpp.
References casadi::FunctionInternal::dump_count_.
|
inherited |
reverse(nadj) returns a cached instance if available, and calls Function get_reverse(casadi_int nadj)
if no cached version is available.
Extra doc: https://github.com/casadi/casadi/wiki/L_l1
Definition at line 2224 of file function_internal.cpp.
References casadi::Function::assert_size_in(), casadi::Function::assert_sparsity_out(), casadi::combine(), casadi::FunctionInternal::der_options_, casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::enable_reverse_, casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::get_reverse(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::FunctionInternal::n_in_, casadi::Function::n_out(), casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::Function::reverse(), casadi::FunctionInternal::reverse_name(), casadi::FunctionInternal::reverse_options_, casadi::FunctionInternal::size1_in(), casadi::FunctionInternal::size1_out(), casadi::FunctionInternal::size2_in(), casadi::FunctionInternal::size2_out(), casadi::FunctionInternal::sparsity_in(), casadi::FunctionInternal::tocache_if_missing(), and casadi::FunctionInternal::wrap().
Referenced by casadi::FunctionInternal::call_reverse(), and casadi::Function::reverse().
|
inlinestaticinherited |
Definition at line 662 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::reverse(), and casadi::FixedStepIntegrator::stepB().
|
protectedinherited |
general soc constraints: ||Ax + b ||_2 <= c'x + d
Need to represent as X'X <= Z'Z
with X and Z helper variables and Ax + b = X c'x + d = Z
[A;c'] x - [X;Z] = [b;d]
we look for the vertical concatenation of these constraints for all blocks:
Q(map_Q) [x;X1;Z1;X2;Z2;...] = P.nz(map_P)
Definition at line 579 of file conic.cpp.
References casadi::Conic::A_, casadi::Conic::SDPToSOCPMem::A_mapping, casadi::Conic::SDPToSOCPMem::AT, casadi::GenericMatrix< MatType >::colind(), casadi::Sparsity::colind(), casadi::Matrix< casadi_int >::eye(), casadi::Conic::SDPToSOCPMem::indval_size, casadi::Conic::SDPToSOCPMem::map_P, casadi::Conic::SDPToSOCPMem::map_Q, casadi::Conic::np_, casadi::Conic::nx_, casadi::Conic::P_, casadi::Conic::Q_, casadi::Conic::SDPToSOCPMem::r, casadi::range(), casadi::Sparsity::row(), casadi::Sparsity::scc(), casadi::Sparsity::size1(), casadi::GenericMatrix< MatType >::size2(), casadi::Sparsity::size2(), casadi::Matrix< Scalar >::T(), casadi::Sparsity::transpose(), and casadi::Matrix< casadi_int >::triplet().
Referenced by casadi::CplexInterface::init(), casadi::GurobiInterface::init(), and casadi::SuperscsInterface::init().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k8
Definition at line 353 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jv
Definition at line 4181 of file function_internal.cpp.
References casadi::ProtoFunction::serialize_body(), and casadi::ProtoFunction::serialize_type().
|
protectedinherited |
Definition at line 720 of file conic.cpp.
References casadi::Conic::SDPToSOCPMem::A_mapping, casadi::Conic::SDPToSOCPMem::AT, casadi::Conic::SDPToSOCPMem::indval_size, casadi::Conic::SDPToSOCPMem::map_P, casadi::Conic::SDPToSOCPMem::map_Q, casadi::SerializingStream::pack(), and casadi::Conic::SDPToSOCPMem::r.
Referenced by casadi::CplexInterface::serialize_body(), casadi::GurobiInterface::serialize_body(), and casadi::SuperscsInterface::serialize_body().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1jg
Reimplemented from casadi::ProtoFunction.
Definition at line 215 of file conic_impl.hpp.
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1je
Reimplemented from casadi::Conic.
Definition at line 490 of file osqp_interface.cpp.
References nnzA_, nnzHupp_, casadi::SerializingStream::pack(), casadi::Conic::serialize_body(), settings_, casadi::SerializingStream::version(), warm_start_dual_, and warm_start_primal_.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1jf
Reimplemented from casadi::ProtoFunction.
Definition at line 753 of file conic.cpp.
References casadi::PluginInterface< Derived >::serialize_type(), and casadi::FunctionInternal::serialize_type().
|
protectedinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nx
Definition at line 3761 of file function_internal.cpp.
References casadi::FunctionInternal::jac_sparsity_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::to_compact().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_na
Reimplemented in casadi::FatropConicInterface, and casadi::OracleFunction.
Definition at line 1233 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::setup().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1jb
Reimplemented from casadi::FunctionInternal.
Reimplemented in casadi::Qrqp, casadi::HpipmInterface, casadi::HighsInterface, casadi::FatropConicInterface, casadi::DaqpInterface, and casadi::ClarabelInterface.
Definition at line 457 of file conic.cpp.
References casadi_qp_data< T1 >::a, casadi::CONIC_A, casadi::CONIC_COST, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LAM_A, casadi::CONIC_LAM_A0, casadi::CONIC_LAM_X, casadi::CONIC_LAM_X0, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::CONIC_X, casadi::CONIC_X0, casadi_qp_data< T1 >::f, casadi_qp_data< T1 >::g, casadi_qp_data< T1 >::h, casadi_qp_data< T1 >::iter_count, casadi_qp_data< T1 >::lam_a, casadi_qp_data< T1 >::lam_a0, casadi_qp_data< T1 >::lam_x, casadi_qp_data< T1 >::lam_x0, casadi_qp_data< T1 >::lba, casadi_qp_data< T1 >::lbx, casadi::SOLVER_RET_UNKNOWN, casadi_qp_data< T1 >::success, casadi_qp_data< T1 >::uba, casadi_qp_data< T1 >::ubx, casadi_qp_data< T1 >::unified_return_status, casadi_qp_data< T1 >::x, and casadi_qp_data< T1 >::x0.
Referenced by casadi::ClarabelInterface::set_work(), casadi::DaqpInterface::set_work(), casadi::FatropConicInterface::set_work(), casadi::HighsInterface::set_work(), casadi::HpipmInterface::set_work(), and casadi::Qrqp::set_work().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nb
Definition at line 3549 of file function_internal.cpp.
References casadi::FunctionInternal::set_temp(), casadi::FunctionInternal::set_work(), and casadi::FunctionMemory::stats_available.
Referenced by casadi::Conic::eval(), casadi::Nlpsol::eval(), casadi::CallbackInternal::eval(), casadi::FiniteDiff::eval(), casadi::FmuFunction::eval(), casadi::Integrator::eval(), casadi::Map::eval(), casadi::OmpMap::eval(), casadi::ThreadMap::eval(), casadi::MapSum::eval(), casadi::MXFunction::eval(), casadi::Rootfinder::eval(), casadi::Switch::eval(), casadi::SXFunction::eval(), casadi::SlicotDple::eval(), casadi::SlicotExpm::eval(), casadi::BSplineInterpolant::eval(), and casadi::LinearInterpolant::eval().
|
inlineprotectedinherited |
Definition at line 83 of file generic_shared_internal.hpp.
|
inlineprotectedinherited |
Definition at line 92 of file generic_shared_internal.hpp.
|
inlinestaticinherited |
Definition at line 133 of file conic_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ly
Definition at line 2413 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add(), casadi::FunctionInternal::codegen(), and casadi::External::codegen_declarations().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27o
Definition at line 2418 of file function_internal.cpp.
References casadi::join(), casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, and casadi::str().
Referenced by casadi::CodeGenerator::add().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 993 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::FmuFunction::eval(), casadi::FmuFunction::eval_task(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::matching_arg(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 995 of file function_internal.hpp.
Referenced by casadi::FmuFunction::eval_task(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::matching_res(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 994 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::check_arg(), casadi::FunctionInternal::forward(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::project_arg(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 996 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::Integrator::get_forward(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::matching_res(), and casadi::FunctionInternal::reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 997 of file function_internal.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::fwd_seed(), casadi::Dple::get_forward(), and casadi::Dple::get_reverse().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 1000 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::check_res(), casadi::FunctionInternal::eval(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), and casadi::Nlpsol::init().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l2
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 3742 of file function_internal.cpp.
References casadi::Function::slice(), and casadi::FunctionInternal::wrap().
Referenced by casadi::Function::slice().
|
overridevirtual |
Implements casadi::Conic.
Definition at line 207 of file osqp_interface.cpp.
References casadi::Conic::A_, casadi::casadi_copy(), casadi::Sparsity::colind(), casadi::CONIC_A, casadi::CONIC_COST, casadi::CONIC_G, casadi::CONIC_H, casadi::CONIC_LAM_A, casadi::CONIC_LAM_A0, casadi::CONIC_LAM_X, casadi::CONIC_LAM_X0, casadi::CONIC_LBA, casadi::CONIC_LBX, casadi::CONIC_UBA, casadi::CONIC_UBX, casadi::CONIC_X, casadi::CONIC_X0, casadi::Conic::H_, casadi::Conic::na_, nnzA_, nnzHupp_, casadi::Conic::nx_, casadi::SOLVER_RET_INFEASIBLE, casadi::SOLVER_RET_SUCCESS, casadi::SOLVER_RET_UNKNOWN, warm_start_dual_, and warm_start_primal_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mw
Reimplemented in casadi::BSplineInterpolant, casadi::SXFunction, casadi::Rootfinder, casadi::MXFunction, casadi::MapSum, casadi::Map, and casadi::Integrator.
Definition at line 2838 of file function_internal.cpp.
References casadi::casadi_clear(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), and casadi::FunctionInternal::sp_forward_block().
Referenced by casadi::MXFunction::sp_forward(), casadi::SXFunction::sp_forward(), and casadi::BSplineInterpolant::sp_forward().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mx
Definition at line 2857 of file function_internal.cpp.
References casadi::Sparsity::colind(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jac_sparsity(), casadi::Sparsity::nnz(), casadi::Sparsity::row(), and casadi::Sparsity::size2().
Referenced by casadi::FunctionInternal::sp_forward().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_my
Reimplemented in casadi::BSplineInterpolant, casadi::SXFunction, casadi::Rootfinder, casadi::MXFunction, casadi::MapSum, casadi::Map, and casadi::Integrator.
Definition at line 2873 of file function_internal.cpp.
References casadi::casadi_clear(), casadi::Sparsity::colind(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, casadi::Sparsity::nnz(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::nnz_out(), casadi::Sparsity::row(), and casadi::Sparsity::size2().
Referenced by casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), and casadi::BSplineInterpolant::sp_reverse().
|
virtualinherited |
sparsity propagation
Extra doc: https://github.com/casadi/casadi/wiki/L_l6
Definition at line 3285 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight_sp_, casadi::FunctionInternal::has_spfwd(), and casadi::FunctionInternal::has_sprev().
Referenced by casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::MXFunction::sp_forward(), casadi::SXFunction::sp_forward(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mh
Definition at line 1009 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::FixedStepIntegrator::create_advanced(), casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::from_compact(), casadi::FunctionInternal::fwd_seed(), casadi::Integrator::get_forward(), casadi::Integrator::get_reverse(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::project_arg(), casadi::FunctionInternal::replace_arg(), casadi::FunctionInternal::reverse(), casadi::HpipmInterface::set_hpipm_prob(), casadi::FunctionInternal::sx_in(), and casadi::FunctionInternal::to_compact().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mh
Definition at line 1010 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::check_res(), casadi::FunctionInternal::dm_out(), casadi::FmuFunction::eval(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::from_compact(), casadi::Integrator::get_reverse(), casadi::FmuFunction::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::replace_res(), casadi::FunctionInternal::sx_out(), and casadi::FunctionInternal::to_compact().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_js
Definition at line 3885 of file function_internal.cpp.
Referenced by casadi::ProtoFunction::format_time(), and casadi::ProtoFunction::print_time().
|
staticinherited |
Definition at line 3953 of file function_internal.cpp.
References casadi::SOLVER_RET_LIMITED, casadi::SOLVER_RET_NAN, and casadi::SOLVER_RET_SUCCESS.
Referenced by casadi::Conic::get_stats(), casadi::Nlpsol::get_stats(), and casadi::Rootfinder::get_stats().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::SXFunction.
Definition at line 3312 of file function_internal.cpp.
References casadi::FunctionInternal::n_in_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::SXFunction.
Definition at line 3296 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, casadi::FunctionInternal::sparsity_in(), and casadi::GenericMatrix< Matrix< Scalar > >::sym().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3320 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3300 of file function_internal.cpp.
References casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< Matrix< Scalar > >::sym().
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 1150 of file function_internal.cpp.
Referenced by casadi::MXFunction::symbolic_output().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ns
Definition at line 1535 of file function_internal.hpp.
References casadi::FunctionInternal::is_diff_out_.
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n0
Definition at line 1172 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_arg(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_arg(), casadi::OmpMap::eval(), casadi::MXFunction::eval_sx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n2
Definition at line 1182 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_iw(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_iw(), casadi::OmpMap::eval(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrqp::init(), casadi::Sqpmethod::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n1
Definition at line 1177 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_res(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_res(), casadi::OmpMap::eval(), casadi::MXFunction::eval_sx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::Nlpsol::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n3
Definition at line 1187 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_w(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_w(), casadi::SXFunction::codegen_sz_w(), casadi::OmpMap::eval(), casadi::FunctionInternal::eval_gen(), casadi::SXFunction::eval_mx(), casadi::OracleFunction::finalize(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::External::init(), casadi::MXFunction::init(), casadi::Nlpsol::init(), casadi::Rootfinder::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrqp::init(), casadi::Sqpmethod::init(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), and casadi::FunctionInternal::sz_work().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mz
Definition at line 2905 of file function_internal.cpp.
References casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), and casadi::FunctionInternal::sz_w().
|
inherited |
Definition at line 1921 of file function_internal.cpp.
References casadi::FunctionInternal::find(), casadi::FunctionInternal::sparsity_in(), casadi::FunctionInternal::sparsity_out(), and casadi::Sparsity::sub().
Referenced by casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::set_jac_sparsity().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ll
Definition at line 1083 of file function_internal.cpp.
References casadi::FunctionInternal::cache_, and casadi::Function::name().
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::FunctionInternal::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_29j
Definition at line 1087 of file function_internal.cpp.
References casadi::FunctionInternal::cache_, and casadi::Function::name().
Referenced by casadi::MapSum::create(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::wrap().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kx
Reimplemented in casadi::Rootfinder, casadi::Nlpsol, casadi::FiniteDiff, and casadi::CallbackInternal.
Definition at line 613 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_sparsity_in().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ai
Definition at line 67 of file generic_shared_internal.hpp.
|
virtualinherited |
[in] | s_in | Input name |
[in] | s_out | Output name(s) |
[in] | order | Only 1 (linear) and 2 (nonlinear) allowed |
[in] | tr | Flip the relationship. Return which expressions contain the variables |
Extra doc: https://github.com/casadi/casadi/wiki/L_k9
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 3728 of file function_internal.cpp.
References casadi::Function::which_depends(), and casadi::Function::wrap().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_li
Definition at line 1128 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::Function, casadi::FunctionInternal::incache(), casadi::FunctionInternal::is_diff_in_, casadi::FunctionInternal::is_diff_out_, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::mx_in(), casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sp_weight(), and casadi::FunctionInternal::tocache_if_missing().
Referenced by casadi::FunctionInternal::eval_mx(), casadi::FunctionInternal::factory(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::slice(), and casadi::Function::wrap().
Extra doc: https://github.com/casadi/casadi/wiki/L_lj
Definition at line 1110 of file function_internal.cpp.
References casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::derivative_of_, casadi::FunctionInternal::Function, casadi::FunctionInternal::max_num_dir_, casadi::FunctionInternal::mx_in(), casadi::ProtoFunction::name_, casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, and casadi::FunctionInternal::sp_weight().
Referenced by casadi::Function::wrap_as_needed().
|
protectedinherited |
Definition at line 166 of file conic_impl.hpp.
Referenced by codegen_body(), codegen_init_mem(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Conic::get_sparsity_in(), casadi::SqicInterface::init(), casadi::FatropConicInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::OoqpInterface::init(), init(), casadi::SuperscsInterface::init(), casadi::Ipqp::init(), casadi::QpToNlp::init(), casadi::Qrqp::init(), casadi::ClarabelInterface::init_dependent(), casadi::HighsInterface::init_dependent(), casadi::CbcInterface::init_mem(), casadi::ClpInterface::init_mem(), casadi::CplexInterface::init_mem(), init_mem(), casadi::QpoasesInterface::init_mem(), casadi::Conic::qp_codegen_body(), casadi::Conic::sdp_to_socp_init(), casadi::Conic::serialize_body(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::HpmpcInterface::solve(), casadi::OoqpInterface::solve(), solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), and casadi::Ipqp::solve().
|
inherited |
Definition at line 1364 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1364 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::sp_weight().
|
inherited |
Definition at line 1263 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::FunctionInternal::eval_sx(), casadi::MXFunction::eval_sx(), casadi::SXFunction::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
Definition at line 1335 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::cache(), casadi::FunctionInternal::incache(), casadi::FunctionInternal::tocache(), and casadi::FunctionInternal::tocache_if_missing().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26h
Definition at line 1332 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nl
Definition at line 1312 of file function_internal.hpp.
Referenced by casadi::GenericExternal::any_symbol_found(), casadi::External::codegen_checkout(), casadi::External::codegen_declarations(), casadi::External::codegen_mem_type(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::init_external(), and casadi::FunctionBuffer::operator=().
|
inherited |
Definition at line 1353 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1352 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1404 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1401 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1346 of file function_internal.hpp.
Referenced by casadi::FiniteDiff::codegen_body(), casadi::LinearInterpolantJac::codegen_body(), casadi::FiniteDiff::codegen_declarations(), casadi::FiniteDiff::eval(), casadi::LinearInterpolantJac::eval(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FiniteDiff::get_default_in(), casadi::CentralDiff::get_forward(), casadi::FunctionInternal::get_n_in(), casadi::FiniteDiff::get_n_in(), casadi::FunctionInternal::get_n_out(), casadi::FiniteDiff::get_n_out(), casadi::FunctionInternal::get_name_in(), casadi::FiniteDiff::get_name_in(), casadi::FunctionInternal::get_name_out(), casadi::FiniteDiff::get_name_out(), casadi::FunctionInternal::get_sparsity_in(), casadi::FiniteDiff::get_sparsity_in(), casadi::FunctionInternal::get_sparsity_out(), casadi::FiniteDiff::get_sparsity_out(), casadi::LinearInterpolantJac::has_parametric_grid(), casadi::LinearInterpolantJac::has_parametric_values(), casadi::FiniteDiff::init(), casadi::FunctionInternal::init(), casadi::SundialsInterface::init(), casadi::LinearInterpolantJac::init(), casadi::FunctionInternal::jac_is_symm(), casadi::BlazingSplineFunction::merge(), casadi::FunctionInternal::serialize_body(), casadi::LinearInterpolantJac::serialize_type(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
staticinherited |
Definition at line 1455 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::deserialize().
|
protectedinherited |
Definition at line 161 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::init(), casadi::CplexInterface::init(), casadi::HighsInterface::init_dependent(), casadi::Conic::serialize_body(), casadi::HighsInterface::set_highs_prob(), casadi::CbcInterface::solve(), casadi::CplexInterface::solve(), and casadi::GurobiInterface::solve().
|
inherited |
Definition at line 1392 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
mutableinherited |
Definition at line 1410 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), and casadi::FunctionInternal::reset_dump_count().
|
inherited |
Definition at line 1395 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1398 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1392 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1392 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1360 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::JitFunction::JitFunction(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1361 of file function_internal.hpp.
Referenced by casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1360 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1361 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1360 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1361 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1360 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_reverse(), casadi::FunctionInternal::ad_weight(), casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::has_derivative(), casadi::FunctionInternal::init(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1361 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
protectedinherited |
Definition at line 162 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::init(), and casadi::Conic::serialize_body().
|
inherited |
Definition at line 261 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::HpipmInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), codegen_body(), casadi::Qrqp::codegen_body(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Nlpsol::eval(), casadi::Rootfinder::eval(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::Nlpsol::Nlpsol(), casadi::ProtoFunction::ProtoFunction(), casadi::Rootfinder::Rootfinder(), casadi::ProtoFunction::serialize_body(), and casadi::KinsolInterface::solve().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nk
Definition at line 1307 of file function_internal.hpp.
Referenced by casadi::FunctionBuffer::_eval(), casadi::GenericExternal::any_symbol_found(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), and casadi::GenericExternal::init_external().
|
inherited |
Definition at line 1379 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FmuFunction::init(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1373 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 1376 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1401 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
protectedinherited |
Definition at line 166 of file conic_impl.hpp.
Referenced by codegen_body(), codegen_init_mem(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Conic::get_sparsity_in(), casadi::CbcInterface::init(), casadi::ClpInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::OoqpInterface::init(), init(), casadi::SuperscsInterface::init(), casadi::Ipqp::init(), casadi::QpToNlp::init(), casadi::Qrqp::init(), casadi::ClarabelInterface::init_dependent(), casadi::HighsInterface::init_dependent(), casadi::CplexInterface::init_mem(), init_mem(), casadi::ProxqpInterface::init_mem(), casadi::QpoasesInterface::init_mem(), casadi::Conic::qp_codegen_body(), casadi::Conic::serialize_body(), casadi::GurobiInterface::solve(), casadi::HpmpcInterface::solve(), casadi::OoqpInterface::solve(), solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), and casadi::Ipqp::solve().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_no
Definition at line 1327 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), casadi::FunctionInternal::FunctionInternal(), casadi::Call::has_refcount(), casadi::External::init(), casadi::MXFunction::init(), OsqpInterface(), and casadi::FunctionInternal::serialize_body().
|
staticinherited |
Definition at line 130 of file conic_impl.hpp.
|
inherited |
Definition at line 1370 of file function_internal.hpp.
Referenced by casadi::Nlpsol::check_inputs(), casadi::Conic::eval(), casadi::SqicInterface::evaluate(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::GurobiInterface::solve().
|
inherited |
Definition at line 1269 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::wrap().
|
inherited |
Definition at line 1269 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::symbolicAdjSeed(), and casadi::FunctionInternal::wrap().
|
inherited |
Definition at line 1357 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::adjViaJac(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
mutableinherited |
Definition at line 1338 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::set_jac_sparsity().
|
inherited |
Definition at line 1401 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nf
Definition at line 1280 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::JitFunction::JitFunction(), casadi::OracleFunction::OracleFunction(), casadi::FunctionInternal::serialize_body(), casadi::OracleFunction::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1297 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ng
Definition at line 1285 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ni
Definition at line 1295 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1354 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::Scpgen::init(), casadi::OracleFunction::jit_dependencies(), casadi::FunctionInternal::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nh
Definition at line 1290 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::OracleFunction::OracleFunction(), casadi::FunctionInternal::serialize_body(), and casadi::OracleFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nj
Definition at line 1302 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1389 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1367 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
static |
Definition at line 116 of file osqp_interface.hpp.
Referenced by casadi::casadi_register_conic_osqp().
|
inherited |
Definition at line 1266 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::KinsolInterface::bjac(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::check_arg(), casadi::JitFunction::codegen_body(), casadi::Map::codegen_body(), casadi::OmpMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), casadi::FastNewton::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_arg(), casadi::FunctionInternal::definition(), casadi::KinsolInterface::djac(), casadi::FunctionInternal::dm_in(), casadi::FunctionInternal::eval(), casadi::OmpMap::eval(), casadi::MXFunction::eval(), casadi::Switch::eval(), casadi::FunctionInternal::eval_gen(), casadi::Map::eval_gen(), casadi::MapSum::eval_gen(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::SXFunction::export_code_body(), casadi::CallbackInternal::finalize(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::KinsolInterface::func(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FunctionInternal::generate_in(), casadi::GenericExternal::get_jac_sparsity(), casadi::GenericExternal::has_jac_sparsity(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::Switch::init(), casadi::SXFunction::init(), casadi::ImplicitToNlp::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::jacobian(), casadi::KinsolInterface::jtimes(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_arg(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::nnz_in(), casadi::FunctionInternal::numel_in(), casadi::FunctionInternal::nz_in(), casadi::SXFunction::print_arg(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::project_arg(), casadi::KinsolInterface::psetup(), casadi::FunctionInternal::reverse(), casadi::FmuFunction::serialize_body(), casadi::FunctionInternal::set_jac_sparsity(), casadi::Rootfinder::set_work(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), casadi::FastNewton::solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::FunctionInternal::sp_forward(), casadi::Integrator::sp_forward(), casadi::MXFunction::sp_forward(), casadi::Rootfinder::sp_forward(), casadi::FunctionInternal::sp_reverse(), casadi::Integrator::sp_reverse(), casadi::Map::sp_reverse(), casadi::MapSum::sp_reverse(), casadi::MXFunction::sp_reverse(), casadi::Rootfinder::sp_reverse(), and casadi::FunctionInternal::sx_in().
|
inherited |
Definition at line 1266 of file function_internal.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::KinsolInterface::bjac(), casadi::FunctionInternal::call(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_gen(), casadi::FunctionInternal::call_reverse(), casadi::SXFunction::call_setup(), casadi::FunctionInternal::check_res(), casadi::JitFunction::codegen_body(), casadi::Map::codegen_body(), casadi::OmpMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), casadi::FastNewton::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_res(), casadi::FunctionInternal::definition(), casadi::KinsolInterface::djac(), casadi::FunctionInternal::dm_out(), casadi::FunctionInternal::eval(), casadi::OmpMap::eval(), casadi::MXFunction::eval(), casadi::Switch::eval(), casadi::FunctionInternal::eval_gen(), casadi::Map::eval_gen(), casadi::MapSum::eval_gen(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::KinsolInterface::func(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_out(), casadi::LinearInterpolantJac::get_jacobian(), casadi::FunctionInternal::init(), casadi::MapSum::init(), casadi::Nlpsol::init(), casadi::Switch::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::matching_res(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::nnz_out(), casadi::FunctionInternal::numel_out(), casadi::FunctionInternal::nz_out(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), casadi::KinsolInterface::psetup(), casadi::FunctionInternal::reverse(), casadi::FmuFunction::serialize_body(), casadi::FunctionInternal::set_jac_sparsity(), casadi::Rootfinder::set_work(), casadi::QpToNlp::solve(), casadi::KinsolInterface::solve(), casadi::FastNewton::solve(), casadi::ImplicitToNlp::solve(), casadi::Newton::solve(), casadi::FunctionInternal::sp_forward(), casadi::Integrator::sp_forward(), casadi::MXFunction::sp_forward(), casadi::Rootfinder::sp_forward(), casadi::FunctionInternal::sp_reverse(), casadi::Integrator::sp_reverse(), casadi::Map::sp_reverse(), casadi::MapSum::sp_reverse(), casadi::MXFunction::sp_reverse(), casadi::Rootfinder::sp_reverse(), and casadi::FunctionInternal::sx_out().
|
protectedinherited |
Definition at line 172 of file conic_impl.hpp.
Referenced by casadi::Conic::check_inputs(), codegen_body(), casadi::Qrqp::codegen_body(), codegen_init_mem(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Conic::get_sparsity_out(), casadi::Conic::init(), casadi::CbcInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::FatropConicInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::OoqpInterface::init(), init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::Ipqp::init(), casadi::Qrqp::init(), casadi::CplexInterface::init_mem(), casadi::HpmpcInterface::init_mem(), init_mem(), casadi::ProxqpInterface::init_mem(), casadi::QpoasesInterface::init_mem(), casadi::Conic::serialize_body(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::FatropConicInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpmpcInterface::solve(), casadi::OoqpInterface::solve(), solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), and casadi::Qrqp::solve().
|
inherited |
Definition at line 246 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::Integrator::augmented_dae(), casadi::OracleFunction::calc_function(), casadi::FunctionInternal::call_forward(), casadi::FunctionInternal::call_reverse(), casadi::FunctionInternal::codegen_body(), casadi::External::codegen_body(), casadi::External::codegen_checkout(), casadi::External::codegen_declarations(), casadi::MXFunction::codegen_declarations(), casadi::SXFunction::codegen_declarations(), casadi::External::codegen_decref(), casadi::External::codegen_incref(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_name(), casadi::External::codegen_release(), casadi::FunctionInternal::codegen_sparsities(), casadi::ProtoFunction::construct(), casadi::OracleFunction::create_function(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::SXFunction::eval_sx(), casadi::FmuFunction::factory(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::Integrator::get_forward(), casadi::Integrator::get_forward_dae(), casadi::Map::get_function(), casadi::MapSum::get_function(), casadi::OracleFunction::get_function(), casadi::GenericExternal::get_jac_sparsity(), casadi::BlazingSplineFunction::get_jacobian(), casadi::FunctionInternal::get_n_in(), casadi::External::get_n_in(), casadi::FunctionInternal::get_n_out(), casadi::External::get_n_out(), casadi::FunctionInternal::get_name_in(), casadi::External::get_name_in(), casadi::FunctionInternal::get_name_out(), casadi::External::get_name_out(), casadi::FunctionInternal::get_partition(), casadi::Integrator::get_reverse(), casadi::FunctionInternal::get_sparsity_in(), casadi::GenericExternal::get_sparsity_in(), casadi::FunctionInternal::get_sparsity_out(), casadi::GenericExternal::get_sparsity_out(), casadi::FunctionInternal::get_stats(), casadi::External::has_forward(), casadi::GenericExternal::has_jac_sparsity(), casadi::External::has_jacobian(), casadi::External::has_reverse(), casadi::External::init(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::External::init_external(), casadi::GenericExternal::init_external(), casadi::FunctionInternal::jac_is_symm(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::OracleFunction::monitored(), casadi::MXFunction::print_arg(), casadi::SXFunction::print_arg(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_out(), casadi::MXFunction::print_res(), casadi::SXFunction::print_res(), casadi::ProtoFunction::print_time(), casadi::ProtoFunction::ProtoFunction(), casadi::CvodesInterface::reset(), casadi::IdasInterface::reset(), casadi::IdasInterface::resetB(), casadi::FunctionInternal::reverse(), casadi::ProtoFunction::serialize_body(), casadi::GurobiInterface::solve(), casadi::SnoptInterface::solve(), casadi::Integrator::sp_forward(), casadi::Integrator::sp_reverse(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 1275 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_arg(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_arg(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::eval_gen(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FmuFunction::get_stats(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::signature_unrolled(), casadi::FunctionInternal::sx_in(), casadi::FunctionInternal::wrap(), casadi::FunctionInternal::wrap_as_needed(), and casadi::XFunction< DerivedType, MatType, NodeType >::XFunction().
|
inherited |
Definition at line 1275 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::check_res(), casadi::JitFunction::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::convert_res(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::diff_prefix(), casadi::FunctionInternal::eval_gen(), casadi::FmuFunction::FmuFunction(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::FunctionInternal::jacobian(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mx_out(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), casadi::FunctionInternal::reverse(), casadi::FunctionInternal::serialize_body(), casadi::FunctionInternal::signature_unrolled(), casadi::FunctionInternal::sx_out(), casadi::FunctionInternal::wrap(), casadi::FunctionInternal::wrap_as_needed(), and casadi::XFunction< DerivedType, MatType, NodeType >::XFunction().
|
inherited |
Definition at line 1263 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval_mx(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::FunctionInternal::eval_sx(), casadi::MXFunction::eval_sx(), casadi::SXFunction::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
casadi_int casadi::OsqpInterface::nnzA_ |
Definition at line 122 of file osqp_interface.hpp.
Referenced by codegen_body(), codegen_init_mem(), init(), init_mem(), OsqpInterface(), serialize_body(), and solve().
casadi_int casadi::OsqpInterface::nnzHupp_ |
Definition at line 122 of file osqp_interface.hpp.
Referenced by codegen_body(), init(), OsqpInterface(), serialize_body(), and solve().
|
protectedinherited |
Definition at line 175 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::init(), casadi::Conic::sdp_to_socp_init(), and casadi::Conic::serialize_body().
|
protectedinherited |
Definition at line 169 of file conic_impl.hpp.
Referenced by casadi::Conic::check_inputs(), codegen_body(), casadi::Qrqp::codegen_body(), codegen_init_mem(), casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Conic::get_sparsity_out(), casadi::Conic::init(), casadi::CbcInterface::init(), casadi::ClpInterface::init(), casadi::CplexInterface::init(), casadi::FatropConicInterface::init(), casadi::GurobiInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::OoqpInterface::init(), init(), casadi::ProxqpInterface::init(), casadi::QpoasesInterface::init(), casadi::SuperscsInterface::init(), casadi::Ipqp::init(), casadi::QpToNlp::init(), casadi::Qrqp::init(), casadi::HighsInterface::init_dependent(), casadi::CplexInterface::init_mem(), casadi::HpmpcInterface::init_mem(), init_mem(), casadi::ProxqpInterface::init_mem(), casadi::QpoasesInterface::init_mem(), casadi::SuperscsInterface::init_mem(), casadi::Conic::sdp_to_socp_init(), casadi::Conic::serialize_body(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::FatropConicInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpmpcInterface::solve(), casadi::OoqpInterface::solve(), solve(), casadi::ProxqpInterface::solve(), casadi::QpoasesInterface::solve(), casadi::SuperscsInterface::solve(), and casadi::Qrqp::solve().
|
static |
Definition at line 89 of file osqp_interface.hpp.
Referenced by casadi::casadi_register_conic_osqp().
|
protectedinherited |
Definition at line 166 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::get_sparsity_in(), casadi::Conic::sdp_to_socp_init(), and casadi::Conic::serialize_body().
|
inherited |
Definition at line 47 of file conic_impl.hpp.
Referenced by casadi::DaqpInterface::set_daqp_prob(), casadi::FatropConicInterface::set_fatrop_conic_prob(), casadi::HighsInterface::set_highs_prob(), and casadi::HpipmInterface::set_hpipm_prob().
|
inherited |
Definition at line 1386 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::MXFunction::print_arg(), casadi::SXFunction::print_arg(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::print_out(), casadi::MXFunction::print_res(), casadi::SXFunction::print_res(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1382 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1383 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
protectedinherited |
Definition at line 163 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::eval(), casadi::Conic::init(), and casadi::Conic::serialize_body().
|
inherited |
Definition at line 252 of file function_internal.hpp.
Referenced by casadi::FixedStepIntegrator::create_advanced(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::FunctionInternal::init(), casadi::Nlpsol::Nlpsol(), casadi::ProtoFunction::print_time(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
protectedinherited |
Definition at line 166 of file conic_impl.hpp.
Referenced by casadi::Conic::Conic(), casadi::Conic::get_sparsity_in(), casadi::SuperscsInterface::init(), casadi::Conic::sdp_to_socp_init(), casadi::Conic::serialize_body(), and casadi::SuperscsInterface::solve().
|
inherited |
Definition at line 255 of file function_internal.hpp.
Referenced by casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::FunctionInternal::init(), casadi::ProtoFunction::init_mem(), casadi::LinsolInternal::init_mem(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
inherited |
Definition at line 258 of file function_internal.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::ProtoFunction::change_option(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::ProtoFunction::generate_options(), casadi::ProtoFunction::init(), casadi::ProtoFunction::ProtoFunction(), and casadi::ProtoFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nm
Definition at line 1317 of file function_internal.hpp.
Referenced by casadi::GenericExternal::any_symbol_found(), casadi::External::codegen_declarations(), casadi::External::codegen_release(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::init_external(), and casadi::FunctionBuffer::~FunctionBuffer().
|
inherited |
Definition at line 1401 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::serialize_body().
OSQPSettings casadi::OsqpInterface::settings_ |
Definition at line 124 of file osqp_interface.hpp.
Referenced by codegen_init_mem(), init(), init_mem(), OsqpInterface(), and serialize_body().
|
staticinherited |
Definition at line 123 of file conic_impl.hpp.
|
inherited |
Definition at line 1272 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::SXFunction::ad_reverse(), casadi::CodeGenerator::add(), casadi::FunctionInternal::all_scalar(), casadi::Switch::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::Switch::eval(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), casadi::Switch::init(), casadi::ImplicitToNlp::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::mapsum_mx(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_in(), casadi::FunctionInternal::serialize_body(), and casadi::HpmpcInterface::solve().
|
inherited |
Definition at line 1272 of file function_internal.hpp.
Referenced by casadi::SXFunction::ad_forward(), casadi::SXFunction::ad_reverse(), casadi::FunctionInternal::all_scalar(), casadi::Switch::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sparsities(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::eval(), casadi::Switch::eval(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::get_jac_sparsity(), casadi::FunctionInternal::init(), casadi::Nlpsol::init(), casadi::Switch::init(), casadi::JitFunction::JitFunction(), casadi::FunctionInternal::print_dimensions(), casadi::FunctionInternal::print_out(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nn
Definition at line 1322 of file function_internal.hpp.
|
inherited |
Definition at line 1349 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 249 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), casadi::SXFunction::ad_forward(), casadi::MXFunction::ad_reverse(), casadi::SXFunction::ad_reverse(), casadi::Integrator::advance(), casadi::ProtoFunction::change_option(), casadi::BSplineInterpolant::construct_graph(), casadi::OracleFunction::create_function(), casadi::FmuFunction::eval(), casadi::Integrator::eval(), casadi::MXFunction::eval(), casadi::SXFunction::eval(), casadi::MXFunction::eval_mx(), casadi::SXFunction::eval_mx(), casadi::SXFunction::eval_sx(), casadi::FmuFunction::factory(), casadi::FunctionInternal::finalize(), casadi::KinsolInterface::func(), casadi::ProtoFunction::generate_options(), casadi::FmuFunction::get_forward(), casadi::Integrator::get_forward(), casadi::Integrator::get_forward_dae(), casadi::FunctionInternal::get_jac_sparsity_gen(), casadi::FunctionInternal::get_jac_sparsity_hierarchical(), casadi::FunctionInternal::get_jac_sparsity_hierarchical_symm(), casadi::FmuFunction::get_jacobian(), casadi::FunctionInternal::get_partition(), casadi::FmuFunction::get_reverse(), casadi::Integrator::get_reverse(), casadi::ProtoFunction::init(), casadi::FiniteDiff::init(), casadi::FmuFunction::init(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::Blocksqp::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HpipmInterface::init(), casadi::HpmpcInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::CvodesInterface::init(), casadi::IdasInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Scpgen::init(), casadi::Sqpmethod::init(), casadi::IpoptInterface::init_mem(), casadi::IdasInterface::init_mem(), casadi::SXFunction::instructions_sx(), casadi::BonminInterface::intermediate_callback(), casadi::OracleFunction::jit_dependencies(), casadi::CsparseInterface::nfact(), casadi::LapackLu::nfact(), casadi::LapackQr::nfact(), casadi::LinsolQr::nfact(), casadi::Integrator::predict_events(), casadi::ProtoFunction::ProtoFunction(), casadi::CvodesInterface::reset(), casadi::IdasInterface::reset(), casadi::IdasInterface::resetB(), casadi::ProtoFunction::serialize_body(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::GurobiInterface::solve(), casadi::HpipmInterface::solve(), casadi::QpoasesInterface::solve(), casadi::Ipqp::solve(), casadi::Qrqp::solve(), casadi::AlpaqaInterface::solve(), casadi::AmplInterface::solve(), casadi::SnoptInterface::solve(), casadi::KinsolInterface::solve(), casadi::WorhpInterface::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Feasiblesqpmethod::solve_LP(), casadi::Feasiblesqpmethod::solve_QP(), casadi::Qrsqp::solve_QP(), casadi::Sqpmethod::solve_QP(), casadi::Integrator::sp_forward(), casadi::Integrator::sp_reverse(), and casadi::Integrator::trigger_event().
bool casadi::OsqpInterface::warm_start_dual_ |
Definition at line 126 of file osqp_interface.hpp.
Referenced by init(), OsqpInterface(), serialize_body(), and solve().
bool casadi::OsqpInterface::warm_start_primal_ |
Definition at line 126 of file osqp_interface.hpp.
Referenced by init(), OsqpInterface(), serialize_body(), and solve().