
- #Multiple core octave download windows x64 install
- #Multiple core octave download windows x64 code
(3.5.1) fixed regression for expression graphs containing inf/nan.
#Multiple core octave download windows x64 code
(3.5.1) an important flaw was corrected that caused incorrect code for expression graphs with logical 'and' and 'or'. Runge-Kutta and Collocation Integrator objects can be inlined into code-generatable MX Function with the 'simplify' option. This means that embedded MPC with CasADi is now more practical. QP solvers (QRQP, OSQP) and SqpMethod codegenerate now. Codegen 'CODEGEN_PREFIX' has been renamed to 'CASADI_CODEGEN_PREFIX'. One can now easily obtain a parametric solution as a CasADi Function from an Opti instance:. Opti supports conic problems now: Opti('conic'). In linux, you may still see the output from a terminal used to start Matlab (3.5.2) Printing from a multi-threaded map context is disabled beause it could result in crashes. Now size(MX(ones(1,4))) returns (1,4) as expected. breaking: Fixed bug where MX constructor treated a numeric row vector as column vector. Before, only the first column of a would be touched by this statement. breaking: a(:)=b now behaves like Matlab builtin matrices when a is a CasADi matrix. (3.5.2) fix numpy compatibility (numpy 1.19). Overhead-less CasADi Function evaluation API added through Python memoryviews. Support for symbolic (differentiable) grid and coefficients for linear interpolation (set inline option to true). for interpolant, new constructors where added that takes dimensions instead of concrete vectors. Support for parametric (=changeable only, but not differentiable) grid and/or coefficients for linear/spline interpolation. (3.5.2) An inefficiency in MX multiplication sparsity was detected and fixed by Mirko Hahn. (3.5.2) An MX operation convexify was added. (3.5.2) Fixed long-standing bug in cosh derivative. NLP function object's 'lam_p' is now 0-by-1 in case of missing parameters. jtimes output dimensions have changed when any of the arguments is empty. breaking: veccat of an empty list now returns 0-by-1 instead of 0-by-0. MX supports slicing with MX now (symbolic indexing). breaking: linspace(0,1,3) and linspace(0.0,1,3) now both return instead of for the former. breaking: IM type is removed from public API (was used to represent integer sparse matrices). (3.5.5) Fixed performance deficiency in inline BSline derivatives. (3.5.2) BSpline constructor takes an inline option yielding a fully differentiable (but not very scalable) BSpline operation for MX. (3.5.2) Jitted functions can now be serialized. (3.5.2) Sparsity of Callbacks can be set with has_jacobian_sparsity/get_jacobian_sparsity. (3.5.2) Ctrl-C interrupts are now disabled in multi-threaded Maps since they could result in crashes.
Options is_diff_in and is_diff_out were added.Options always_inline and never_inline were added.FunctionInternal::finalize no longer takes options dict.Low-overhead Callback eval support was changed to eval_buffer.map with reduce arguments now has an efficient implementation (no copying/repmat).Use record_time to make timings available through f.stats() without printing them. All CasADi Functions support timing information now ( print_time, default true for QP and NLP solvers).This makes it possible to embed CasADi computations in Fortran, Julia, FMI.
You can now evaluate CasADi Functions from C without requiring code-generation. This enables easy sharing of models/solver isntances beteen Matlab/Python/C++ cross-platform, and enables a form of parallelization.
Unzip in your home directory and adapt the path:į.save('f.casadi') % Dump any CasADi Function to a fileį = Function.load('f.casadi') % Loads back in ( *) Check your Python console if you need 32bit or 64bit - bitness should be printed at startup.
#Multiple core octave download windows x64 install
Or just pip install casadi (needs pip -V>=8.1) Grab a binary from the table (for MATLAB, use the newest compatible version below):