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>
123 copy_elision_min_size=sz;
124 if (copy_elision_min_size!=-1 && copy_elision_min_size<2) {
125 copy_elision_min_size = 2;
130 static void setTempWorkDir(
const std::string& dir);
148 static void setDefaultBlas(
const std::string& name);
149 static std::string getDefaultBlas();
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 setNumpyMode(int mode)
Set the numpy interop mode (issue #2959): 1 = casadi-aware.
static void setSimplificationOnTheFly(bool flag)
static void setCopyElisionMinSize(casadi_int sz)
static std::string getTempWorkDir()
static void setHierarchicalSparsity(bool flag)
static int numpy_mode
numpy interop mode (issue #2959). Controls how an explicit
static std::string temp_work_dir
static casadi_int getCopyElisionMinSize()
static casadi_int getMaxNumDir()
static int getNumpyMode()
Get the current numpy interop mode. See setNumpyMode.
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)