#include <conopt_interface.hpp>
| 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 |
| bound_consistency | OT_BOOL | Ensure that primal-dual solution is consistent with the bounds | casadi::Nlpsol |
| cache | OT_DICT | Prepopulate the function cache. Default: empty | casadi::FunctionInternal |
| calc_f | OT_BOOL | Calculate 'f' in the Nlpsol base class | casadi::Nlpsol |
| calc_g | OT_BOOL | Calculate 'g' in the Nlpsol base class | casadi::Nlpsol |
| calc_lam_p | OT_BOOL | Calculate 'lam_p' in the Nlpsol base class | casadi::Nlpsol |
| calc_lam_x | OT_BOOL | Calculate 'lam_x' in the Nlpsol base class | casadi::Nlpsol |
| calc_multipliers | OT_BOOL | Calculate Lagrange multipliers in the Nlpsol base class | casadi::Nlpsol |
| common_options | OT_DICT | Options for auto-generated functions | casadi::OracleFunction |
| compiler | OT_STRING | Just-in-time compiler plugin to be used. | casadi::FunctionInternal |
| conopt | OT_DICT | Options to be passed to CONOPT | casadi::ConoptInterface |
| custom_jacobian | OT_FUNCTION | Override CasADi's AD. Use together with 'jac_penalty': 0. Note: Highly experimental. Syntax may break often. | casadi::FunctionInternal |
| debug | OT_BOOL | Print debug output: constraint values at each FDEval, solution vector, and option echo | casadi::ConoptInterface |
| 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 |
| detect_simple_bounds | OT_BOOL | Automatically detect simple bounds (lbx/ubx) (default false). This is hopefully beneficial to speed and robustness but may also have adverse affects: 1) Subtleties in heuristics and stopping criteria may change the solution, 2) IPOPT may lie about multipliers of simple equality bounds unless 'fixed_variable_treatment' is set to 'relax_bounds'. | casadi::Nlpsol |
| detect_simple_bounds_is_simple | OT_BOOLVECTOR | For internal use only. | casadi::Nlpsol |
| detect_simple_bounds_parts | OT_FUNCTION | For internal use only. | casadi::Nlpsol |
| detect_simple_bounds_target_x | OT_INTVECTOR | For internal use only. | casadi::Nlpsol |
| discrete | OT_BOOLVECTOR | Indicates which of the variables are discrete, i.e. integer-valued | casadi::Nlpsol |
| dump | OT_BOOL | Dump function to file upon first evaluation. [false] | casadi::FunctionInternal |
| dump_dir | OT_STRING | Directory to dump inputs/outputs and traces 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::Nlpsol |
| error_on_fail | OT_BOOL | Throw exceptions when function evaluation fails (default true). | casadi::ProtoFunction |
| eval_errors_fatal | OT_BOOL | When errors occur during evaluation of f,g,...,stop the iterations | casadi::Nlpsol |
| exact_hessian | OT_BOOL | Provide exact Hessian to CONOPT | casadi::ConoptInterface |
| expand | OT_BOOL | Replace MX with SX expressions in problem formulation [false] This happens before creating derivatives unless indicated by postpone_expand | casadi::OracleFunction |
| 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 |
| ignore_check_vec | OT_BOOL | If set to true, the input shape of F will not be checked. | casadi::Nlpsol |
| 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 |
| iteration_callback | OT_FUNCTION | A function that will be called at each iteration with the solver as input. Check documentation of Callback. | casadi::Nlpsol |
| iteration_callback_ignore_errors | OT_BOOL | If set to true, errors thrown by iteration_callback will be ignored. | casadi::Nlpsol |
| iteration_callback_step | OT_INT | Only call the callback function every few iterations. | casadi::Nlpsol |
| 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 |
| min_lam | OT_DOUBLE | Minimum allowed multiplier value | casadi::Nlpsol |
| monitor | OT_STRINGVECTOR | Set of user problem functions to be monitored | casadi::OracleFunction |
| never_inline | OT_BOOL | Forbid inlining. | casadi::FunctionInternal |
| no_nlp_grad | OT_BOOL | Prevent the creation of the 'nlp_grad' function | casadi::Nlpsol |
| optfile | OT_STRING | Path to a CONOPT option file (for string-valued CR-cells such as Algorithm) | casadi::ConoptInterface |
| oracle_options | OT_DICT | Options to be passed to the oracle function | casadi::Nlpsol |
| 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 |
| postpone_expand | OT_BOOL | When expand is active, postpone it until after creation of derivatives. Default: False | casadi::OracleFunction |
| 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_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 |
| sens_linsol | OT_STRING | Linear solver used for parametric sensitivities (default 'qr'). | casadi::Nlpsol |
| sens_linsol_options | OT_DICT | Linear solver options used for parametric sensitivities. | casadi::Nlpsol |
| show_eval_warnings | OT_BOOL | Show warnings generated from function evaluations [true] | casadi::OracleFunction |
| specific_options | OT_DICT | Options for specific auto-generated functions, overwriting the defaults from common_options. Nested dictionary. | casadi::OracleFunction |
| 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 |
| verbose_init | OT_BOOL | Print out timing information about the different stages of initialization | casadi::Nlpsol |
| warm_start | OT_BOOL | Warm-start CONOPT using multipliers from a prior solve to infer basis status (IniStat=2) | casadi::ConoptInterface |
| warn_initial_bounds | OT_BOOL | Warn if the initial guess does not satisfy LBX and UBX | casadi::Nlpsol |
Definition at line 139 of file conopt_interface.hpp.


Public Types | |
| typedef Nlpsol *(* | Creator) (const std::string &name, const Function &oracle) |
| using | weak_ref_type = WeakRefInternal |
| typedef int(* | RegFcn) (Plugin *plugin) |
Public Member Functions | |
| ConoptInterface (const std::string &name, const Function &nlp) | |
| ~ConoptInterface () override | |
| const char * | plugin_name () const override |
| std::string | class_name () const override |
| Get type name. More... | |
| const Options & | get_options () const override |
| Options. 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... | |
| void | set_work (void *mem, const double **&arg, double **&res, casadi_int *&iw, double *&w) const override |
| Set the (persistent) work vectors. More... | |
| int | solve (void *mem) const override |
| Dict | get_stats (void *mem) const override |
| Get all statistics. More... | |
| void | ensure_row_capacity (ConoptMemory *m, casadi_int remaining_rows) const |
| void | serialize_body (SerializingStream &s) const override |
| Serialize an object without type information. 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... | |
| void | disp_more (std::ostream &stream) const override |
| Print description. More... | |
| virtual void | check_inputs (void *mem) const |
| Check if the inputs correspond to a well-posed problem. More... | |
| double | get_default_in (casadi_int ind) const override |
| Get default input value. More... | |
| virtual bool | integer_support () const |
| Can discrete variables be treated. More... | |
| int | eval (const double **arg, double **res, casadi_int *iw, double *w, void *mem) const final |
| Evaluate numerically. More... | |
| void | codegen_declarations (CodeGenerator &g) const override |
| Generate code for the declarations of the C function. More... | |
| void | codegen_body_enter (CodeGenerator &g) const override |
| Generate code for the function body. More... | |
| void | codegen_body_exit (CodeGenerator &g) const override |
| Generate code for the function body. More... | |
| void | codegen_setup_constants (CodeGenerator &g, const std::string &d_nlp, const std::string &p_nlp, const std::string &d_oracle) const |
| void | codegen_setup_per_call (CodeGenerator &g, const std::string &d_nlp) const |
| void | codegen_post_solve (CodeGenerator &g, const std::string &d_nlp) const |
| bool | uses_output () const override |
| Do the derivative functions need nondifferentiated outputs? More... | |
| int | callback (NlpsolMemory *m) const |
| Function | kkt () const |
| bool | is_a (const std::string &type, bool recursive) const override |
| Check if the function is of a particular type. More... | |
| virtual DM | getReducedHessian () |
| virtual void | setOptionsFromFile (const std::string &file) |
| Read options from parameter xml. More... | |
| void | finalize () override |
| Finalize initialization. More... | |
| void | join_results (OracleMemory *m) const |
| Combine results from different threads. More... | |
| const Function & | oracle () const override |
| Get oracle. More... | |
| void | expand () |
| Function | create_function (const Function &oracle, const std::string &fname, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux=Function::AuxOut(), const Dict &opts=Dict()) |
| Function | create_function (const std::string &fname, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Function::AuxOut &aux=Function::AuxOut(), const Dict &opts=Dict()) |
| Function | create_function (const std::string &fname, const std::vector< MX > &e_in, const std::vector< MX > &e_out, const std::vector< std::string > &s_in, const std::vector< std::string > &s_out, const Dict &opts=Dict()) |
| Function | create_forward (const std::string &fname, casadi_int nfwd) |
| void | set_function (const Function &fcn, const std::string &fname, bool jit=false) |
| void | set_function (const Function &fcn) |
| int | calc_function (OracleMemory *m, const std::string &fcn, const double *const *arg=nullptr, int thread_id=0) const |
| int | calc_sp_forward (const std::string &fcn, const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w) const |
| int | calc_sp_reverse (const std::string &fcn, bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w) const |
| std::vector< std::string > | get_function () const override |
| Get list of dependency functions. More... | |
| const Function & | get_function (const std::string &name) const override |
| void | find (std::map< FunctionInternal *, std::pair< Function, size_t > > &all_fun, casadi_int max_depth) const override |
| virtual bool | monitored (const std::string &name) const |
| bool | has_function (const std::string &fname) const override |
| std::string | generate_dependencies (const std::string &fname, const Dict &opts) const override |
| Export / Generate C code for the generated functions. More... | |
| void | jit_dependencies (const std::string &fname) override |
| JIT for dependencies. More... | |
| int | local_init_mem (void *mem) const |
| Initalize memory block. More... | |
| void | set_temp (void *mem, const double **arg, double **res, casadi_int *iw, double *w) const override |
| Set the work vectors. 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... | |
| 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 |
| void | add_embedded (std::map< FunctionInternal *, std::pair< Function, size_t > > &all_fun, const Function &dep, 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 Function | simplify_passes (const std::vector< std::pair< std::string, casadi_int > > &tasks) const |
| Apply an ordered list of simplify passes (used by transform) 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... | |
| 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... | |
| 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... | |
| 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_init_mem (CodeGenerator &g) const |
| Codegen decref for init_mem. More... | |
| virtual void | codegen_free_mem (CodeGenerator &g) const |
| Codegen for free_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_body (CodeGenerator &g) const |
| Generate code for the function body. More... | |
| virtual std::string | codegen_mem_type () const |
| Thread-local memory object type. More... | |
| virtual bool | codegen_needs_mem () const |
| Is thread-local memory object needed? More... | |
| virtual bool | codegen_mem_is_opaque () const |
| Is thread-local memory object managed by checkout/release. More... | |
| virtual bool | has_codegen () const |
| Is codegen supported? 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... | |
| 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 | eval_activity (const bvec_t **arg, bvec_t **res, casadi_int *iw, bvec_t *w, void *mem) const |
| Propagate signal activity 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... | |
| 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... | |
| void | serialize (SerializingStream &s) const |
| Serialize an object. 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... | |
| virtual void | deps_version_check (const std::string &stage) const |
| 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... | |
| bool | has_forward (casadi_int nfwd) const override |
| Generate a function that calculates forward mode derivatives. More... | |
| 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 override |
| Generate a function that calculates forward mode derivatives. More... | |
| bool | has_reverse (casadi_int nadj) const override |
| Generate a function that calculates reverse mode derivatives. More... | |
| 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 override |
| Generate a function that calculates reverse mode derivatives. 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... | |
| Function | reverse (casadi_int nadj) 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... | |
| Function | wrap (const std::string &name) const |
| Wrap in an Function instance consisting of only one MX call. More... | |
| Function | wrap () const |
| Wrap in an Function instance consisting of only one MX call. More... | |
| Function | wrap_as_needed (const std::string &name, const Dict &opts) 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... | |
| 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 Nlpsol * | creator (const std::string &name, const Function &nlp) |
| static ProtoFunction * | deserialize (DeserializingStream &s) |
| static int COI_CALLCONV | cb_read_matrix (double LOWER[], double CURR[], double UPPER[], int VSTA[], int TYPEX[], double RHS[], int ESTA[], int COLSTA[], int ROWNO[], double VALUE[], int NLFLAG[], int NUMVAR, int NUMCON, int NUMNZ, void *USRMEM) |
| static int COI_CALLCONV | cb_fdevalini (const double X[], const int ROWLIST[], int MODE, int LISTSIZE, int NUMTHREAD, int IGNERR, int *ERRCNT, int NUMVAR, void *USRMEM) |
| static int COI_CALLCONV | cb_fd_eval (const double X[], double *G, double JAC[], int ROWNO, const int JACNUM[], int MODE, int IGNERR, int *ERRCNT, int NUMVAR, int NUMJAC, int THREAD, void *USRMEM) |
| static int COI_CALLCONV | cb_fdevalend (int IGNERR, int *ERRCNT, void *USRMEM) |
| static int COI_CALLCONV | cb_status (int MODSTA, int SOLSTA, int ITER, double OBJVAL, void *USRMEM) |
| static int COI_CALLCONV | cb_solution (const double XVAL[], const double XMAR[], const int XBAS[], const int XSTA[], const double YVAL[], const double YMAR[], const int YBAS[], const int YSTA[], int NUMVAR, int NUMCON, void *USRMEM) |
| static int COI_CALLCONV | cb_message (int SMSG, int DMSG, int NMSG, char *MSGV[], void *USRMEM) |
| static int COI_CALLCONV | cb_errmsg (int ROWNO, int COLNO, int POSNO, const char *MSG, void *USRMEM) |
| static int COI_CALLCONV | cb_option (int NCALL, double *RVAL, int *IVAL, int *LVAL, char *NAME, void *USRMEM) |
| static int COI_CALLCONV | cb_progress (int LEN_INT, const int INTX[], int LEN_RL, const double RL[], const double X[], void *USRMEM) |
| static int COI_CALLCONV | cb_2dlagrstr (int HSRW[], int HSCL[], int *NODRV, int NUMVAR, int NUMCON, int NHESS, void *USRMEM) |
| static int COI_CALLCONV | cb_2dlagrval (const double X[], const double U[], const int HSRW[], const int HSCL[], double HSVL[], int *NODRV, int NUMVAR, int NUMCON, int NHESS, void *USRMEM) |
| static void | bound_consistency (casadi_int n, double *z, double *lam, const double *lbz, const double *ubz) |
| static std::string | shortname () |
| Short name. More... | |
| template<typename Type > | |
| static void | append_to_vec (GenericType &t, Type el) |
| WORKAROUND: Add an element to an std::vector stored in a GenericType: More... | |
| template<typename XType > | |
| static Function | create_oracle (const std::map< std::string, XType > &d, const Dict &opts) |
| Convert dictionary to Problem. 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... | |
| static std::string | get_jit_directory (const Dict &jit_options) |
| Get JIT directory from options. 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 Nlpsol * | 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 | |
| Sparsity | gradf_sp_ |
| Sparsity | jacg_sp_ |
| Sparsity | hesslag_sp_ |
| bool | exact_hessian_ |
| bool | warm_start_ |
| bool | debug_ |
| Dict | opts_ |
| std::string | optfile_ |
| std::vector< bool > | gradf_col_flag_ |
| std::vector< int > | jacg_rowstart_ |
| std::vector< int > | jacg_nzidx_ |
| std::vector< int > | jacg_col_ |
| std::vector< int > | jacg_nlflag_ |
| bool | has_linear_jac_ |
| std::vector< int > | gradf_nlflag_ |
| bool | has_linear_gradf_ |
| std::vector< casadi_int > | gradf_col_to_nz_ |
| casadi_nlpsol_prob< double > | p_nlp_ |
| casadi_int | nx_ |
| Number of variables. More... | |
| casadi_int | ng_ |
| Number of constraints. More... | |
| casadi_int | np_ |
| Number of parameters. More... | |
| Function | fcallback_ |
| callback function, executed at each iteration More... | |
| casadi_int | callback_step_ |
| Execute the callback function only after this amount of iterations. More... | |
| std::string | sens_linsol_ |
| Linear solver and options. More... | |
| Dict | sens_linsol_options_ |
| std::vector< char > | detect_simple_bounds_is_simple_ |
| Function | detect_simple_bounds_parts_ |
| std::vector< casadi_int > | detect_simple_bounds_target_x_ |
| std::vector< casadi_int > | detect_simple_bounds_target_g_ |
| bool | mi_ |
| WeakRef | kkt_ |
| Cache for KKT function. More... | |
| 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_directory_ |
| 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... | |
| signal_t | incref_ |
| Incref/decref redirected to C functions. More... | |
| signal_t | decref_ |
| Dict | stats_ |
| Dict of statistics (resulting from evaluate) More... | |
| bool | has_refcount_ |
| Reference counting in codegen? More... | |
| bool | has_refcount_in_deps_ |
| Reference counting in dependent functions. 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_ |
| std::vector< Function > | registered_functions_ |
| 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... | |
| bool | eval_errors_fatal_ |
| Options. More... | |
| bool | warn_initial_bounds_ |
| Options. More... | |
| bool | iteration_callback_ignore_errors_ |
| Options. More... | |
| bool | calc_multipliers_ |
| Options. More... | |
| bool | calc_lam_x_ |
| Options. More... | |
| bool | calc_lam_p_ |
| Options. More... | |
| bool | calc_f_ |
| Options. More... | |
| bool | calc_g_ |
| Options. More... | |
| bool | bound_consistency_ |
| Options. More... | |
| double | min_lam_ |
| Options. More... | |
| bool | no_nlp_grad_ |
| Options. More... | |
| std::vector< bool > | discrete_ |
| Options. More... | |
| std::vector< bool > | equality_ |
| Options. More... | |
Static Public Attributes | |
| static const Options | options_ |
| 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_ = "nlpsol" |
| Infix. More... | |
| static std::map< std::string, ProtoFunction *(*)(DeserializingStream &)> | deserialize_map |
Protected Member Functions | |
| ConoptInterface (DeserializingStream &s) | |
| void | set_jac_sparsity (casadi_int oind, casadi_int iind, const Sparsity &sp) |
| Populate jac_sparsity_ and jac_sparsity_compact_ during initialization. More... | |
| std::unique_ptr< std::ostream > | open_trace (const double **arg, casadi_int dump_id) const |
| void | finish_trace (std::ostream &trace, double **res, int ret) const |
| 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... | |
Static Protected Member Functions | |
| static void | trace_values (std::ostream &trace, const double *values, casadi_int nnz) |
Protected Attributes | |
| Function | oracle_ |
| Oracle: Used to generate other functions. More... | |
| Dict | common_options_ |
| Options for creating functions. More... | |
| Dict | specific_options_ |
| bool | show_eval_warnings_ |
| Show evaluation warnings. More... | |
| int | max_num_threads_ |
| std::map< std::string, RegFun > | all_functions_ |
| std::vector< std::string > | monitor_ |
| size_t | stride_arg_ |
| size_t | stride_res_ |
| size_t | stride_iw_ |
| size_t | stride_w_ |
| bool | post_expand_ |
|
inherited |
Definition at line 296 of file nlpsol_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 66 of file conopt_interface.cpp.
|
override |
Definition at line 69 of file conopt_interface.cpp.
References casadi::ProtoFunction::clear_mem().
|
explicitprotected |
Definition at line 168 of file conopt_interface.cpp.
References casadi::Sparsity::colind(), debug_, exact_hessian_, casadi::OracleFunction::get_function(), gradf_col_flag_, gradf_col_to_nz_, gradf_nlflag_, gradf_sp_, has_linear_gradf_, has_linear_jac_, hesslag_sp_, jacg_col_, jacg_nlflag_, jacg_nzidx_, jacg_rowstart_, jacg_sp_, casadi::Nlpsol::ng_, casadi::Sparsity::nnz(), casadi::Nlpsol::nx_, optfile_, opts_, casadi::Sparsity::row(), casadi::DeserializingStream::unpack(), casadi::DeserializingStream::version(), and warm_start_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l5
Definition at line 3522 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::FunctionInternal::fwdViaJac(), casadi::FunctionInternal::get_partition(), casadi::FunctionInternal::wrap(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 3964 of file function_internal.cpp.
References casadi::FunctionInternal::find(), casadi::Function::get(), and casadi::GenericShared< Shared, Internal >::is_null().
Referenced by casadi::FunctionInternal::find(), casadi::Map::find(), casadi::MapSum::find(), casadi::MXFunction::find(), casadi::OracleFunction::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 3255 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 4009 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 3203 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::registered_functions_, 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 3171 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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n6
Definition at line 3187 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::MadmpecInterface::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::MosekInterface::init(), casadi::OoqpInterface::init(), casadi::SlicotDple::init(), casadi::SlicotExpm::init(), casadi::SundialsInterface::init(), casadi::XpressInterface::init(), casadi::BSplineInterpolant::init(), casadi::Feasiblesqpmethod::init(), casadi::Ipqp::init(), casadi::LinearInterpolant::init(), casadi::LinearInterpolantJac::init(), casadi::Qrqp::init(), and casadi::Sqpmethod::init().
|
inlineoverridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nu
Reimplemented from casadi::Nlpsol.
Definition at line 158 of file conopt_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n5
Definition at line 3179 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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::init(), casadi::BSplineInterpolant::init(), and casadi::Qrqp::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n7
Definition at line 3195 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::MadmpecInterface::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::MosekInterface::init(), casadi::OoqpInterface::init(), casadi::OsqpInterface::init(), casadi::PiqpInterface::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::XpressInterface::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().
|
inlinestaticinherited |
Definition at line 331 of file nlpsol_impl.hpp.
|
staticinherited |
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26g
Definition at line 1163 of file function_internal.cpp.
References casadi::FunctionInternal::cache_.
|
inherited |
Definition at line 302 of file oracle_function.cpp.
References casadi::InterruptHandler::check(), casadi::OracleFunction::get_function(), casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::monitored(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::Function::name_in(), casadi::Function::name_out(), casadi::Function::nnz_in(), casadi::Function::nnz_out(), casadi::Matrix< double >::print_scalar(), casadi::ProtoFunction::regularity_check_, casadi::Sparsity::repr_el(), casadi::OracleFunction::show_eval_warnings_, casadi::Function::sparsity_out(), and casadi::OracleMemory::thread_local_mem.
Referenced by casadi::KinsolInterface::bjac(), casadi::SundialsInterface::calc_daeB(), casadi::SundialsInterface::calc_daeF(), casadi::Integrator::calc_edot(), casadi::calc_function(), casadi::SundialsInterface::calc_jacF(), casadi::SundialsInterface::calc_jtimesF(), casadi::SundialsInterface::calc_quadB(), casadi::SundialsInterface::calc_quadF(), casadi::casadi_func_cons_jac(), casadi::casadi_func_cons_val(), casadi::casadi_func_hess_prod(), casadi::casadi_func_obj_grad(), casadi::casadi_func_obj_val(), cb_2dlagrval(), casadi::KinsolInterface::djac(), casadi::Nlpsol::eval(), casadi::AlpaqaProblem::eval_f(), casadi::BonminUserClass::eval_f(), casadi::IpoptUserClass::eval_f(), casadi::AlpaqaProblem::eval_f_grad_f(), casadi::AlpaqaProblem::eval_g(), casadi::BonminUserClass::eval_g(), casadi::IpoptUserClass::eval_g(), casadi::BonminUserClass::eval_grad_f(), casadi::IpoptUserClass::eval_grad_f(), casadi::AlpaqaProblem::eval_grad_L(), casadi::BonminUserClass::eval_h(), casadi::IpoptUserClass::eval_h(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_L_prod(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::AlpaqaProblem::eval_hess_ψ_prod(), casadi::AlpaqaProblem::eval_jac_g(), casadi::BonminUserClass::eval_jac_g(), casadi::IpoptUserClass::eval_jac_g(), casadi::AlpaqaProblem::eval_ψ(), casadi::AlpaqaProblem::eval_ψ_grad_ψ(), casadi::Blocksqp::evaluate(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::KinsolInterface::psetup(), solve(), casadi::KnitroInterface::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Newton::solve(), casadi::Qrsqp::solve(), casadi::Sqpmethod::solve(), casadi::FixedStepIntegrator::stepB(), casadi::FixedStepIntegrator::stepF(), casadi::Integrator::trigger_event(), and casadi::SnoptInterface::userfun().
|
inherited |
Definition at line 418 of file oracle_function.cpp.
References casadi::OracleFunction::get_function().
Referenced by casadi::Integrator::bdae_sp_forward(), casadi::Integrator::bquad_sp_forward(), casadi::Integrator::fdae_sp_forward(), and casadi::Integrator::fquad_sp_forward().
|
inherited |
Definition at line 423 of file oracle_function.cpp.
References casadi::OracleFunction::get_function().
Referenced by casadi::Integrator::bdae_sp_reverse(), casadi::Integrator::bquad_sp_reverse(), casadi::Integrator::fdae_sp_reverse(), and casadi::Integrator::fquad_sp_reverse().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kh
Definition at line 1622 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().
Referenced by casadi::SXFunction::trace_instruction().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ku
Definition at line 3275 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 3496 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kg
Definition at line 4183 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 1726 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 3381 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 3509 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Definition at line 1210 of file nlpsol.cpp.
References casadi::OracleMemory::arg, casadi::NlpsolMemory::d_nlp, casadi::Nlpsol::fcallback_, casadi::ProtoFunctionMemory::fstats, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Nlpsol::iteration_callback_ignore_errors_, casadi::OracleMemory::iw, casadi::Function::n_in(), casadi::Function::n_out(), casadi::NLPSOL_F, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G, casadi::NLPSOL_LAM_X, casadi::NLPSOL_X, casadi::Nlpsol::nx_, casadi::ProtoFunction::print(), casadi::OracleMemory::res, casadi::OracleMemory::w, and casadi::CasadiException::what().
Referenced by casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), and casadi::Sqpmethod::solve().
|
static |
Definition at line 985 of file conopt_interface.cpp.
References casadi::FunctionInternal::self().
Referenced by init_mem().
|
static |
Definition at line 1006 of file conopt_interface.cpp.
References casadi::OracleFunction::calc_function(), debug_, casadi::FunctionInternal::self(), casadi::U, casadi::uerr(), casadi::uout(), and casadi::X.
Referenced by init_mem().
|
static |
Definition at line 1162 of file conopt_interface.cpp.
References casadi::uerr().
Referenced by init_mem().
|
static |
Definition at line 905 of file conopt_interface.cpp.
References debug_, casadi::Equality, casadi::Free, gradf_nlflag_, casadi::GreaterEqual, casadi::JAC, casadi::LessEqual, casadi::FunctionInternal::self(), casadi::uout(), and casadi::X.
Referenced by init_mem().
|
static |
Definition at line 978 of file conopt_interface.cpp.
References casadi::ConoptMemory::cache_valid_jac.
Referenced by init_mem().
|
static |
Definition at line 853 of file conopt_interface.cpp.
References debug_, casadi::Nlpsol::nx_, casadi::FunctionInternal::self(), casadi::uerr(), casadi::uout(), and casadi::X.
Referenced by init_mem().
|
static |
Definition at line 1147 of file conopt_interface.cpp.
References casadi::uout().
Referenced by init_mem().
|
static |
Definition at line 623 of file conopt_interface.cpp.
References casadi::conopt_max_option_name, casadi::ConoptMemory::custom_options, and casadi::uout().
Referenced by init_mem().
|
static |
Definition at line 676 of file conopt_interface.cpp.
References casadi::Nlpsol::fcallback_, casadi::GenericShared< Shared, Internal >::is_null(), casadi::Nlpsol::iteration_callback_ignore_errors_, casadi::NLPSOL_F, casadi::NLPSOL_X, casadi::FunctionInternal::self(), casadi::CasadiException::what(), and casadi::X.
Referenced by init_mem().
|
static |
Definition at line 711 of file conopt_interface.cpp.
References casadi::AtLower, casadi::AtUpper, casadi::Basic, casadi::Equality, casadi::Free, gradf_col_flag_, gradf_nlflag_, casadi::GreaterEqual, casadi::LessEqual, casadi::Nlpsol::ng_, casadi::Nlpsol::nx_, casadi::FunctionInternal::self(), casadi::SuperBasic, casadi::VALUE, and warm_start_.
Referenced by init_mem().
|
static |
Definition at line 1111 of file conopt_interface.cpp.
References casadi::casadi_copy(), and casadi::uout().
Referenced by init_mem().
|
static |
Definition at line 1057 of file conopt_interface.cpp.
References casadi::ErrorNoSolution, casadi::EvalErrorLimit, casadi::Infeasible, casadi::IntermediateInfeas, casadi::IntermediateNonOpt, casadi::IterationLimit, casadi::LocallyInfeasible, casadi::LocallyOptimal, casadi::MajorSolverError, casadi::MajorSolverErrorFeas, casadi::ConoptMemory::modsta, casadi::NormalCompletion, casadi::Optimal, casadi::QuickModeTermination, casadi::SetupFailure, casadi::SystemError, casadi::TerminatedBySolver, casadi::TimeLimit, casadi::Unbounded, casadi::UnknownError, and casadi::UserInterrupt.
Referenced by init_mem().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k5
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 443 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(), casadi::MXFunction::change_option(), and casadi::SXFunction::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 1773 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 |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nx
Definition at line 702 of file nlpsol.cpp.
References casadi::NlpsolMemory::d_nlp, casadi::Nlpsol::get_default_in(), casadi::inf, casadi::FunctionInternal::inputs_check_, casadi::NLPSOL_G, casadi::NLPSOL_LBG, casadi::NLPSOL_LBX, casadi::NLPSOL_UBG, casadi::NLPSOL_UBX, casadi::NLPSOL_X0, casadi::FunctionInternal::nnz_out(), casadi::Nlpsol::nx_, casadi::str(), and casadi::Nlpsol::warn_initial_bounds_.
Referenced by casadi::Nlpsol::eval(), casadi::AlpaqaInterface::set_work(), and casadi::SLEQPInterface::set_work().
|
staticinherited |
Helper function
| npar[in] | normal usage: 1, disallow pararallel calls: -1 |
| npar[out] | required number of parallel calls (or -1) |
Definition at line 3707 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 181 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 1797 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 3916 of file function_internal.cpp.
References casadi::ProtoFunction::alloc_mem(), casadi::ProtoFunction::check_mem_count(), and casadi::ProtoFunction::init_mem().
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::ProtoFunction::finalize(), and casadi::Sqpmethod::init_mem().
|
inlineoverridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o4
Reimplemented from casadi::Nlpsol.
Definition at line 145 of file conopt_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jq
Definition at line 3804 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(), ~ConoptInterface(), 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::MadmpecInterface::~MadmpecInterface(), casadi::MadnlpInterface::~MadnlpInterface(), casadi::Map::~Map(), casadi::MapSum::~MapSum(), casadi::MosekInterface::~MosekInterface(), casadi::MumpsInterface::~MumpsInterface(), casadi::MXFunction::~MXFunction(), casadi::Newton::~Newton(), casadi::Nlpsol::~Nlpsol(), casadi::OmpMap::~OmpMap(), casadi::OnnxFunction::~OnnxFunction(), casadi::OnnxRuntimeInterface::~OnnxRuntimeInterface(), casadi::OoqpInterface::~OoqpInterface(), casadi::OsqpInterface::~OsqpInterface(), casadi::PiqpInterface::~PiqpInterface(), 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(), casadi::UnoInterface::~UnoInterface(), casadi::WorhpInterface::~WorhpInterface(), and casadi::XpressInterface::~XpressInterface().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lm
Definition at line 2510 of file function_internal.cpp.
References casadi::CodeGenerator::auxiliaries, casadi::CodeGenerator::body, casadi::FunctionInternal::codegen_body(), casadi::FunctionInternal::codegen_name(), casadi::CodeGenerator::define_local_mutex(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::dump_in_, casadi::FunctionInternal::dump_out_, casadi::CodeGenerator::flush(), casadi::CodeGenerator::generate_dump(), casadi::CodeGenerator::generate_print(), casadi::CodeGenerator::local_mutex(), casadi::FunctionInternal::print_in_, casadi::FunctionInternal::print_out_, casadi::CodeGenerator::scope_enter(), casadi::CodeGenerator::scope_exit(), casadi::CodeGenerator::shorthand(), casadi::FunctionInternal::signature(), and casadi::CodeGenerator::thread_safe().
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lt
Reimplemented in casadi::External.
Definition at line 2654 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), casadi::FunctionInternal::codegen_needs_mem(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m0
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >, casadi::Sqpmethod, casadi::Qrqp, casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::Feasiblesqpmethod, casadi::FastNewton, casadi::BSplineInterpolant, casadi::XpressInterface, casadi::UnoInterface, casadi::OsqpInterface, casadi::OnnxRuntimeInterface, casadi::MosekInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HpipmInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, casadi::MadmpecInterface, casadi::SXFunction, casadi::Switch, casadi::MXFunction, casadi::MapSum, casadi::ThreadMap, casadi::OmpMap, casadi::Map, casadi::JitFunction, casadi::FiniteDiff, casadi::External, and casadi::BlazingSplineFunction.
Definition at line 3061 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), and casadi::ProtoFunction::name_.
Referenced by casadi::FunctionInternal::codegen(), and casadi::BSplineInterpolant::codegen_body().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o0
Reimplemented from casadi::OracleFunction.
Definition at line 1268 of file nlpsol.cpp.
References casadi::OracleFunction::codegen_body_enter(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::codegen_setup_per_call(), and casadi::CodeGenerator::local().
Referenced by casadi::MadmpecInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), casadi::Feasiblesqpmethod::codegen_body(), and casadi::Sqpmethod::codegen_body().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27k
Reimplemented from casadi::OracleFunction.
Definition at line 1368 of file nlpsol.cpp.
References casadi::OracleFunction::codegen_body_exit(), and casadi::Nlpsol::codegen_post_solve().
Referenced by casadi::MadmpecInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), and casadi::Sqpmethod::codegen_body().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lw
Reimplemented in casadi::External.
Definition at line 2663 of file function_internal.cpp.
References casadi::FunctionInternal::alloc_mem(), casadi::CodeGenerator::auxiliaries, casadi::FunctionInternal::codegen_mem_type(), casadi::FunctionInternal::codegen_name(), casadi::CodeGenerator::define_local_mutex(), casadi::ProtoFunction::init_mem(), casadi::CodeGenerator::local(), casadi::CodeGenerator::local_mutex(), casadi::CodeGenerator::scope_add_cleanup(), casadi::CodeGenerator::scope_return(), casadi::CodeGenerator::shorthand(), and casadi::CodeGenerator::thread_safe().
Referenced by casadi::CodeGenerator::add_dependency().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27j
Reimplemented from casadi::FunctionInternal.
Reimplemented in casadi::Sqpmethod, casadi::Feasiblesqpmethod, casadi::UnoInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::FatropInterface, and casadi::MadmpecInterface.
Definition at line 1348 of file nlpsol.cpp.
References casadi::CodeGenerator::add_auxiliary(), casadi::CodeGenerator::add_dependency(), casadi::CodeGenerator::AUX_FILL, casadi::CodeGenerator::AUX_INF, casadi::Nlpsol::calc_f_, casadi::Nlpsol::calc_g_, casadi::Nlpsol::calc_lam_p_, casadi::Nlpsol::calc_lam_x_, casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::Nlpsol::detect_simple_bounds_parts_, casadi::OracleFunction::get_function(), casadi::CodeGenerator::shorthand(), and casadi::CodeGenerator::wrapper().
Referenced by casadi::MadmpecInterface::codegen_declarations(), casadi::FatropInterface::codegen_declarations(), casadi::IpoptInterface::codegen_declarations(), casadi::MadnlpInterface::codegen_declarations(), casadi::UnoInterface::codegen_declarations(), casadi::Feasiblesqpmethod::codegen_declarations(), and casadi::Sqpmethod::codegen_declarations().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ls
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 2609 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), casadi::FunctionInternal::codegen_needs_mem(), casadi::Function::find_functions(), casadi::FunctionInternal::free_mem(), casadi::FunctionInternal::has_refcount_, casadi::CodeGenerator::local_mutex(), casadi::CodeGenerator::local_mutexes(), casadi::CodeGenerator::shorthand(), and casadi::CodeGenerator::thread_safe().
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::MXFunction::codegen_decref().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lv
Reimplemented in casadi::XpressInterface, casadi::UnoInterface, casadi::OsqpInterface, casadi::MosekInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, casadi::MadmpecInterface, and casadi::External.
Definition at line 888 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lr
Reimplemented in casadi::MXFunction, and casadi::External.
Definition at line 2576 of file function_internal.cpp.
References casadi::CodeGenerator::auxiliaries, casadi::FunctionInternal::codegen_name(), casadi::Function::find_functions(), casadi::FunctionInternal::has_refcount_, casadi::CodeGenerator::local_mutex(), casadi::CodeGenerator::local_mutexes(), casadi::CodeGenerator::shorthand(), and casadi::CodeGenerator::thread_safe().
Referenced by casadi::CodeGenerator::add_dependency(), and casadi::MXFunction::codegen_incref().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lu
Reimplemented in casadi::XpressInterface, casadi::UnoInterface, casadi::OsqpInterface, casadi::MosekInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, casadi::MadmpecInterface, and casadi::External.
Definition at line 2650 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add_dependency().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lq
Definition at line 3051 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), and casadi::CodeGenerator::shorthand().
Referenced by casadi::MadmpecInterface::codegen_body(), casadi::ClarabelInterface::codegen_body(), casadi::DaqpInterface::codegen_body(), casadi::FatropInterface::codegen_body(), casadi::HighsInterface::codegen_body(), casadi::IpoptInterface::codegen_body(), casadi::MadnlpInterface::codegen_body(), casadi::MosekInterface::codegen_body(), casadi::OsqpInterface::codegen_body(), casadi::UnoInterface::codegen_body(), casadi::XpressInterface::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::MadmpecInterface::codegen_free_mem(), 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(), casadi::MosekInterface::codegen_free_mem(), casadi::OsqpInterface::codegen_free_mem(), casadi::UnoInterface::codegen_free_mem(), casadi::XpressInterface::codegen_free_mem(), casadi::MadmpecInterface::codegen_init_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(), casadi::MosekInterface::codegen_init_mem(), casadi::OsqpInterface::codegen_init_mem(), casadi::UnoInterface::codegen_init_mem(), casadi::XpressInterface::codegen_init_mem(), and casadi::MadmpecInterface::codegen_options().
|
inlinevirtualinherited |
without a need for alloc_mem, init_mem, free_mem?
Extra doc: https://github.com/casadi/casadi/wiki/L_2ey
Reimplemented in casadi::External.
Definition at line 935 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m1
Reimplemented in casadi::Sqpmethod, casadi::XpressInterface, casadi::UnoInterface, casadi::OsqpInterface, casadi::MosekInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, and casadi::MadmpecInterface.
Definition at line 923 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_checkout().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ln
Definition at line 2726 of file function_internal.cpp.
References casadi::all(), casadi::CodeGenerator::array(), casadi::CodeGenerator::body, casadi::ProtoFunction::checkout(), casadi::FunctionInternal::codegen_name(), casadi::FunctionInternal::codegen_needs_mem(), 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::FunctionInternal::has_refcount_in_deps_, 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::ProtoFunction::release(), casadi::CodeGenerator::res(), casadi::CodeGenerator::shorthand(), 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 3036 of file function_internal.cpp.
References casadi::CodeGenerator::added_functions_, casadi::ProtoFunction::name_, and casadi::str().
Referenced by casadi::FunctionInternal::codegen(), casadi::FunctionInternal::codegen_alloc_mem(), casadi::FatropInterface::codegen_body(), casadi::FunctionInternal::codegen_checkout(), casadi::FunctionInternal::codegen_decref(), casadi::FunctionInternal::codegen_incref(), casadi::FunctionInternal::codegen_mem(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_release(), casadi::CodeGenerator::mem(), and casadi::CodeGenerator::operator()().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2ex
Reimplemented in casadi::Sqpmethod, casadi::XpressInterface, casadi::UnoInterface, casadi::OsqpInterface, casadi::MosekInterface, casadi::MadnlpInterface, casadi::IpoptInterface, casadi::HighsInterface, casadi::FatropInterface, casadi::DaqpInterface, casadi::ClarabelInterface, casadi::MadmpecInterface, and casadi::External.
Definition at line 928 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), casadi::FunctionInternal::codegen_alloc_mem(), casadi::OmpMap::codegen_body(), casadi::FunctionInternal::codegen_decref(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::finalize(), casadi::CodeGenerator::operator()(), and casadi::CodeGenerator::setup_callback().
|
inherited |
Definition at line 1373 of file nlpsol.cpp.
References casadi::CodeGenerator::bound_consistency(), casadi::Nlpsol::bound_consistency_, casadi::Nlpsol::calc_f_, casadi::Nlpsol::calc_g_, casadi::Nlpsol::calc_lam_p_, casadi::Nlpsol::calc_lam_x_, casadi::CodeGenerator::copy(), casadi::CodeGenerator::copy_check(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::OracleFunction::get_function(), casadi::CodeGenerator::init_local(), casadi::CodeGenerator::local(), casadi::Nlpsol::ng_, casadi::Nlpsol::np_, casadi::Nlpsol::nx_, casadi::CodeGenerator::scal(), and casadi::str().
Referenced by casadi::UnoInterface::codegen_body(), and casadi::Nlpsol::codegen_body_exit().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lx
Reimplemented in casadi::External.
Definition at line 2706 of file function_internal.cpp.
References casadi::FunctionInternal::codegen_name(), casadi::CodeGenerator::local_mutex(), casadi::CodeGenerator::scope_add_cleanup(), casadi::CodeGenerator::scope_return(), casadi::CodeGenerator::shorthand(), and casadi::CodeGenerator::thread_safe().
Referenced by casadi::CodeGenerator::add_dependency().
|
inherited |
Definition at line 1281 of file nlpsol.cpp.
References casadi::CodeGenerator::constant(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::Nlpsol::detect_simple_bounds_parts_, casadi::Nlpsol::detect_simple_bounds_target_g_, casadi::Nlpsol::detect_simple_bounds_target_x_, casadi::Nlpsol::ng_, casadi::Nlpsol::np_, casadi::Nlpsol::nx_, casadi::CodeGenerator::shorthand(), casadi::Function::sz_arg(), casadi::Function::sz_iw(), casadi::Function::sz_res(), casadi::Function::sz_w(), and casadi::CodeGenerator::wrapper().
Referenced by casadi::Nlpsol::codegen_body_enter(), and casadi::UnoInterface::codegen_init_mem().
|
inherited |
Definition at line 1313 of file nlpsol.cpp.
References casadi::CodeGenerator::copy_default(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::Nlpsol::ng_, casadi::NLPSOL_F, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G, casadi::NLPSOL_LAM_G0, casadi::NLPSOL_LAM_P, casadi::NLPSOL_LAM_X, casadi::NLPSOL_LAM_X0, casadi::NLPSOL_LBG, casadi::NLPSOL_LBX, casadi::NLPSOL_NUM_IN, casadi::NLPSOL_NUM_OUT, casadi::NLPSOL_P, casadi::NLPSOL_UBG, casadi::NLPSOL_UBX, casadi::NLPSOL_X, casadi::NLPSOL_X0, casadi::Nlpsol::nx_, and casadi::str().
Referenced by casadi::UnoInterface::codegen_body(), and casadi::Nlpsol::codegen_body_enter().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lo
Definition at line 2722 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 3158 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 3164 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 3161 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, and casadi::MXFunction.
Definition at line 3167 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 141 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 1899 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 1887 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 1928 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 1916 of file function_internal.hpp.
References casadi::FunctionInternal::n_out_, casadi::FunctionInternal::name_out_, and casadi::str().
|
inherited |
Create an oracle function as a forward derivative of a different function
Definition at line 278 of file oracle_function.cpp.
References casadi::FunctionInternal::forward_name(), casadi::OracleFunction::get_function(), casadi::OracleFunction::has_function(), and casadi::OracleFunction::set_function().
Referenced by casadi::Integrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::SLEQPInterface::init(), casadi::SundialsInterface::init(), casadi::UnoInterface::init(), and casadi::RungeKutta::setup_step().
|
inherited |
Create an oracle function, using a different oracle function Temporary addition to allow transition from one oracle formulation to another.
Definition at line 235 of file oracle_function.cpp.
References casadi::combine(), casadi::OracleFunction::common_options_, casadi::Function::factory(), casadi::Function::get_free(), casadi::Function::has_free(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::OracleFunction::oracle(), casadi::OracleFunction::set_function(), casadi::OracleFunction::specific_options_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::ProtoFunction::verbose_.
Referenced by casadi::OracleFunction::create_function(), casadi::Integrator::init(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::MadmpecInterface::init(), init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::SnoptInterface::init(), casadi::SundialsInterface::init(), casadi::UnoInterface::init(), casadi::WorhpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrsqp::init(), and casadi::Sqpmethod::init().
|
inherited |
Create an oracle function from MX
Definition at line 187 of file oracle_function.cpp.
References casadi::combine(), casadi::OracleFunction::common_options_, casadi::FunctionInternal::Function, casadi::Function::get_free(), casadi::Function::has_free(), casadi::FunctionInternal::incache(), casadi::Function::n_in(), casadi::Function::n_out(), casadi::ProtoFunction::name_, casadi::OracleFunction::set_function(), casadi::OracleFunction::specific_options_, casadi::str(), casadi::FunctionInternal::tocache_if_missing(), and casadi::ProtoFunction::verbose_.
|
inherited |
Create an oracle function
Definition at line 179 of file oracle_function.cpp.
References casadi::OracleFunction::create_function(), and casadi::OracleFunction::oracle_.
|
staticinherited |
Definition at line 206 of file nlpsol.cpp.
References casadi::FunctionInternal::Function, casadi::NL_F, casadi::NL_G, casadi::NL_INPUTS, casadi::NL_NUM_IN, casadi::NL_NUM_OUT, casadi::NL_OUTPUTS, casadi::NL_P, and casadi::NL_X.
Referenced by casadi::construct_nlpsol().
|
inlinestatic |
Definition at line 147 of file conopt_interface.hpp.
Referenced by casadi::casadi_register_nlpsol_conopt().
|
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 1134 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().
|
inlinevirtualinherited |
Definition at line 112 of file plugin_interface.hpp.
|
inlinestatic |
Definition at line 200 of file conopt_interface.hpp.
Referenced by casadi::casadi_register_nlpsol_conopt().
|
inlineprotectedinherited |
Called in the destructor of singletons
Definition at line 77 of file generic_shared_internal.hpp.
|
inherited |
Definition at line 2242 of file function_internal.cpp.
References casadi::FunctionInternal::name_in_, and casadi::FunctionInternal::name_out_.
Referenced by casadi::FunctionInternal::forward(), casadi::OnnxFunction::get_forward(), casadi::OnnxFunction::get_reverse(), casadi::OnnxFunction::has_derivative(), and casadi::FunctionInternal::reverse().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m8
Implements casadi::SharedObjectInternal.
Definition at line 1155 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().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nt
Reimplemented from casadi::FunctionInternal.
Definition at line 931 of file nlpsol.cpp.
References casadi::SharedObject::disp(), and casadi::OracleFunction::oracle_.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3576 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 3552 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 3584 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 3556 of file function_internal.cpp.
References casadi::FunctionInternal::sparsity_out(), and casadi::GenericMatrix< MatType >::zeros().
| void casadi::ConoptInterface::ensure_row_capacity | ( | ConoptMemory * | m, |
| casadi_int | remaining_rows | ||
| ) | const |
Definition at line 354 of file conopt_interface.cpp.
References casadi::ConoptMemory::conopt_rhs, casadi::ConoptMemory::conopt_to_casadi, and casadi::ConoptMemory::conopt_type.
Referenced by solve().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_26j
Definition at line 1945 of file function_internal.hpp.
References casadi::Sparsity::size1(), and casadi::Sparsity::size2().
|
finalvirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kb
Reimplemented from casadi::FunctionInternal.
Definition at line 793 of file nlpsol.cpp.
References casadi::Nlpsol::bound_consistency(), casadi::Nlpsol::bound_consistency_, casadi::Nlpsol::calc_f_, casadi::OracleFunction::calc_function(), casadi::Nlpsol::calc_g_, casadi::Nlpsol::calc_lam_p_, casadi::Nlpsol::calc_lam_x_, casadi::casadi_copy(), casadi::casadi_fill(), casadi::casadi_scal(), casadi::Nlpsol::check_inputs(), casadi::NlpsolMemory::d_nlp, casadi::ProtoFunction::error_on_fail_, casadi::OracleFunction::join_results(), casadi::nan, casadi::Nlpsol::ng_, casadi::Nlpsol::np_, casadi::Nlpsol::nx_, casadi::FunctionInternal::setup(), casadi::Nlpsol::solve(), casadi::SOLVER_RET_EXCEPTION, and casadi::SOLVER_RET_SUCCESS.
|
virtualinherited |
bvec bit set = active (possibly nonzero), clear = inactive (definitely zero). Unlike sp_forward (a dependency analysis), this respects multiplicative annihilation and nonzero constants. Default is the sound fallback: all active.
Extra doc: https://github.com/casadi/casadi/wiki/L_2iy
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 3073 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::nnz_out().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 2225 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 448 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kb
Definition at line 1022 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 444 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 2444 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 2229 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().
|
inherited |
Definition at line 455 of file oracle_function.cpp.
References casadi::Function::expand(), and casadi::OracleFunction::oracle_.
Referenced by casadi::Nlpsol::init(), and casadi::OracleFunction::init().
|
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 2404 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 3944 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 |
Reimplemented from casadi::FunctionInternal.
Definition at line 122 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::FunctionInternal::alloc(), casadi::Function::expand(), casadi::FunctionInternal::finalize(), casadi::OracleFunction::get_function(), casadi::join(), casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::monitor_, casadi::OracleFunction::post_expand_, casadi::OracleFunction::specific_options_, casadi::OracleFunction::stride_arg_, casadi::OracleFunction::stride_iw_, casadi::OracleFunction::stride_res_, casadi::OracleFunction::stride_w_, casadi::FunctionInternal::sz_arg(), casadi::FunctionInternal::sz_iw(), casadi::FunctionInternal::sz_res(), casadi::FunctionInternal::sz_w(), and casadi::Function::sz_work().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 548 of file oracle_function.cpp.
References casadi::FunctionInternal::add_embedded(), casadi::OracleFunction::all_functions_, and casadi::FunctionInternal::find().
|
protectedinherited |
Definition at line 868 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_, casadi::ProtoFunction::name_, casadi::FunctionInternal::nnz_out(), and casadi::FunctionInternal::trace_values().
Referenced by casadi::MXFunction::eval(), and casadi::SXFunction::eval().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jt
Definition at line 4117 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 2278 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 651 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().
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nw
Reimplemented from casadi::Nlpsol.
Definition at line 257 of file conopt_interface.cpp.
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3624 of file function_internal.cpp.
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3628 of file function_internal.cpp.
|
inherited |
Definition at line 2043 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 1582 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 3239 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().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_j
Reimplemented from casadi::FunctionInternal.
Definition at line 428 of file oracle_function.cpp.
References casadi::CodeGenerator::add(), casadi::OracleFunction::all_functions_, casadi::CodeGenerator::generate(), and casadi::OracleFunction::oracle_.
Referenced by casadi::OracleFunction::jit_dependencies().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ne
Definition at line 794 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 3632 of file function_internal.cpp.
|
overridevirtualinherited |
Reimplemented from casadi::ProtoFunction.
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 389 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::is_diff_in_, casadi::FunctionInternal::is_diff_out_, 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::join(), 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::Function::expand(), casadi::FunctionInternal::forward(), casadi::MXFunction::generate_options(), casadi::SXFunction::generate_options(), casadi::BlazingSplineFunction::get_jacobian(), and casadi::FunctionInternal::reverse().
|
inherited |
Definition at line 810 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().
|
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 1135 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ny
Reimplemented from casadi::FunctionInternal.
Definition at line 204 of file nlpsol_impl.hpp.
References casadi::nlpsol_default_in().
Referenced by casadi::Nlpsol::check_inputs().
|
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 1152 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 1157 of file function_internal.hpp.
Referenced by casadi::GenericExternal::get_diff_out(), and casadi::FunctionInternal::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o2
Reimplemented from casadi::FunctionInternal.
Definition at line 957 of file nlpsol.cpp.
References casadi::MX::blockcat(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::Function::forward(), casadi::FunctionInternal::Function, casadi::OracleFunction::get_function(), casadi::if_else(), casadi::Nlpsol::kkt(), casadi::Nlpsol::min_lam_, casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::mx_out(), casadi::Nlpsol::ng_, casadi::NLPSOL_F, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G, casadi::NLPSOL_LAM_G0, casadi::NLPSOL_LAM_P, casadi::NLPSOL_LAM_X, casadi::NLPSOL_LAM_X0, casadi::NLPSOL_LBG, casadi::NLPSOL_LBX, casadi::NLPSOL_NUM_IN, casadi::NLPSOL_NUM_OUT, casadi::NLPSOL_P, casadi::NLPSOL_UBG, casadi::NLPSOL_UBX, casadi::NLPSOL_X, casadi::NLPSOL_X0, casadi::Nlpsol::nx_, casadi::Nlpsol::sens_linsol_, casadi::Nlpsol::sens_linsol_options_, casadi::MX::solve(), casadi::MX::sparsity(), casadi::GenericMatrix< MX >::sym(), and casadi::MX::vertcat().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mc
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 1129 of file function_internal.cpp.
References casadi::FunctionInternal::has_free().
|
overridevirtualinherited |
-1 Indicates irregularity
Extra doc: https://github.com/casadi/casadi/wiki/L_i
Reimplemented from casadi::FunctionInternal.
Definition at line 531 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::SundialsInterface::calc_daeB(), casadi::OracleFunction::calc_function(), casadi::SundialsInterface::calc_quadB(), casadi::OracleFunction::calc_sp_forward(), casadi::OracleFunction::calc_sp_reverse(), casadi::FastNewton::codegen_body(), casadi::Feasiblesqpmethod::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::Nlpsol::codegen_declarations(), casadi::MadmpecInterface::codegen_declarations(), casadi::FatropInterface::codegen_declarations(), casadi::IpoptInterface::codegen_declarations(), casadi::MadnlpInterface::codegen_declarations(), casadi::UnoInterface::codegen_declarations(), casadi::FastNewton::codegen_declarations(), casadi::Feasiblesqpmethod::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Feasiblesqpmethod::codegen_feasibility_iterations(), casadi::Nlpsol::codegen_post_solve(), ConoptInterface(), casadi::FixedStepIntegrator::create_advanced(), casadi::OracleFunction::create_forward(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::OracleFunction::finalize(), casadi::Nlpsol::get_forward(), casadi::OracleFunction::get_function(), casadi::AlpaqaProblem::get_hess_L_num_nonzeros(), casadi::AlpaqaProblem::get_hess_ψ_num_nonzeros(), casadi::Nlpsol::get_reverse(), casadi::FixedStepIntegrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::MadmpecInterface::init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::SundialsInterface::init(), casadi::FastNewton::init(), casadi::Feasiblesqpmethod::init(), casadi::Sqpmethod::init(), casadi::OracleFunction::monitored(), casadi::MadmpecInterface::set_ccopt_prob(), casadi::FatropInterface::set_fatrop_prob(), casadi::IpoptInterface::set_ipopt_prob(), casadi::MadnlpInterface::set_madnlp_prob(), casadi::SundialsInterface::set_work(), casadi::Collocation::setup_step(), casadi::RungeKutta::setup_step(), casadi::Integrator::sp_jac_dae(), casadi::Integrator::sp_jac_rdae(), and casadi::FixedStepIntegrator::stepB().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 540 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::get_function(), casadi::join(), and casadi::ProtoFunction::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 1986 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 1331 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 1671 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 1436 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::OnnxFunction, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 2502 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().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2ec
Definition at line 710 of file function_internal.cpp.
References casadi::Filesystem::absolute(), casadi::Filesystem::ensure_trailing_slash(), casadi::get_from_dict(), casadi::GlobalOptions::getTempWorkDir(), casadi::Filesystem::is_absolute(), and casadi::Filesystem::is_enabled().
Referenced by casadi::FunctionInternal::finalize(), and casadi::ShellCompiler::init().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mm
Definition at line 1106 of file function_internal.hpp.
References casadi::inf.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mn
Definition at line 1113 of file function_internal.hpp.
References casadi::inf.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1np
Reimplemented from casadi::FunctionInternal.
Definition at line 145 of file nlpsol_impl.hpp.
References casadi::NLPSOL_NUM_IN.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1np
Reimplemented from casadi::FunctionInternal.
Definition at line 146 of file nlpsol_impl.hpp.
References casadi::NLPSOL_NUM_OUT.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nr
Reimplemented from casadi::FunctionInternal.
Definition at line 161 of file nlpsol_impl.hpp.
References casadi::nlpsol_in().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nr
Reimplemented from casadi::FunctionInternal.
Definition at line 162 of file nlpsol_impl.hpp.
References casadi::nlpsol_out().
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1117 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_in().
|
inlinevirtualinherited |
Reimplemented in casadi::FmuFunction.
Definition at line 1121 of file function_internal.hpp.
Referenced by casadi::FmuFunction::get_nominal_out().
|
inlineoverridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1ns
Reimplemented from casadi::Nlpsol.
Definition at line 152 of file conopt_interface.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_md
Definition at line 2126 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 1128 of file function_internal.hpp.
References casadi::eps.
Referenced by casadi::FiniteDiff::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o3
Reimplemented from casadi::FunctionInternal.
Definition at line 1088 of file nlpsol.cpp.
References casadi::MX::blockcat(), casadi::Sparsity::dense(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::FunctionInternal::Function, casadi::OracleFunction::get_function(), casadi::if_else(), casadi::Nlpsol::kkt(), casadi::Nlpsol::min_lam_, casadi::FunctionInternal::mx_in(), casadi::FunctionInternal::mx_out(), casadi::Nlpsol::ng_, casadi::NLPSOL_F, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G, casadi::NLPSOL_LAM_G0, casadi::NLPSOL_LAM_P, casadi::NLPSOL_LAM_X, casadi::NLPSOL_LAM_X0, casadi::NLPSOL_LBG, casadi::NLPSOL_LBX, casadi::NLPSOL_NUM_IN, casadi::NLPSOL_NUM_OUT, casadi::NLPSOL_P, casadi::NLPSOL_UBG, casadi::NLPSOL_UBX, casadi::NLPSOL_X, casadi::NLPSOL_X0, casadi::Nlpsol::nx_, casadi::Function::reverse(), casadi::Nlpsol::sens_linsol_, casadi::Nlpsol::sens_linsol_options_, casadi::MX::solve(), casadi::MX::sparsity(), casadi::GenericMatrix< MX >::sym(), casadi::MX::T(), and casadi::MX::vertcat().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nq
Reimplemented from casadi::FunctionInternal.
Definition at line 373 of file nlpsol.cpp.
References casadi::Nlpsol::get_sparsity_out(), casadi::NL_P, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G0, casadi::NLPSOL_LAM_X0, casadi::NLPSOL_LBG, casadi::NLPSOL_LBX, casadi::NLPSOL_NUM_IN, casadi::NLPSOL_P, casadi::NLPSOL_UBG, casadi::NLPSOL_UBX, casadi::NLPSOL_X, casadi::NLPSOL_X0, casadi::OracleFunction::oracle_, and casadi::Function::sparsity_in().
Referenced by casadi::Nlpsol::get_sparsity_out().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nq
Reimplemented from casadi::FunctionInternal.
Definition at line 391 of file nlpsol.cpp.
References casadi::Sparsity::dense(), casadi::Nlpsol::detect_simple_bounds_is_simple_, casadi::Nlpsol::get_sparsity_in(), casadi::NL_F, casadi::NL_G, casadi::NL_X, casadi::NLPSOL_F, casadi::NLPSOL_G, casadi::NLPSOL_LAM_G, casadi::NLPSOL_LAM_P, casadi::NLPSOL_LAM_X, casadi::NLPSOL_NUM_OUT, casadi::NLPSOL_P, casadi::NLPSOL_X, casadi::OracleFunction::oracle_, casadi::Function::sparsity_in(), and casadi::Function::sparsity_out().
Referenced by casadi::Nlpsol::get_sparsity_in().
|
overridevirtual |
Reimplemented from casadi::Nlpsol.
Definition at line 612 of file conopt_interface.cpp.
References casadi::Nlpsol::get_stats(), and casadi::ConoptMemory::return_status.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k3
Definition at line 306 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.
|
virtualinherited |
Definition at line 758 of file nlpsol.cpp.
References casadi::Nlpsol::class_name().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_m3
Reimplemented in casadi::LinearInterpolantJac, casadi::LinearInterpolant, casadi::BSplineInterpolant, casadi::OnnxRuntimeInterface, 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 945 of file function_internal.hpp.
Referenced by casadi::External::External(), and casadi::FunctionInternal::finalize().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l4
Definition at line 3235 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::OnnxFunction::has_forward(), casadi::OnnxFunction::has_jacobian(), casadi::OnnxFunction::has_reverse(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), and casadi::OnnxFunction::wrap_derivative().
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ke
Reimplemented in casadi::CallbackInternal.
Definition at line 437 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::eval().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o2
Reimplemented from casadi::FunctionInternal.
Definition at line 267 of file nlpsol_impl.hpp.
|
inlinevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l8
Reimplemented in casadi::SXFunction, and casadi::MXFunction.
Definition at line 756 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::get_free().
|
overridevirtualinherited |
Reimplemented from casadi::FunctionInternal.
Definition at line 565 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_.
Referenced by casadi::OracleFunction::create_forward(), casadi::FixedStepIntegrator::init(), casadi::BonminInterface::init(), casadi::MadmpecInterface::init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::MadnlpInterface::init(), casadi::SLEQPInterface::init(), casadi::UnoInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Sqpmethod::init(), casadi::OracleFunction::set_function(), and casadi::Integrator::trigger_event().
|
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 646 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::OnnxFunction, casadi::JitFunction, casadi::FmuFunction, casadi::External, casadi::CallbackInternal, and casadi::BlazingSplineFunction.
Definition at line 633 of file function_internal.hpp.
Referenced by casadi::External::has_jacobian(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::jacobian().
|
inherited |
Definition at line 3912 of file function_internal.cpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jj
Definition at line 1113 of file function_internal.cpp.
References casadi::Options::find(), and casadi::ProtoFunction::get_options().
|
staticinherited |
Definition at line 76 of file plugin_interface.hpp.
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o3
Reimplemented from casadi::FunctionInternal.
Definition at line 278 of file nlpsol_impl.hpp.
|
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 406 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 407 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 1187 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 1162 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 1174 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::convert_res().
|
virtualinherited |
Obtain information about function
Reimplemented in casadi::Switch, casadi::OnnxFunction, and casadi::Map.
Definition at line 3271 of file function_internal.cpp.
Referenced by casadi::MXFunction::export_code_body(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::filterLineSearch(), casadi::Blocksqp::fullstep(), casadi::OnnxFunction::info(), 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::Nlpsol.
Definition at line 71 of file conopt_interface.cpp.
References casadi::Sparsity::colind(), casadi::conopt_max_option_name, casadi::OracleFunction::create_function(), debug_, exact_hessian_, gradf_col_flag_, gradf_col_to_nz_, gradf_nlflag_, gradf_sp_, has_linear_gradf_, has_linear_jac_, hesslag_sp_, casadi::Nlpsol::init(), jacg_col_, jacg_nlflag_, jacg_nzidx_, jacg_rowstart_, jacg_sp_, casadi::Nlpsol::ng_, casadi::Sparsity::nnz(), casadi::Nlpsol::nx_, optfile_, opts_, casadi::Sparsity::row(), casadi::Function::sparsity_jac(), casadi::Function::sparsity_out(), casadi::str(), and warm_start_.
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nv
Reimplemented from casadi::Nlpsol.
Definition at line 259 of file conopt_interface.cpp.
References casadi::ConoptMemory::cached_x, cb_2dlagrstr(), cb_2dlagrval(), cb_errmsg(), cb_fd_eval(), cb_fdevalend(), cb_fdevalini(), cb_message(), cb_option(), cb_progress(), cb_read_matrix(), cb_solution(), cb_status(), exact_hessian_, gradf_sp_, has_linear_gradf_, has_linear_jac_, hesslag_sp_, casadi::Nlpsol::init_mem(), jacg_sp_, casadi::Nlpsol::ng_, casadi::Sparsity::nnz(), casadi::Nlpsol::nx_, optfile_, opts_, casadi::uerr(), and warm_start_.
|
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 3649 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 3641 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 3645 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::MXFunction.
Definition at line 3657 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 3653 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
virtualinherited |
Reimplemented in casadi::SXFunction.
Definition at line 3661 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inlinevirtualinherited |
Reimplemented in casadi::KnitroInterface, and casadi::BonminInterface.
Definition at line 207 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o5
Reimplemented from casadi::FunctionInternal.
Definition at line 369 of file nlpsol.cpp.
References casadi::FunctionInternal::is_a().
Referenced by casadi::AmplInterface::init().
|
virtualinherited |
Definition at line 1973 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 2061 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 2461 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().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k
Reimplemented from casadi::FunctionInternal.
Definition at line 438 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::FunctionInternal::compiler_, casadi::FunctionInternal::compiler_plugin_, casadi::external(), casadi::OracleFunction::generate_dependencies(), casadi::GenericShared< Shared, Internal >::is_null(), casadi::FunctionInternal::jit_options_, and casadi::ProtoFunction::verbose_.
|
inherited |
Definition at line 168 of file oracle_function.cpp.
References casadi::ProtoFunctionMemory::fstats, casadi::OracleFunction::max_num_threads_, and casadi::OracleMemory::thread_local_mem.
Referenced by casadi::Nlpsol::eval(), and casadi::Integrator::eval().
|
inherited |
Definition at line 936 of file nlpsol.cpp.
References casadi::Function::factory(), casadi::Nlpsol::kkt_, casadi::OracleFunction::oracle_, and casadi::GenericWeakRef< Shared, Internal >::shared_if_alive().
Referenced by casadi::Nlpsol::get_forward(), and casadi::Nlpsol::get_reverse().
|
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_m
Definition at line 465 of file oracle_function.cpp.
References casadi::ProtoFunctionMemory::add_stat(), casadi::OracleFunction::all_functions_, and casadi::ProtoFunction::init_mem().
Referenced by casadi::OracleFunction::init_mem().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nd
Definition at line 1200 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 3670 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 1808 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 1818 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 3905 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 3620 of file function_internal.cpp.
|
virtualinherited |
Definition at line 557 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::get_function(), casadi::join(), and casadi::ProtoFunction::name_.
Referenced by casadi::OracleFunction::calc_function().
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Reimplemented in casadi::MXFunction.
Definition at line 3600 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 3592 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 3608 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 3596 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 3637 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 3665 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2420 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::FunctionInternal::open_trace(), casadi::ImplicitToNlp::set_work(), casadi::CbcInterface::solve(), casadi::ClpInterface::solve(), casadi::CplexInterface::solve(), casadi::OoqpInterface::solve(), casadi::PiqpInterface::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 1010 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_me
Definition at line 2426 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_activity(), casadi::FunctionInternal::eval_gen(), casadi::SXFunction::eval_mx(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::finish_trace(), 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 1012 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2432 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 1020 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mf
Definition at line 2438 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 1021 of file function_internal.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_kt
Definition at line 3760 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_activity(), 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 3730 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 3778 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_activity(), 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 3745 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().
|
protectedinherited |
Definition at line 847 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name(), casadi::FunctionInternal::dump_dir_, casadi::filename(), casadi::filesep(), casadi::FunctionInternal::n_in_, casadi::ProtoFunction::name_, casadi::FunctionInternal::nnz_in(), casadi::normalized_setup(), casadi::Filesystem::ofstream_ptr(), and casadi::FunctionInternal::trace_values().
Referenced by casadi::MXFunction::eval(), and casadi::SXFunction::eval().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_h
Reimplemented from casadi::FunctionInternal.
Definition at line 147 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::AmplInterface::init(), and casadi::Scpgen::init().
|
staticinherited |
Definition at line 82 of file plugin_interface.hpp.
|
inlineoverridevirtual |
Implements casadi::PluginInterface< Nlpsol >.
Definition at line 144 of file conopt_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 4158 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 966 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 981 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 1016 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 1092 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 932 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 1109 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 1105 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 949 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 4078 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 1680 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 1720 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::nz_out().
|
staticinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nq
Definition at line 1573 of file function_internal.hpp.
Referenced by casadi::MXFunction::ad_forward(), and casadi::MXFunction::ad_reverse().
|
staticinherited |
Definition at line 96 of file plugin_interface.hpp.
|
staticinherited |
Definition at line 99 of file plugin_interface.hpp.
|
inherited |
Definition at line 3937 of file function_internal.cpp.
Referenced by casadi::FunctionInternal::codegen_meta().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_km
Definition at line 1855 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 1879 of file function_internal.hpp.
References casadi::FunctionInternal::replace_res().
|
inherited |
|
inherited |
Definition at line 1871 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 1863 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 471 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 2343 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 675 of file function_internal.hpp.
References casadi::str().
Referenced by casadi::FunctionInternal::reverse(), and casadi::FixedStepIntegrator::stepB().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_k8
Definition at line 355 of file function_internal.hpp.
Referenced by casadi::casadi_uno_term_cb_cpp(), cb_2dlagrstr(), cb_2dlagrval(), cb_fd_eval(), cb_fdevalini(), cb_progress(), and cb_read_matrix().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_jv
Definition at line 4451 of file function_internal.cpp.
References casadi::ProtoFunction::serialize_body(), and casadi::ProtoFunction::serialize_type().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1no
Reimplemented from casadi::ProtoFunction.
Definition at line 133 of file nlpsol_impl.hpp.
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nl
Reimplemented from casadi::Nlpsol.
Definition at line 232 of file conopt_interface.cpp.
References debug_, exact_hessian_, gradf_sp_, hesslag_sp_, jacg_sp_, optfile_, opts_, casadi::SerializingStream::pack(), casadi::Nlpsol::serialize_body(), casadi::SerializingStream::version(), and warm_start_.
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nm
Reimplemented from casadi::FunctionInternal.
Definition at line 1439 of file nlpsol.cpp.
References casadi::PluginInterface< Derived >::serialize_type(), and casadi::FunctionInternal::serialize_type().
|
inlineinherited |
Register the function for evaluation and statistics gathering
Definition at line 183 of file oracle_function.hpp.
References casadi::Function::name(), and casadi::OracleFunction::set_function().
Referenced by casadi::OracleFunction::set_function().
|
inherited |
Register the function for evaluation and statistics gathering
Definition at line 286 of file oracle_function.cpp.
References casadi::OracleFunction::all_functions_, casadi::OracleFunction::RegFun::f, casadi::OracleFunction::has_function(), and casadi::OracleFunction::RegFun::jit.
Referenced by casadi::OracleFunction::create_forward(), casadi::OracleFunction::create_function(), casadi::Integrator::init(), casadi::ImplicitFixedStepIntegrator::init(), casadi::Rootfinder::init(), casadi::BonminInterface::init(), casadi::IpoptInterface::init(), casadi::SundialsInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Newton::init(), casadi::Sqpmethod::init(), casadi::Collocation::setup_step(), and casadi::RungeKutta::setup_step().
|
protectedinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nx
Definition at line 4022 of file function_internal.cpp.
References casadi::FunctionInternal::jac_sparsity_, casadi::FunctionInternal::n_in_, casadi::FunctionInternal::n_out_, and casadi::FunctionInternal::to_compact().
|
overridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_q
Reimplemented from casadi::FunctionInternal.
Definition at line 505 of file oracle_function.cpp.
References casadi::OracleMemory::arg, casadi::OracleFunction::max_num_threads_, casadi::OracleFunction::stride_arg_, casadi::OracleFunction::stride_iw_, casadi::OracleFunction::stride_res_, and casadi::OracleFunction::stride_w_.
|
overridevirtual |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nz
Reimplemented from casadi::Nlpsol.
Definition at line 345 of file conopt_interface.cpp.
References casadi::Nlpsol::set_work().
|
virtualinherited |
Definition at line 763 of file nlpsol.cpp.
References casadi::Nlpsol::class_name().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nb
Definition at line 3796 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 312 of file nlpsol_impl.hpp.
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ly
Definition at line 2555 of file function_internal.cpp.
Referenced by casadi::CodeGenerator::add(), casadi::FunctionInternal::codegen(), casadi::External::codegen_declarations(), and casadi::OnnxFunction::init().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_27o
Definition at line 2560 of file function_internal.cpp.
References casadi::join(), casadi::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, and casadi::str().
Referenced by casadi::CodeGenerator::add().
|
virtualinherited |
Each pass is a (task, count) pair; count>0 runs the task that many times, count==0 runs it until a fixed point.
Extra doc: https://github.com/casadi/casadi/wiki/L_2ix
Reimplemented in casadi::XFunction< DerivedType, MatType, NodeType >, casadi::XFunction< MXFunction, MX, MXNode >, and casadi::XFunction< SXFunction, Matrix< SXElem >, SXNode >.
Definition at line 3991 of file function_internal.cpp.
References casadi::SharedObjectInternal::class_name().
Referenced by casadi::Function::transform().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_mg
Definition at line 1029 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 1031 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 1030 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 1032 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 1033 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 1036 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 4003 of file function_internal.cpp.
References casadi::Function::slice(), and casadi::FunctionInternal::wrap().
Referenced by casadi::Function::slice().
|
overridevirtual |
Implements casadi::Nlpsol.
Definition at line 365 of file conopt_interface.cpp.
References casadi::ConoptMemory::cache_valid, casadi::OracleFunction::calc_function(), casadi::Sparsity::colind(), ensure_row_capacity(), casadi::Equality, casadi::EvalErrorLimit, casadi::Free, gradf_nlflag_, gradf_sp_, casadi::GreaterEqual, has_linear_gradf_, has_linear_jac_, casadi::Infeasible, casadi::is_range(), casadi::IterationLimit, jacg_nlflag_, jacg_rowstart_, jacg_sp_, casadi::LessEqual, casadi::LocallyInfeasible, casadi::LocallyOptimal, casadi::Nlpsol::ng_, casadi::Sparsity::nnz(), casadi::NormalCompletion, casadi::Nlpsol::nx_, casadi::Optimal, casadi::QuickModeTermination, casadi::Sparsity::row(), casadi::SOLVER_RET_INFEASIBLE, casadi::SOLVER_RET_LIMITED, casadi::SOLVER_RET_NAN, casadi::SOLVER_RET_SUCCESS, casadi::SOLVER_RET_UNKNOWN, casadi::TimeLimit, casadi::uerr(), casadi::Unset, and casadi::UserInterrupt.
|
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 3083 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 3102 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 3118 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 3533 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 1045 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 1046 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 4146 of file function_internal.cpp.
Referenced by casadi::ProtoFunction::format_time(), and casadi::ProtoFunction::print_time().
|
staticinherited |
Definition at line 4214 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 3560 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 3544 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 3568 of file function_internal.cpp.
References casadi::FunctionInternal::n_out_.
|
virtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_l7
Definition at line 3548 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 1265 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 1598 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 1218 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_arg(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::ThreadMap::codegen_body(), casadi::ThreadMap::codegen_declarations(), 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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n2
Definition at line 1228 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_iw(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::ThreadMap::codegen_body(), casadi::ThreadMap::codegen_declarations(), 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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::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 1223 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_res(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::ThreadMap::codegen_body(), casadi::ThreadMap::codegen_declarations(), 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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::init(), casadi::Qrqp::init(), and casadi::FunctionInternal::sz_work().
|
inlineinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_n3
Definition at line 1233 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::alloc_w(), casadi::FunctionInternal::call_gen(), casadi::OmpMap::codegen_body(), casadi::ThreadMap::codegen_body(), casadi::MXFunction::codegen_body(), casadi::ThreadMap::codegen_declarations(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::codegen_sz_w(), casadi::MXFunction::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::MadmpecInterface::init(), casadi::ClarabelInterface::init(), casadi::DaqpInterface::init(), casadi::FatropConicInterface::init(), casadi::FatropInterface::init(), casadi::HighsInterface::init(), casadi::HpipmInterface::init(), casadi::MadnlpInterface::init(), casadi::MosekInterface::init(), casadi::XpressInterface::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 3150 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 2036 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 1192 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 1196 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().
|
staticprotectedinherited |
Definition at line 826 of file function_internal.cpp.
References casadi::normalized_out().
Referenced by casadi::FunctionInternal::finish_trace(), casadi::FunctionInternal::open_trace(), casadi::MXFunction::trace_instruction(), and casadi::SXFunction::trace_instruction().
|
inlineoverridevirtualinherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1o1
Reimplemented from casadi::FunctionInternal.
Definition at line 258 of file nlpsol_impl.hpp.
|
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 3983 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 1240 of file function_internal.cpp.
References casadi::ProtoFunction::name_.
Referenced by casadi::FunctionInternal::eval_mx(), casadi::FunctionInternal::factory(), casadi::FunctionInternal::forward(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::reverse(), and casadi::FunctionInternal::slice().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_li
Definition at line 1244 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::FunctionInternal::name_in_, casadi::FunctionInternal::name_out_, casadi::FunctionInternal::sp_weight(), and casadi::FunctionInternal::tocache_if_missing().
Referenced by casadi::Function::wrap().
Extra doc: https://github.com/casadi/casadi/wiki/L_lj
Definition at line 1219 of file function_internal.cpp.
References casadi::ProtoFunction::name_, and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_lj
Definition at line 1223 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(), and casadi::FunctionInternal::wrap_as_needed().
|
inherited |
Definition at line 1420 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 1420 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().
|
protectedinherited |
Definition at line 104 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::find(), casadi::OracleFunction::generate_dependencies(), casadi::OracleFunction::get_function(), casadi::OracleFunction::has_function(), casadi::OracleFunction::init_mem(), casadi::OracleFunction::jit_dependencies(), casadi::OracleFunction::local_init_mem(), casadi::OracleFunction::monitored(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_function().
|
inherited |
Definition at line 1309 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().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 98 of file nlpsol_impl.hpp.
Referenced by casadi::Feasiblesqpmethod::codegen_body(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::eval(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
Definition at line 1391 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 1388 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_1nk
Definition at line 97 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::eval(), casadi::Nlpsol::init(), casadi::MadmpecInterface::init(), casadi::FatropInterface::init(), casadi::MadnlpInterface::init(), casadi::UnoInterface::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 97 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::eval(), casadi::Nlpsol::init(), casadi::MadmpecInterface::init(), casadi::FatropInterface::init(), casadi::MadnlpInterface::init(), casadi::UnoInterface::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 97 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::eval(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 97 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Sqpmethod::codegen_declarations(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::eval(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 96 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 78 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::BonminUserClass::intermediate_callback(), casadi::IpoptUserClass::intermediate_callback(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nl
Definition at line 1358 of file function_internal.hpp.
Referenced by casadi::GenericExternal::any_symbol_found(), casadi::External::codegen_checkout(), casadi::External::codegen_declarations(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionBuffer::FunctionBuffer(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::init_external(), and casadi::FunctionBuffer::operator=().
|
protectedinherited |
Definition at line 86 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Definition at line 1409 of file function_internal.hpp.
Referenced by casadi::External::codegen_body(), casadi::External::codegen_declarations(), casadi::External::External(), casadi::External::factory(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::GenericExternal::get_jac_sparsity(), casadi::External::get_n_in(), casadi::External::get_n_out(), casadi::External::get_name_in(), casadi::External::get_name_out(), casadi::GenericExternal::get_sparsity_in(), casadi::GenericExternal::get_sparsity_out(), casadi::External::has_forward(), casadi::GenericExternal::has_jac_sparsity(), casadi::External::has_jacobian(), casadi::External::has_reverse(), casadi::External::init(), casadi::Scpgen::init(), casadi::External::init_external(), casadi::GenericExternal::init_external(), casadi::OracleFunction::jit_dependencies(), casadi::External::serialize_body(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1408 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 1460 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
| bool casadi::ConoptInterface::debug_ |
Definition at line 176 of file conopt_interface.hpp.
Referenced by cb_2dlagrval(), cb_fd_eval(), cb_fdevalini(), ConoptInterface(), init(), and serialize_body().
|
inherited |
Definition at line 1368 of file function_internal.hpp.
Referenced by casadi::External::any_symbol_found(), casadi::External::codegen_declarations(), casadi::External::codegen_decref(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::External::init_external(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1457 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 1402 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 1514 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::deserialize().
|
inherited |
Definition at line 84 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::codegen_setup_per_call(), casadi::Nlpsol::get_forward(), casadi::Nlpsol::get_reverse(), casadi::Nlpsol::get_sparsity_out(), casadi::Nlpsol::get_stats(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 85 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_declarations(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 87 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::init(), and casadi::Nlpsol::Nlpsol().
|
inherited |
Definition at line 86 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::get_stats(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 101 of file nlpsol_impl.hpp.
Referenced by casadi::BonminUserClass::get_variables_types(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), casadi::Nlpsol::serialize_body(), and casadi::KnitroInterface::solve().
|
inherited |
Definition at line 1448 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 1469 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), and casadi::FunctionInternal::reset_dump_count().
|
inherited |
Definition at line 1451 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::CodeGenerator::generate_dump(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::FunctionInternal::open_trace(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1454 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::FunctionInternal(), casadi::CodeGenerator::generate_dump(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1448 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::codegen(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1448 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::codegen(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1416 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 1417 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 1416 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 1417 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 1416 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 1417 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 1416 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 1417 of file function_internal.hpp.
Referenced by 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_1nk
Definition at line 102 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::FatropInterface::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 263 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::call_gen(), casadi::MadmpecInterface::codegen_body(), 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(), casadi::MosekInterface::codegen_body(), casadi::OsqpInterface::codegen_body(), casadi::UnoInterface::codegen_body(), casadi::XpressInterface::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 1353 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 |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 93 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
| bool casadi::ConoptInterface::exact_hessian_ |
Definition at line 174 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and serialize_body().
|
inherited |
Definition at line 75 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::callback(), cb_progress(), casadi::Nlpsol::init(), casadi::SLEQPInterface::init(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::Nlpsol::Nlpsol(), casadi::Nlpsol::serialize_body(), casadi::SLEQPInterface::set_work(), casadi::SLEQPInterface::solve(), and casadi::WorhpInterface::solve().
|
inherited |
Definition at line 1435 of file function_internal.hpp.
Referenced by casadi::FmuFunction::change_option(), 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 1429 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::forward(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 1432 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1457 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().
| std::vector<bool> casadi::ConoptInterface::gradf_col_flag_ |
Definition at line 181 of file conopt_interface.hpp.
Referenced by cb_read_matrix(), ConoptInterface(), and init().
| std::vector<casadi_int> casadi::ConoptInterface::gradf_col_to_nz_ |
Definition at line 196 of file conopt_interface.hpp.
Referenced by ConoptInterface(), and init().
| std::vector<int> casadi::ConoptInterface::gradf_nlflag_ |
Definition at line 193 of file conopt_interface.hpp.
Referenced by cb_fd_eval(), cb_read_matrix(), ConoptInterface(), init(), and solve().
| Sparsity casadi::ConoptInterface::gradf_sp_ |
Definition at line 171 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), serialize_body(), and solve().
| bool casadi::ConoptInterface::has_linear_gradf_ |
Definition at line 194 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and solve().
| bool casadi::ConoptInterface::has_linear_jac_ |
Definition at line 190 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and solve().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_no
Definition at line 1378 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_decref(), casadi::FunctionInternal::codegen_incref(), casadi::DaqpInterface::DaqpInterface(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::External::init(), casadi::MXFunction::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2f2
Definition at line 1383 of file function_internal.hpp.
Referenced by casadi::CodeGenerator::add_dependency(), casadi::FunctionInternal::codegen_meta(), and casadi::FunctionInternal::finalize().
| Sparsity casadi::ConoptInterface::hesslag_sp_ |
Definition at line 173 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_2gg
Definition at line 1368 of file function_internal.hpp.
Referenced by casadi::External::any_symbol_found(), casadi::External::codegen_declarations(), casadi::External::codegen_incref(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), and casadi::External::init_external().
|
staticinherited |
Definition at line 309 of file nlpsol_impl.hpp.
|
inherited |
Definition at line 1426 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 1315 of file function_internal.hpp.
Referenced by casadi::FiniteDiff::codegen_body(), casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FiniteDiff::eval(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::fwd_seed(), casadi::FunctionInternal::generate_options(), casadi::FiniteDiff::get_sparsity_in(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), casadi::MXFunction::sp_forward(), casadi::SXFunction::sp_forward(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), and casadi::FunctionInternal::wrap().
|
inherited |
Definition at line 1315 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::codegen_meta(), casadi::FunctionInternal::definition(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::Map::init(), casadi::MapSum::init(), casadi::FunctionInternal::jac_sparsity(), casadi::FunctionInternal::serialize_body(), casadi::MXFunction::sp_forward(), casadi::SXFunction::sp_forward(), casadi::MXFunction::sp_reverse(), casadi::SXFunction::sp_reverse(), casadi::FunctionInternal::symbolicAdjSeed(), and casadi::FunctionInternal::wrap().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 95 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::callback(), cb_progress(), casadi::Nlpsol::init(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::Nlpsol::Nlpsol(), casadi::Nlpsol::serialize_body(), and casadi::SLEQPInterface::solve().
|
inherited |
Definition at line 1413 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 1394 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::jac_sparsity(), and casadi::FunctionInternal::set_jac_sparsity().
| std::vector<int> casadi::ConoptInterface::jacg_col_ |
Definition at line 186 of file conopt_interface.hpp.
Referenced by ConoptInterface(), and init().
| std::vector<int> casadi::ConoptInterface::jacg_nlflag_ |
Definition at line 189 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), and solve().
| std::vector<int> casadi::ConoptInterface::jacg_nzidx_ |
Definition at line 185 of file conopt_interface.hpp.
Referenced by ConoptInterface(), and init().
| std::vector<int> casadi::ConoptInterface::jacg_rowstart_ |
Definition at line 184 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), and solve().
| Sparsity casadi::ConoptInterface::jacg_sp_ |
Definition at line 172 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), serialize_body(), and solve().
|
inherited |
Definition at line 1457 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 1326 of file function_internal.hpp.
Referenced by casadi::MXFunction::change_option(), casadi::SXFunction::change_option(), casadi::FunctionInternal::finalize(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), casadi::MXFunction::init(), casadi::SXFunction::init(), casadi::JitFunction::JitFunction(), casadi::OracleFunction::OracleFunction(), casadi::FunctionInternal::serialize_body(), casadi::OracleFunction::serialize_body(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1343 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 1331 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 |
Definition at line 1342 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_ni
Definition at line 1341 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::finalize(), and casadi::FunctionInternal::~FunctionInternal().
|
inherited |
Definition at line 1410 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 |
Extra doc: https://github.com/casadi/casadi/wiki/L_nh
Definition at line 1336 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 1348 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().
|
mutableinherited |
Definition at line 109 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::kkt().
|
inherited |
Definition at line 1445 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 1423 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().
|
protectedinherited |
Definition at line 93 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::KnitroInterface::init(), casadi::OracleFunction::init_mem(), casadi::OracleFunction::join_results(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
static |
Definition at line 155 of file conopt_interface.hpp.
Referenced by casadi::casadi_register_nlpsol_conopt().
|
inherited |
Definition at line 106 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), casadi::Nlpsol::serialize_body(), and casadi::KnitroInterface::solve().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 99 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::get_forward(), casadi::Nlpsol::get_reverse(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
protectedinherited |
Definition at line 107 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Definition at line 1312 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::ThreadMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), casadi::FastNewton::codegen_body(), casadi::ThreadMap::codegen_declarations(), 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::MXFunction::eval_activity(), 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::FunctionInternal::open_trace(), 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 1312 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::ThreadMap::codegen_body(), casadi::MapSum::codegen_body(), casadi::MXFunction::codegen_body(), casadi::Switch::codegen_body(), casadi::SXFunction::codegen_body(), casadi::FastNewton::codegen_body(), casadi::ThreadMap::codegen_declarations(), 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_activity(), casadi::MXFunction::eval_activity(), casadi::FunctionInternal::eval_gen(), casadi::Map::eval_gen(), casadi::MapSum::eval_gen(), casadi::Switch::eval_sx(), casadi::CallbackInternal::finalize(), casadi::FunctionInternal::finish_trace(), 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().
|
inherited |
Definition at line 248 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::finish_trace(), 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::BlazingSplineFunction::init(), 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::OnnxRuntimeInterface::init_mem(), casadi::FunctionInternal::jac_is_symm(), casadi::FunctionInternal::jacobian(), casadi::FunctionInternal::map(), casadi::OracleFunction::monitored(), casadi::FunctionInternal::open_trace(), 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 1321 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 1321 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 1309 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().
|
inherited |
Definition at line 69 of file nlpsol_impl.hpp.
Referenced by casadi::Blocksqp::acceptStep(), casadi::AlpaqaProblem::AlpaqaProblem(), casadi::BonminUserClass::BonminUserClass(), casadi::Blocksqp::calcOptTol(), cb_read_matrix(), casadi::Feasiblesqpmethod::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::Feasiblesqpmethod::codegen_feasibility_iterations(), casadi::Nlpsol::codegen_post_solve(), casadi::Sqpmethod::codegen_qp_ela_solve(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::codegen_setup_per_call(), casadi::Sqpmethod::codegen_solve_elastic_mode(), casadi::Feasiblesqpmethod::codegen_step_update(), ConoptInterface(), casadi::Nlpsol::eval(), casadi::Scpgen::eval_vec(), casadi::Blocksqp::evaluate(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::IpoptUserClass::finalize_metadata(), casadi::BonminInterface::finalize_solution(), casadi::IpoptInterface::finalize_solution(), casadi::BonminInterface::get_bounds_info(), casadi::BonminUserClass::get_bounds_info(), casadi::IpoptUserClass::get_bounds_info(), casadi::IpoptInterface::get_bounds_info(), casadi::Nlpsol::get_forward(), casadi::BonminInterface::get_nlp_info(), casadi::IpoptInterface::get_nlp_info(), casadi::Nlpsol::get_reverse(), casadi::BonminInterface::get_starting_point(), casadi::BonminUserClass::get_starting_point(), casadi::IpoptUserClass::get_starting_point(), casadi::IpoptInterface::get_starting_point(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::AmplInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::MadmpecInterface::init(), init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::SLEQPInterface::init(), casadi::SnoptInterface::init(), casadi::UnoInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), casadi::Sqpmethod::init(), init_mem(), casadi::IpoptInterface::init_mem(), casadi::SnoptInterface::init_mem(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::IpoptUserClass::IpoptUserClass(), casadi::Blocksqp::kktErrorReduction(), casadi::Scpgen::line_search(), casadi::Blocksqp::lInfConstraintNorm(), casadi::Nlpsol::Nlpsol(), casadi::Scpgen::primalInfeasibility(), casadi::Blocksqp::reduceSOCStepsize(), casadi::Blocksqp::reset_sqp(), casadi::Blocksqp::secondOrderCorrection(), casadi::Nlpsol::serialize_body(), casadi::Blocksqp::set_work(), casadi::BonminInterface::set_work(), casadi::IpoptInterface::set_work(), casadi::KnitroInterface::set_work(), casadi::SLEQPInterface::set_work(), casadi::SnoptInterface::set_work(), casadi::WorhpInterface::set_work(), casadi::Qrsqp::set_work(), casadi::Scpgen::set_work(), casadi::AlpaqaInterface::solve(), casadi::AmplInterface::solve(), casadi::Blocksqp::solve(), casadi::BonminInterface::solve(), solve(), casadi::IpoptInterface::solve(), casadi::KnitroInterface::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Sqpmethod::solve_elastic_mode(), casadi::Scpgen::solve_qp(), casadi::Blocksqp::solveQP(), casadi::Feasiblesqpmethod::step_update(), casadi::UnoInterface::UnoInterface(), and casadi::Blocksqp::updateStepBounds().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 100 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 72 of file nlpsol_impl.hpp.
Referenced by casadi::Feasiblesqpmethod::codegen_body(), casadi::Nlpsol::codegen_post_solve(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::eval(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::Scpgen::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 66 of file nlpsol_impl.hpp.
Referenced by casadi::Blocksqp::acceptStep(), casadi::AlpaqaProblem::AlpaqaProblem(), casadi::Feasiblesqpmethod::anderson_acc_init_memory(), casadi::Feasiblesqpmethod::anderson_acc_step_update(), casadi::Feasiblesqpmethod::anderson_acc_update_memory(), casadi::BonminUserClass::BonminUserClass(), casadi::Sqpmethod::calc_gamma_1(), casadi::Blocksqp::calcHessianUpdateLimitedMemory(), casadi::Blocksqp::calcLagrangeGradient(), casadi::Blocksqp::calcOptTol(), casadi::Nlpsol::callback(), cb_fdevalini(), cb_read_matrix(), casadi::Nlpsol::check_inputs(), casadi::Feasiblesqpmethod::codegen_body(), casadi::Sqpmethod::codegen_body(), casadi::Sqpmethod::codegen_calc_gamma_1(), casadi::Feasiblesqpmethod::codegen_eval_m_k(), casadi::Feasiblesqpmethod::codegen_feasibility_iterations(), casadi::Nlpsol::codegen_post_solve(), casadi::Sqpmethod::codegen_qp_ela_solve(), casadi::Feasiblesqpmethod::codegen_qp_solve(), casadi::Sqpmethod::codegen_qp_solve(), casadi::Nlpsol::codegen_setup_constants(), casadi::Nlpsol::codegen_setup_per_call(), casadi::Sqpmethod::codegen_solve_elastic_mode(), casadi::Feasiblesqpmethod::codegen_step_update(), casadi::Feasiblesqpmethod::codegen_tr_update(), ConoptInterface(), casadi::Blocksqp::convertHessian(), casadi::Scpgen::dualInfeasibility(), casadi::Nlpsol::eval(), casadi::Scpgen::eval_exp(), casadi::Feasiblesqpmethod::eval_m_k(), casadi::Scpgen::eval_mat(), casadi::Scpgen::eval_res(), casadi::Scpgen::eval_vec(), casadi::Blocksqp::evaluate(), casadi::Feasiblesqpmethod::feasibility_iterations(), casadi::Blocksqp::feasibilityRestorationHeuristic(), casadi::Blocksqp::feasibilityRestorationPhase(), casadi::Blocksqp::filterLineSearch(), casadi::IpoptUserClass::finalize_metadata(), casadi::BonminInterface::finalize_solution(), casadi::IpoptInterface::finalize_solution(), casadi::Blocksqp::fullstep(), casadi::BonminInterface::get_bounds_info(), casadi::BonminUserClass::get_bounds_info(), casadi::IpoptUserClass::get_bounds_info(), casadi::IpoptInterface::get_bounds_info(), casadi::Nlpsol::get_forward(), casadi::BonminInterface::get_nlp_info(), casadi::IpoptInterface::get_nlp_info(), casadi::Nlpsol::get_reverse(), casadi::BonminInterface::get_starting_point(), casadi::BonminUserClass::get_starting_point(), casadi::IpoptUserClass::get_starting_point(), casadi::IpoptInterface::get_starting_point(), casadi::Nlpsol::init(), casadi::AlpaqaInterface::init(), casadi::AmplInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::MadmpecInterface::init(), init(), casadi::FatropInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::SLEQPInterface::init(), casadi::SnoptInterface::init(), casadi::WorhpInterface::init(), casadi::Feasiblesqpmethod::init(), casadi::Qrsqp::init(), casadi::Scpgen::init(), casadi::Sqpmethod::init(), init_mem(), casadi::IpoptInterface::init_mem(), casadi::SnoptInterface::init_mem(), casadi::BonminInterface::intermediate_callback(), casadi::IpoptInterface::intermediate_callback(), casadi::IpoptUserClass::IpoptUserClass(), casadi::Blocksqp::kktErrorReduction(), casadi::Scpgen::line_search(), casadi::Blocksqp::lInfConstraintNorm(), casadi::Nlpsol::Nlpsol(), casadi::Scpgen::primalInfeasibility(), casadi::Blocksqp::printProgress(), casadi::Blocksqp::reduceSOCStepsize(), casadi::Scpgen::regularize(), casadi::Blocksqp::reset_sqp(), casadi::Blocksqp::resetHessian(), casadi::Blocksqp::secondOrderCorrection(), casadi::Nlpsol::serialize_body(), casadi::Blocksqp::set_work(), casadi::BonminInterface::set_work(), casadi::IpoptInterface::set_work(), casadi::KnitroInterface::set_work(), casadi::SLEQPInterface::set_work(), casadi::SnoptInterface::set_work(), casadi::WorhpInterface::set_work(), casadi::Qrsqp::set_work(), casadi::Scpgen::set_work(), casadi::AlpaqaInterface::solve(), casadi::AmplInterface::solve(), casadi::Blocksqp::solve(), casadi::BonminInterface::solve(), solve(), casadi::IpoptInterface::solve(), casadi::KnitroInterface::solve(), casadi::SLEQPInterface::solve(), casadi::SnoptInterface::solve(), casadi::WorhpInterface::solve(), casadi::Feasiblesqpmethod::solve(), casadi::Qrsqp::solve(), casadi::Scpgen::solve(), casadi::Sqpmethod::solve(), casadi::Sqpmethod::solve_ela_QP(), casadi::Sqpmethod::solve_elastic_mode(), casadi::Feasiblesqpmethod::solve_LP(), casadi::Feasiblesqpmethod::solve_QP(), casadi::Qrsqp::solve_QP(), casadi::Scpgen::solve_qp(), casadi::Sqpmethod::solve_QP(), casadi::Blocksqp::solveQP(), casadi::Feasiblesqpmethod::step_update(), casadi::Feasiblesqpmethod::tr_update(), casadi::Blocksqp::updateDeltaGamma(), casadi::Blocksqp::updateStepBounds(), and casadi::SnoptInterface::userfun().
| std::string casadi::ConoptInterface::optfile_ |
Definition at line 178 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and serialize_body().
|
static |
Definition at line 151 of file conopt_interface.hpp.
Referenced by casadi::casadi_register_nlpsol_conopt().
| Dict casadi::ConoptInterface::opts_ |
Definition at line 177 of file conopt_interface.hpp.
Referenced by ConoptInterface(), init(), init_mem(), and serialize_body().
|
protectedinherited |
Definition at line 83 of file oracle_function.hpp.
Referenced by casadi::Rootfinder::ad_forward(), casadi::Rootfinder::ad_reverse(), casadi::Integrator::augmented_dae(), casadi::OracleFunction::create_function(), casadi::Nlpsol::disp_more(), casadi::OracleFunction::expand(), casadi::KinsolInterface::func(), casadi::OracleFunction::generate_dependencies(), casadi::Integrator::get_forward_dae(), casadi::KinsolInterface::get_jtimes(), casadi::Rootfinder::get_name_in(), casadi::Rootfinder::get_name_out(), casadi::Nlpsol::get_sparsity_in(), casadi::Nlpsol::get_sparsity_out(), casadi::Rootfinder::get_sparsity_out(), casadi::Integrator::init(), casadi::Nlpsol::init(), casadi::OracleFunction::init(), casadi::Rootfinder::init(), casadi::AlpaqaInterface::init(), casadi::Blocksqp::init(), casadi::BonminInterface::init(), casadi::IpoptInterface::init(), casadi::KnitroInterface::init(), casadi::FastNewton::init(), casadi::ImplicitToNlp::init(), casadi::Newton::init(), casadi::Nlpsol::kkt(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), casadi::ImplicitToNlp::set_work(), casadi::KinsolInterface::solve(), casadi::ImplicitToNlp::solve(), casadi::Rootfinder::sp_forward(), and casadi::Rootfinder::sp_reverse().
|
inherited |
Definition at line 63 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::init(), casadi::MadmpecInterface::set_ccopt_prob(), casadi::FatropInterface::set_fatrop_prob(), casadi::MadnlpInterface::set_madnlp_prob(), and casadi::Nlpsol::set_work().
|
protectedinherited |
Definition at line 114 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), and casadi::OracleFunction::OracleFunction().
|
inherited |
Definition at line 1442 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 1438 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::codegen(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 1439 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::change_option(), casadi::FunctionInternal::codegen(), casadi::FunctionInternal::eval_gen(), casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), casadi::FunctionInternal::init(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 254 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().
|
inherited |
Definition at line 257 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 1463 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::alloc(), casadi::FunctionInternal::find(), casadi::FunctionInternal::FunctionInternal(), and casadi::FunctionInternal::serialize_body().
|
inherited |
Definition at line 260 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 1363 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(), casadi::FunctionBuffer::operator=(), and casadi::FunctionBuffer::~FunctionBuffer().
|
inherited |
Definition at line 1457 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().
|
inherited |
Definition at line 81 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::get_forward(), casadi::Nlpsol::get_reverse(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
inherited |
Definition at line 82 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::get_forward(), casadi::Nlpsol::get_reverse(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().
|
protectedinherited |
Definition at line 90 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::calc_function(), casadi::AlpaqaProblem::eval_f(), casadi::BonminUserClass::eval_f(), casadi::IpoptUserClass::eval_f(), casadi::AlpaqaProblem::eval_f_grad_f(), casadi::AlpaqaProblem::eval_g(), casadi::BonminUserClass::eval_g(), casadi::IpoptUserClass::eval_g(), casadi::BonminUserClass::eval_grad_f(), casadi::IpoptUserClass::eval_grad_f(), casadi::AlpaqaProblem::eval_grad_L(), casadi::BonminUserClass::eval_h(), casadi::IpoptUserClass::eval_h(), casadi::AlpaqaProblem::eval_hess_L(), casadi::AlpaqaProblem::eval_hess_L_prod(), casadi::AlpaqaProblem::eval_hess_ψ(), casadi::AlpaqaProblem::eval_hess_ψ_prod(), casadi::AlpaqaProblem::eval_jac_g(), casadi::BonminUserClass::eval_jac_g(), casadi::IpoptUserClass::eval_jac_g(), casadi::AlpaqaProblem::eval_ψ(), casadi::AlpaqaProblem::eval_ψ_grad_ψ(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
staticinherited |
Definition at line 302 of file nlpsol_impl.hpp.
|
inherited |
Definition at line 1318 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 1318 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().
|
protectedinherited |
Definition at line 87 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::create_function(), casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), and casadi::OracleFunction::serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_nn
Definition at line 1373 of file function_internal.hpp.
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
protectedinherited |
Definition at line 110 of file oracle_function.hpp.
Referenced by casadi::OracleFunction::finalize(), casadi::OracleFunction::init(), casadi::OracleFunction::OracleFunction(), casadi::OracleFunction::serialize_body(), and casadi::OracleFunction::set_temp().
|
inherited |
Definition at line 1405 of file function_internal.hpp.
Referenced by casadi::FunctionInternal::FunctionInternal(), casadi::FunctionInternal::generate_options(), and casadi::FunctionInternal::init().
|
inherited |
Definition at line 251 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::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::CodeGenerator::generate_dump(), 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::MadmpecInterface::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::MosekInterface::init_mem(), casadi::IdasInterface::init_mem(), casadi::UnoInterface::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::ConoptInterface::warm_start_ |
Definition at line 175 of file conopt_interface.hpp.
Referenced by cb_read_matrix(), ConoptInterface(), init(), init_mem(), and serialize_body().
|
inherited |
Extra doc: https://github.com/casadi/casadi/wiki/L_1nk
Definition at line 94 of file nlpsol_impl.hpp.
Referenced by casadi::Nlpsol::check_inputs(), casadi::Nlpsol::init(), casadi::Nlpsol::Nlpsol(), and casadi::Nlpsol::serialize_body().