casadi 3.6.7__cp310-none-manylinux2014_x86_64.whl → 3.7.0__cp310-none-manylinux2014_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. casadi/_casadi.so +0 -0
  2. casadi/casadi-cli +0 -0
  3. casadi/casadi.py +6070 -3038
  4. casadi/cbc +0 -0
  5. casadi/clp +0 -0
  6. casadi/cmake/alpaqa/alpaqaTargets-release.cmake +4 -4
  7. casadi/cmake/casadi-config-version.cmake +1 -1
  8. casadi/cmake/casadi-targets-release.cmake +5 -5
  9. casadi/cmake/casadi-targets.cmake +5 -5
  10. casadi/cmake/highs/highs-targets-release.cmake +2 -2
  11. casadi/cmake/highs/highs-targets.cmake +1 -1
  12. casadi/cmake/libzip/libzip-config-version.cmake +48 -0
  13. casadi/cmake/libzip/libzip-config.cmake +69 -0
  14. casadi/cmake/libzip/libzip-targets-release.cmake +19 -0
  15. casadi/cmake/{trlib/trlib-config.cmake → libzip/libzip-targets.cmake} +7 -7
  16. casadi/cmake/libzip/modules/FindMbedTLS.cmake +141 -0
  17. casadi/cmake/libzip/modules/FindNettle.cmake +141 -0
  18. casadi/cmake/libzip/modules/Findzstd.cmake +186 -0
  19. casadi/cmake/sleqp/sleqp-targets-release.cmake +2 -2
  20. casadi/highs +0 -0
  21. casadi/include/casadi/casadi.i +194 -44
  22. casadi/include/casadi/config.h +11 -11
  23. casadi/include/casadi/core/archiver.hpp +58 -0
  24. casadi/include/casadi/core/blazing_spline.hpp +47 -0
  25. casadi/include/casadi/core/calculus.hpp +57 -2
  26. casadi/include/casadi/core/casadi_common.hpp +37 -0
  27. casadi/include/casadi/core/casadi_meta.hpp +15 -0
  28. casadi/include/casadi/core/casadi_misc.hpp +7 -0
  29. casadi/include/casadi/core/code_generator.hpp +95 -17
  30. casadi/include/casadi/core/core.hpp +5 -0
  31. casadi/include/casadi/core/dae_builder.hpp +283 -141
  32. casadi/include/casadi/core/dm.hpp +3 -0
  33. casadi/include/casadi/core/filesystem.hpp +58 -0
  34. casadi/include/casadi/core/fmu.hpp +51 -16
  35. casadi/include/casadi/core/function.hpp +19 -0
  36. casadi/include/casadi/core/generic_matrix.hpp +214 -7
  37. casadi/include/casadi/core/generic_shared.hpp +318 -0
  38. casadi/include/casadi/core/generic_shared_impl.hpp +214 -0
  39. casadi/include/casadi/core/generic_shared_internal.hpp +215 -0
  40. casadi/include/casadi/core/generic_type.hpp +3 -0
  41. casadi/include/casadi/core/global_options.hpp +10 -0
  42. casadi/include/casadi/core/integrator.hpp +41 -7
  43. casadi/include/casadi/core/matrix_decl.hpp +67 -0
  44. casadi/include/casadi/core/mx.hpp +63 -2
  45. casadi/include/casadi/core/options.hpp +6 -3
  46. casadi/include/casadi/core/optistack.hpp +43 -9
  47. casadi/include/casadi/core/printable.hpp +8 -0
  48. casadi/include/casadi/core/resource.hpp +107 -0
  49. casadi/include/casadi/core/runtime/casadi_blazing_1d_boor_eval.hpp +112 -0
  50. casadi/include/casadi/core/runtime/casadi_blazing_2d_boor_eval.hpp +311 -0
  51. casadi/include/casadi/core/runtime/casadi_blazing_3d_boor_eval.hpp +645 -0
  52. casadi/include/casadi/core/runtime/casadi_blazing_de_boor.hpp +101 -0
  53. casadi/include/casadi/core/runtime/casadi_nlp.hpp +8 -2
  54. casadi/include/casadi/core/runtime/casadi_printme.hpp +25 -0
  55. casadi/include/casadi/core/serializer.hpp +12 -4
  56. casadi/include/casadi/core/serializing_stream.hpp +3 -0
  57. casadi/include/casadi/core/shared_object.hpp +73 -161
  58. casadi/include/casadi/core/sparsity.hpp +13 -1
  59. casadi/include/casadi/core/sparsity_interface.hpp +19 -1
  60. casadi/include/casadi/core/sx.hpp +41 -0
  61. casadi/include/casadi/core/sx_elem.hpp +25 -0
  62. casadi/include/casadi/core/xml_node.hpp +5 -0
  63. casadi/include/casadi/doc.i +9703 -6539
  64. casadi/include/casadi/doc_merged.i +6483 -4447
  65. casadi/include/casadi/valgrind-casadi.supp +138 -0
  66. casadi/include/casadi/valgrind-python.supp +2470 -0
  67. casadi/include/fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp +4 -1
  68. casadi/include/ghc/filesystem.hpp +6083 -0
  69. casadi/include/ghc/fs_fwd.hpp +38 -0
  70. casadi/include/ghc/fs_impl.hpp +35 -0
  71. casadi/include/ghc/fs_std.hpp +60 -0
  72. casadi/include/ghc/fs_std_fwd.hpp +63 -0
  73. casadi/include/ghc/fs_std_impl.hpp +46 -0
  74. casadi/include/highs/HConfig.h +6 -4
  75. casadi/include/highs/Highs.h +260 -86
  76. casadi/include/highs/filereaderlp/reader.hpp +10 -10
  77. casadi/include/highs/interfaces/highs_c_api.h +195 -22
  78. casadi/include/highs/io/Filereader.h +4 -6
  79. casadi/include/highs/io/FilereaderEms.h +0 -3
  80. casadi/include/highs/io/FilereaderLp.h +0 -3
  81. casadi/include/highs/io/FilereaderMps.h +0 -3
  82. casadi/include/highs/io/HMPSIO.h +1 -4
  83. casadi/include/highs/io/HMpsFF.h +8 -5
  84. casadi/include/highs/io/HighsIO.h +10 -5
  85. casadi/include/highs/io/LoadOptions.h +0 -3
  86. casadi/include/highs/ipm/IpxSolution.h +0 -3
  87. casadi/include/highs/ipm/IpxWrapper.h +4 -7
  88. casadi/include/highs/ipm/ipx/control.h +1 -0
  89. casadi/include/highs/ipm/ipx/ipx_parameters.h +1 -0
  90. casadi/include/highs/ipm/ipx/lp_solver.h +3 -2
  91. casadi/include/highs/ipm/ipx/model.h +7 -3
  92. casadi/include/highs/lp_data/HConst.h +21 -6
  93. casadi/include/highs/lp_data/HStruct.h +40 -4
  94. casadi/include/highs/lp_data/HighsAnalysis.h +0 -3
  95. casadi/include/highs/lp_data/HighsCallback.h +10 -3
  96. casadi/include/highs/lp_data/HighsCallbackStruct.h +3 -3
  97. casadi/include/highs/lp_data/HighsDebug.h +0 -3
  98. casadi/include/highs/lp_data/HighsIis.h +62 -0
  99. casadi/include/highs/lp_data/HighsInfo.h +50 -43
  100. casadi/include/highs/lp_data/HighsInfoDebug.h +0 -3
  101. casadi/include/highs/lp_data/HighsLp.h +2 -3
  102. casadi/include/highs/lp_data/HighsLpSolverObject.h +0 -3
  103. casadi/include/highs/lp_data/HighsLpUtils.h +38 -6
  104. casadi/include/highs/lp_data/HighsModelUtils.h +21 -18
  105. casadi/include/highs/lp_data/HighsOptions.h +134 -22
  106. casadi/include/highs/lp_data/HighsRanging.h +0 -3
  107. casadi/include/highs/lp_data/HighsSolution.h +10 -3
  108. casadi/include/highs/lp_data/HighsSolutionDebug.h +0 -3
  109. casadi/include/highs/lp_data/HighsSolve.h +0 -3
  110. casadi/include/highs/lp_data/HighsStatus.h +0 -3
  111. casadi/include/highs/mip/HighsCliqueTable.h +3 -3
  112. casadi/include/highs/mip/HighsConflictPool.h +0 -3
  113. casadi/include/highs/mip/HighsCutGeneration.h +13 -3
  114. casadi/include/highs/mip/HighsCutPool.h +0 -3
  115. casadi/include/highs/mip/HighsDebugSol.h +0 -3
  116. casadi/include/highs/mip/HighsDomain.h +16 -4
  117. casadi/include/highs/mip/HighsDomainChange.h +0 -3
  118. casadi/include/highs/mip/HighsDynamicRowMatrix.h +0 -3
  119. casadi/include/highs/mip/HighsGFkSolve.h +3 -6
  120. casadi/include/highs/mip/HighsImplications.h +29 -5
  121. casadi/include/highs/mip/HighsLpAggregator.h +0 -3
  122. casadi/include/highs/mip/HighsLpRelaxation.h +0 -3
  123. casadi/include/highs/mip/HighsMipAnalysis.h +52 -0
  124. casadi/include/highs/mip/HighsMipSolver.h +11 -4
  125. casadi/include/highs/mip/HighsMipSolverData.h +67 -6
  126. casadi/include/highs/mip/HighsModkSeparator.h +1 -4
  127. casadi/include/highs/mip/HighsNodeQueue.h +0 -3
  128. casadi/include/highs/mip/HighsObjectiveFunction.h +0 -3
  129. casadi/include/highs/mip/HighsPathSeparator.h +1 -4
  130. casadi/include/highs/mip/HighsPrimalHeuristics.h +7 -5
  131. casadi/include/highs/mip/HighsPseudocost.h +0 -3
  132. casadi/include/highs/mip/HighsRedcostFixing.h +0 -3
  133. casadi/include/highs/mip/HighsSearch.h +0 -3
  134. casadi/include/highs/mip/HighsSeparation.h +0 -3
  135. casadi/include/highs/mip/HighsSeparator.h +1 -5
  136. casadi/include/highs/mip/HighsTableauSeparator.h +1 -4
  137. casadi/include/highs/mip/HighsTransformedLp.h +0 -3
  138. casadi/include/highs/mip/MipTimer.h +471 -0
  139. casadi/include/highs/parallel/HighsBinarySemaphore.h +1 -1
  140. casadi/include/highs/parallel/HighsCacheAlign.h +1 -1
  141. casadi/include/highs/parallel/HighsCombinable.h +1 -1
  142. casadi/include/highs/parallel/HighsMutex.h +1 -1
  143. casadi/include/highs/parallel/HighsRaceTimer.h +1 -1
  144. casadi/include/highs/parallel/HighsSchedulerConstants.h +1 -1
  145. casadi/include/highs/parallel/HighsSplitDeque.h +1 -1
  146. casadi/include/highs/parallel/HighsTaskExecutor.h +68 -55
  147. casadi/include/highs/pdlp/CupdlpWrapper.h +18 -7
  148. casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +2 -3
  149. casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +16 -6
  150. casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +10 -4
  151. casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +3 -3
  152. casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +6 -6
  153. casadi/include/highs/pdlp/cupdlp/cupdlp_scaling.h +26 -0
  154. casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +11 -11
  155. casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +8 -4
  156. casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +253 -172
  157. casadi/include/highs/presolve/HPresolve.h +50 -10
  158. casadi/include/highs/presolve/HPresolveAnalysis.h +0 -3
  159. casadi/include/highs/presolve/HighsPostsolveStack.h +39 -6
  160. casadi/include/highs/presolve/HighsSymmetry.h +0 -3
  161. casadi/include/highs/presolve/ICrash.h +0 -3
  162. casadi/include/highs/presolve/ICrashUtil.h +1 -4
  163. casadi/include/highs/presolve/ICrashX.h +0 -3
  164. casadi/include/highs/presolve/PresolveComponent.h +0 -3
  165. casadi/include/highs/qpsolver/a_asm.hpp +20 -17
  166. casadi/include/highs/qpsolver/a_quass.hpp +5 -9
  167. casadi/include/highs/qpsolver/basis.hpp +12 -10
  168. casadi/include/highs/qpsolver/crashsolution.hpp +4 -3
  169. casadi/include/highs/qpsolver/dantzigpricing.hpp +3 -2
  170. casadi/include/highs/qpsolver/devexpricing.hpp +3 -1
  171. casadi/include/highs/qpsolver/factor.hpp +6 -5
  172. casadi/include/highs/qpsolver/feasibility_bounded.hpp +31 -29
  173. casadi/include/highs/qpsolver/feasibility_highs.hpp +94 -70
  174. casadi/include/highs/qpsolver/gradient.hpp +1 -1
  175. casadi/include/highs/qpsolver/instance.hpp +1 -1
  176. casadi/include/highs/qpsolver/pricing.hpp +2 -2
  177. casadi/include/highs/qpsolver/qpconst.hpp +2 -2
  178. casadi/include/highs/qpsolver/quass.hpp +2 -2
  179. casadi/include/highs/qpsolver/runtime.hpp +2 -2
  180. casadi/include/highs/qpsolver/settings.hpp +20 -8
  181. casadi/include/highs/qpsolver/steepestedgepricing.hpp +38 -39
  182. casadi/include/highs/simplex/HApp.h +88 -34
  183. casadi/include/highs/simplex/HEkk.h +24 -11
  184. casadi/include/highs/simplex/HEkkDual.h +2 -4
  185. casadi/include/highs/simplex/HEkkDualRHS.h +0 -3
  186. casadi/include/highs/simplex/HEkkDualRow.h +0 -3
  187. casadi/include/highs/simplex/HEkkPrimal.h +1 -5
  188. casadi/include/highs/simplex/HSimplex.h +0 -3
  189. casadi/include/highs/simplex/HSimplexDebug.h +0 -3
  190. casadi/include/highs/simplex/HSimplexNla.h +0 -26
  191. casadi/include/highs/simplex/HSimplexReport.h +0 -3
  192. casadi/include/highs/simplex/HighsSimplexAnalysis.h +5 -8
  193. casadi/include/highs/simplex/SimplexConst.h +10 -11
  194. casadi/include/highs/simplex/SimplexStruct.h +9 -12
  195. casadi/include/highs/simplex/SimplexTimer.h +83 -101
  196. casadi/include/highs/test/DevKkt.h +0 -3
  197. casadi/include/highs/test/KktCh2.h +0 -3
  198. casadi/include/highs/util/FactorTimer.h +39 -64
  199. casadi/include/highs/util/HFactor.h +4 -4
  200. casadi/include/highs/util/HFactorConst.h +0 -3
  201. casadi/include/highs/util/HFactorDebug.h +0 -3
  202. casadi/include/highs/util/HSet.h +0 -3
  203. casadi/include/highs/util/HVector.h +0 -3
  204. casadi/include/highs/util/HVectorBase.h +1 -4
  205. casadi/include/highs/util/HighsCDouble.h +12 -3
  206. casadi/include/highs/util/HighsComponent.h +0 -3
  207. casadi/include/highs/util/HighsDataStack.h +0 -3
  208. casadi/include/highs/util/HighsDisjointSets.h +0 -3
  209. casadi/include/highs/util/HighsHash.h +9 -12
  210. casadi/include/highs/util/HighsHashTree.h +15 -11
  211. casadi/include/highs/util/HighsInt.h +0 -3
  212. casadi/include/highs/util/HighsIntegers.h +0 -3
  213. casadi/include/highs/util/HighsLinearSumBounds.h +0 -3
  214. casadi/include/highs/util/HighsMatrixPic.h +0 -3
  215. casadi/include/highs/util/HighsMatrixSlice.h +3 -6
  216. casadi/include/highs/util/HighsMatrixUtils.h +0 -3
  217. casadi/include/highs/util/HighsMemoryAllocation.h +11 -3
  218. casadi/include/highs/util/HighsRandom.h +3 -6
  219. casadi/include/highs/util/HighsRbTree.h +0 -3
  220. casadi/include/highs/util/HighsSort.h +0 -3
  221. casadi/include/highs/util/HighsSparseMatrix.h +6 -3
  222. casadi/include/highs/util/HighsSparseVectorSum.h +0 -3
  223. casadi/include/highs/util/HighsSplay.h +0 -3
  224. casadi/include/highs/util/HighsTimer.h +94 -56
  225. casadi/include/highs/util/HighsUtils.h +10 -3
  226. casadi/include/highs/util/stringutil.h +14 -12
  227. casadi/include/licenses/ghc-external/LICENSE +19 -0
  228. casadi/include/licenses/libz-external/LICENSE +22 -0
  229. casadi/include/licenses/libz-external/contrib/dotzlib/LICENSE_1_0.txt +23 -0
  230. casadi/include/licenses/libzip-external/LICENSE +31 -0
  231. casadi/include/zconf.h +545 -0
  232. casadi/include/zip.h +528 -0
  233. casadi/include/zipconf.h +48 -0
  234. casadi/include/zlib.h +1938 -0
  235. casadi/libCbcSolver.so +0 -0
  236. casadi/libCbcSolver.so.3 +0 -0
  237. casadi/libCbcSolver.so.3.10.11 +0 -0
  238. casadi/libClpSolver.so +0 -0
  239. casadi/libClpSolver.so.1 +0 -0
  240. casadi/libClpSolver.so.1.14.9 +0 -0
  241. casadi/libbonmin.so +0 -0
  242. casadi/libbonmin.so.4 +0 -0
  243. casadi/libbonmin.so.4.8.9 +0 -0
  244. casadi/libcasadi.so +0 -0
  245. casadi/libcasadi.so.3.7 +0 -0
  246. casadi/libcasadi_archiver_libzip.so +0 -0
  247. casadi/libcasadi_archiver_libzip.so.3.7 +0 -0
  248. casadi/libcasadi_conic_cbc.so +0 -0
  249. casadi/libcasadi_conic_cbc.so.3.7 +0 -0
  250. casadi/libcasadi_conic_clp.so +0 -0
  251. casadi/libcasadi_conic_clp.so.3.7 +0 -0
  252. casadi/libcasadi_conic_cplex.so +0 -0
  253. casadi/libcasadi_conic_cplex.so.3.7 +0 -0
  254. casadi/libcasadi_conic_daqp.so +0 -0
  255. casadi/libcasadi_conic_daqp.so.3.7 +0 -0
  256. casadi/libcasadi_conic_fatrop.so +0 -0
  257. casadi/libcasadi_conic_fatrop.so.3.7 +0 -0
  258. casadi/libcasadi_conic_gurobi.so +0 -0
  259. casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
  260. casadi/libcasadi_conic_highs.so +0 -0
  261. casadi/libcasadi_conic_highs.so.3.7 +0 -0
  262. casadi/libcasadi_conic_hpipm.so +0 -0
  263. casadi/libcasadi_conic_hpipm.so.3.7 +0 -0
  264. casadi/libcasadi_conic_ipqp.so +0 -0
  265. casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
  266. casadi/libcasadi_conic_nlpsol.so +0 -0
  267. casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
  268. casadi/libcasadi_conic_osqp.so +0 -0
  269. casadi/libcasadi_conic_osqp.so.3.7 +0 -0
  270. casadi/libcasadi_conic_proxqp.so +0 -0
  271. casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
  272. casadi/libcasadi_conic_qpoases.so +0 -0
  273. casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
  274. casadi/libcasadi_conic_qrqp.so +0 -0
  275. casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
  276. casadi/libcasadi_conic_superscs.so +0 -0
  277. casadi/libcasadi_conic_superscs.so.3.7 +0 -0
  278. casadi/libcasadi_filesystem_ghc.so +0 -0
  279. casadi/libcasadi_filesystem_ghc.so.3.7 +0 -0
  280. casadi/libcasadi_importer_shell.so +0 -0
  281. casadi/libcasadi_importer_shell.so.3.7 +0 -0
  282. casadi/libcasadi_integrator_collocation.so +0 -0
  283. casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
  284. casadi/libcasadi_integrator_cvodes.so +0 -0
  285. casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
  286. casadi/libcasadi_integrator_idas.so +0 -0
  287. casadi/libcasadi_integrator_idas.so.3.7 +0 -0
  288. casadi/libcasadi_integrator_rk.so +0 -0
  289. casadi/libcasadi_integrator_rk.so.3.7 +0 -0
  290. casadi/libcasadi_interpolant_bspline.so +0 -0
  291. casadi/libcasadi_interpolant_bspline.so.3.7 +0 -0
  292. casadi/libcasadi_interpolant_linear.so +0 -0
  293. casadi/libcasadi_interpolant_linear.so.3.7 +0 -0
  294. casadi/libcasadi_linsol_csparse.so +0 -0
  295. casadi/libcasadi_linsol_csparse.so.3.7 +0 -0
  296. casadi/libcasadi_linsol_csparsecholesky.so +0 -0
  297. casadi/libcasadi_linsol_csparsecholesky.so.3.7 +0 -0
  298. casadi/libcasadi_linsol_lapacklu.so +0 -0
  299. casadi/libcasadi_linsol_lapacklu.so.3.7 +0 -0
  300. casadi/libcasadi_linsol_lapackqr.so +0 -0
  301. casadi/libcasadi_linsol_lapackqr.so.3.7 +0 -0
  302. casadi/libcasadi_linsol_ldl.so +0 -0
  303. casadi/libcasadi_linsol_ldl.so.3.7 +0 -0
  304. casadi/libcasadi_linsol_lsqr.so +0 -0
  305. casadi/libcasadi_linsol_lsqr.so.3.7 +0 -0
  306. casadi/libcasadi_linsol_ma27.so +0 -0
  307. casadi/libcasadi_linsol_ma27.so.3.7 +0 -0
  308. casadi/libcasadi_linsol_mumps.so +0 -0
  309. casadi/libcasadi_linsol_mumps.so.3.7 +0 -0
  310. casadi/libcasadi_linsol_qr.so +0 -0
  311. casadi/libcasadi_linsol_qr.so.3.7 +0 -0
  312. casadi/libcasadi_linsol_symbolicqr.so +0 -0
  313. casadi/libcasadi_linsol_symbolicqr.so.3.7 +0 -0
  314. casadi/libcasadi_linsol_tridiag.so +0 -0
  315. casadi/libcasadi_linsol_tridiag.so.3.7 +0 -0
  316. casadi/libcasadi_nlpsol_alpaqa.so +0 -0
  317. casadi/libcasadi_nlpsol_alpaqa.so.3.7 +0 -0
  318. casadi/libcasadi_nlpsol_ampl.so +0 -0
  319. casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
  320. casadi/libcasadi_nlpsol_blocksqp.so +0 -0
  321. casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
  322. casadi/libcasadi_nlpsol_bonmin.so +0 -0
  323. casadi/libcasadi_nlpsol_bonmin.so.3.7 +0 -0
  324. casadi/libcasadi_nlpsol_fatrop.so +0 -0
  325. casadi/libcasadi_nlpsol_fatrop.so.3.7 +0 -0
  326. casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
  327. casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
  328. casadi/libcasadi_nlpsol_ipopt.so +0 -0
  329. casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
  330. casadi/libcasadi_nlpsol_knitro.so +0 -0
  331. casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
  332. casadi/libcasadi_nlpsol_madnlp.so +0 -0
  333. casadi/libcasadi_nlpsol_madnlp.so.3.7 +0 -0
  334. casadi/libcasadi_nlpsol_qrsqp.so +0 -0
  335. casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
  336. casadi/libcasadi_nlpsol_scpgen.so +0 -0
  337. casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
  338. casadi/libcasadi_nlpsol_sleqp.so +0 -0
  339. casadi/libcasadi_nlpsol_sleqp.so.3.7 +0 -0
  340. casadi/libcasadi_nlpsol_snopt.so +0 -0
  341. casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
  342. casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
  343. casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
  344. casadi/libcasadi_nlpsol_worhp.so +0 -0
  345. casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
  346. casadi/libcasadi_rootfinder_fast_newton.so +0 -0
  347. casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
  348. casadi/libcasadi_rootfinder_kinsol.so +0 -0
  349. casadi/libcasadi_rootfinder_kinsol.so.3.7 +0 -0
  350. casadi/libcasadi_rootfinder_newton.so +0 -0
  351. casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
  352. casadi/libcasadi_rootfinder_nlpsol.so +0 -0
  353. casadi/libcasadi_rootfinder_nlpsol.so.3.7 +0 -0
  354. casadi/libcasadi_sundials_common.so +0 -0
  355. casadi/libcasadi_sundials_common.so.3.7 +0 -0
  356. casadi/libcasadi_xmlfile_tinyxml.so +0 -0
  357. casadi/libcasadi_xmlfile_tinyxml.so.3.7 +0 -0
  358. casadi/libcoinmumps.so +0 -0
  359. casadi/libcoinmumps.so.3 +0 -0
  360. casadi/libcoinmumps.so.3.0.1 +0 -0
  361. casadi/libdaqpstat.a +0 -0
  362. casadi/libfatrop.so +0 -0
  363. casadi/libhighs.so +0 -0
  364. casadi/libhighs.so.1 +0 -0
  365. casadi/libhighs.so.1.10.0 +0 -0
  366. casadi/libindirect.a +0 -0
  367. casadi/libipopt.so +0 -0
  368. casadi/libipopt.so.3 +0 -0
  369. casadi/libipopt.so.3.14.11 +0 -0
  370. casadi/liblinsys.a +0 -0
  371. casadi/libosqp.a +0 -0
  372. casadi/libqdldl.a +0 -0
  373. casadi/libsipopt.so +0 -0
  374. casadi/libsipopt.so.3 +0 -0
  375. casadi/libsipopt.so.3.14.11 +0 -0
  376. casadi/libsleqp.so +0 -0
  377. casadi/libsleqp.so.1.0.1 +0 -0
  378. casadi/libspral.a +0 -0
  379. casadi/libsuperscs.a +0 -0
  380. casadi/libz.a +0 -0
  381. casadi/libz.so +0 -0
  382. casadi/libz.so.1 +0 -0
  383. casadi/libz.so.1.3.1 +0 -0
  384. casadi/libzip.a +0 -0
  385. casadi/pkgconfig/casadi.pc +1 -1
  386. casadi/pkgconfig/highs.pc +1 -1
  387. casadi/pkgconfig/libzip.pc +14 -0
  388. casadi/tools/__init__.py +3 -1
  389. casadi/tools/graph/graph.py +1 -1
  390. casadi/tools/structure3.py +2 -2
  391. {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/METADATA +1 -1
  392. {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/RECORD +392 -360
  393. casadi/cmake/proxsuite/find-external/Simde/FindSimde.cmake +0 -39
  394. casadi/cmake/proxsuite/proxsuiteConfig.cmake +0 -177
  395. casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +0 -70
  396. casadi/cmake/proxsuite/proxsuiteTargets.cmake +0 -115
  397. casadi/cmake/trlib/trlib-config-release.cmake +0 -19
  398. casadi/cmake/trlib/trlib-config-version.cmake +0 -88
  399. casadi/include/tinyxml2.h +0 -2380
  400. casadi/lib64/cmake/tinyxml2/tinyxml2-config-version.cmake +0 -70
  401. casadi/lib64/cmake/tinyxml2/tinyxml2-config.cmake +0 -57
  402. casadi/lib64/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +0 -19
  403. casadi/lib64/cmake/tinyxml2/tinyxml2-static-targets.cmake +0 -103
  404. casadi/lib64/libtinyxml2.a +0 -0
  405. casadi/lib64/pkgconfig/tinyxml2.pc +0 -10
  406. casadi/pkgconfig/proxsuite.pc +0 -22
  407. casadi/tools/structure.py +0 -1446
  408. {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/WHEEL +0 -0
@@ -25,20 +25,20 @@
25
25
  #define CASADI_CONFIG_H // NOLINT(build/header_guard)
26
26
 
27
27
  #define CASADI_MAJOR_VERSION 3
28
- #define CASADI_MINOR_VERSION 6
29
- #define CASADI_PATCH_VERSION 7
28
+ #define CASADI_MINOR_VERSION 7
29
+ #define CASADI_PATCH_VERSION 0
30
30
  #define CASADI_IS_RELEASE 1
31
- #define CASADI_VERSION_STRING "3.6.7"
32
- #define CASADI_GIT_REVISION "a2d71bf95dbd3fa5f6725504bcba67dd52869d91" // NOLINT(whitespace/line_length)
33
- #define CASADI_GIT_DESCRIBE "3.6.3-327.a2d71bf95" // NOLINT(whitespace/line_length)
34
- #define CASADI_FEATURE_LIST "\n * dynamic-loading, Support for import of FMI 2.0 binaries\n * sundials-interface, Interface to the ODE/DAE integrator suite SUNDIALS.\n * csparse-interface, Interface to the sparse direct linear solver CSparse.\n * superscs-interface, Interface to QP solver SUPERSCS.\n * osqp-interface, Interface to QP solver OSQP.\n * tinyxml-interface, Interface to the XML parser TinyXML.\n * qpoases-interface, Interface to the active-set QP solver qpOASES.\n * blocksqp-interface, Interface to the NLP solver blockSQP.\n * cplex-mockup-build, Use mockup CPLEX (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * snopt-mockup-build, Use mockup SNOPT (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * knitro-mockup-build, Use mockup KNITRO (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * gurobi-mockup-build, Use mockup GUROBI (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * worhp-mockup-build, Use mockup WORHP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * hsl-mockup-build, Use mockup WORHP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * madnlp-mockup-build, Use mockup MadNLP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * alpaqa-sourcebuild, Build Alpaqa (BUILD_ALPAQA_VERSION=develop) from downloaded source (BUILD_ALPAQA_GIT_REPO=https://github.com/jgillis/alpaqa).\n * highs-sourcebuild, Build HiGHS (BUILD_HIGHS_VERSION=v1.7.2) from downloaded source (BUILD_HIGHS_GIT_REPO=https://github.com/ERGO-Code/HiGHS).\n * daqp-sourcebuild, Build DAQP (BUILD_DAQP_VERSION=master) from downloaded source (BUILD_DAQP_GIT_REPO=https://github.com/jgillis/daqp.git).\n * proxqp-sourcebuild, Build PROXQP (BUILD_PROXQP_VERSION=v0.3.2) from downloaded source (BUILD_PROXQP_GIT_REPO=https://github.com/Simple-Robotics/proxsuite.git).\n * osqp-sourcebuild, Build OSQP (BUILD_OSQP_VERSION=v0.6.3) from downloaded source (BUILD_OSQP_GIT_REPO=https://github.com/osqp/osqp.git).\n * superscs-sourcebuild, Build SuperSCS (BUILD_SUPERSCS_VERSION=4d2d1bd03ed4cf93e684a880b233760ce34ca69c) from downloaded source (BUILD_SUPERSCS_GIT_REPO=https://github.com/jgillis/scs.git).\n * sleqp-sourcebuild, Build SLEQP (BUILD_SLEQP_VERSION=patch-1) from downloaded source (BUILD_SLEQP_GIT_REPO=https://github.com/jgillis/sleqp.git).\n * bonmin-sourcebuild, Build BONMIN (BUILD_BONMIN_VERSION=releases/1.8.9) from downloaded source (BUILD_BONMIN_GIT_REPO=https://github.com/coin-or/Bonmin.git).\n * ipopt-sourcebuild, Build IPOPT (BUILD_IPOPT_VERSION=3.14.11.mod) from downloaded source (BUILD_IPOPT_GIT_REPO=https://github.com/jgillis/Ipopt-1.git).\n * cbc-sourcebuild, Build CBC (BUILD_CBC_VERSION=releases/2.10.11) from downloaded source.\n * clp-sourcebuild, Build CLP (BUILD_CLP_VERSION=releases/1.17.9) from downloaded source (BUILD_CLP_GIT_REPO=https://github.com/coin-or/Clp.git).\n * mumps-sourcebuild, Build MUMPS (BUILD_MUMPS_TP_VERSION=releases/3.0.2) from downloaded source (BUILD_MUMPS_TP_GIT_REPO=https://github.com/coin-or-tools/ThirdParty-Mumps.git).\n * spral-sourcebuild, Build SPRAL (BUILD_SPRAL_VERSION=d385d2c9e858366d257cafaaf05760ffa6543e26) from downloaded source (BUILD_SPRAL_GIT_REPO=https://github.com/ralna/spral.git).\n * metis-sourcebuild, Build METIS (BUILD_METIS_TP_VERSION=6997f64) from downloaded source.\n * fatrop-sourcebuild, Build FATROP (BUILD_FATROP_VERSION=3c09fcd) from downloaded source (BUILD_FATROP_GIT_REPO=https://github.com/meco-group/fatrop.git).\n * hpipm-sourcebuild, Build HPIPM (BUILD_HPIPM_VERSION=0e0c9f4e0d4081dceafa9b37c396db50bce0e81a) from downloaded source (BUILD_HPIPM_GIT_REPO=https://github.com/jgillis/hpipm.git).\n * trlib-sourcebuild, Build TRLIB (BUILD_TRLIB_VERSION=c7632b8b14152e78bc21721a3bd1a2432586b824) from downloaded source (BUILD_TRLIB_GIT_REPO=https://github.com/jgillis/trlib.git).\n * blasfeo-sourcebuild, Build BLASFEO (BUILD_BLASFEO_VERSION=edf92b396adddd9e548b9786f87ad290a0971329) from downloaded source (BUILD_BLASFEO_GIT_REPO=https://github.com/giaf/blasfeo.git).\n * lapack-sourcebuild, Download and install OpenBLAS for LAPACK+BLAS\n * eigen3-sourcebuild, Build Eigen (BUILD_EIGEN3_VERSION=3.4.0) from downloaded source (BUILD_EIGEN3_GIT_REPO=https://gitlab.com/libeigen/eigen.git).\n * simde-sourcebuild, Build Simde (BUILD_SIMDE_VERSION=v0.7.2) from downloaded source (BUILD_SIMDE_GIT_REPO=https://github.com/simd-everywhere/simde.git).\n * cplex-interface, Interface to the QP solver CPLEX.\n * gurobi-interface, Interface to the (mixed-integer) QP solver GUROBI\n * knitro-interface, Interface to the NLP solver KNITRO.\n * madnlp-interface, Interface to the NLP solver MadNLP.\n * snopt-interface, Interface to the NLP solver KNITRO.\n * worhp-interface, Interface to the NLP solver Worhp (requires gfortran, gomp).\n * lapack-interface, Interface to LAPACK.\n * mumps-interface, Interface to MUMPS.\n * spral-interface, Interface to SPRAL.\n * coinutils-sourcebuild, Build COINUTILS (BUILD_COINUTILS_VERSION=releases/2.11.10) from downloaded source.\n * osi-sourcebuild, Build OSI (BUILD_OSI_VERSION=releases/0.108.9) from downloaded source.\n * clp-interface, Interface to the LP solver CLP.\n * cgl-sourcebuild, Build CGL (BUILD_CGL_VERSION=releases/0.60.8) from downloaded source.\n * cbc-interface, Interface to the LP solver CBC.\n * ipopt-interface, Interface to the NLP solver Ipopt.\n * bonmin-interface, Interface to the MINLP framework Bonmin.\n * highs-interface, Interface to the MILP / QP solver HiGHS.\n * daqp-interface, Interface to the MILP / QP solver HiGHS.\n * sleqp-interface, Interface to the NLP solver SLEQP.\n * alpaqa-interface, Interface to the NLP solver Alpaqa.\n * proxqp-interface, Interface to QP solver PROXQP.\n * ampl-interface, Interface to the AMPL solver library.\n" // NOLINT(whitespace/line_length)
31
+ #define CASADI_VERSION_STRING "3.7.0"
32
+ #define CASADI_GIT_REVISION "1f5f284959d3c7591033b4ff03947ca7a44b3b11" // NOLINT(whitespace/line_length)
33
+ #define CASADI_GIT_DESCRIBE "3.6.3-975.1f5f28495" // NOLINT(whitespace/line_length)
34
+ #define CASADI_FEATURE_LIST "\n * dynamic-loading, Support for import of FMI 3.0 binaries\n * sundials-interface, Interface to the ODE/DAE integrator suite SUNDIALS.\n * csparse-interface, Interface to the sparse direct linear solver CSparse.\n * superscs-interface, Interface to QP solver SUPERSCS.\n * osqp-interface, Interface to QP solver OSQP.\n * tinyxml-interface, Interface to the XML parser TinyXML.\n * qpoases-interface, Interface to the active-set QP solver qpOASES.\n * blocksqp-interface, Interface to the NLP solver blockSQP.\n * cplex-mockup-build, Use mockup CPLEX (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * snopt-mockup-build, Use mockup SNOPT (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * knitro-mockup-build, Use mockup KNITRO (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * gurobi-mockup-build, Use mockup GUROBI (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * worhp-mockup-build, Use mockup WORHP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * hsl-mockup-build, Use mockup WORHP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * madnlp-mockup-build, Use mockup MadNLP (BUILD_MOCKUPS_VERSION=master) from downloaded source (BUILD_MOCKUPS_GIT_REPO=https://github.com/casadi/mockups.git).\n * alpaqa-sourcebuild, Build Alpaqa (BUILD_ALPAQA_VERSION=develop) from downloaded source (BUILD_ALPAQA_GIT_REPO=https://github.com/jgillis/alpaqa).\n * highs-sourcebuild, Build HiGHS (BUILD_HIGHS_VERSION=v1.10.0) from downloaded source (BUILD_HIGHS_GIT_REPO=https://github.com/ERGO-Code/HiGHS).\n * daqp-sourcebuild, Build DAQP (BUILD_DAQP_VERSION=master) from downloaded source (BUILD_DAQP_GIT_REPO=https://github.com/jgillis/daqp.git).\n * proxqp-sourcebuild, Build PROXQP (BUILD_PROXQP_VERSION=v0.3.2) from downloaded source (BUILD_PROXQP_GIT_REPO=https://github.com/Simple-Robotics/proxsuite.git).\n * osqp-sourcebuild, Build OSQP (BUILD_OSQP_VERSION=v0.6.3) from downloaded source (BUILD_OSQP_GIT_REPO=https://github.com/osqp/osqp.git).\n * superscs-sourcebuild, Build SuperSCS (BUILD_SUPERSCS_VERSION=4d2d1bd03ed4cf93e684a880b233760ce34ca69c) from downloaded source (BUILD_SUPERSCS_GIT_REPO=https://github.com/jgillis/scs.git).\n * sleqp-sourcebuild, Build SLEQP (BUILD_SLEQP_VERSION=patch-1) from downloaded source (BUILD_SLEQP_GIT_REPO=https://github.com/jgillis/sleqp.git).\n * bonmin-sourcebuild, Build BONMIN (BUILD_BONMIN_VERSION=releases/1.8.9) from downloaded source (BUILD_BONMIN_GIT_REPO=https://github.com/coin-or/Bonmin.git).\n * ipopt-sourcebuild, Build IPOPT (BUILD_IPOPT_VERSION=3.14.11.mod) from downloaded source (BUILD_IPOPT_GIT_REPO=https://github.com/jgillis/Ipopt-1.git).\n * cbc-sourcebuild, Build CBC (BUILD_CBC_VERSION=releases/2.10.11) from downloaded source.\n * clp-sourcebuild, Build CLP (BUILD_CLP_VERSION=releases/1.17.9) from downloaded source (BUILD_CLP_GIT_REPO=https://github.com/coin-or/Clp.git).\n * mumps-sourcebuild, Build MUMPS (BUILD_MUMPS_TP_VERSION=releases/3.0.2) from downloaded source (BUILD_MUMPS_TP_GIT_REPO=https://github.com/coin-or-tools/ThirdParty-Mumps.git).\n * spral-sourcebuild, Build SPRAL (BUILD_SPRAL_VERSION=d385d2c9e858366d257cafaaf05760ffa6543e26) from downloaded source (BUILD_SPRAL_GIT_REPO=https://github.com/ralna/spral.git).\n * metis-sourcebuild, Build METIS (BUILD_METIS_TP_VERSION=6997f64) from downloaded source.\n * fatrop-sourcebuild, Build FATROP (BUILD_FATROP_VERSION=v0.0.4.post1) from downloaded source (BUILD_FATROP_GIT_REPO=https://github.com/meco-group/fatrop.git).\n * hpipm-sourcebuild, Build HPIPM (BUILD_HPIPM_VERSION=0e0c9f4e0d4081dceafa9b37c396db50bce0e81a) from downloaded source (BUILD_HPIPM_GIT_REPO=https://github.com/jgillis/hpipm.git).\n * trlib-sourcebuild, Build TRLIB (BUILD_TRLIB_VERSION=c7632b8b14152e78bc21721a3bd1a2432586b824) from downloaded source (BUILD_TRLIB_GIT_REPO=https://github.com/jgillis/trlib.git).\n * blasfeo-sourcebuild, Build BLASFEO (BUILD_BLASFEO_VERSION=edf92b396adddd9e548b9786f87ad290a0971329) from downloaded source (BUILD_BLASFEO_GIT_REPO=https://github.com/giaf/blasfeo.git).\n * lapack-sourcebuild, Download and install OpenBLAS for LAPACK+BLAS\n * eigen3-sourcebuild, Build Eigen (BUILD_EIGEN3_VERSION=3.4.0) from downloaded source (BUILD_EIGEN3_GIT_REPO=https://gitlab.com/libeigen/eigen.git).\n * simde-sourcebuild, Build Simde (BUILD_SIMDE_VERSION=v0.7.2) from downloaded source.\n * libzip-sourcebuild, Build LIBZIP (BUILD_LIBZIP_VERSION=v1.11.3) from downloaded source (BUILD_LIBZIP_GIT_REPO=https://github.com/nih-at/libzip).\n * zlib-sourcebuild, Build ZLIB (BUILD_ZLIB_VERSION=v1.3.1) from downloaded source (BUILD_ZLIB_GIT_REPO=https://github.com/madler/zlib).\n * cplex-interface, Interface to the QP solver CPLEX.\n * gurobi-interface, Interface to the (mixed-integer) QP solver GUROBI\n * knitro-interface, Interface to the NLP solver KNITRO.\n * madnlp-interface, Interface to the NLP solver MadNLP.\n * snopt-interface, Interface to the NLP solver KNITRO.\n * worhp-interface, Interface to the NLP solver Worhp (requires gfortran, gomp).\n * lapack-interface, Interface to LAPACK.\n * mumps-interface, Interface to MUMPS.\n * spral-interface, Interface to SPRAL.\n * coinutils-sourcebuild, Build COINUTILS (BUILD_COINUTILS_VERSION=releases/2.11.10) from downloaded source.\n * osi-sourcebuild, Build OSI (BUILD_OSI_VERSION=releases/0.108.9) from downloaded source.\n * clp-interface, Interface to the LP solver CLP.\n * cgl-sourcebuild, Build CGL (BUILD_CGL_VERSION=releases/0.60.8) from downloaded source.\n * cbc-interface, Interface to the LP solver CBC.\n * ipopt-interface, Interface to the NLP solver Ipopt.\n * bonmin-interface, Interface to the MINLP framework Bonmin.\n * highs-interface, Interface to the MILP / QP solver HiGHS.\n * daqp-interface, Interface to the MILP / QP solver HiGHS.\n * sleqp-interface, Interface to the NLP solver SLEQP.\n * alpaqa-interface, Interface to the NLP solver Alpaqa.\n * proxqp-interface, Interface to QP solver PROXQP.\n * ampl-interface, Interface to the AMPL solver library.\n * zlib-interface, Interface to the zlib.\n * libzip-interface, Interface to the libzip.\n * ghc-filesystem-interface, Interface to the ghc.\n" // NOLINT(whitespace/line_length)
35
35
  #define CASADI_BUILD_TYPE "Release" // NOLINT(whitespace/line_length)
36
36
  #define CASADI_COMPILER_ID "GNU" // NOLINT(whitespace/line_length)
37
- #define CASADI_COMPILER "/opt/rh/devtoolset-10/root/usr/bin/g++" // NOLINT(whitespace/line_length)
38
- #define CASADI_COMPILER_FLAGS " -pthread -fPIC -DUSE_CXX11 -DHAVE_MKSTEMPS -DCASADI_WITH_THREAD -DWITH_DEEPBIND -DCASADI_MAJOR_VERSION=3 -DCASADI_MINOR_VERSION=6 -DCASADI_PATCH_VERSION=7 -DCASADI_IS_RELEASE=1 -DCASADI_VERSION=31 -D_USE_MATH_DEFINES -D_SCL_SECURE_NO_WARNINGS -DWITH_DL -DWITH_DEPRECATED_FEATURES -DCASADI_DEFAULT_COMPILER_PLUGIN=shell" // NOLINT(whitespace/line_length)
39
- #define CASADI_MODULES "casadi;casadi_linsol_lapacklu;casadi_linsol_lapackqr;casadi_sundials_common;casadi_integrator_cvodes;casadi_integrator_idas;casadi_rootfinder_kinsol;casadi_nlpsol_sleqp;casadi_nlpsol_ipopt;casadi_nlpsol_madnlp;casadi_nlpsol_bonmin;casadi_conic_qpoases;casadi_nlpsol_knitro;casadi_conic_cplex;casadi_conic_clp;casadi_conic_cbc;casadi_linsol_csparse;casadi_linsol_csparsecholesky;casadi_conic_highs;casadi_conic_daqp;casadi_linsol_ma27;casadi_linsol_mumps;casadi_conic_gurobi;casadi_nlpsol_worhp;casadi_nlpsol_snopt;casadi_xmlfile_tinyxml;casadi_nlpsol_blocksqp;casadi_conic_hpipm;casadi_conic_fatrop;casadi_nlpsol_fatrop;casadi_conic_superscs;casadi_nlpsol_ampl;casadi_conic_proxqp;casadi_conic_osqp;casadi_nlpsol_alpaqa;casadi_conic_nlpsol;casadi_conic_qrqp;casadi_conic_ipqp;casadi_nlpsol_qrsqp;casadi_importer_shell;casadi_integrator_rk;casadi_integrator_collocation;casadi_interpolant_linear;casadi_interpolant_bspline;casadi_linsol_symbolicqr;casadi_linsol_qr;casadi_linsol_ldl;casadi_linsol_tridiag;casadi_linsol_lsqr;casadi_nlpsol_sqpmethod;casadi_nlpsol_feasiblesqpmethod;casadi_nlpsol_scpgen;casadi_rootfinder_newton;casadi_rootfinder_fast_newton;casadi_rootfinder_nlpsol" // NOLINT(whitespace/line_length)
40
- #define CASADI_PLUGINS "Linsol::lapacklu;Linsol::lapackqr;Integrator::cvodes;Integrator::idas;Rootfinder::kinsol;Nlpsol::sleqp;Nlpsol::ipopt;Nlpsol::madnlp;Nlpsol::bonmin;Conic::qpoases;Nlpsol::knitro;Conic::cplex;Conic::clp;Conic::cbc;Linsol::csparse;Linsol::csparsecholesky;Conic::highs;Conic::daqp;Linsol::ma27;Linsol::mumps;Conic::gurobi;Nlpsol::worhp;Nlpsol::snopt;XmlFile::tinyxml;Nlpsol::blocksqp;Conic::hpipm;Conic::fatrop;Nlpsol::fatrop;Conic::superscs;Nlpsol::ampl;Conic::proxqp;Conic::osqp;Nlpsol::alpaqa;Conic::nlpsol;Conic::qrqp;Conic::ipqp;Nlpsol::qrsqp;Importer::shell;Integrator::rk;Integrator::collocation;Interpolant::linear;Interpolant::bspline;Linsol::symbolicqr;Linsol::qr;Linsol::ldl;Linsol::tridiag;Linsol::lsqr;Nlpsol::sqpmethod;Nlpsol::feasiblesqpmethod;Nlpsol::scpgen;Rootfinder::newton;Rootfinder::fast_newton;Rootfinder::nlpsol" // NOLINT(whitespace/line_length)
41
- #define CASADI_INSTALL_PREFIX "/usr/local" // NOLINT(whitespace/line_length)
37
+ #define CASADI_COMPILER "g++" // NOLINT(whitespace/line_length)
38
+ #define CASADI_COMPILER_FLAGS " -pthread -fPIC -DUSE_CXX11 -DHAVE_MKSTEMPS -DWITH_DEEPBIND -DCASADI_MAJOR_VERSION=3 -DCASADI_MINOR_VERSION=7 -DCASADI_PATCH_VERSION=0 -DCASADI_IS_RELEASE=1 -DCASADI_VERSION=31 -D_USE_MATH_DEFINES -D_SCL_SECURE_NO_WARNINGS -DWITH_DL -DWITH_DEPRECATED_FEATURES -DCASADI_DEFAULT_COMPILER_PLUGIN=shell -DCASADI_SNPRINTF=snprintf -DCASADI_WITH_THREADSAFE_SYMBOLICS -DCASADI_WITH_THREAD" // NOLINT(whitespace/line_length)
39
+ #define CASADI_MODULES "casadi;casadi_linsol_lapacklu;casadi_linsol_lapackqr;casadi_sundials_common;casadi_integrator_cvodes;casadi_integrator_idas;casadi_rootfinder_kinsol;casadi_nlpsol_sleqp;casadi_nlpsol_ipopt;casadi_nlpsol_madnlp;casadi_nlpsol_bonmin;casadi_conic_qpoases;casadi_nlpsol_knitro;casadi_conic_cplex;casadi_conic_clp;casadi_conic_cbc;casadi_linsol_csparse;casadi_linsol_csparsecholesky;casadi_conic_highs;casadi_conic_daqp;casadi_linsol_ma27;casadi_linsol_mumps;casadi_conic_gurobi;casadi_nlpsol_worhp;casadi_nlpsol_snopt;casadi_xmlfile_tinyxml;casadi_nlpsol_blocksqp;casadi_conic_hpipm;casadi_conic_fatrop;casadi_nlpsol_fatrop;casadi_conic_superscs;casadi_nlpsol_ampl;casadi_conic_proxqp;casadi_conic_osqp;casadi_nlpsol_alpaqa;casadi_archiver_libzip;casadi_filesystem_ghc;casadi_conic_nlpsol;casadi_conic_qrqp;casadi_conic_ipqp;casadi_nlpsol_qrsqp;casadi_importer_shell;casadi_integrator_rk;casadi_integrator_collocation;casadi_interpolant_linear;casadi_interpolant_bspline;casadi_linsol_symbolicqr;casadi_linsol_qr;casadi_linsol_ldl;casadi_linsol_tridiag;casadi_linsol_lsqr;casadi_nlpsol_sqpmethod;casadi_nlpsol_feasiblesqpmethod;casadi_nlpsol_scpgen;casadi_rootfinder_newton;casadi_rootfinder_fast_newton;casadi_rootfinder_nlpsol" // NOLINT(whitespace/line_length)
40
+ #define CASADI_PLUGINS "Linsol::lapacklu;Linsol::lapackqr;Integrator::cvodes;Integrator::idas;Rootfinder::kinsol;Nlpsol::sleqp;Nlpsol::ipopt;Nlpsol::madnlp;Nlpsol::bonmin;Conic::qpoases;Nlpsol::knitro;Conic::cplex;Conic::clp;Conic::cbc;Linsol::csparse;Linsol::csparsecholesky;Conic::highs;Conic::daqp;Linsol::ma27;Linsol::mumps;Conic::gurobi;Nlpsol::worhp;Nlpsol::snopt;XmlFile::tinyxml;Nlpsol::blocksqp;Conic::hpipm;Conic::fatrop;Nlpsol::fatrop;Conic::superscs;Nlpsol::ampl;Conic::proxqp;Conic::osqp;Nlpsol::alpaqa;Archiver::libzip;Filesystem::ghc;Conic::nlpsol;Conic::qrqp;Conic::ipqp;Nlpsol::qrsqp;Importer::shell;Integrator::rk;Integrator::collocation;Interpolant::linear;Interpolant::bspline;Linsol::symbolicqr;Linsol::qr;Linsol::ldl;Linsol::tridiag;Linsol::lsqr;Nlpsol::sqpmethod;Nlpsol::feasiblesqpmethod;Nlpsol::scpgen;Rootfinder::newton;Rootfinder::fast_newton;Rootfinder::nlpsol" // NOLINT(whitespace/line_length)
41
+ #define CASADI_INSTALL_PREFIX "" // NOLINT(whitespace/line_length)
42
42
  #define CASADI_SHARED_LIBRARY_PREFIX "lib" // NOLINT(whitespace/line_length)
43
43
  #define CASADI_SHARED_LIBRARY_SUFFIX ".so" // NOLINT(whitespace/line_length)
44
44
  #define CASADI_OBJECT_FILE_SUFFIX ".o" // NOLINT(whitespace/line_length)
@@ -0,0 +1,58 @@
1
+ /*
2
+ * This file is part of CasADi.
3
+ *
4
+ * CasADi -- A symbolic framework for dynamic optimization.
5
+ * Copyright (C) 2010-2023 Joel Andersson, Joris Gillis, Moritz Diehl,
6
+ * KU Leuven. All rights reserved.
7
+ * Copyright (C) 2011-2014 Greg Horn
8
+ *
9
+ * CasADi is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or (at your option) any later version.
13
+ *
14
+ * CasADi is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with CasADi; if not, write to the Free Software
21
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
+ *
23
+ */
24
+
25
+
26
+ #ifndef CASADI_ARCHIVER_HPP
27
+ #define CASADI_ARCHIVER_HPP
28
+
29
+ #include <casadi/core/casadi_export.h>
30
+ #include <string>
31
+
32
+ namespace casadi {
33
+
34
+ /** \defgroup main_archiver Title
35
+ \par
36
+
37
+
38
+ \generalsection{Archiver}
39
+ \pluginssection{Archiver}
40
+
41
+ \author Joris Gillis
42
+ \date 2025
43
+
44
+ \identifier{2da} */
45
+
46
+ /// Check if a particular plugin is available
47
+ CASADI_EXPORT bool has_archiver(const std::string& name);
48
+
49
+ /// Explicitly load a plugin dynamically
50
+ CASADI_EXPORT void load_archiver(const std::string& name);
51
+
52
+ /// Get the documentation string for a plugin
53
+ CASADI_EXPORT std::string doc_archiver(const std::string& name);
54
+
55
+ } // namespace casadi
56
+
57
+
58
+ #endif // CASADI_ARCHIVER_HPP
@@ -0,0 +1,47 @@
1
+ /*
2
+ * This file is part of CasADi.
3
+ *
4
+ * CasADi -- A symbolic framework for dynamic optimization.
5
+ * Copyright (C) 2010-2023 Joel Andersson, Joris Gillis, Moritz Diehl,
6
+ * KU Leuven. All rights reserved.
7
+ * Copyright (C) 2011-2014 Greg Horn
8
+ *
9
+ * CasADi is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 3 of the License, or (at your option) any later version.
13
+ *
14
+ * CasADi is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with CasADi; if not, write to the Free Software
21
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
+ *
23
+ */
24
+
25
+
26
+ #ifndef CASADI_BLAZING_SPLINE_FUNCTION_HPP
27
+ #define CASADI_BLAZING_SPLINE_FUNCTION_HPP
28
+
29
+ #include "function.hpp"
30
+
31
+ namespace casadi {
32
+ /** \brief Construct a specialized parametric BSpline
33
+ *
34
+ * Specialized in these ways:
35
+ * - order 3 is assumed
36
+ * - up to dimension 3 supported
37
+ * - a single scalar output (m=1)
38
+ *
39
+
40
+ \identifier{2b9} */
41
+ CASADI_EXPORT Function blazing_spline(const std::string& name,
42
+ const std::vector< std::vector<double> >& knots,
43
+ const Dict& opts=Dict());
44
+
45
+ } // namespace casadi
46
+
47
+ #endif // CASADI_BLAZING_SPLINE_FUNCTION_HPP
@@ -483,8 +483,6 @@ namespace casadi {
483
483
  template<> struct F0XChecker<OP_MUL>{ static const bool check=true;};
484
484
  template<> struct F0XChecker<OP_DIV>{ static const bool check=true;};
485
485
  template<> struct F0XChecker<OP_NEG>{ static const bool check=true;};
486
- template<> struct F0XChecker<OP_POW>{ static const bool check=true;};
487
- template<> struct F0XChecker<OP_CONSTPOW>{ static const bool check=true;};
488
486
  template<> struct F0XChecker<OP_SQRT>{ static const bool check=true;};
489
487
  template<> struct F0XChecker<OP_SQ>{ static const bool check=true;};
490
488
  template<> struct F0XChecker<OP_TWICE>{ static const bool check=true;};
@@ -1156,6 +1154,11 @@ namespace casadi {
1156
1154
  \identifier{1gb} */
1157
1155
  static inline void derF(unsigned char op, const T& x, const T& y, T& f, T* d);
1158
1156
 
1157
+ /** \brief Evaluate function on a const/linear/nonlinear partition
1158
+
1159
+ \identifier{28f} */
1160
+ static inline void fun_linear(unsigned char op, const T*x, const T* y, T* f);
1161
+
1159
1162
  /** \brief Is binary operation?
1160
1163
 
1161
1164
  \identifier{1gc} */
@@ -1545,6 +1548,56 @@ case OP_HYPOT: DerBinaryOperation<OP_HYPOT>::derf(X, Y, F, D); break;
1545
1548
  case OP_LOG1P: \
1546
1549
  case OP_EXPM1:
1547
1550
 
1551
+ template<typename T>
1552
+ inline void casadi_math<T>::fun_linear(unsigned char op, const T* x, const T* y, T* f) {
1553
+ if (op==OP_ADD || op==OP_SUB) {
1554
+ for (int i=0;i<3;++i) {
1555
+ f[i] = T::binary(op, x[i], y[i]);
1556
+ }
1557
+ } else if (op==OP_TWICE || op==OP_NEG) {
1558
+ for (int i=0;i<3;++i) {
1559
+ f[i] = T::unary(op, x[i]);
1560
+ }
1561
+ } else if (op==OP_MUL) {
1562
+ f[0] += x[0]*y[0];
1563
+ f[1] += x[0]*y[1];
1564
+ f[2] += x[0]*y[2];
1565
+ f[1] += x[1]*y[0];
1566
+ f[2] += x[1]*y[1];
1567
+ f[2] += x[1]*y[2];
1568
+ f[2] += x[2]*y[0];
1569
+ f[2] += x[2]*y[1];
1570
+ f[2] += x[2]*y[2];
1571
+ } else if (op==OP_DIV) {
1572
+ bool const_argy = y[1].is_zero() && y[2].is_zero();
1573
+ if (const_argy) {
1574
+ f[0] = x[0]/y[0];
1575
+ f[1] = x[1]/y[0];
1576
+ f[2] = x[2]/y[0];
1577
+ } else {
1578
+ f[2] = (x[0]+x[1]+x[2])/(y[0]+y[1]+y[2]);
1579
+ }
1580
+ } else if (casadi_math<T>::is_unary(op)) {
1581
+ bool const_arg = x[1].is_zero() && x[2].is_zero();
1582
+ if (const_arg) {
1583
+ f[0] = T::unary(op, x[0]);
1584
+ } else {
1585
+ f[2] = T::unary(op, x[0]+x[1]+x[2]);
1586
+ }
1587
+
1588
+ } else if (casadi_math<T>::is_binary(op)) {
1589
+ bool const_argx = x[1].is_zero() && x[2].is_zero();
1590
+ bool const_argy = y[1].is_zero() && y[2].is_zero();
1591
+ if (const_argx && const_argy) {
1592
+ f[0] = T::binary(op, x[0], y[0]);
1593
+ } else {
1594
+ f[2] = T::binary(op, x[0]+x[1]+x[2], y[0]+y[1]+y[2]);
1595
+ }
1596
+ } else {
1597
+ casadi_error("Not implemented");
1598
+ }
1599
+ }
1600
+
1548
1601
  template<typename T>
1549
1602
  bool casadi_math<T>::is_binary(unsigned char op) {
1550
1603
  switch (op) {
@@ -1576,6 +1629,8 @@ case OP_HYPOT: DerBinaryOperation<OP_HYPOT>::derf(X, Y, F, D); break;
1576
1629
  CASADI_MATH_BINARY_BUILTIN
1577
1630
  case OP_IF_ELSE_ZERO:
1578
1631
  return 2;
1632
+ case OP_CALL:
1633
+ return -1;
1579
1634
  default:
1580
1635
  return 1;
1581
1636
  }
@@ -183,6 +183,9 @@ namespace casadi {
183
183
  template<typename T2>
184
184
  std::string str(const std::map<std::string, T2> &p, bool more=false);
185
185
 
186
+ /// String representation of an array
187
+ template<typename T, size_t N>
188
+ std::string str(const std::array<T, N> &p, bool more=false);
186
189
 
187
190
  //! \brief Create a list of strings from __VA_ARGS__, no argument
188
191
  inline std::vector<std::string> strvec() {
@@ -309,8 +312,42 @@ namespace casadi {
309
312
  ss << "}";
310
313
  return ss.str();
311
314
  }
315
+
316
+ template<typename T, size_t N>
317
+ std::string str(const std::array<T, N> &v, bool more) {
318
+ std::stringstream ss;
319
+ ss << "[";
320
+ for (casadi_int i=0; i<N; ++i) {
321
+ if (i!=0) ss << ", ";
322
+ ss << v[i];
323
+ }
324
+ ss << "]";
325
+ return ss.str();
326
+ }
327
+
312
328
  #endif // SWIG
313
329
 
330
+ template<typename _Mutex>
331
+ class conditional_lock_guard {
332
+ public:
333
+ typedef _Mutex mutex_type;
334
+
335
+ conditional_lock_guard(mutex_type& m, bool condition) : mtx_(m), condition_(condition) {
336
+ if (condition_) mtx_.lock();
337
+ }
338
+
339
+ ~conditional_lock_guard() {
340
+ if (condition_) mtx_.unlock();
341
+ }
342
+
343
+ conditional_lock_guard(const conditional_lock_guard&) = delete;
344
+ conditional_lock_guard& operator=(const conditional_lock_guard&) = delete;
345
+
346
+ private:
347
+ mutex_type& mtx_;
348
+ bool condition_;
349
+ };
350
+
314
351
  } // namespace casadi
315
352
 
316
353
  #include "casadi_logger.hpp"
@@ -100,6 +100,21 @@ namespace casadi {
100
100
 
101
101
  \identifier{j9} */
102
102
  static const char* install_prefix();
103
+
104
+ /** \brief Obtain shared library prefix
105
+
106
+ \identifier{2be} */
107
+ static const char* shared_library_prefix();
108
+
109
+ /** \brief Obtain shared library suffix
110
+
111
+ \identifier{2bf} */
112
+ static const char* shared_library_suffix();
113
+
114
+ /** \brief Obtain object file suffix
115
+
116
+ \identifier{2bg} */
117
+ static const char* object_file_suffix();
103
118
  };
104
119
 
105
120
  } // namespace casadi
@@ -487,6 +487,13 @@ namespace std {
487
487
  return stream;
488
488
  }
489
489
 
490
+ /// Enables flushing an std::vector to a stream (prints representation)
491
+ template<typename T, size_t N>
492
+ ostream& operator<<(ostream& stream, const array<T, N>& v) {
493
+ stream << casadi::str(v);
494
+ return stream;
495
+ }
496
+
490
497
  /// Enables flushing an std::set to a stream (prints representation)
491
498
  template<typename T>
492
499
  ostream& operator<<(ostream& stream, const set<T>& v) {
@@ -82,11 +82,19 @@ namespace casadi {
82
82
  /// Add/get a shorthand
83
83
  std::string shorthand(const std::string& name, bool allow_adding=true);
84
84
 
85
- // Add a sparsity pattern
86
- std::string sparsity(const Sparsity& sp);
87
-
88
- // Add a sparsity pattern, get index
89
- casadi_int add_sparsity(const Sparsity& sp);
85
+ /* Add a sparsity pattern
86
+ *
87
+ * \param canonical If true, request canonical form,
88
+ * as opposed to potential dense abbreviation
89
+ */
90
+ std::string sparsity(const Sparsity& sp, bool canonical=true);
91
+
92
+ /* Add a sparsity pattern, get index
93
+ *
94
+ * \param canonical If true, request canonical form,
95
+ * as opposed to potential dense abbreviation
96
+ */
97
+ casadi_int add_sparsity(const Sparsity& sp, bool canonical=true);
90
98
 
91
99
  /** \brief Get the index of an existing sparsity pattern
92
100
 
@@ -163,15 +171,26 @@ namespace casadi {
163
171
  \identifier{s4} */
164
172
  void define_rom_integer(const void* id, casadi_int size);
165
173
 
166
- /** \brief Setup a callback
167
-
168
- \identifier{27s} */
169
- void setup_callback(const std::string& s, const Function& f);
170
174
  /** \brief Access file scope integer read-only memory
171
175
 
172
176
  \identifier{s5} */
173
177
  std::string rom_integer(const void* id) const;
174
178
 
179
+ /** \brief Allocate file scope double writeable memory
180
+
181
+ \identifier{2aw} */
182
+ void define_pool_double(const std::string& name, const std::vector<double>& def);
183
+
184
+ /** \brief Access file scope double writeable memory
185
+
186
+ \identifier{2ax} */
187
+ std::string pool_double(const std::string& name) const;
188
+
189
+ /** \brief Setup a callback
190
+
191
+ \identifier{27s} */
192
+ void setup_callback(const std::string& s, const Function& f);
193
+
175
194
  /** \brief Generate a call to a function (generic signature)
176
195
 
177
196
  \identifier{s6} */
@@ -242,7 +261,7 @@ namespace casadi {
242
261
  /** \brief Avoid stack?
243
262
 
244
263
  \identifier{si} */
245
- bool avoid_stack() { return avoid_stack_;}
264
+ bool avoid_stack() const { return avoid_stack_;}
246
265
 
247
266
  /** \brief Print a constant in a lossless but compact manner
248
267
 
@@ -250,14 +269,38 @@ namespace casadi {
250
269
  std::string constant(double v);
251
270
  std::string constant(casadi_int v);
252
271
  std::string constant(const std::string& v);
272
+ std::string constant(char v);
253
273
 
254
- /** \brief Print an intializer
274
+ std::string format_padded(casadi_int i) const;
275
+
276
+ std::string zeros(casadi_int sz);
277
+ std::string ones(casadi_int sz);
278
+
279
+ /** \brief Print an initializer
255
280
 
256
281
  \identifier{sk} */
257
- std::string initializer(const std::vector<double>& v);
258
- std::string initializer(const std::vector<casadi_int>& v);
259
- std::string initializer(const std::vector<char>& v);
260
- std::string initializer(const std::vector<std::string>& v);
282
+ template <typename T>
283
+ std::string initializer(const std::vector<T>& v) {
284
+ std::stringstream s;
285
+ if (v.size() > max_initializer_elements_per_line) {
286
+ s << "\n ";
287
+ }
288
+
289
+ s << "{";
290
+ for (casadi_int i = 0; i < v.size(); ++i) {
291
+ if (i != 0) {
292
+ if (max_initializer_elements_per_line > 1 &&
293
+ i % max_initializer_elements_per_line == 0) {
294
+ s << ",\n ";
295
+ } else {
296
+ s << ", ";
297
+ }
298
+ }
299
+ s << constant(v[i]);
300
+ }
301
+ s << "}";
302
+ return s.str();
303
+ }
261
304
 
262
305
  /** \brief Sanitize source files for codegen
263
306
 
@@ -487,6 +530,11 @@ namespace casadi {
487
530
  \identifier{te} */
488
531
  std::string norm_inf(casadi_int n, const std::string& x);
489
532
 
533
+ /** \brief norm_1
534
+
535
+ \identifier{2br} */
536
+ std::string norm_1(casadi_int n, const std::string& x);
537
+
490
538
  /**
491
539
 
492
540
  * \brief norm_2
@@ -634,7 +682,12 @@ namespace casadi {
634
682
  AUX_ORACLE_CALLBACK,
635
683
  AUX_OCP_BLOCK,
636
684
  AUX_ORACLE,
637
- AUX_SCALED_COPY
685
+ AUX_SCALED_COPY,
686
+ AUX_BLAZING_DE_BOOR,
687
+ AUX_BLAZING_1D_BOOR_EVAL,
688
+ AUX_BLAZING_2D_BOOR_EVAL,
689
+ AUX_BLAZING_3D_BOOR_EVAL,
690
+ AUX_PRINTME
638
691
  };
639
692
 
640
693
  /** \brief Add a built-in auxiliary function
@@ -650,11 +703,16 @@ namespace casadi {
650
703
  const std::vector<Sparsity>& sp_out);
651
704
 
652
705
  /** Get work vector name from index */
653
- std::string work(casadi_int n, casadi_int sz) const;
706
+ std::string work(casadi_int n, casadi_int sz, bool is_ref) const;
654
707
 
655
708
  /** Get work vector element from index */
656
709
  std::string workel(casadi_int n) const;
657
710
 
711
+ /** \brief Reserve a maximum size of work elements, used for padding of index
712
+
713
+ \identifier{2ay} */
714
+ void reserve_work(casadi_int n);
715
+
658
716
  /** Declare an array */
659
717
  static std::string array(const std::string& type, const std::string& name, casadi_int len,
660
718
  const std::string& def=std::string());
@@ -692,6 +750,9 @@ namespace casadi {
692
750
  void copy_default(const std::string& arg, std::size_t n, const std::string& res,
693
751
  const std::string& def, bool check_rhs=true);
694
752
 
753
+ // Should we elide a copy?
754
+ bool elide_copy(casadi_int sz);
755
+
695
756
  /** \brief Create a fill operation
696
757
 
697
758
  \identifier{tu} */
@@ -887,6 +948,15 @@ namespace casadi {
887
948
  // Have a flag for exporting/importing symbols
888
949
  bool with_export, with_import;
889
950
 
951
+ // Maximum number of declarations per line
952
+ casadi_int max_declarations_per_line;
953
+
954
+ // Maximum number of initializer elements per line
955
+ casadi_int max_initializer_elements_per_line;
956
+
957
+ // Force the external API to use canonical sparsity
958
+ bool force_canonical;
959
+
890
960
  // Prefix symbols in DLLs?
891
961
  std::string dll_export, dll_import;
892
962
 
@@ -907,6 +977,12 @@ namespace casadi {
907
977
  casadi_int indent_;
908
978
  casadi_int current_indent_;
909
979
 
980
+ // Number of zeros/ones
981
+ casadi_int sz_zeros_;
982
+ casadi_int sz_ones_;
983
+
984
+ casadi_int padding_length_;
985
+
910
986
  // Names of exposed functions
911
987
  std::vector<std::string> exposed_fname;
912
988
 
@@ -926,6 +1002,8 @@ namespace casadi {
926
1002
  std::map<std::string, std::string> local_default_;
927
1003
  std::map<const void *, casadi_int> file_scope_double_;
928
1004
  std::map<const void *, casadi_int> file_scope_integer_;
1005
+ std::vector< std::vector<double> > pool_double_defaults_;
1006
+ std::map<std::string, casadi_int> pool_double_;
929
1007
 
930
1008
  // Added functions
931
1009
  struct FunctionMeta {
@@ -56,6 +56,7 @@
56
56
  #include "expm.hpp"
57
57
  #include "interpolant.hpp"
58
58
  #include "external.hpp"
59
+ #include "blazing_spline.hpp"
59
60
 
60
61
  // Misc
61
62
  #include "integration_tools.hpp"
@@ -66,5 +67,9 @@
66
67
  #include "optistack.hpp"
67
68
  #include "serializer.hpp"
68
69
  #include "tools.hpp"
70
+ #include "resource.hpp"
71
+ #include "archiver.hpp"
72
+ #include "filesystem.hpp"
73
+ #include "options.hpp"
69
74
 
70
75
  #endif // CASADI_CORE_HPP