26 #ifndef CASADI_GLOBAL_OPTIONS_HPP
27 #define CASADI_GLOBAL_OPTIONS_HPP
32 #include "casadi/core/casadi_common.hpp"
33 #include <casadi/core/casadi_export.h>
96 copy_elision_min_size=sz;
97 if (copy_elision_min_size!=-1 && copy_elision_min_size<2) {
98 copy_elision_min_size = 2;
Collects global CasADi options.
static bool getHierarchicalSparsity()
static bool julia_initialized
static casadi_int start_index
static bool simplification_on_the_fly
Indicates whether simplifications should be made on the fly.
static std::string getCasadiIncludePath()
static std::string getCasadiPath()
static casadi_int copy_elision_min_size
static void setCasadiPath(const std::string &path)
static std::string casadi_include_path
static void setCasadiIncludePath(const std::string &path)
static std::string casadipath
static void setSimplificationOnTheFly(bool flag)
static void setCopyElisionMinSize(casadi_int sz)
static void setHierarchicalSparsity(bool flag)
static casadi_int getCopyElisionMinSize()
static casadi_int getMaxNumDir()
static bool hierarchical_sparsity
static casadi_int max_num_dir
static bool getSimplificationOnTheFly()
static void setMaxNumDir(casadi_int ndir)
std::vector< casadi_int > path(const std::vector< casadi_int > &map, casadi_int i_start)