casadi 3.6.7__cp313-none-macosx_11_0_arm64.whl → 3.7.1__cp313-none-macosx_11_0_arm64.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 (459) hide show
  1. casadi/_casadi.so +0 -0
  2. casadi/casadi-cli +0 -0
  3. casadi/casadi.py +6531 -3039
  4. casadi/cbc +0 -0
  5. casadi/clp +0 -0
  6. casadi/cmake/casadi-config-version.cmake +1 -1
  7. casadi/cmake/casadi-config.cmake +1 -1
  8. casadi/cmake/casadi-targets-release.cmake +5 -5
  9. casadi/cmake/casadi-targets.cmake +7 -7
  10. casadi/{lib/cmake/tinyxml2/tinyxml2-config-version.cmake → cmake/ghc_filesystem/ghc_filesystem-config-version.cmake} +30 -10
  11. casadi/cmake/ghc_filesystem/ghc_filesystem-config.cmake +30 -0
  12. casadi/{lib/cmake/tinyxml2/tinyxml2-static-targets.cmake → cmake/ghc_filesystem/ghc_filesystem-targets.cmake} +10 -10
  13. casadi/cmake/highs/highs-targets-release.cmake +2 -2
  14. casadi/cmake/highs/highs-targets.cmake +3 -3
  15. casadi/cmake/libzip/libzip-config-version.cmake +43 -0
  16. casadi/cmake/libzip/libzip-config.cmake +69 -0
  17. casadi/cmake/libzip/libzip-targets-release.cmake +19 -0
  18. casadi/cmake/libzip/libzip-targets.cmake +107 -0
  19. casadi/cmake/libzip/modules/FindMbedTLS.cmake +141 -0
  20. casadi/cmake/libzip/modules/FindNettle.cmake +141 -0
  21. casadi/cmake/libzip/modules/Findzstd.cmake +186 -0
  22. casadi/cmake/osqp/osqp-targets.cmake +2 -2
  23. casadi/cmake/proxsuite/proxsuiteTargets.cmake +2 -2
  24. casadi/cmake/qdldl/qdldl-targets.cmake +2 -2
  25. casadi/cmake/sleqp/sleqp-targets.cmake +2 -2
  26. casadi/cmake/trlib/trlib-config.cmake +2 -2
  27. casadi/highs +0 -0
  28. casadi/include/casadi/casadi.i +276 -47
  29. casadi/include/casadi/config.h +11 -11
  30. casadi/include/casadi/core/archiver.hpp +58 -0
  31. casadi/include/casadi/core/blazing_spline.hpp +47 -0
  32. casadi/include/casadi/core/calculus.hpp +57 -2
  33. casadi/include/casadi/core/callback.hpp +9 -0
  34. casadi/include/casadi/core/casadi_common.hpp +37 -0
  35. casadi/include/casadi/core/casadi_meta.hpp +15 -0
  36. casadi/include/casadi/core/casadi_misc.hpp +21 -0
  37. casadi/include/casadi/core/code_generator.hpp +115 -19
  38. casadi/include/casadi/core/core.hpp +5 -0
  39. casadi/include/casadi/core/dae_builder.hpp +303 -141
  40. casadi/include/casadi/core/dm.hpp +3 -0
  41. casadi/include/casadi/core/filesystem.hpp +58 -0
  42. casadi/include/casadi/core/fmu.hpp +62 -16
  43. casadi/include/casadi/core/function.hpp +24 -0
  44. casadi/include/casadi/core/generic_matrix.hpp +214 -7
  45. casadi/include/casadi/core/generic_shared.hpp +395 -0
  46. casadi/include/casadi/core/generic_shared_impl.hpp +218 -0
  47. casadi/include/casadi/core/generic_shared_internal.hpp +215 -0
  48. casadi/include/casadi/core/generic_type.hpp +3 -0
  49. casadi/include/casadi/core/global_options.hpp +10 -0
  50. casadi/include/casadi/core/integrator.hpp +41 -7
  51. casadi/include/casadi/core/matrix_decl.hpp +71 -0
  52. casadi/include/casadi/core/mx.hpp +63 -2
  53. casadi/include/casadi/core/nlp_builder.hpp +2 -1
  54. casadi/include/casadi/core/options.hpp +6 -3
  55. casadi/include/casadi/core/optistack.hpp +43 -9
  56. casadi/include/casadi/core/printable.hpp +8 -0
  57. casadi/include/casadi/core/resource.hpp +107 -0
  58. casadi/include/casadi/core/runtime/casadi_blazing_1d_boor_eval.hpp +112 -0
  59. casadi/include/casadi/core/runtime/casadi_blazing_2d_boor_eval.hpp +311 -0
  60. casadi/include/casadi/core/runtime/casadi_blazing_3d_boor_eval.hpp +645 -0
  61. casadi/include/casadi/core/runtime/casadi_blazing_de_boor.hpp +101 -0
  62. casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +1 -1
  63. casadi/include/casadi/core/runtime/casadi_nlp.hpp +8 -2
  64. casadi/include/casadi/core/runtime/casadi_print_canonical.hpp +55 -0
  65. casadi/include/casadi/core/runtime/casadi_print_scalar.hpp +25 -0
  66. casadi/include/casadi/core/runtime/casadi_print_vector.hpp +32 -0
  67. casadi/include/casadi/core/runtime/casadi_printme.hpp +26 -0
  68. casadi/include/casadi/core/serializer.hpp +13 -5
  69. casadi/include/casadi/core/serializing_stream.hpp +9 -2
  70. casadi/include/casadi/core/shared_object.hpp +73 -161
  71. casadi/include/casadi/core/sparsity.hpp +13 -1
  72. casadi/include/casadi/core/sparsity_interface.hpp +19 -1
  73. casadi/include/casadi/core/sx.hpp +41 -0
  74. casadi/include/casadi/core/sx_elem.hpp +25 -0
  75. casadi/include/casadi/core/xml_node.hpp +5 -0
  76. casadi/include/casadi/doc.i +10026 -6513
  77. casadi/include/casadi/doc_merged.i +6744 -4449
  78. casadi/include/casadi/valgrind-casadi.supp +138 -0
  79. casadi/include/casadi/valgrind-python.supp +2470 -0
  80. casadi/include/fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp +4 -1
  81. casadi/include/ghc/filesystem.hpp +6083 -0
  82. casadi/include/ghc/fs_fwd.hpp +38 -0
  83. casadi/include/ghc/fs_impl.hpp +35 -0
  84. casadi/include/ghc/fs_std.hpp +60 -0
  85. casadi/include/ghc/fs_std_fwd.hpp +63 -0
  86. casadi/include/ghc/fs_std_impl.hpp +46 -0
  87. casadi/include/highs/HConfig.h +6 -4
  88. casadi/include/highs/Highs.h +260 -86
  89. casadi/include/highs/filereaderlp/reader.hpp +10 -10
  90. casadi/include/highs/interfaces/highs_c_api.h +195 -22
  91. casadi/include/highs/io/Filereader.h +4 -6
  92. casadi/include/highs/io/FilereaderEms.h +0 -3
  93. casadi/include/highs/io/FilereaderLp.h +0 -3
  94. casadi/include/highs/io/FilereaderMps.h +0 -3
  95. casadi/include/highs/io/HMPSIO.h +1 -4
  96. casadi/include/highs/io/HMpsFF.h +8 -5
  97. casadi/include/highs/io/HighsIO.h +10 -5
  98. casadi/include/highs/io/LoadOptions.h +0 -3
  99. casadi/include/highs/ipm/IpxSolution.h +0 -3
  100. casadi/include/highs/ipm/IpxWrapper.h +4 -7
  101. casadi/include/highs/ipm/ipx/control.h +1 -0
  102. casadi/include/highs/ipm/ipx/ipx_parameters.h +1 -0
  103. casadi/include/highs/ipm/ipx/lp_solver.h +3 -2
  104. casadi/include/highs/ipm/ipx/model.h +7 -3
  105. casadi/include/highs/lp_data/HConst.h +21 -6
  106. casadi/include/highs/lp_data/HStruct.h +40 -4
  107. casadi/include/highs/lp_data/HighsAnalysis.h +0 -3
  108. casadi/include/highs/lp_data/HighsCallback.h +10 -3
  109. casadi/include/highs/lp_data/HighsCallbackStruct.h +3 -3
  110. casadi/include/highs/lp_data/HighsDebug.h +0 -3
  111. casadi/include/highs/lp_data/HighsIis.h +62 -0
  112. casadi/include/highs/lp_data/HighsInfo.h +50 -43
  113. casadi/include/highs/lp_data/HighsInfoDebug.h +0 -3
  114. casadi/include/highs/lp_data/HighsLp.h +2 -3
  115. casadi/include/highs/lp_data/HighsLpSolverObject.h +0 -3
  116. casadi/include/highs/lp_data/HighsLpUtils.h +38 -6
  117. casadi/include/highs/lp_data/HighsModelUtils.h +21 -18
  118. casadi/include/highs/lp_data/HighsOptions.h +134 -22
  119. casadi/include/highs/lp_data/HighsRanging.h +0 -3
  120. casadi/include/highs/lp_data/HighsSolution.h +10 -3
  121. casadi/include/highs/lp_data/HighsSolutionDebug.h +0 -3
  122. casadi/include/highs/lp_data/HighsSolve.h +0 -3
  123. casadi/include/highs/lp_data/HighsStatus.h +0 -3
  124. casadi/include/highs/mip/HighsCliqueTable.h +3 -3
  125. casadi/include/highs/mip/HighsConflictPool.h +0 -3
  126. casadi/include/highs/mip/HighsCutGeneration.h +13 -3
  127. casadi/include/highs/mip/HighsCutPool.h +0 -3
  128. casadi/include/highs/mip/HighsDebugSol.h +0 -3
  129. casadi/include/highs/mip/HighsDomain.h +16 -4
  130. casadi/include/highs/mip/HighsDomainChange.h +0 -3
  131. casadi/include/highs/mip/HighsDynamicRowMatrix.h +0 -3
  132. casadi/include/highs/mip/HighsGFkSolve.h +3 -6
  133. casadi/include/highs/mip/HighsImplications.h +29 -5
  134. casadi/include/highs/mip/HighsLpAggregator.h +0 -3
  135. casadi/include/highs/mip/HighsLpRelaxation.h +0 -3
  136. casadi/include/highs/mip/HighsMipAnalysis.h +52 -0
  137. casadi/include/highs/mip/HighsMipSolver.h +11 -4
  138. casadi/include/highs/mip/HighsMipSolverData.h +67 -6
  139. casadi/include/highs/mip/HighsModkSeparator.h +1 -4
  140. casadi/include/highs/mip/HighsNodeQueue.h +0 -3
  141. casadi/include/highs/mip/HighsObjectiveFunction.h +0 -3
  142. casadi/include/highs/mip/HighsPathSeparator.h +1 -4
  143. casadi/include/highs/mip/HighsPrimalHeuristics.h +7 -5
  144. casadi/include/highs/mip/HighsPseudocost.h +0 -3
  145. casadi/include/highs/mip/HighsRedcostFixing.h +0 -3
  146. casadi/include/highs/mip/HighsSearch.h +0 -3
  147. casadi/include/highs/mip/HighsSeparation.h +0 -3
  148. casadi/include/highs/mip/HighsSeparator.h +1 -5
  149. casadi/include/highs/mip/HighsTableauSeparator.h +1 -4
  150. casadi/include/highs/mip/HighsTransformedLp.h +0 -3
  151. casadi/include/highs/mip/MipTimer.h +471 -0
  152. casadi/include/highs/parallel/HighsBinarySemaphore.h +1 -1
  153. casadi/include/highs/parallel/HighsCacheAlign.h +1 -1
  154. casadi/include/highs/parallel/HighsCombinable.h +1 -1
  155. casadi/include/highs/parallel/HighsMutex.h +1 -1
  156. casadi/include/highs/parallel/HighsRaceTimer.h +1 -1
  157. casadi/include/highs/parallel/HighsSchedulerConstants.h +1 -1
  158. casadi/include/highs/parallel/HighsSplitDeque.h +1 -1
  159. casadi/include/highs/parallel/HighsTaskExecutor.h +68 -55
  160. casadi/include/highs/pdlp/CupdlpWrapper.h +18 -7
  161. casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +2 -3
  162. casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +16 -6
  163. casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +10 -4
  164. casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +3 -3
  165. casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +6 -6
  166. casadi/include/highs/pdlp/cupdlp/cupdlp_scaling.h +26 -0
  167. casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +11 -11
  168. casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +8 -4
  169. casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +253 -172
  170. casadi/include/highs/presolve/HPresolve.h +50 -10
  171. casadi/include/highs/presolve/HPresolveAnalysis.h +0 -3
  172. casadi/include/highs/presolve/HighsPostsolveStack.h +39 -6
  173. casadi/include/highs/presolve/HighsSymmetry.h +0 -3
  174. casadi/include/highs/presolve/ICrash.h +0 -3
  175. casadi/include/highs/presolve/ICrashUtil.h +1 -4
  176. casadi/include/highs/presolve/ICrashX.h +0 -3
  177. casadi/include/highs/presolve/PresolveComponent.h +0 -3
  178. casadi/include/highs/qpsolver/a_asm.hpp +20 -17
  179. casadi/include/highs/qpsolver/a_quass.hpp +5 -9
  180. casadi/include/highs/qpsolver/basis.hpp +12 -10
  181. casadi/include/highs/qpsolver/crashsolution.hpp +4 -3
  182. casadi/include/highs/qpsolver/dantzigpricing.hpp +3 -2
  183. casadi/include/highs/qpsolver/devexpricing.hpp +3 -1
  184. casadi/include/highs/qpsolver/factor.hpp +6 -5
  185. casadi/include/highs/qpsolver/feasibility_bounded.hpp +31 -29
  186. casadi/include/highs/qpsolver/feasibility_highs.hpp +94 -70
  187. casadi/include/highs/qpsolver/gradient.hpp +1 -1
  188. casadi/include/highs/qpsolver/instance.hpp +1 -1
  189. casadi/include/highs/qpsolver/pricing.hpp +2 -2
  190. casadi/include/highs/qpsolver/qpconst.hpp +2 -2
  191. casadi/include/highs/qpsolver/quass.hpp +2 -2
  192. casadi/include/highs/qpsolver/runtime.hpp +2 -2
  193. casadi/include/highs/qpsolver/settings.hpp +20 -8
  194. casadi/include/highs/qpsolver/steepestedgepricing.hpp +38 -39
  195. casadi/include/highs/simplex/HApp.h +88 -34
  196. casadi/include/highs/simplex/HEkk.h +24 -11
  197. casadi/include/highs/simplex/HEkkDual.h +2 -4
  198. casadi/include/highs/simplex/HEkkDualRHS.h +0 -3
  199. casadi/include/highs/simplex/HEkkDualRow.h +0 -3
  200. casadi/include/highs/simplex/HEkkPrimal.h +1 -5
  201. casadi/include/highs/simplex/HSimplex.h +0 -3
  202. casadi/include/highs/simplex/HSimplexDebug.h +0 -3
  203. casadi/include/highs/simplex/HSimplexNla.h +0 -26
  204. casadi/include/highs/simplex/HSimplexReport.h +0 -3
  205. casadi/include/highs/simplex/HighsSimplexAnalysis.h +5 -8
  206. casadi/include/highs/simplex/SimplexConst.h +10 -11
  207. casadi/include/highs/simplex/SimplexStruct.h +9 -12
  208. casadi/include/highs/simplex/SimplexTimer.h +83 -101
  209. casadi/include/highs/test/DevKkt.h +0 -3
  210. casadi/include/highs/test/KktCh2.h +0 -3
  211. casadi/include/highs/util/FactorTimer.h +39 -64
  212. casadi/include/highs/util/HFactor.h +4 -4
  213. casadi/include/highs/util/HFactorConst.h +0 -3
  214. casadi/include/highs/util/HFactorDebug.h +0 -3
  215. casadi/include/highs/util/HSet.h +0 -3
  216. casadi/include/highs/util/HVector.h +0 -3
  217. casadi/include/highs/util/HVectorBase.h +1 -4
  218. casadi/include/highs/util/HighsCDouble.h +12 -3
  219. casadi/include/highs/util/HighsComponent.h +0 -3
  220. casadi/include/highs/util/HighsDataStack.h +0 -3
  221. casadi/include/highs/util/HighsDisjointSets.h +0 -3
  222. casadi/include/highs/util/HighsHash.h +9 -12
  223. casadi/include/highs/util/HighsHashTree.h +15 -11
  224. casadi/include/highs/util/HighsInt.h +0 -3
  225. casadi/include/highs/util/HighsIntegers.h +0 -3
  226. casadi/include/highs/util/HighsLinearSumBounds.h +0 -3
  227. casadi/include/highs/util/HighsMatrixPic.h +0 -3
  228. casadi/include/highs/util/HighsMatrixSlice.h +3 -6
  229. casadi/include/highs/util/HighsMatrixUtils.h +0 -3
  230. casadi/include/highs/util/HighsMemoryAllocation.h +11 -3
  231. casadi/include/highs/util/HighsRandom.h +3 -6
  232. casadi/include/highs/util/HighsRbTree.h +0 -3
  233. casadi/include/highs/util/HighsSort.h +0 -3
  234. casadi/include/highs/util/HighsSparseMatrix.h +6 -3
  235. casadi/include/highs/util/HighsSparseVectorSum.h +0 -3
  236. casadi/include/highs/util/HighsSplay.h +0 -3
  237. casadi/include/highs/util/HighsTimer.h +94 -56
  238. casadi/include/highs/util/HighsUtils.h +10 -3
  239. casadi/include/highs/util/stringutil.h +14 -12
  240. casadi/include/licenses/LICENSE.bzip2.txt +42 -0
  241. casadi/include/licenses/ghc-external/LICENSE +19 -0
  242. casadi/include/licenses/libz-external/LICENSE +22 -0
  243. casadi/include/licenses/libz-external/contrib/dotzlib/LICENSE_1_0.txt +23 -0
  244. casadi/include/licenses/libzip-external/LICENSE +31 -0
  245. casadi/include/zconf.h +545 -0
  246. casadi/include/zip.h +528 -0
  247. casadi/include/zipconf.h +48 -0
  248. casadi/include/zlib.h +1938 -0
  249. casadi/libCbc.3.10.11.dylib +0 -0
  250. casadi/libCbc.3.dylib +0 -0
  251. casadi/libCbc.dylib +0 -0
  252. casadi/libCbc.la +1 -1
  253. casadi/libCbcSolver.3.10.11.dylib +0 -0
  254. casadi/libCbcSolver.3.dylib +0 -0
  255. casadi/libCbcSolver.dylib +0 -0
  256. casadi/libCbcSolver.la +1 -1
  257. casadi/libCgl.1.10.8.dylib +0 -0
  258. casadi/libCgl.1.dylib +0 -0
  259. casadi/libCgl.dylib +0 -0
  260. casadi/libCgl.la +1 -1
  261. casadi/libClp.1.14.9.dylib +0 -0
  262. casadi/libClp.1.dylib +0 -0
  263. casadi/libClp.dylib +0 -0
  264. casadi/libClp.la +1 -1
  265. casadi/libClpSolver.1.14.9.dylib +0 -0
  266. casadi/libClpSolver.1.dylib +0 -0
  267. casadi/libClpSolver.dylib +0 -0
  268. casadi/libClpSolver.la +1 -1
  269. casadi/libCoinUtils.3.11.10.dylib +0 -0
  270. casadi/libCoinUtils.3.dylib +0 -0
  271. casadi/libCoinUtils.dylib +0 -0
  272. casadi/libOsi.1.13.9.dylib +0 -0
  273. casadi/libOsi.1.dylib +0 -0
  274. casadi/libOsi.dylib +0 -0
  275. casadi/libOsiCbc.3.10.11.dylib +0 -0
  276. casadi/libOsiCbc.3.dylib +0 -0
  277. casadi/libOsiCbc.dylib +0 -0
  278. casadi/libOsiCbc.la +1 -1
  279. casadi/libOsiClp.1.14.9.dylib +0 -0
  280. casadi/libOsiClp.1.dylib +0 -0
  281. casadi/libOsiClp.dylib +0 -0
  282. casadi/libOsiClp.la +1 -1
  283. casadi/libOsiCommonTests.1.13.9.dylib +0 -0
  284. casadi/libOsiCommonTests.1.dylib +0 -0
  285. casadi/libOsiCommonTests.dylib +0 -0
  286. casadi/libblasfeo.dylib +0 -0
  287. casadi/libbonmin.4.8.9.dylib +0 -0
  288. casadi/libbonmin.4.dylib +0 -0
  289. casadi/libbonmin.dylib +0 -0
  290. casadi/libbonmin.la +1 -1
  291. casadi/libbz2.1.0.8.dylib +0 -0
  292. casadi/libc++.1.0.dylib +0 -0
  293. casadi/libcasadi.3.7.dylib +0 -0
  294. casadi/libcasadi.dylib +0 -0
  295. casadi/libcasadi_archiver_libzip.3.7.dylib +0 -0
  296. casadi/libcasadi_archiver_libzip.dylib +0 -0
  297. casadi/libcasadi_conic_cbc.3.7.dylib +0 -0
  298. casadi/libcasadi_conic_cbc.dylib +0 -0
  299. casadi/libcasadi_conic_clp.3.7.dylib +0 -0
  300. casadi/libcasadi_conic_clp.dylib +0 -0
  301. casadi/libcasadi_conic_cplex.3.7.dylib +0 -0
  302. casadi/libcasadi_conic_cplex.dylib +0 -0
  303. casadi/libcasadi_conic_daqp.3.7.dylib +0 -0
  304. casadi/libcasadi_conic_daqp.dylib +0 -0
  305. casadi/libcasadi_conic_fatrop.3.7.dylib +0 -0
  306. casadi/libcasadi_conic_fatrop.dylib +0 -0
  307. casadi/libcasadi_conic_gurobi.3.7.dylib +0 -0
  308. casadi/libcasadi_conic_gurobi.dylib +0 -0
  309. casadi/libcasadi_conic_highs.3.7.dylib +0 -0
  310. casadi/libcasadi_conic_highs.dylib +0 -0
  311. casadi/libcasadi_conic_ipqp.3.7.dylib +0 -0
  312. casadi/libcasadi_conic_ipqp.dylib +0 -0
  313. casadi/libcasadi_conic_nlpsol.3.7.dylib +0 -0
  314. casadi/libcasadi_conic_nlpsol.dylib +0 -0
  315. casadi/libcasadi_conic_osqp.3.7.dylib +0 -0
  316. casadi/libcasadi_conic_osqp.dylib +0 -0
  317. casadi/libcasadi_conic_proxqp.3.7.dylib +0 -0
  318. casadi/libcasadi_conic_proxqp.dylib +0 -0
  319. casadi/libcasadi_conic_qpoases.3.7.dylib +0 -0
  320. casadi/libcasadi_conic_qpoases.dylib +0 -0
  321. casadi/libcasadi_conic_qrqp.3.7.dylib +0 -0
  322. casadi/libcasadi_conic_qrqp.dylib +0 -0
  323. casadi/libcasadi_conic_superscs.3.7.dylib +0 -0
  324. casadi/libcasadi_conic_superscs.dylib +0 -0
  325. casadi/libcasadi_filesystem_ghc.3.7.dylib +0 -0
  326. casadi/libcasadi_filesystem_ghc.dylib +0 -0
  327. casadi/libcasadi_importer_shell.3.7.dylib +0 -0
  328. casadi/libcasadi_importer_shell.dylib +0 -0
  329. casadi/libcasadi_integrator_collocation.3.7.dylib +0 -0
  330. casadi/libcasadi_integrator_collocation.dylib +0 -0
  331. casadi/libcasadi_integrator_cvodes.3.7.dylib +0 -0
  332. casadi/libcasadi_integrator_cvodes.dylib +0 -0
  333. casadi/libcasadi_integrator_idas.3.7.dylib +0 -0
  334. casadi/libcasadi_integrator_idas.dylib +0 -0
  335. casadi/libcasadi_integrator_rk.3.7.dylib +0 -0
  336. casadi/libcasadi_integrator_rk.dylib +0 -0
  337. casadi/libcasadi_interpolant_bspline.3.7.dylib +0 -0
  338. casadi/libcasadi_interpolant_bspline.dylib +0 -0
  339. casadi/libcasadi_interpolant_linear.3.7.dylib +0 -0
  340. casadi/libcasadi_interpolant_linear.dylib +0 -0
  341. casadi/libcasadi_linsol_csparse.3.7.dylib +0 -0
  342. casadi/libcasadi_linsol_csparse.dylib +0 -0
  343. casadi/libcasadi_linsol_csparsecholesky.3.7.dylib +0 -0
  344. casadi/libcasadi_linsol_csparsecholesky.dylib +0 -0
  345. casadi/libcasadi_linsol_lapacklu.3.7.dylib +0 -0
  346. casadi/libcasadi_linsol_lapacklu.dylib +0 -0
  347. casadi/libcasadi_linsol_lapackqr.3.7.dylib +0 -0
  348. casadi/libcasadi_linsol_lapackqr.dylib +0 -0
  349. casadi/libcasadi_linsol_ldl.3.7.dylib +0 -0
  350. casadi/libcasadi_linsol_ldl.dylib +0 -0
  351. casadi/libcasadi_linsol_lsqr.3.7.dylib +0 -0
  352. casadi/libcasadi_linsol_lsqr.dylib +0 -0
  353. casadi/libcasadi_linsol_ma27.3.7.dylib +0 -0
  354. casadi/libcasadi_linsol_ma27.dylib +0 -0
  355. casadi/libcasadi_linsol_mumps.3.7.dylib +0 -0
  356. casadi/libcasadi_linsol_mumps.dylib +0 -0
  357. casadi/libcasadi_linsol_qr.3.7.dylib +0 -0
  358. casadi/libcasadi_linsol_qr.dylib +0 -0
  359. casadi/libcasadi_linsol_symbolicqr.3.7.dylib +0 -0
  360. casadi/libcasadi_linsol_symbolicqr.dylib +0 -0
  361. casadi/libcasadi_linsol_tridiag.3.7.dylib +0 -0
  362. casadi/libcasadi_linsol_tridiag.dylib +0 -0
  363. casadi/libcasadi_nlpsol_ampl.3.7.dylib +0 -0
  364. casadi/libcasadi_nlpsol_ampl.dylib +0 -0
  365. casadi/libcasadi_nlpsol_blocksqp.3.7.dylib +0 -0
  366. casadi/libcasadi_nlpsol_blocksqp.dylib +0 -0
  367. casadi/libcasadi_nlpsol_bonmin.3.7.dylib +0 -0
  368. casadi/libcasadi_nlpsol_bonmin.dylib +0 -0
  369. casadi/libcasadi_nlpsol_fatrop.3.7.dylib +0 -0
  370. casadi/libcasadi_nlpsol_fatrop.dylib +0 -0
  371. casadi/libcasadi_nlpsol_feasiblesqpmethod.3.7.dylib +0 -0
  372. casadi/libcasadi_nlpsol_feasiblesqpmethod.dylib +0 -0
  373. casadi/libcasadi_nlpsol_ipopt.3.7.dylib +0 -0
  374. casadi/libcasadi_nlpsol_ipopt.dylib +0 -0
  375. casadi/libcasadi_nlpsol_knitro.3.7.dylib +0 -0
  376. casadi/libcasadi_nlpsol_knitro.dylib +0 -0
  377. casadi/libcasadi_nlpsol_madnlp.3.7.dylib +0 -0
  378. casadi/libcasadi_nlpsol_madnlp.dylib +0 -0
  379. casadi/libcasadi_nlpsol_qrsqp.3.7.dylib +0 -0
  380. casadi/libcasadi_nlpsol_qrsqp.dylib +0 -0
  381. casadi/libcasadi_nlpsol_scpgen.3.7.dylib +0 -0
  382. casadi/libcasadi_nlpsol_scpgen.dylib +0 -0
  383. casadi/libcasadi_nlpsol_sleqp.3.7.dylib +0 -0
  384. casadi/libcasadi_nlpsol_sleqp.dylib +0 -0
  385. casadi/libcasadi_nlpsol_snopt.3.7.dylib +0 -0
  386. casadi/libcasadi_nlpsol_snopt.dylib +0 -0
  387. casadi/libcasadi_nlpsol_sqpmethod.3.7.dylib +0 -0
  388. casadi/libcasadi_nlpsol_sqpmethod.dylib +0 -0
  389. casadi/libcasadi_rootfinder_fast_newton.3.7.dylib +0 -0
  390. casadi/libcasadi_rootfinder_fast_newton.dylib +0 -0
  391. casadi/libcasadi_rootfinder_kinsol.3.7.dylib +0 -0
  392. casadi/libcasadi_rootfinder_kinsol.dylib +0 -0
  393. casadi/libcasadi_rootfinder_newton.3.7.dylib +0 -0
  394. casadi/libcasadi_rootfinder_newton.dylib +0 -0
  395. casadi/libcasadi_rootfinder_nlpsol.3.7.dylib +0 -0
  396. casadi/libcasadi_rootfinder_nlpsol.dylib +0 -0
  397. casadi/libcasadi_sundials_common.3.7.dylib +0 -0
  398. casadi/libcasadi_sundials_common.dylib +0 -0
  399. casadi/libcasadi_xmlfile_tinyxml.3.7.dylib +0 -0
  400. casadi/libcasadi_xmlfile_tinyxml.dylib +0 -0
  401. casadi/libcoinmetis.2.dylib +0 -0
  402. casadi/libcoinmetis.dylib +0 -0
  403. casadi/libcoinmumps.3.dylib +0 -0
  404. casadi/libcoinmumps.dylib +0 -0
  405. casadi/libcoinmumps.la +1 -1
  406. casadi/libcplex_adaptor.dylib +0 -0
  407. casadi/libdaqp.dylib +0 -0
  408. casadi/libdaqpstat.a +0 -0
  409. casadi/libfatrop.dylib +0 -0
  410. casadi/libgcc_s.1.1.dylib +0 -0
  411. casadi/libgfortran.5.dylib +0 -0
  412. casadi/libgurobi_adaptor.dylib +0 -0
  413. casadi/libhighs.1.10.dylib +0 -0
  414. casadi/libhighs.1.dylib +0 -0
  415. casadi/libhighs.dylib +0 -0
  416. casadi/libindirect.a +0 -0
  417. casadi/libipopt.3.dylib +0 -0
  418. casadi/libipopt.dylib +0 -0
  419. casadi/libipopt.la +1 -1
  420. casadi/liblinsys.a +0 -0
  421. casadi/libmatlab_ipc.dylib +0 -0
  422. casadi/libosqp.a +0 -0
  423. casadi/libosqp.dylib +0 -0
  424. casadi/libqdldl.a +0 -0
  425. casadi/libqdldl.dylib +0 -0
  426. casadi/libquadmath.0.dylib +0 -0
  427. casadi/libsipopt.3.dylib +0 -0
  428. casadi/libsipopt.dylib +0 -0
  429. casadi/libsipopt.la +1 -1
  430. casadi/libsleqp.1.0.1.dylib +0 -0
  431. casadi/libsleqp.dylib +0 -0
  432. casadi/libsuperscs.a +0 -0
  433. casadi/libtrlib.0.4.dylib +0 -0
  434. casadi/libtrlib.dylib +0 -0
  435. casadi/libz.1.2.13.dylib +0 -0
  436. casadi/libz.1.3.1.dylib +0 -0
  437. casadi/libz.1.dylib +0 -0
  438. casadi/libz.a +0 -0
  439. casadi/libz.dylib +0 -0
  440. casadi/libzip.a +0 -0
  441. casadi/pkgconfig/casadi.pc +1 -1
  442. casadi/pkgconfig/coinmumps.pc +1 -1
  443. casadi/pkgconfig/highs.pc +1 -1
  444. casadi/pkgconfig/libzip.pc +14 -0
  445. casadi/tools/__init__.py +3 -1
  446. casadi/tools/graph/graph.py +1 -1
  447. casadi/tools/structure3.py +7 -7
  448. {casadi-3.6.7.dist-info → casadi-3.7.1.dist-info}/METADATA +1 -1
  449. {casadi-3.6.7.dist-info → casadi-3.7.1.dist-info}/RECORD +450 -405
  450. casadi/include/highs/lp_data/HighsRuntimeOptions.h +0 -276
  451. casadi/include/highs/pdlp/cupdlp/cupdlp_scaling_cuda.h +0 -28
  452. casadi/include/tinyxml2.h +0 -2380
  453. casadi/lib/cmake/tinyxml2/tinyxml2-config.cmake +0 -57
  454. casadi/lib/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +0 -19
  455. casadi/lib/libtinyxml2.a +0 -0
  456. casadi/lib/pkgconfig/tinyxml2.pc +0 -10
  457. casadi/libhighs.1.7.dylib +0 -0
  458. casadi/tools/structure.py +0 -1446
  459. {casadi-3.6.7.dist-info → casadi-3.7.1.dist-info}/WHEEL +0 -0
@@ -0,0 +1,42 @@
1
+
2
+ --------------------------------------------------------------------------
3
+
4
+ This program, "bzip2", the associated library "libbzip2", and all
5
+ documentation, are copyright (C) 1996-2019 Julian R Seward. All
6
+ rights reserved.
7
+
8
+ Redistribution and use in source and binary forms, with or without
9
+ modification, are permitted provided that the following conditions
10
+ are met:
11
+
12
+ 1. Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions and the following disclaimer.
14
+
15
+ 2. The origin of this software must not be misrepresented; you must
16
+ not claim that you wrote the original software. If you use this
17
+ software in a product, an acknowledgment in the product
18
+ documentation would be appreciated but is not required.
19
+
20
+ 3. Altered source versions must be plainly marked as such, and must
21
+ not be misrepresented as being the original software.
22
+
23
+ 4. The name of the author may not be used to endorse or promote
24
+ products derived from this software without specific prior written
25
+ permission.
26
+
27
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
28
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
29
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
31
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
33
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
35
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
36
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
37
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
+
39
+ Julian Seward, jseward@acm.org
40
+ bzip2/libbzip2 version 1.0.8 of 13 July 2019
41
+
42
+ --------------------------------------------------------------------------
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2018, Steffen Schümann <s.schuemann@pobox.com>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ Copyright notice:
2
+
3
+ (C) 1995-2022 Jean-loup Gailly and Mark Adler
4
+
5
+ This software is provided 'as-is', without any express or implied
6
+ warranty. In no event will the authors be held liable for any damages
7
+ arising from the use of this software.
8
+
9
+ Permission is granted to anyone to use this software for any purpose,
10
+ including commercial applications, and to alter it and redistribute it
11
+ freely, subject to the following restrictions:
12
+
13
+ 1. The origin of this software must not be misrepresented; you must not
14
+ claim that you wrote the original software. If you use this software
15
+ in a product, an acknowledgment in the product documentation would be
16
+ appreciated but is not required.
17
+ 2. Altered source versions must be plainly marked as such, and must not be
18
+ misrepresented as being the original software.
19
+ 3. This notice may not be removed or altered from any source distribution.
20
+
21
+ Jean-loup Gailly Mark Adler
22
+ jloup@gzip.org madler@alumni.caltech.edu
@@ -0,0 +1,23 @@
1
+ Boost Software License - Version 1.0 - August 17th, 2003
2
+
3
+ Permission is hereby granted, free of charge, to any person or organization
4
+ obtaining a copy of the software and accompanying documentation covered by
5
+ this license (the "Software") to use, reproduce, display, distribute,
6
+ execute, and transmit the Software, and to prepare derivative works of the
7
+ Software, and to permit third-parties to whom the Software is furnished to
8
+ do so, all subject to the following:
9
+
10
+ The copyright notices in the Software and this entire statement, including
11
+ the above license grant, this restriction and the following disclaimer,
12
+ must be included in all copies of the Software, in whole or in part, and
13
+ all derivative works of the Software, unless such copies or derivative
14
+ works are solely in the form of machine-executable object code generated by
15
+ a source language processor.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20
+ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21
+ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
+ DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,31 @@
1
+ Copyright (C) 1999-2020 Dieter Baron and Thomas Klausner
2
+
3
+ The authors can be contacted at <info@libzip.org>
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions
7
+ are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright
10
+ notice, this list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright
13
+ notice, this list of conditions and the following disclaimer in
14
+ the documentation and/or other materials provided with the
15
+ distribution.
16
+
17
+ 3. The names of the authors may not be used to endorse or promote
18
+ products derived from this software without specific prior
19
+ written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
22
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
25
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
27
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
29
+ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
30
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
31
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
casadi/include/zconf.h ADDED
@@ -0,0 +1,545 @@
1
+ /* zconf.h -- configuration of the zlib compression library
2
+ * Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
3
+ * For conditions of distribution and use, see copyright notice in zlib.h
4
+ */
5
+
6
+ /* @(#) $Id$ */
7
+
8
+ #ifndef ZCONF_H
9
+ #define ZCONF_H
10
+ /* #undef Z_PREFIX */
11
+ #define Z_HAVE_UNISTD_H
12
+
13
+ /*
14
+ * If you *really* need a unique prefix for all types and library functions,
15
+ * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
16
+ * Even better than compiling with -DZ_PREFIX would be to use configure to set
17
+ * this permanently in zconf.h using "./configure --zprefix".
18
+ */
19
+ #ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
20
+ # define Z_PREFIX_SET
21
+
22
+ /* all linked symbols and init macros */
23
+ # define _dist_code z__dist_code
24
+ # define _length_code z__length_code
25
+ # define _tr_align z__tr_align
26
+ # define _tr_flush_bits z__tr_flush_bits
27
+ # define _tr_flush_block z__tr_flush_block
28
+ # define _tr_init z__tr_init
29
+ # define _tr_stored_block z__tr_stored_block
30
+ # define _tr_tally z__tr_tally
31
+ # define adler32 z_adler32
32
+ # define adler32_combine z_adler32_combine
33
+ # define adler32_combine64 z_adler32_combine64
34
+ # define adler32_z z_adler32_z
35
+ # ifndef Z_SOLO
36
+ # define compress z_compress
37
+ # define compress2 z_compress2
38
+ # define compressBound z_compressBound
39
+ # endif
40
+ # define crc32 z_crc32
41
+ # define crc32_combine z_crc32_combine
42
+ # define crc32_combine64 z_crc32_combine64
43
+ # define crc32_combine_gen z_crc32_combine_gen
44
+ # define crc32_combine_gen64 z_crc32_combine_gen64
45
+ # define crc32_combine_op z_crc32_combine_op
46
+ # define crc32_z z_crc32_z
47
+ # define deflate z_deflate
48
+ # define deflateBound z_deflateBound
49
+ # define deflateCopy z_deflateCopy
50
+ # define deflateEnd z_deflateEnd
51
+ # define deflateGetDictionary z_deflateGetDictionary
52
+ # define deflateInit z_deflateInit
53
+ # define deflateInit2 z_deflateInit2
54
+ # define deflateInit2_ z_deflateInit2_
55
+ # define deflateInit_ z_deflateInit_
56
+ # define deflateParams z_deflateParams
57
+ # define deflatePending z_deflatePending
58
+ # define deflatePrime z_deflatePrime
59
+ # define deflateReset z_deflateReset
60
+ # define deflateResetKeep z_deflateResetKeep
61
+ # define deflateSetDictionary z_deflateSetDictionary
62
+ # define deflateSetHeader z_deflateSetHeader
63
+ # define deflateTune z_deflateTune
64
+ # define deflate_copyright z_deflate_copyright
65
+ # define get_crc_table z_get_crc_table
66
+ # ifndef Z_SOLO
67
+ # define gz_error z_gz_error
68
+ # define gz_intmax z_gz_intmax
69
+ # define gz_strwinerror z_gz_strwinerror
70
+ # define gzbuffer z_gzbuffer
71
+ # define gzclearerr z_gzclearerr
72
+ # define gzclose z_gzclose
73
+ # define gzclose_r z_gzclose_r
74
+ # define gzclose_w z_gzclose_w
75
+ # define gzdirect z_gzdirect
76
+ # define gzdopen z_gzdopen
77
+ # define gzeof z_gzeof
78
+ # define gzerror z_gzerror
79
+ # define gzflush z_gzflush
80
+ # define gzfread z_gzfread
81
+ # define gzfwrite z_gzfwrite
82
+ # define gzgetc z_gzgetc
83
+ # define gzgetc_ z_gzgetc_
84
+ # define gzgets z_gzgets
85
+ # define gzoffset z_gzoffset
86
+ # define gzoffset64 z_gzoffset64
87
+ # define gzopen z_gzopen
88
+ # define gzopen64 z_gzopen64
89
+ # ifdef _WIN32
90
+ # define gzopen_w z_gzopen_w
91
+ # endif
92
+ # define gzprintf z_gzprintf
93
+ # define gzputc z_gzputc
94
+ # define gzputs z_gzputs
95
+ # define gzread z_gzread
96
+ # define gzrewind z_gzrewind
97
+ # define gzseek z_gzseek
98
+ # define gzseek64 z_gzseek64
99
+ # define gzsetparams z_gzsetparams
100
+ # define gztell z_gztell
101
+ # define gztell64 z_gztell64
102
+ # define gzungetc z_gzungetc
103
+ # define gzvprintf z_gzvprintf
104
+ # define gzwrite z_gzwrite
105
+ # endif
106
+ # define inflate z_inflate
107
+ # define inflateBack z_inflateBack
108
+ # define inflateBackEnd z_inflateBackEnd
109
+ # define inflateBackInit z_inflateBackInit
110
+ # define inflateBackInit_ z_inflateBackInit_
111
+ # define inflateCodesUsed z_inflateCodesUsed
112
+ # define inflateCopy z_inflateCopy
113
+ # define inflateEnd z_inflateEnd
114
+ # define inflateGetDictionary z_inflateGetDictionary
115
+ # define inflateGetHeader z_inflateGetHeader
116
+ # define inflateInit z_inflateInit
117
+ # define inflateInit2 z_inflateInit2
118
+ # define inflateInit2_ z_inflateInit2_
119
+ # define inflateInit_ z_inflateInit_
120
+ # define inflateMark z_inflateMark
121
+ # define inflatePrime z_inflatePrime
122
+ # define inflateReset z_inflateReset
123
+ # define inflateReset2 z_inflateReset2
124
+ # define inflateResetKeep z_inflateResetKeep
125
+ # define inflateSetDictionary z_inflateSetDictionary
126
+ # define inflateSync z_inflateSync
127
+ # define inflateSyncPoint z_inflateSyncPoint
128
+ # define inflateUndermine z_inflateUndermine
129
+ # define inflateValidate z_inflateValidate
130
+ # define inflate_copyright z_inflate_copyright
131
+ # define inflate_fast z_inflate_fast
132
+ # define inflate_table z_inflate_table
133
+ # ifndef Z_SOLO
134
+ # define uncompress z_uncompress
135
+ # define uncompress2 z_uncompress2
136
+ # endif
137
+ # define zError z_zError
138
+ # ifndef Z_SOLO
139
+ # define zcalloc z_zcalloc
140
+ # define zcfree z_zcfree
141
+ # endif
142
+ # define zlibCompileFlags z_zlibCompileFlags
143
+ # define zlibVersion z_zlibVersion
144
+
145
+ /* all zlib typedefs in zlib.h and zconf.h */
146
+ # define Byte z_Byte
147
+ # define Bytef z_Bytef
148
+ # define alloc_func z_alloc_func
149
+ # define charf z_charf
150
+ # define free_func z_free_func
151
+ # ifndef Z_SOLO
152
+ # define gzFile z_gzFile
153
+ # endif
154
+ # define gz_header z_gz_header
155
+ # define gz_headerp z_gz_headerp
156
+ # define in_func z_in_func
157
+ # define intf z_intf
158
+ # define out_func z_out_func
159
+ # define uInt z_uInt
160
+ # define uIntf z_uIntf
161
+ # define uLong z_uLong
162
+ # define uLongf z_uLongf
163
+ # define voidp z_voidp
164
+ # define voidpc z_voidpc
165
+ # define voidpf z_voidpf
166
+
167
+ /* all zlib structs in zlib.h and zconf.h */
168
+ # define gz_header_s z_gz_header_s
169
+ # define internal_state z_internal_state
170
+
171
+ #endif
172
+
173
+ #if defined(__MSDOS__) && !defined(MSDOS)
174
+ # define MSDOS
175
+ #endif
176
+ #if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
177
+ # define OS2
178
+ #endif
179
+ #if defined(_WINDOWS) && !defined(WINDOWS)
180
+ # define WINDOWS
181
+ #endif
182
+ #if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
183
+ # ifndef WIN32
184
+ # define WIN32
185
+ # endif
186
+ #endif
187
+ #if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
188
+ # if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
189
+ # ifndef SYS16BIT
190
+ # define SYS16BIT
191
+ # endif
192
+ # endif
193
+ #endif
194
+
195
+ /*
196
+ * Compile with -DMAXSEG_64K if the alloc function cannot allocate more
197
+ * than 64k bytes at a time (needed on systems with 16-bit int).
198
+ */
199
+ #ifdef SYS16BIT
200
+ # define MAXSEG_64K
201
+ #endif
202
+ #ifdef MSDOS
203
+ # define UNALIGNED_OK
204
+ #endif
205
+
206
+ #ifdef __STDC_VERSION__
207
+ # ifndef STDC
208
+ # define STDC
209
+ # endif
210
+ # if __STDC_VERSION__ >= 199901L
211
+ # ifndef STDC99
212
+ # define STDC99
213
+ # endif
214
+ # endif
215
+ #endif
216
+ #if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
217
+ # define STDC
218
+ #endif
219
+ #if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
220
+ # define STDC
221
+ #endif
222
+ #if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
223
+ # define STDC
224
+ #endif
225
+ #if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
226
+ # define STDC
227
+ #endif
228
+
229
+ #if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
230
+ # define STDC
231
+ #endif
232
+
233
+ #ifndef STDC
234
+ # ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
235
+ # define const /* note: need a more gentle solution here */
236
+ # endif
237
+ #endif
238
+
239
+ #if defined(ZLIB_CONST) && !defined(z_const)
240
+ # define z_const const
241
+ #else
242
+ # define z_const
243
+ #endif
244
+
245
+ #ifdef Z_SOLO
246
+ # ifdef _WIN64
247
+ typedef unsigned long long z_size_t;
248
+ # else
249
+ typedef unsigned long z_size_t;
250
+ # endif
251
+ #else
252
+ # define z_longlong long long
253
+ # if defined(NO_SIZE_T)
254
+ typedef unsigned NO_SIZE_T z_size_t;
255
+ # elif defined(STDC)
256
+ # include <stddef.h>
257
+ typedef size_t z_size_t;
258
+ # else
259
+ typedef unsigned long z_size_t;
260
+ # endif
261
+ # undef z_longlong
262
+ #endif
263
+
264
+ /* Maximum value for memLevel in deflateInit2 */
265
+ #ifndef MAX_MEM_LEVEL
266
+ # ifdef MAXSEG_64K
267
+ # define MAX_MEM_LEVEL 8
268
+ # else
269
+ # define MAX_MEM_LEVEL 9
270
+ # endif
271
+ #endif
272
+
273
+ /* Maximum value for windowBits in deflateInit2 and inflateInit2.
274
+ * WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
275
+ * created by gzip. (Files created by minigzip can still be extracted by
276
+ * gzip.)
277
+ */
278
+ #ifndef MAX_WBITS
279
+ # define MAX_WBITS 15 /* 32K LZ77 window */
280
+ #endif
281
+
282
+ /* The memory requirements for deflate are (in bytes):
283
+ (1 << (windowBits+2)) + (1 << (memLevel+9))
284
+ that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
285
+ plus a few kilobytes for small objects. For example, if you want to reduce
286
+ the default memory requirements from 256K to 128K, compile with
287
+ make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
288
+ Of course this will generally degrade compression (there's no free lunch).
289
+
290
+ The memory requirements for inflate are (in bytes) 1 << windowBits
291
+ that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
292
+ for small objects.
293
+ */
294
+
295
+ /* Type declarations */
296
+
297
+ #ifndef OF /* function prototypes */
298
+ # ifdef STDC
299
+ # define OF(args) args
300
+ # else
301
+ # define OF(args) ()
302
+ # endif
303
+ #endif
304
+
305
+ /* The following definitions for FAR are needed only for MSDOS mixed
306
+ * model programming (small or medium model with some far allocations).
307
+ * This was tested only with MSC; for other MSDOS compilers you may have
308
+ * to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
309
+ * just define FAR to be empty.
310
+ */
311
+ #ifdef SYS16BIT
312
+ # if defined(M_I86SM) || defined(M_I86MM)
313
+ /* MSC small or medium model */
314
+ # define SMALL_MEDIUM
315
+ # ifdef _MSC_VER
316
+ # define FAR _far
317
+ # else
318
+ # define FAR far
319
+ # endif
320
+ # endif
321
+ # if (defined(__SMALL__) || defined(__MEDIUM__))
322
+ /* Turbo C small or medium model */
323
+ # define SMALL_MEDIUM
324
+ # ifdef __BORLANDC__
325
+ # define FAR _far
326
+ # else
327
+ # define FAR far
328
+ # endif
329
+ # endif
330
+ #endif
331
+
332
+ #if defined(WINDOWS) || defined(WIN32)
333
+ /* If building or using zlib as a DLL, define ZLIB_DLL.
334
+ * This is not mandatory, but it offers a little performance increase.
335
+ */
336
+ # ifdef ZLIB_DLL
337
+ # if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
338
+ # ifdef ZLIB_INTERNAL
339
+ # define ZEXTERN extern __declspec(dllexport)
340
+ # else
341
+ # define ZEXTERN extern __declspec(dllimport)
342
+ # endif
343
+ # endif
344
+ # endif /* ZLIB_DLL */
345
+ /* If building or using zlib with the WINAPI/WINAPIV calling convention,
346
+ * define ZLIB_WINAPI.
347
+ * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
348
+ */
349
+ # ifdef ZLIB_WINAPI
350
+ # ifdef FAR
351
+ # undef FAR
352
+ # endif
353
+ # ifndef WIN32_LEAN_AND_MEAN
354
+ # define WIN32_LEAN_AND_MEAN
355
+ # endif
356
+ # include <windows.h>
357
+ /* No need for _export, use ZLIB.DEF instead. */
358
+ /* For complete Windows compatibility, use WINAPI, not __stdcall. */
359
+ # define ZEXPORT WINAPI
360
+ # ifdef WIN32
361
+ # define ZEXPORTVA WINAPIV
362
+ # else
363
+ # define ZEXPORTVA FAR CDECL
364
+ # endif
365
+ # endif
366
+ #endif
367
+
368
+ #if defined (__BEOS__)
369
+ # ifdef ZLIB_DLL
370
+ # ifdef ZLIB_INTERNAL
371
+ # define ZEXPORT __declspec(dllexport)
372
+ # define ZEXPORTVA __declspec(dllexport)
373
+ # else
374
+ # define ZEXPORT __declspec(dllimport)
375
+ # define ZEXPORTVA __declspec(dllimport)
376
+ # endif
377
+ # endif
378
+ #endif
379
+
380
+ #ifndef ZEXTERN
381
+ # define ZEXTERN extern
382
+ #endif
383
+ #ifndef ZEXPORT
384
+ # define ZEXPORT
385
+ #endif
386
+ #ifndef ZEXPORTVA
387
+ # define ZEXPORTVA
388
+ #endif
389
+
390
+ #ifndef FAR
391
+ # define FAR
392
+ #endif
393
+
394
+ #if !defined(__MACTYPES__)
395
+ typedef unsigned char Byte; /* 8 bits */
396
+ #endif
397
+ typedef unsigned int uInt; /* 16 bits or more */
398
+ typedef unsigned long uLong; /* 32 bits or more */
399
+
400
+ #ifdef SMALL_MEDIUM
401
+ /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
402
+ # define Bytef Byte FAR
403
+ #else
404
+ typedef Byte FAR Bytef;
405
+ #endif
406
+ typedef char FAR charf;
407
+ typedef int FAR intf;
408
+ typedef uInt FAR uIntf;
409
+ typedef uLong FAR uLongf;
410
+
411
+ #ifdef STDC
412
+ typedef void const *voidpc;
413
+ typedef void FAR *voidpf;
414
+ typedef void *voidp;
415
+ #else
416
+ typedef Byte const *voidpc;
417
+ typedef Byte FAR *voidpf;
418
+ typedef Byte *voidp;
419
+ #endif
420
+
421
+ #if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
422
+ # include <limits.h>
423
+ # if (UINT_MAX == 0xffffffffUL)
424
+ # define Z_U4 unsigned
425
+ # elif (ULONG_MAX == 0xffffffffUL)
426
+ # define Z_U4 unsigned long
427
+ # elif (USHRT_MAX == 0xffffffffUL)
428
+ # define Z_U4 unsigned short
429
+ # endif
430
+ #endif
431
+
432
+ #ifdef Z_U4
433
+ typedef Z_U4 z_crc_t;
434
+ #else
435
+ typedef unsigned long z_crc_t;
436
+ #endif
437
+
438
+ #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
439
+ # define Z_HAVE_UNISTD_H
440
+ #endif
441
+
442
+ #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
443
+ # define Z_HAVE_STDARG_H
444
+ #endif
445
+
446
+ #ifdef STDC
447
+ # ifndef Z_SOLO
448
+ # include <sys/types.h> /* for off_t */
449
+ # endif
450
+ #endif
451
+
452
+ #if defined(STDC) || defined(Z_HAVE_STDARG_H)
453
+ # ifndef Z_SOLO
454
+ # include <stdarg.h> /* for va_list */
455
+ # endif
456
+ #endif
457
+
458
+ #ifdef _WIN32
459
+ # ifndef Z_SOLO
460
+ # include <stddef.h> /* for wchar_t */
461
+ # endif
462
+ #endif
463
+
464
+ /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
465
+ * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
466
+ * though the former does not conform to the LFS document), but considering
467
+ * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
468
+ * equivalently requesting no 64-bit operations
469
+ */
470
+ #if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
471
+ # undef _LARGEFILE64_SOURCE
472
+ #endif
473
+
474
+ #ifndef Z_HAVE_UNISTD_H
475
+ # ifdef __WATCOMC__
476
+ # define Z_HAVE_UNISTD_H
477
+ # endif
478
+ #endif
479
+ #ifndef Z_HAVE_UNISTD_H
480
+ # if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
481
+ # define Z_HAVE_UNISTD_H
482
+ # endif
483
+ #endif
484
+ #ifndef Z_SOLO
485
+ # if defined(Z_HAVE_UNISTD_H)
486
+ # include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
487
+ # ifdef VMS
488
+ # include <unixio.h> /* for off_t */
489
+ # endif
490
+ # ifndef z_off_t
491
+ # define z_off_t off_t
492
+ # endif
493
+ # endif
494
+ #endif
495
+
496
+ #if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
497
+ # define Z_LFS64
498
+ #endif
499
+
500
+ #if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
501
+ # define Z_LARGE64
502
+ #endif
503
+
504
+ #if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
505
+ # define Z_WANT64
506
+ #endif
507
+
508
+ #if !defined(SEEK_SET) && !defined(Z_SOLO)
509
+ # define SEEK_SET 0 /* Seek from beginning of file. */
510
+ # define SEEK_CUR 1 /* Seek from current position. */
511
+ # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
512
+ #endif
513
+
514
+ #ifndef z_off_t
515
+ # define z_off_t long
516
+ #endif
517
+
518
+ #if !defined(_WIN32) && defined(Z_LARGE64)
519
+ # define z_off64_t off64_t
520
+ #else
521
+ # if defined(_WIN32) && !defined(__GNUC__)
522
+ # define z_off64_t __int64
523
+ # else
524
+ # define z_off64_t z_off_t
525
+ # endif
526
+ #endif
527
+
528
+ /* MVS linker does not support external names larger than 8 bytes */
529
+ #if defined(__MVS__)
530
+ #pragma map(deflateInit_,"DEIN")
531
+ #pragma map(deflateInit2_,"DEIN2")
532
+ #pragma map(deflateEnd,"DEEND")
533
+ #pragma map(deflateBound,"DEBND")
534
+ #pragma map(inflateInit_,"ININ")
535
+ #pragma map(inflateInit2_,"ININ2")
536
+ #pragma map(inflateEnd,"INEND")
537
+ #pragma map(inflateSync,"INSY")
538
+ #pragma map(inflateSetDictionary,"INSEDI")
539
+ #pragma map(compressBound,"CMBND")
540
+ #pragma map(inflate_table,"INTABL")
541
+ #pragma map(inflate_fast,"INFA")
542
+ #pragma map(inflate_copyright,"INCOPY")
543
+ #endif
544
+
545
+ #endif /* ZCONF_H */