casadi 3.6.0__cp39-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.
- casadi/__init__.py +92 -0
- casadi/_casadi.so +0 -0
- casadi/casadi-cli +0 -0
- casadi/casadi.py +50255 -0
- casadi/cbc +0 -0
- casadi/clp +0 -0
- casadi/cmake/casadi-config-version.cmake +11 -0
- casadi/cmake/casadi-config.cmake +4 -0
- casadi/cmake/casadi-targets-release.cmake +19 -0
- casadi/cmake/casadi-targets.cmake +101 -0
- casadi/cmake/highs/highs-config.cmake +10 -0
- casadi/cmake/highs/highs-targets-release.cmake +28 -0
- casadi/cmake/highs/highs-targets.cmake +114 -0
- casadi/cmake/osqp/osqp-config.cmake +1 -0
- casadi/cmake/osqp/osqp-targets-noconfig.cmake +29 -0
- casadi/cmake/osqp/osqp-targets.cmake +109 -0
- casadi/cmake/proxsuite/find-external/Simde/FindSimde.cmake +39 -0
- casadi/cmake/proxsuite/proxsuiteConfig.cmake +177 -0
- casadi/cmake/proxsuite/proxsuiteConfigVersion.cmake +70 -0
- casadi/cmake/proxsuite/proxsuiteTargets.cmake +115 -0
- casadi/cmake/qdldl/qdldl-config.cmake +1 -0
- casadi/cmake/qdldl/qdldl-targets-noconfig.cmake +29 -0
- casadi/cmake/qdldl/qdldl-targets.cmake +109 -0
- casadi/highs +0 -0
- casadi/include/blasfeo.h +52 -0
- casadi/include/blasfeo_block_size.h +447 -0
- casadi/include/blasfeo_common.h +274 -0
- casadi/include/blasfeo_d_aux.h +255 -0
- casadi/include/blasfeo_d_aux_ext_dep.h +145 -0
- casadi/include/blasfeo_d_aux_ext_dep_ref.h +84 -0
- casadi/include/blasfeo_d_aux_old.h +75 -0
- casadi/include/blasfeo_d_aux_ref.h +208 -0
- casadi/include/blasfeo_d_aux_test.h +226 -0
- casadi/include/blasfeo_d_blas.h +46 -0
- casadi/include/blasfeo_d_blas_api.h +281 -0
- casadi/include/blasfeo_d_blasfeo_api.h +364 -0
- casadi/include/blasfeo_d_blasfeo_api_ref.h +147 -0
- casadi/include/blasfeo_d_blasfeo_hp_api.h +84 -0
- casadi/include/blasfeo_d_blasfeo_ref_api.h +283 -0
- casadi/include/blasfeo_d_kernel.h +1321 -0
- casadi/include/blasfeo_i_aux_ext_dep.h +69 -0
- casadi/include/blasfeo_m_aux.h +57 -0
- casadi/include/blasfeo_memory.h +62 -0
- casadi/include/blasfeo_naming.h +77 -0
- casadi/include/blasfeo_processor_features.h +88 -0
- casadi/include/blasfeo_s_aux.h +168 -0
- casadi/include/blasfeo_s_aux_ext_dep.h +141 -0
- casadi/include/blasfeo_s_aux_ext_dep_ref.h +82 -0
- casadi/include/blasfeo_s_aux_old.h +64 -0
- casadi/include/blasfeo_s_aux_ref.h +147 -0
- casadi/include/blasfeo_s_aux_test.h +177 -0
- casadi/include/blasfeo_s_blas.h +46 -0
- casadi/include/blasfeo_s_blas_api.h +182 -0
- casadi/include/blasfeo_s_blasfeo_api.h +284 -0
- casadi/include/blasfeo_s_blasfeo_api_ref.h +135 -0
- casadi/include/blasfeo_s_blasfeo_ref_api.h +252 -0
- casadi/include/blasfeo_s_kernel.h +692 -0
- casadi/include/blasfeo_stdlib.h +62 -0
- casadi/include/blasfeo_target.h +73 -0
- casadi/include/blasfeo_timing.h +114 -0
- casadi/include/blasfeo_v_aux_ext_dep.h +83 -0
- casadi/include/casadi/casadi.hpp +31 -0
- casadi/include/casadi/casadi.i +4656 -0
- casadi/include/casadi/casadi_c.h +136 -0
- casadi/include/casadi/casadi_numpy.hpp +97 -0
- casadi/include/casadi/config.h +46 -0
- casadi/include/casadi/core/calculus.hpp +1750 -0
- casadi/include/casadi/core/callback.hpp +226 -0
- casadi/include/casadi/core/casadi_common.hpp +317 -0
- casadi/include/casadi/core/casadi_enum.hpp +90 -0
- casadi/include/casadi/core/casadi_export.h +42 -0
- casadi/include/casadi/core/casadi_interrupt.hpp +83 -0
- casadi/include/casadi/core/casadi_limits.hpp +104 -0
- casadi/include/casadi/core/casadi_logger.hpp +134 -0
- casadi/include/casadi/core/casadi_meta.hpp +107 -0
- casadi/include/casadi/core/casadi_misc.hpp +949 -0
- casadi/include/casadi/core/casadi_types.hpp +65 -0
- casadi/include/casadi/core/code_generator.hpp +905 -0
- casadi/include/casadi/core/conic.hpp +213 -0
- casadi/include/casadi/core/core.hpp +69 -0
- casadi/include/casadi/core/dae_builder.hpp +720 -0
- casadi/include/casadi/core/dm.hpp +87 -0
- casadi/include/casadi/core/dm_fwd.hpp +39 -0
- casadi/include/casadi/core/dple.hpp +138 -0
- casadi/include/casadi/core/exception.hpp +167 -0
- casadi/include/casadi/core/expm.hpp +84 -0
- casadi/include/casadi/core/external.hpp +70 -0
- casadi/include/casadi/core/function.hpp +1343 -0
- casadi/include/casadi/core/generic_expression.hpp +760 -0
- casadi/include/casadi/core/generic_matrix.hpp +1596 -0
- casadi/include/casadi/core/generic_type.hpp +287 -0
- casadi/include/casadi/core/global_options.hpp +95 -0
- casadi/include/casadi/core/im.hpp +52 -0
- casadi/include/casadi/core/im_fwd.hpp +35 -0
- casadi/include/casadi/core/importer.hpp +221 -0
- casadi/include/casadi/core/integration_tools.hpp +292 -0
- casadi/include/casadi/core/integrator.hpp +256 -0
- casadi/include/casadi/core/interpolant.hpp +163 -0
- casadi/include/casadi/core/linsol.hpp +171 -0
- casadi/include/casadi/core/matrix_decl.hpp +1337 -0
- casadi/include/casadi/core/matrix_fwd.hpp +37 -0
- casadi/include/casadi/core/mx.hpp +938 -0
- casadi/include/casadi/core/nlp_builder.hpp +162 -0
- casadi/include/casadi/core/nlp_tools.hpp +124 -0
- casadi/include/casadi/core/nlpsol.hpp +236 -0
- casadi/include/casadi/core/nonzeros.hpp +111 -0
- casadi/include/casadi/core/options.hpp +119 -0
- casadi/include/casadi/core/optistack.hpp +647 -0
- casadi/include/casadi/core/polynomial.hpp +126 -0
- casadi/include/casadi/core/printable.hpp +73 -0
- casadi/include/casadi/core/rootfinder.hpp +176 -0
- casadi/include/casadi/core/runtime/casadi_axpy.hpp +8 -0
- casadi/include/casadi/core/runtime/casadi_bfgs.hpp +49 -0
- casadi/include/casadi/core/runtime/casadi_bilin.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_bound_consistency.hpp +51 -0
- casadi/include/casadi/core/runtime/casadi_cache.hpp +59 -0
- casadi/include/casadi/core/runtime/casadi_clear.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_clip_max.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_clip_min.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_convexify.hpp +182 -0
- casadi/include/casadi/core/runtime/casadi_copy.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_cvx.hpp +463 -0
- casadi/include/casadi/core/runtime/casadi_de_boor.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_dense_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_densify.hpp +48 -0
- casadi/include/casadi/core/runtime/casadi_dot.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_feasiblesqpmethod.hpp +208 -0
- casadi/include/casadi/core/runtime/casadi_file_slurp.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_fill.hpp +27 -0
- casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +152 -0
- casadi/include/casadi/core/runtime/casadi_flip.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_getu.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_iamax.hpp +36 -0
- casadi/include/casadi/core/runtime/casadi_interpn.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_interpn_grad.hpp +72 -0
- casadi/include/casadi/core/runtime/casadi_interpn_interpolate.hpp +43 -0
- casadi/include/casadi/core/runtime/casadi_interpn_weights.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_ipqp.hpp +865 -0
- casadi/include/casadi/core/runtime/casadi_jac.hpp +186 -0
- casadi/include/casadi/core/runtime/casadi_kkt.hpp +67 -0
- casadi/include/casadi/core/runtime/casadi_kron.hpp +50 -0
- casadi/include/casadi/core/runtime/casadi_ldl.hpp +109 -0
- casadi/include/casadi/core/runtime/casadi_logsumexp.hpp +41 -0
- casadi/include/casadi/core/runtime/casadi_low.hpp +65 -0
- casadi/include/casadi/core/runtime/casadi_lsqr.hpp +247 -0
- casadi/include/casadi/core/runtime/casadi_masked_norm_inf.hpp +33 -0
- casadi/include/casadi/core/runtime/casadi_max_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_mmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_mmin.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_mtimes.hpp +75 -0
- casadi/include/casadi/core/runtime/casadi_mv.hpp +46 -0
- casadi/include/casadi/core/runtime/casadi_mv_dense.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_dual_eval.hpp +127 -0
- casadi/include/casadi/core/runtime/casadi_nd_boor_eval.hpp +120 -0
- casadi/include/casadi/core/runtime/casadi_newton.hpp +66 -0
- casadi/include/casadi/core/runtime/casadi_nlp.hpp +149 -0
- casadi/include/casadi/core/runtime/casadi_norm_1.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_norm_2.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_norm_inf_mul.hpp +105 -0
- casadi/include/casadi/core/runtime/casadi_polyval.hpp +29 -0
- casadi/include/casadi/core/runtime/casadi_project.hpp +39 -0
- casadi/include/casadi/core/runtime/casadi_qp.hpp +86 -0
- casadi/include/casadi/core/runtime/casadi_qr.hpp +272 -0
- casadi/include/casadi/core/runtime/casadi_qrqp.hpp +1233 -0
- casadi/include/casadi/core/runtime/casadi_rank1.hpp +40 -0
- casadi/include/casadi/core/runtime/casadi_regularize.hpp +73 -0
- casadi/include/casadi/core/runtime/casadi_runtime.hpp +315 -0
- casadi/include/casadi/core/runtime/casadi_scal.hpp +26 -0
- casadi/include/casadi/core/runtime/casadi_sparsify.hpp +42 -0
- casadi/include/casadi/core/runtime/casadi_sparsity.hpp +24 -0
- casadi/include/casadi/core/runtime/casadi_sqpmethod.hpp +168 -0
- casadi/include/casadi/core/runtime/casadi_sum.hpp +31 -0
- casadi/include/casadi/core/runtime/casadi_sum_viol.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_swap.hpp +32 -0
- casadi/include/casadi/core/runtime/casadi_trans.hpp +35 -0
- casadi/include/casadi/core/runtime/casadi_tri_project.hpp +37 -0
- casadi/include/casadi/core/runtime/casadi_trilsolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_triusolve.hpp +81 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vector_fmin.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmax.hpp +28 -0
- casadi/include/casadi/core/runtime/casadi_vfmin.hpp +28 -0
- casadi/include/casadi/core/runtime/shared.hpp +261 -0
- casadi/include/casadi/core/serializer.hpp +256 -0
- casadi/include/casadi/core/serializing_stream.hpp +317 -0
- casadi/include/casadi/core/shared_object.hpp +270 -0
- casadi/include/casadi/core/slice.hpp +149 -0
- casadi/include/casadi/core/sparsity.hpp +1486 -0
- casadi/include/casadi/core/sparsity_interface.hpp +691 -0
- casadi/include/casadi/core/submatrix.hpp +156 -0
- casadi/include/casadi/core/sx.hpp +203 -0
- casadi/include/casadi/core/sx_elem.hpp +351 -0
- casadi/include/casadi/core/sx_fwd.hpp +45 -0
- casadi/include/casadi/core/timing.hpp +98 -0
- casadi/include/casadi/core/xml_file.hpp +93 -0
- casadi/include/casadi/core/xml_node.hpp +207 -0
- casadi/include/casadi/doc.i +57262 -0
- casadi/include/casadi/doc_merged.i +35255 -0
- casadi/include/casadi/mem.h +299 -0
- casadi/include/casadi/valgrind-casadi.supp +429 -0
- casadi/include/casadi/valgrind-python.supp +1377 -0
- casadi/include/eigen3/Eigen/Cholesky +45 -0
- casadi/include/eigen3/Eigen/CholmodSupport +48 -0
- casadi/include/eigen3/Eigen/Core +384 -0
- casadi/include/eigen3/Eigen/Dense +7 -0
- casadi/include/eigen3/Eigen/Eigen +2 -0
- casadi/include/eigen3/Eigen/Eigenvalues +60 -0
- casadi/include/eigen3/Eigen/Geometry +59 -0
- casadi/include/eigen3/Eigen/Householder +29 -0
- casadi/include/eigen3/Eigen/IterativeLinearSolvers +48 -0
- casadi/include/eigen3/Eigen/Jacobi +32 -0
- casadi/include/eigen3/Eigen/KLUSupport +41 -0
- casadi/include/eigen3/Eigen/LU +47 -0
- casadi/include/eigen3/Eigen/MetisSupport +35 -0
- casadi/include/eigen3/Eigen/OrderingMethods +70 -0
- casadi/include/eigen3/Eigen/PaStiXSupport +49 -0
- casadi/include/eigen3/Eigen/PardisoSupport +35 -0
- casadi/include/eigen3/Eigen/QR +50 -0
- casadi/include/eigen3/Eigen/QtAlignedMalloc +39 -0
- casadi/include/eigen3/Eigen/SPQRSupport +34 -0
- casadi/include/eigen3/Eigen/SVD +50 -0
- casadi/include/eigen3/Eigen/Sparse +34 -0
- casadi/include/eigen3/Eigen/SparseCholesky +37 -0
- casadi/include/eigen3/Eigen/SparseCore +69 -0
- casadi/include/eigen3/Eigen/SparseLU +50 -0
- casadi/include/eigen3/Eigen/SparseQR +36 -0
- casadi/include/eigen3/Eigen/StdDeque +27 -0
- casadi/include/eigen3/Eigen/StdList +26 -0
- casadi/include/eigen3/Eigen/StdVector +27 -0
- casadi/include/eigen3/Eigen/SuperLUSupport +64 -0
- casadi/include/eigen3/Eigen/UmfPackSupport +40 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LDLT.h +688 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT.h +558 -0
- casadi/include/eigen3/Eigen/src/Cholesky/LLT_LAPACKE.h +99 -0
- casadi/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h +682 -0
- casadi/include/eigen3/Eigen/src/Core/ArithmeticSequence.h +413 -0
- casadi/include/eigen3/Eigen/src/Core/Array.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayBase.h +226 -0
- casadi/include/eigen3/Eigen/src/Core/ArrayWrapper.h +209 -0
- casadi/include/eigen3/Eigen/src/Core/Assign.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/AssignEvaluator.h +1010 -0
- casadi/include/eigen3/Eigen/src/Core/Assign_MKL.h +178 -0
- casadi/include/eigen3/Eigen/src/Core/BandMatrix.h +353 -0
- casadi/include/eigen3/Eigen/src/Core/Block.h +448 -0
- casadi/include/eigen3/Eigen/src/Core/BooleanRedux.h +162 -0
- casadi/include/eigen3/Eigen/src/Core/CommaInitializer.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/ConditionEstimator.h +175 -0
- casadi/include/eigen3/Eigen/src/Core/CoreEvaluators.h +1741 -0
- casadi/include/eigen3/Eigen/src/Core/CoreIterators.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseBinaryOp.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseNullaryOp.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseTernaryOp.h +197 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryOp.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/CwiseUnaryView.h +132 -0
- casadi/include/eigen3/Eigen/src/Core/DenseBase.h +701 -0
- casadi/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h +685 -0
- casadi/include/eigen3/Eigen/src/Core/DenseStorage.h +652 -0
- casadi/include/eigen3/Eigen/src/Core/Diagonal.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalMatrix.h +391 -0
- casadi/include/eigen3/Eigen/src/Core/DiagonalProduct.h +28 -0
- casadi/include/eigen3/Eigen/src/Core/Dot.h +318 -0
- casadi/include/eigen3/Eigen/src/Core/EigenBase.h +160 -0
- casadi/include/eigen3/Eigen/src/Core/ForceAlignedAccess.h +150 -0
- casadi/include/eigen3/Eigen/src/Core/Fuzzy.h +155 -0
- casadi/include/eigen3/Eigen/src/Core/GeneralProduct.h +465 -0
- casadi/include/eigen3/Eigen/src/Core/GenericPacketMath.h +1040 -0
- casadi/include/eigen3/Eigen/src/Core/GlobalFunctions.h +194 -0
- casadi/include/eigen3/Eigen/src/Core/IO.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/IndexedView.h +237 -0
- casadi/include/eigen3/Eigen/src/Core/Inverse.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/Map.h +171 -0
- casadi/include/eigen3/Eigen/src/Core/MapBase.h +310 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctions.h +2057 -0
- casadi/include/eigen3/Eigen/src/Core/MathFunctionsImpl.h +200 -0
- casadi/include/eigen3/Eigen/src/Core/Matrix.h +565 -0
- casadi/include/eigen3/Eigen/src/Core/MatrixBase.h +547 -0
- casadi/include/eigen3/Eigen/src/Core/NestByValue.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/NoAlias.h +109 -0
- casadi/include/eigen3/Eigen/src/Core/NumTraits.h +335 -0
- casadi/include/eigen3/Eigen/src/Core/PartialReduxEvaluator.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/PermutationMatrix.h +605 -0
- casadi/include/eigen3/Eigen/src/Core/PlainObjectBase.h +1128 -0
- casadi/include/eigen3/Eigen/src/Core/Product.h +191 -0
- casadi/include/eigen3/Eigen/src/Core/ProductEvaluators.h +1179 -0
- casadi/include/eigen3/Eigen/src/Core/Random.h +218 -0
- casadi/include/eigen3/Eigen/src/Core/Redux.h +515 -0
- casadi/include/eigen3/Eigen/src/Core/Ref.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/Replicate.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/Reshaped.h +454 -0
- casadi/include/eigen3/Eigen/src/Core/ReturnByValue.h +119 -0
- casadi/include/eigen3/Eigen/src/Core/Reverse.h +217 -0
- casadi/include/eigen3/Eigen/src/Core/Select.h +164 -0
- casadi/include/eigen3/Eigen/src/Core/SelfAdjointView.h +365 -0
- casadi/include/eigen3/Eigen/src/Core/SelfCwiseBinaryOp.h +47 -0
- casadi/include/eigen3/Eigen/src/Core/Solve.h +188 -0
- casadi/include/eigen3/Eigen/src/Core/SolveTriangular.h +235 -0
- casadi/include/eigen3/Eigen/src/Core/SolverBase.h +168 -0
- casadi/include/eigen3/Eigen/src/Core/StableNorm.h +251 -0
- casadi/include/eigen3/Eigen/src/Core/StlIterators.h +463 -0
- casadi/include/eigen3/Eigen/src/Core/Stride.h +116 -0
- casadi/include/eigen3/Eigen/src/Core/Swap.h +68 -0
- casadi/include/eigen3/Eigen/src/Core/Transpose.h +464 -0
- casadi/include/eigen3/Eigen/src/Core/Transpositions.h +386 -0
- casadi/include/eigen3/Eigen/src/Core/TriangularMatrix.h +1001 -0
- casadi/include/eigen3/Eigen/src/Core/VectorBlock.h +96 -0
- casadi/include/eigen3/Eigen/src/Core/VectorwiseOp.h +784 -0
- casadi/include/eigen3/Eigen/src/Core/Visitor.h +381 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/Complex.h +372 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/MathFunctions.h +228 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/PacketMath.h +1574 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX/TypeCasting.h +115 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/Complex.h +422 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/MathFunctions.h +362 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/PacketMath.h +2303 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AVX512/TypeCasting.h +89 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/Complex.h +417 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MathFunctions.h +90 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProduct.h +2937 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductCommon.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/MatrixProductMMA.h +629 -0
- casadi/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h +2711 -0
- casadi/include/eigen3/Eigen/src/Core/arch/CUDA/Complex.h +258 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/BFloat16.h +700 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h +117 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h +1649 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/GenericPacketMathFunctionsFwd.h +110 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Half.h +942 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/Settings.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/Default/TypeCasting.h +120 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/MathFunctions.h +103 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/PacketMath.h +1685 -0
- casadi/include/eigen3/Eigen/src/Core/arch/GPU/TypeCasting.h +80 -0
- casadi/include/eigen3/Eigen/src/Core/arch/HIP/hcc/math_constants.h +23 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/Complex.h +648 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/MathFunctions.h +387 -0
- casadi/include/eigen3/Eigen/src/Core/arch/MSA/PacketMath.h +1233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/Complex.h +584 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/GeneralBlockPanelKernel.h +183 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h +75 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/PacketMath.h +4587 -0
- casadi/include/eigen3/Eigen/src/Core/arch/NEON/TypeCasting.h +1419 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/Complex.h +351 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/MathFunctions.h +199 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h +1505 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SSE/TypeCasting.h +142 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/MathFunctions.h +44 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/PacketMath.h +752 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SVE/TypeCasting.h +49 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/InteropHeaders.h +232 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/MathFunctions.h +301 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/PacketMath.h +670 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h +694 -0
- casadi/include/eigen3/Eigen/src/Core/arch/SYCL/TypeCasting.h +85 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/Complex.h +426 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/MathFunctions.h +233 -0
- casadi/include/eigen3/Eigen/src/Core/arch/ZVector/PacketMath.h +1060 -0
- casadi/include/eigen3/Eigen/src/Core/functors/AssignmentFunctors.h +177 -0
- casadi/include/eigen3/Eigen/src/Core/functors/BinaryFunctors.h +541 -0
- casadi/include/eigen3/Eigen/src/Core/functors/NullaryFunctors.h +189 -0
- casadi/include/eigen3/Eigen/src/Core/functors/StlFunctors.h +166 -0
- casadi/include/eigen3/Eigen/src/Core/functors/TernaryFunctors.h +25 -0
- casadi/include/eigen3/Eigen/src/Core/functors/UnaryFunctors.h +1131 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralBlockPanelKernel.h +2645 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix.h +517 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h +145 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixMatrix_BLAS.h +124 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector.h +518 -0
- casadi/include/eigen3/Eigen/src/Core/products/GeneralMatrixVector_BLAS.h +136 -0
- casadi/include/eigen3/Eigen/src/Core/products/Parallelizer.h +180 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix.h +544 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixMatrix_BLAS.h +295 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector.h +262 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointMatrixVector_BLAS.h +118 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointProduct.h +133 -0
- casadi/include/eigen3/Eigen/src/Core/products/SelfadjointRank2Update.h +94 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix.h +472 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixMatrix_BLAS.h +317 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector.h +350 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularMatrixVector_BLAS.h +255 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix.h +337 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h +167 -0
- casadi/include/eigen3/Eigen/src/Core/products/TriangularSolverVector.h +148 -0
- casadi/include/eigen3/Eigen/src/Core/util/BlasUtil.h +583 -0
- casadi/include/eigen3/Eigen/src/Core/util/ConfigureVectorization.h +512 -0
- casadi/include/eigen3/Eigen/src/Core/util/Constants.h +563 -0
- casadi/include/eigen3/Eigen/src/Core/util/DisableStupidWarnings.h +106 -0
- casadi/include/eigen3/Eigen/src/Core/util/ForwardDeclarations.h +322 -0
- casadi/include/eigen3/Eigen/src/Core/util/IndexedViewHelper.h +186 -0
- casadi/include/eigen3/Eigen/src/Core/util/IntegralConstant.h +272 -0
- casadi/include/eigen3/Eigen/src/Core/util/MKL_support.h +137 -0
- casadi/include/eigen3/Eigen/src/Core/util/Macros.h +1464 -0
- casadi/include/eigen3/Eigen/src/Core/util/Memory.h +1163 -0
- casadi/include/eigen3/Eigen/src/Core/util/Meta.h +812 -0
- casadi/include/eigen3/Eigen/src/Core/util/NonMPL2.h +3 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReenableStupidWarnings.h +31 -0
- casadi/include/eigen3/Eigen/src/Core/util/ReshapedHelper.h +51 -0
- casadi/include/eigen3/Eigen/src/Core/util/StaticAssert.h +221 -0
- casadi/include/eigen3/Eigen/src/Core/util/SymbolicIndex.h +293 -0
- casadi/include/eigen3/Eigen/src/Core/util/XprHelper.h +856 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexEigenSolver.h +346 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur.h +462 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/ComplexSchur_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/EigenSolver.h +622 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedEigenSolver.h +418 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h +226 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/HessenbergDecomposition.h +374 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/MatrixBaseEigenvalues.h +158 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealQZ.h +657 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur.h +558 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/RealSchur_LAPACKE.h +77 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h +904 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h +87 -0
- casadi/include/eigen3/Eigen/src/Eigenvalues/Tridiagonalization.h +561 -0
- casadi/include/eigen3/Eigen/src/Geometry/AlignedBox.h +486 -0
- casadi/include/eigen3/Eigen/src/Geometry/AngleAxis.h +247 -0
- casadi/include/eigen3/Eigen/src/Geometry/EulerAngles.h +114 -0
- casadi/include/eigen3/Eigen/src/Geometry/Homogeneous.h +501 -0
- casadi/include/eigen3/Eigen/src/Geometry/Hyperplane.h +282 -0
- casadi/include/eigen3/Eigen/src/Geometry/OrthoMethods.h +235 -0
- casadi/include/eigen3/Eigen/src/Geometry/ParametrizedLine.h +232 -0
- casadi/include/eigen3/Eigen/src/Geometry/Quaternion.h +870 -0
- casadi/include/eigen3/Eigen/src/Geometry/Rotation2D.h +199 -0
- casadi/include/eigen3/Eigen/src/Geometry/RotationBase.h +206 -0
- casadi/include/eigen3/Eigen/src/Geometry/Scaling.h +188 -0
- casadi/include/eigen3/Eigen/src/Geometry/Transform.h +1563 -0
- casadi/include/eigen3/Eigen/src/Geometry/Translation.h +202 -0
- casadi/include/eigen3/Eigen/src/Geometry/Umeyama.h +166 -0
- casadi/include/eigen3/Eigen/src/Geometry/arch/Geometry_SIMD.h +168 -0
- casadi/include/eigen3/Eigen/src/Householder/BlockHouseholder.h +110 -0
- casadi/include/eigen3/Eigen/src/Householder/Householder.h +176 -0
- casadi/include/eigen3/Eigen/src/Householder/HouseholderSequence.h +545 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h +226 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/BiCGSTAB.h +212 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/ConjugateGradient.h +229 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h +394 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IncompleteLUT.h +453 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h +444 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/LeastSquareConjugateGradient.h +198 -0
- casadi/include/eigen3/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +117 -0
- casadi/include/eigen3/Eigen/src/Jacobi/Jacobi.h +483 -0
- casadi/include/eigen3/Eigen/src/KLUSupport/KLUSupport.h +358 -0
- casadi/include/eigen3/Eigen/src/LU/Determinant.h +117 -0
- casadi/include/eigen3/Eigen/src/LU/FullPivLU.h +877 -0
- casadi/include/eigen3/Eigen/src/LU/InverseImpl.h +432 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU.h +624 -0
- casadi/include/eigen3/Eigen/src/LU/PartialPivLU_LAPACKE.h +83 -0
- casadi/include/eigen3/Eigen/src/LU/arch/InverseSize4.h +351 -0
- casadi/include/eigen3/Eigen/src/MetisSupport/MetisSupport.h +137 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Amd.h +435 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Eigen_Colamd.h +1863 -0
- casadi/include/eigen3/Eigen/src/OrderingMethods/Ordering.h +153 -0
- casadi/include/eigen3/Eigen/src/PaStiXSupport/PaStiXSupport.h +678 -0
- casadi/include/eigen3/Eigen/src/PardisoSupport/PardisoSupport.h +545 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR.h +674 -0
- casadi/include/eigen3/Eigen/src/QR/ColPivHouseholderQR_LAPACKE.h +97 -0
- casadi/include/eigen3/Eigen/src/QR/CompleteOrthogonalDecomposition.h +635 -0
- casadi/include/eigen3/Eigen/src/QR/FullPivHouseholderQR.h +713 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR.h +434 -0
- casadi/include/eigen3/Eigen/src/QR/HouseholderQR_LAPACKE.h +68 -0
- casadi/include/eigen3/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h +335 -0
- casadi/include/eigen3/Eigen/src/SVD/BDCSVD.h +1366 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD.h +812 -0
- casadi/include/eigen3/Eigen/src/SVD/JacobiSVD_LAPACKE.h +91 -0
- casadi/include/eigen3/Eigen/src/SVD/SVDBase.h +376 -0
- casadi/include/eigen3/Eigen/src/SVD/UpperBidiagonalization.h +414 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky.h +697 -0
- casadi/include/eigen3/Eigen/src/SparseCholesky/SimplicialCholesky_impl.h +174 -0
- casadi/include/eigen3/Eigen/src/SparseCore/AmbiVector.h +378 -0
- casadi/include/eigen3/Eigen/src/SparseCore/CompressedStorage.h +274 -0
- casadi/include/eigen3/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h +352 -0
- casadi/include/eigen3/Eigen/src/SparseCore/MappedSparseMatrix.h +67 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseAssign.h +270 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseBlock.h +571 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseColEtree.h +206 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCompressedBase.h +370 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseBinaryOp.h +722 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseCwiseUnaryOp.h +150 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDenseProduct.h +342 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDiagonalProduct.h +138 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseDot.h +98 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseFuzzy.h +29 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMap.h +305 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h +1518 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseMatrixBase.h +398 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparsePermutation.h +178 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseProduct.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRedux.h +49 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseRef.h +397 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSelfAdjointView.h +659 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSolverBase.h +124 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseSparseProductWithPruning.h +198 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTranspose.h +92 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseTriangularView.h +189 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseUtil.h +186 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseVector.h +478 -0
- casadi/include/eigen3/Eigen/src/SparseCore/SparseView.h +254 -0
- casadi/include/eigen3/Eigen/src/SparseCore/TriangularSolver.h +315 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU.h +923 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLUImpl.h +66 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Memory.h +226 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Structs.h +110 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h +375 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_Utils.h +80 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_bmod.h +181 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_column_dfs.h +179 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_copy_to_ucol.h +107 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_gemm_kernel.h +280 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h +126 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_kernel_bmod.h +130 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_bmod.h +223 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_panel_dfs.h +258 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pivotL.h +137 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_pruneL.h +136 -0
- casadi/include/eigen3/Eigen/src/SparseLU/SparseLU_relax_snode.h +83 -0
- casadi/include/eigen3/Eigen/src/SparseQR/SparseQR.h +758 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdDeque.h +116 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdList.h +106 -0
- casadi/include/eigen3/Eigen/src/StlSupport/StdVector.h +131 -0
- casadi/include/eigen3/Eigen/src/StlSupport/details.h +84 -0
- casadi/include/eigen3/Eigen/src/SuperLUSupport/SuperLUSupport.h +1025 -0
- casadi/include/eigen3/Eigen/src/UmfPackSupport/UmfPackSupport.h +642 -0
- casadi/include/eigen3/Eigen/src/misc/Image.h +82 -0
- casadi/include/eigen3/Eigen/src/misc/Kernel.h +79 -0
- casadi/include/eigen3/Eigen/src/misc/RealSvd2x2.h +55 -0
- casadi/include/eigen3/Eigen/src/misc/blas.h +440 -0
- casadi/include/eigen3/Eigen/src/misc/lapack.h +152 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke.h +16292 -0
- casadi/include/eigen3/Eigen/src/misc/lapacke_mangling.h +17 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseBinaryOps.h +358 -0
- casadi/include/eigen3/Eigen/src/plugins/ArrayCwiseUnaryOps.h +696 -0
- casadi/include/eigen3/Eigen/src/plugins/BlockMethods.h +1442 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h +115 -0
- casadi/include/eigen3/Eigen/src/plugins/CommonCwiseUnaryOps.h +177 -0
- casadi/include/eigen3/Eigen/src/plugins/IndexedViewMethods.h +262 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseBinaryOps.h +152 -0
- casadi/include/eigen3/Eigen/src/plugins/MatrixCwiseUnaryOps.h +95 -0
- casadi/include/eigen3/Eigen/src/plugins/ReshapedMethods.h +149 -0
- casadi/include/eigen3/signature_of_eigen3_matrix_library +1 -0
- casadi/include/eigen3/unsupported/Eigen/AdolcForward +159 -0
- casadi/include/eigen3/unsupported/Eigen/AlignedVector3 +234 -0
- casadi/include/eigen3/unsupported/Eigen/ArpackSupport +30 -0
- casadi/include/eigen3/unsupported/Eigen/AutoDiff +46 -0
- casadi/include/eigen3/unsupported/Eigen/BVH +95 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/Tensor +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/TensorSymmetry +42 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/ThreadPool +74 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h +554 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorArgMax.h +329 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorAssign.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBase.h +1176 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBlock.h +1559 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorBroadcasting.h +1093 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorChipping.h +518 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConcatenation.h +377 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h +1023 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h +73 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionGpu.h +1413 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionMapper.h +575 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h +1650 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +1679 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConversion.h +456 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolution.h +1132 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +544 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCostModel.h +214 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorCustomOp.h +347 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDevice.h +137 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceDefault.h +104 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h +389 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +1048 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceThreadPool.h +409 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +490 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvalTo.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorEvaluator.h +983 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +703 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorExpr.h +388 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFFT.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +379 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForcedEval.h +237 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +191 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +488 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGenerator.h +302 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGlobalFunctions.h +33 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaUndefines.h +44 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIO.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +603 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIndexList.h +738 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInflation.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorInitializer.h +82 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorIntDiv.h +263 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorLayoutSwap.h +216 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMacros.h +98 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMap.h +327 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMeta.h +311 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +1102 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h +708 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h +291 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h +322 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReduction.h +998 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionCuda.h +6 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionGpu.h +966 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReductionSycl.h +582 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorRef.h +454 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorReverse.h +465 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScan.h +528 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorScanSycl.h +513 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +471 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +161 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +346 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h +303 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +264 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorUInt128.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/TensorVolumePatch.h +629 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/DynamicSymmetry.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/StaticSymmetry.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h +338 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/TensorSymmetry/util/TemplateGroupTheory.h +669 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/Barrier.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/EventCount.h +249 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +486 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/RunQueue.h +236 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadCancel.h +23 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadEnvironment.h +40 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadLocal.h +301 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadPoolInterface.h +48 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/ThreadPool/ThreadYield.h +20 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Meta.h +537 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/CXX11Workarounds.h +88 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/EmulateArray.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/CXX11/src/util/MaxSizeVector.h +158 -0
- casadi/include/eigen3/unsupported/Eigen/EulerAngles +43 -0
- casadi/include/eigen3/unsupported/Eigen/FFT +419 -0
- casadi/include/eigen3/unsupported/Eigen/IterativeSolvers +51 -0
- casadi/include/eigen3/unsupported/Eigen/KroneckerProduct +36 -0
- casadi/include/eigen3/unsupported/Eigen/LevenbergMarquardt +49 -0
- casadi/include/eigen3/unsupported/Eigen/MPRealSupport +213 -0
- casadi/include/eigen3/unsupported/Eigen/MatrixFunctions +504 -0
- casadi/include/eigen3/unsupported/Eigen/MoreVectorization +24 -0
- casadi/include/eigen3/unsupported/Eigen/NonLinearOptimization +140 -0
- casadi/include/eigen3/unsupported/Eigen/NumericalDiff +56 -0
- casadi/include/eigen3/unsupported/Eigen/OpenGLSupport +322 -0
- casadi/include/eigen3/unsupported/Eigen/Polynomials +137 -0
- casadi/include/eigen3/unsupported/Eigen/Skyline +39 -0
- casadi/include/eigen3/unsupported/Eigen/SparseExtra +54 -0
- casadi/include/eigen3/unsupported/Eigen/SpecialFunctions +103 -0
- casadi/include/eigen3/unsupported/Eigen/Splines +35 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffJacobian.h +108 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h +730 -0
- casadi/include/eigen3/unsupported/Eigen/src/AutoDiff/AutoDiffVector.h +220 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/BVAlgorithms.h +293 -0
- casadi/include/eigen3/unsupported/Eigen/src/BVH/KdBVH.h +223 -0
- casadi/include/eigen3/unsupported/Eigen/src/Eigenvalues/ArpackSelfAdjointEigenSolver.h +790 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerAngles.h +355 -0
- casadi/include/eigen3/unsupported/Eigen/src/EulerAngles/EulerSystem.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_fftw_impl.h +261 -0
- casadi/include/eigen3/unsupported/Eigen/src/FFT/ei_kissfft_impl.h +449 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +187 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/DGMRES.h +511 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/GMRES.h +335 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IDRS.h +436 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IncompleteLU.h +90 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/IterationController.h +154 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/MINRES.h +267 -0
- casadi/include/eigen3/unsupported/Eigen/src/IterativeSolvers/Scaling.h +193 -0
- casadi/include/eigen3/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +305 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMcovar.h +84 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMonestep.h +202 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMpar.h +160 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LMqrsolv.h +188 -0
- casadi/include/eigen3/unsupported/Eigen/src/LevenbergMarquardt/LevenbergMarquardt.h +396 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +441 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixFunction.h +569 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixLogarithm.h +373 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixPower.h +705 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixSquareRoot.h +368 -0
- casadi/include/eigen3/unsupported/Eigen/src/MatrixFunctions/StemFunction.h +117 -0
- casadi/include/eigen3/unsupported/Eigen/src/MoreVectorization/MathFunctions.h +95 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/HybridNonLinearSolver.h +601 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/LevenbergMarquardt.h +657 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/chkder.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/covar.h +70 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/dogleg.h +107 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/fdjac1.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/lmpar.h +298 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/qrsolv.h +91 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1mpyq.h +30 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/r1updt.h +99 -0
- casadi/include/eigen3/unsupported/Eigen/src/NonLinearOptimization/rwupdt.h +49 -0
- casadi/include/eigen3/unsupported/Eigen/src/NumericalDiff/NumericalDiff.h +130 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/Companion.h +280 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialSolver.h +428 -0
- casadi/include/eigen3/unsupported/Eigen/src/Polynomials/PolynomialUtils.h +143 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineInplaceLU.h +352 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrix.h +862 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineMatrixBase.h +212 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineProduct.h +295 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineStorage.h +259 -0
- casadi/include/eigen3/unsupported/Eigen/src/Skyline/SkylineUtil.h +89 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockOfDynamicSparseMatrix.h +122 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/BlockSparseMatrix.h +1079 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/DynamicSparseMatrix.h +404 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MarketIO.h +282 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/MatrixMarketIterator.h +247 -0
- casadi/include/eigen3/unsupported/Eigen/src/SparseExtra/RandomSetter.h +349 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsArrayAPI.h +286 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsBFloat16.h +68 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsFunctors.h +357 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsHalf.h +66 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsImpl.h +1959 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/BesselFunctionsPacketMath.h +118 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/HipVectorCompatibility.h +67 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsArrayAPI.h +167 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsBFloat16.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsFunctors.h +330 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsHalf.h +58 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsImpl.h +2045 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/SpecialFunctionsPacketMath.h +79 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/BesselFunctions.h +46 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/AVX512/SpecialFunctions.h +16 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/GPU/SpecialFunctions.h +369 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/BesselFunctions.h +54 -0
- casadi/include/eigen3/unsupported/Eigen/src/SpecialFunctions/arch/NEON/SpecialFunctions.h +34 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/Spline.h +507 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFitting.h +431 -0
- casadi/include/eigen3/unsupported/Eigen/src/Splines/SplineFwd.h +93 -0
- casadi/include/highs/HConfig.h +23 -0
- casadi/include/highs/Highs.h +1270 -0
- casadi/include/highs/filereaderlp/builder.hpp +26 -0
- casadi/include/highs/filereaderlp/model.hpp +71 -0
- casadi/include/highs/filereaderlp/reader.hpp +10 -0
- casadi/include/highs/fortran/highs_fortran_api.mod +0 -0
- casadi/include/highs/interfaces/highs_c_api.h +1720 -0
- casadi/include/highs/io/Filereader.h +49 -0
- casadi/include/highs/io/FilereaderEms.h +35 -0
- casadi/include/highs/io/FilereaderLp.h +56 -0
- casadi/include/highs/io/FilereaderMps.h +32 -0
- casadi/include/highs/io/HMPSIO.h +83 -0
- casadi/include/highs/io/HMpsFF.h +235 -0
- casadi/include/highs/io/HighsIO.h +93 -0
- casadi/include/highs/io/LoadOptions.h +26 -0
- casadi/include/highs/ipm/IpxWrapper.h +74 -0
- casadi/include/highs/lp_data/HConst.h +250 -0
- casadi/include/highs/lp_data/HStruct.h +100 -0
- casadi/include/highs/lp_data/HighsAnalysis.h +28 -0
- casadi/include/highs/lp_data/HighsDebug.h +39 -0
- casadi/include/highs/lp_data/HighsInfo.h +305 -0
- casadi/include/highs/lp_data/HighsInfoDebug.h +32 -0
- casadi/include/highs/lp_data/HighsLp.h +77 -0
- casadi/include/highs/lp_data/HighsLpSolverObject.h +47 -0
- casadi/include/highs/lp_data/HighsLpUtils.h +255 -0
- casadi/include/highs/lp_data/HighsModelUtils.h +95 -0
- casadi/include/highs/lp_data/HighsOptions.h +1061 -0
- casadi/include/highs/lp_data/HighsRanging.h +48 -0
- casadi/include/highs/lp_data/HighsRuntimeOptions.h +261 -0
- casadi/include/highs/lp_data/HighsSolution.h +137 -0
- casadi/include/highs/lp_data/HighsSolutionDebug.h +92 -0
- casadi/include/highs/lp_data/HighsSolve.h +26 -0
- casadi/include/highs/lp_data/HighsStatus.h +34 -0
- casadi/include/highs/mip/HighsCliqueTable.h +320 -0
- casadi/include/highs/mip/HighsConflictPool.h +114 -0
- casadi/include/highs/mip/HighsCutGeneration.h +98 -0
- casadi/include/highs/mip/HighsCutPool.h +173 -0
- casadi/include/highs/mip/HighsDebugSol.h +144 -0
- casadi/include/highs/mip/HighsDomain.h +633 -0
- casadi/include/highs/mip/HighsDomainChange.h +53 -0
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +107 -0
- casadi/include/highs/mip/HighsGFkSolve.h +443 -0
- casadi/include/highs/mip/HighsImplications.h +148 -0
- casadi/include/highs/mip/HighsLpAggregator.h +55 -0
- casadi/include/highs/mip/HighsLpRelaxation.h +357 -0
- casadi/include/highs/mip/HighsMipSolver.h +91 -0
- casadi/include/highs/mip/HighsMipSolverData.h +189 -0
- casadi/include/highs/mip/HighsModkSeparator.h +65 -0
- casadi/include/highs/mip/HighsNodeQueue.h +318 -0
- casadi/include/highs/mip/HighsObjectiveFunction.h +76 -0
- casadi/include/highs/mip/HighsPathSeparator.h +44 -0
- casadi/include/highs/mip/HighsPrimalHeuristics.h +70 -0
- casadi/include/highs/mip/HighsPseudocost.h +353 -0
- casadi/include/highs/mip/HighsRedcostFixing.h +47 -0
- casadi/include/highs/mip/HighsSearch.h +245 -0
- casadi/include/highs/mip/HighsSeparation.h +46 -0
- casadi/include/highs/mip/HighsSeparator.h +58 -0
- casadi/include/highs/mip/HighsTableauSeparator.h +39 -0
- casadi/include/highs/mip/HighsTransformedLp.h +68 -0
- casadi/include/highs/model/HighsHessian.h +47 -0
- casadi/include/highs/model/HighsHessianUtils.h +47 -0
- casadi/include/highs/model/HighsModel.h +41 -0
- casadi/include/highs/parallel/HighsBinarySemaphore.h +113 -0
- casadi/include/highs/parallel/HighsCacheAlign.h +87 -0
- casadi/include/highs/parallel/HighsCombinable.h +121 -0
- casadi/include/highs/parallel/HighsMutex.h +128 -0
- casadi/include/highs/parallel/HighsParallel.h +128 -0
- casadi/include/highs/parallel/HighsRaceTimer.h +43 -0
- casadi/include/highs/parallel/HighsSchedulerConstants.h +24 -0
- casadi/include/highs/parallel/HighsSpinMutex.h +52 -0
- casadi/include/highs/parallel/HighsSplitDeque.h +583 -0
- casadi/include/highs/parallel/HighsTask.h +176 -0
- casadi/include/highs/parallel/HighsTaskExecutor.h +201 -0
- casadi/include/highs/presolve/HPresolve.h +349 -0
- casadi/include/highs/presolve/HPresolveAnalysis.h +53 -0
- casadi/include/highs/presolve/HighsPostsolveStack.h +846 -0
- casadi/include/highs/presolve/HighsSymmetry.h +285 -0
- casadi/include/highs/presolve/ICrash.h +120 -0
- casadi/include/highs/presolve/ICrashUtil.h +65 -0
- casadi/include/highs/presolve/ICrashX.h +28 -0
- casadi/include/highs/presolve/PresolveComponent.h +131 -0
- casadi/include/highs/qpsolver/perturbation.hpp +8 -0
- casadi/include/highs/qpsolver/quass.hpp +23 -0
- casadi/include/highs/qpsolver/scaling.hpp +8 -0
- casadi/include/highs/qpsolver/vector.hpp +235 -0
- casadi/include/highs/simplex/HApp.h +424 -0
- casadi/include/highs/simplex/HEkk.h +368 -0
- casadi/include/highs/simplex/HEkkDual.h +517 -0
- casadi/include/highs/simplex/HEkkDualRHS.h +139 -0
- casadi/include/highs/simplex/HEkkDualRow.h +206 -0
- casadi/include/highs/simplex/HEkkPrimal.h +192 -0
- casadi/include/highs/simplex/HSimplex.h +49 -0
- casadi/include/highs/simplex/HSimplexDebug.h +53 -0
- casadi/include/highs/simplex/HSimplexNla.h +186 -0
- casadi/include/highs/simplex/HSimplexReport.h +26 -0
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +377 -0
- casadi/include/highs/simplex/SimplexConst.h +272 -0
- casadi/include/highs/simplex/SimplexStruct.h +258 -0
- casadi/include/highs/simplex/SimplexTimer.h +429 -0
- casadi/include/highs/test/DevKkt.h +148 -0
- casadi/include/highs/test/KktCh2.h +84 -0
- casadi/include/highs/util/FactorTimer.h +226 -0
- casadi/include/highs/util/HFactor.h +560 -0
- casadi/include/highs/util/HFactorConst.h +86 -0
- casadi/include/highs/util/HFactorDebug.h +60 -0
- casadi/include/highs/util/HSet.h +94 -0
- casadi/include/highs/util/HVector.h +27 -0
- casadi/include/highs/util/HVectorBase.h +107 -0
- casadi/include/highs/util/HighsCDouble.h +312 -0
- casadi/include/highs/util/HighsComponent.h +58 -0
- casadi/include/highs/util/HighsDataStack.h +88 -0
- casadi/include/highs/util/HighsDisjointSets.h +112 -0
- casadi/include/highs/util/HighsHash.h +1255 -0
- casadi/include/highs/util/HighsHashTree.h +1425 -0
- casadi/include/highs/util/HighsInt.h +41 -0
- casadi/include/highs/util/HighsIntegers.h +218 -0
- casadi/include/highs/util/HighsLinearSumBounds.h +162 -0
- casadi/include/highs/util/HighsMatrixPic.h +42 -0
- casadi/include/highs/util/HighsMatrixSlice.h +563 -0
- casadi/include/highs/util/HighsMatrixUtils.h +59 -0
- casadi/include/highs/util/HighsRandom.h +235 -0
- casadi/include/highs/util/HighsRbTree.h +457 -0
- casadi/include/highs/util/HighsSort.h +136 -0
- casadi/include/highs/util/HighsSparseMatrix.h +140 -0
- casadi/include/highs/util/HighsSparseVectorSum.h +100 -0
- casadi/include/highs/util/HighsSplay.h +140 -0
- casadi/include/highs/util/HighsTimer.h +335 -0
- casadi/include/highs/util/HighsUtils.h +193 -0
- casadi/include/highs/util/stringutil.h +41 -0
- casadi/include/licenses/CSparse/Doc/License.txt +19 -0
- casadi/include/licenses/FMI-Standard-2.0.2/LICENSE.txt +473 -0
- casadi/include/licenses/FMI-Standard-3.0/LICENSE.txt +464 -0
- casadi/include/licenses/blasfeo-external/LICENSE.txt +26 -0
- casadi/include/licenses/bonmin-external/Bonmin/LICENSE +87 -0
- casadi/include/licenses/bonmin-external/LICENSE +3 -0
- casadi/include/licenses/casadi/LICENSE/LICENSE.txt +165 -0
- casadi/include/licenses/casadi-sundials/LICENSE +64 -0
- casadi/include/licenses/casadi-sundials/cvodes/LICENSE +60 -0
- casadi/include/licenses/casadi-sundials/idas/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/kinsol/LICENSE +59 -0
- casadi/include/licenses/casadi-sundials/sundials/LICENSE +67 -0
- casadi/include/licenses/cbc-external/Cbc/LICENSE +239 -0
- casadi/include/licenses/cbc-external/LICENSE +245 -0
- casadi/include/licenses/cgl-external/Cgl/LICENSE +239 -0
- casadi/include/licenses/cgl-external/LICENSE +245 -0
- casadi/include/licenses/clp-external/Clp/LICENSE +239 -0
- casadi/include/licenses/clp-external/LICENSE +245 -0
- casadi/include/licenses/coinutils-external/CoinUtils/LICENSE +239 -0
- casadi/include/licenses/coinutils-external/LICENSE +245 -0
- casadi/include/licenses/highs-external/LICENSE +21 -0
- casadi/include/licenses/highs-external/extern/filereaderlp/LICENSE +19 -0
- casadi/include/licenses/highs-external/extern/pdqsort/license.txt +16 -0
- casadi/include/licenses/ipopt-external/LICENSE +260 -0
- casadi/include/licenses/metis-external/LICENSE +87 -0
- casadi/include/licenses/metis-external/metis-4.0/LICENSE +18 -0
- casadi/include/licenses/mockups-external/LICENSE +21 -0
- casadi/include/licenses/mumps-external/LICENSE +87 -0
- casadi/include/licenses/mumps-external/MUMPS/LICENSE +50 -0
- casadi/include/licenses/osi-external/LICENSE +245 -0
- casadi/include/licenses/osi-external/Osi/LICENSE +239 -0
- casadi/include/licenses/osqp-external/LICENSE +201 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/amd/LICENSE +36 -0
- casadi/include/licenses/osqp-external/lin_sys/direct/qdldl/qdldl_sources/LICENSE +201 -0
- casadi/include/licenses/proxqp-external/LICENSE +25 -0
- casadi/include/licenses/proxqp-external/bindings/python/external/pybind11/LICENSE +29 -0
- casadi/include/licenses/proxqp-external/cmake-module/LICENSE +4 -0
- casadi/include/licenses/proxqp-external/cmake-module/doxygen/MathJax/LICENSE +202 -0
- casadi/include/licenses/proxqp-external/external/cereal/LICENSE +24 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/LICENSE +21 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/LICENSE +13 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidjson/msinttypes/LICENSE +29 -0
- casadi/include/licenses/proxqp-external/external/cereal/include/cereal/external/rapidxml/license.txt +52 -0
- casadi/include/licenses/qpOASES/LICENSE.txt +503 -0
- casadi/include/licenses/superscs-external/LICENSE.txt +24 -0
- casadi/include/licenses/tinyxml2-9.0.0/LICENSE.txt +18 -0
- casadi/include/osqp/auxil.h +181 -0
- casadi/include/osqp/constants.h +129 -0
- casadi/include/osqp/cs.h +180 -0
- casadi/include/osqp/ctrlc.h +56 -0
- casadi/include/osqp/error.h +38 -0
- casadi/include/osqp/glob_opts.h +167 -0
- casadi/include/osqp/lin_alg.h +216 -0
- casadi/include/osqp/lin_sys.h +54 -0
- casadi/include/osqp/osqp.h +430 -0
- casadi/include/osqp/osqp_configure.h +49 -0
- casadi/include/osqp/polish.h +25 -0
- casadi/include/osqp/proj.h +37 -0
- casadi/include/osqp/scaling.h +44 -0
- casadi/include/osqp/types.h +326 -0
- casadi/include/osqp/util.h +222 -0
- casadi/include/proxsuite/config.hpp +68 -0
- casadi/include/proxsuite/deprecated.hpp +56 -0
- casadi/include/proxsuite/fwd.hpp +52 -0
- casadi/include/proxsuite/helpers/common.hpp +70 -0
- casadi/include/proxsuite/helpers/instruction-set.hpp +275 -0
- casadi/include/proxsuite/helpers/optional.hpp +46 -0
- casadi/include/proxsuite/helpers/tl-optional.hpp +2472 -0
- casadi/include/proxsuite/helpers/version.hpp +39 -0
- casadi/include/proxsuite/linalg/dense/core.hpp +863 -0
- casadi/include/proxsuite/linalg/dense/factorize.hpp +375 -0
- casadi/include/proxsuite/linalg/dense/ldlt.hpp +817 -0
- casadi/include/proxsuite/linalg/dense/modify.hpp +333 -0
- casadi/include/proxsuite/linalg/dense/solve.hpp +38 -0
- casadi/include/proxsuite/linalg/dense/update.hpp +330 -0
- casadi/include/proxsuite/linalg/sparse/core.hpp +531 -0
- casadi/include/proxsuite/linalg/sparse/factorize.hpp +1303 -0
- casadi/include/proxsuite/linalg/sparse/rowmod.hpp +443 -0
- casadi/include/proxsuite/linalg/sparse/update.hpp +348 -0
- casadi/include/proxsuite/linalg/veg/internal/assert_impl.hpp +20 -0
- casadi/include/proxsuite/linalg/veg/internal/collection_algo.hpp +93 -0
- casadi/include/proxsuite/linalg/veg/internal/dbg.hpp +15 -0
- casadi/include/proxsuite/linalg/veg/internal/delete_special_members.hpp +77 -0
- casadi/include/proxsuite/linalg/veg/internal/dyn_index.hpp +292 -0
- casadi/include/proxsuite/linalg/veg/internal/epilogue.hpp +31 -0
- casadi/include/proxsuite/linalg/veg/internal/external/hedley.ext.hpp +2074 -0
- casadi/include/proxsuite/linalg/veg/internal/external/unhedley.ext.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/internal/fix_index.hpp +339 -0
- casadi/include/proxsuite/linalg/veg/internal/has_asan.hpp +17 -0
- casadi/include/proxsuite/linalg/veg/internal/integer_seq.hpp +248 -0
- casadi/include/proxsuite/linalg/veg/internal/macros.hpp +1312 -0
- casadi/include/proxsuite/linalg/veg/internal/narrow.hpp +46 -0
- casadi/include/proxsuite/linalg/veg/internal/preprocessor.hpp +434 -0
- casadi/include/proxsuite/linalg/veg/internal/prologue.hpp +157 -0
- casadi/include/proxsuite/linalg/veg/internal/std.hpp +13 -0
- casadi/include/proxsuite/linalg/veg/internal/terminate.hpp +22 -0
- casadi/include/proxsuite/linalg/veg/internal/typedefs.hpp +58 -0
- casadi/include/proxsuite/linalg/veg/memory/address.hpp +97 -0
- casadi/include/proxsuite/linalg/veg/memory/alloc.hpp +352 -0
- casadi/include/proxsuite/linalg/veg/memory/dynamic_stack.hpp +504 -0
- casadi/include/proxsuite/linalg/veg/memory/placement.hpp +202 -0
- casadi/include/proxsuite/linalg/veg/memory/stack_alloc.hpp +239 -0
- casadi/include/proxsuite/linalg/veg/ref.hpp +148 -0
- casadi/include/proxsuite/linalg/veg/slice.hpp +240 -0
- casadi/include/proxsuite/linalg/veg/tuple.hpp +876 -0
- casadi/include/proxsuite/linalg/veg/type_traits/alloc.hpp +169 -0
- casadi/include/proxsuite/linalg/veg/type_traits/assignable.hpp +53 -0
- casadi/include/proxsuite/linalg/veg/type_traits/constructible.hpp +217 -0
- casadi/include/proxsuite/linalg/veg/type_traits/core.hpp +298 -0
- casadi/include/proxsuite/linalg/veg/type_traits/invocable.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/type_traits/primitives.hpp +43 -0
- casadi/include/proxsuite/linalg/veg/type_traits/tags.hpp +47 -0
- casadi/include/proxsuite/linalg/veg/util/assert.hpp +48 -0
- casadi/include/proxsuite/linalg/veg/util/dbg.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/defer.hpp +57 -0
- casadi/include/proxsuite/linalg/veg/util/dynstack_alloc.hpp +19 -0
- casadi/include/proxsuite/linalg/veg/util/get.hpp +153 -0
- casadi/include/proxsuite/linalg/veg/util/index.hpp +6 -0
- casadi/include/proxsuite/linalg/veg/util/unreachable.hpp +41 -0
- casadi/include/proxsuite/linalg/veg/vec.hpp +1034 -0
- casadi/include/proxsuite/proxqp/dense/dense.hpp +10 -0
- casadi/include/proxsuite/proxqp/dense/fwd.hpp +55 -0
- casadi/include/proxsuite/proxqp/dense/helpers.hpp +520 -0
- casadi/include/proxsuite/proxqp/dense/linesearch.hpp +517 -0
- casadi/include/proxsuite/proxqp/dense/model.hpp +147 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/identity.hpp +113 -0
- casadi/include/proxsuite/proxqp/dense/preconditioner/ruiz.hpp +571 -0
- casadi/include/proxsuite/proxqp/dense/solver.hpp +1330 -0
- casadi/include/proxsuite/proxqp/dense/utils.hpp +415 -0
- casadi/include/proxsuite/proxqp/dense/views.hpp +1466 -0
- casadi/include/proxsuite/proxqp/dense/workspace.hpp +264 -0
- casadi/include/proxsuite/proxqp/dense/wrapper.hpp +491 -0
- casadi/include/proxsuite/proxqp/results.hpp +212 -0
- casadi/include/proxsuite/proxqp/settings.hpp +302 -0
- casadi/include/proxsuite/proxqp/sparse/fwd.hpp +58 -0
- casadi/include/proxsuite/proxqp/sparse/helpers.hpp +309 -0
- casadi/include/proxsuite/proxqp/sparse/model.hpp +228 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/identity.hpp +64 -0
- casadi/include/proxsuite/proxqp/sparse/preconditioner/ruiz.hpp +569 -0
- casadi/include/proxsuite/proxqp/sparse/solver.hpp +1441 -0
- casadi/include/proxsuite/proxqp/sparse/sparse.hpp +10 -0
- casadi/include/proxsuite/proxqp/sparse/utils.hpp +815 -0
- casadi/include/proxsuite/proxqp/sparse/views.hpp +63 -0
- casadi/include/proxsuite/proxqp/sparse/workspace.hpp +790 -0
- casadi/include/proxsuite/proxqp/sparse/wrapper.hpp +772 -0
- casadi/include/proxsuite/proxqp/status.hpp +46 -0
- casadi/include/proxsuite/proxqp/timings.hpp +101 -0
- casadi/include/proxsuite/proxqp/utils/prints.hpp +47 -0
- casadi/include/proxsuite/proxqp/utils/random_qp_problems.hpp +669 -0
- casadi/include/proxsuite/serialization/archive.hpp +231 -0
- casadi/include/proxsuite/serialization/eigen.hpp +107 -0
- casadi/include/proxsuite/serialization/model.hpp +34 -0
- casadi/include/proxsuite/serialization/results.hpp +74 -0
- casadi/include/proxsuite/serialization/settings.hpp +60 -0
- casadi/include/proxsuite/serialization/wrapper.hpp +24 -0
- casadi/include/proxsuite/warning.hpp +35 -0
- casadi/include/simde/arm/neon/aba.h +208 -0
- casadi/include/simde/arm/neon/abd.h +384 -0
- casadi/include/simde/arm/neon/abdl.h +147 -0
- casadi/include/simde/arm/neon/abs.h +408 -0
- casadi/include/simde/arm/neon/add.h +681 -0
- casadi/include/simde/arm/neon/addl.h +127 -0
- casadi/include/simde/arm/neon/addl_high.h +127 -0
- casadi/include/simde/arm/neon/addlv.h +317 -0
- casadi/include/simde/arm/neon/addv.h +447 -0
- casadi/include/simde/arm/neon/addw.h +222 -0
- casadi/include/simde/arm/neon/addw_high.h +193 -0
- casadi/include/simde/arm/neon/and.h +552 -0
- casadi/include/simde/arm/neon/bic.h +472 -0
- casadi/include/simde/arm/neon/bsl.h +448 -0
- casadi/include/simde/arm/neon/cagt.h +168 -0
- casadi/include/simde/arm/neon/ceq.h +711 -0
- casadi/include/simde/arm/neon/ceqz.h +335 -0
- casadi/include/simde/arm/neon/cge.h +677 -0
- casadi/include/simde/arm/neon/cgez.h +378 -0
- casadi/include/simde/arm/neon/cgt.h +686 -0
- casadi/include/simde/arm/neon/cgtz.h +380 -0
- casadi/include/simde/arm/neon/cle.h +677 -0
- casadi/include/simde/arm/neon/clez.h +378 -0
- casadi/include/simde/arm/neon/cls.h +148 -0
- casadi/include/simde/arm/neon/clt.h +679 -0
- casadi/include/simde/arm/neon/cltz.h +263 -0
- casadi/include/simde/arm/neon/clz.h +423 -0
- casadi/include/simde/arm/neon/cnt.h +145 -0
- casadi/include/simde/arm/neon/combine.h +343 -0
- casadi/include/simde/arm/neon/create.h +186 -0
- casadi/include/simde/arm/neon/cvt.h +492 -0
- casadi/include/simde/arm/neon/dot.h +171 -0
- casadi/include/simde/arm/neon/dot_lane.h +196 -0
- casadi/include/simde/arm/neon/dup_lane.h +702 -0
- casadi/include/simde/arm/neon/dup_n.h +534 -0
- casadi/include/simde/arm/neon/eor.h +552 -0
- casadi/include/simde/arm/neon/ext.h +887 -0
- casadi/include/simde/arm/neon/get_high.h +260 -0
- casadi/include/simde/arm/neon/get_lane.h +499 -0
- casadi/include/simde/arm/neon/get_low.h +276 -0
- casadi/include/simde/arm/neon/hadd.h +287 -0
- casadi/include/simde/arm/neon/hsub.h +287 -0
- casadi/include/simde/arm/neon/ld1.h +399 -0
- casadi/include/simde/arm/neon/ld3.h +609 -0
- casadi/include/simde/arm/neon/ld4.h +448 -0
- casadi/include/simde/arm/neon/max.h +614 -0
- casadi/include/simde/arm/neon/maxnm.h +215 -0
- casadi/include/simde/arm/neon/maxv.h +400 -0
- casadi/include/simde/arm/neon/min.h +660 -0
- casadi/include/simde/arm/neon/minnm.h +215 -0
- casadi/include/simde/arm/neon/minv.h +424 -0
- casadi/include/simde/arm/neon/mla.h +530 -0
- casadi/include/simde/arm/neon/mla_n.h +333 -0
- casadi/include/simde/arm/neon/mlal.h +156 -0
- casadi/include/simde/arm/neon/mlal_high.h +156 -0
- casadi/include/simde/arm/neon/mlal_n.h +128 -0
- casadi/include/simde/arm/neon/mls.h +264 -0
- casadi/include/simde/arm/neon/mlsl.h +124 -0
- casadi/include/simde/arm/neon/mlsl_high.h +124 -0
- casadi/include/simde/arm/neon/mlsl_n.h +96 -0
- casadi/include/simde/arm/neon/movl.h +208 -0
- casadi/include/simde/arm/neon/movl_high.h +126 -0
- casadi/include/simde/arm/neon/movn.h +195 -0
- casadi/include/simde/arm/neon/movn_high.h +125 -0
- casadi/include/simde/arm/neon/mul.h +594 -0
- casadi/include/simde/arm/neon/mul_lane.h +472 -0
- casadi/include/simde/arm/neon/mul_n.h +383 -0
- casadi/include/simde/arm/neon/mull.h +236 -0
- casadi/include/simde/arm/neon/mull_high.h +125 -0
- casadi/include/simde/arm/neon/mull_n.h +158 -0
- casadi/include/simde/arm/neon/mvn.h +426 -0
- casadi/include/simde/arm/neon/neg.h +393 -0
- casadi/include/simde/arm/neon/orn.h +505 -0
- casadi/include/simde/arm/neon/orr.h +552 -0
- casadi/include/simde/arm/neon/padal.h +211 -0
- casadi/include/simde/arm/neon/padd.h +293 -0
- casadi/include/simde/arm/neon/paddl.h +239 -0
- casadi/include/simde/arm/neon/pmax.h +253 -0
- casadi/include/simde/arm/neon/pmin.h +260 -0
- casadi/include/simde/arm/neon/qabs.h +281 -0
- casadi/include/simde/arm/neon/qadd.h +553 -0
- casadi/include/simde/arm/neon/qdmulh.h +125 -0
- casadi/include/simde/arm/neon/qdmull.h +125 -0
- casadi/include/simde/arm/neon/qmovn.h +273 -0
- casadi/include/simde/arm/neon/qmovn_high.h +127 -0
- casadi/include/simde/arm/neon/qmovun.h +159 -0
- casadi/include/simde/arm/neon/qneg.h +301 -0
- casadi/include/simde/arm/neon/qrdmulh.h +165 -0
- casadi/include/simde/arm/neon/qrdmulh_n.h +136 -0
- casadi/include/simde/arm/neon/qshl.h +732 -0
- casadi/include/simde/arm/neon/qsub.h +549 -0
- casadi/include/simde/arm/neon/qtbl.h +455 -0
- casadi/include/simde/arm/neon/qtbx.h +470 -0
- casadi/include/simde/arm/neon/rbit.h +165 -0
- casadi/include/simde/arm/neon/reinterpret.h +3101 -0
- casadi/include/simde/arm/neon/rev16.h +137 -0
- casadi/include/simde/arm/neon/rev32.h +235 -0
- casadi/include/simde/arm/neon/rev64.h +358 -0
- casadi/include/simde/arm/neon/rhadd.h +406 -0
- casadi/include/simde/arm/neon/rnd.h +143 -0
- casadi/include/simde/arm/neon/rndi.h +135 -0
- casadi/include/simde/arm/neon/rndm.h +143 -0
- casadi/include/simde/arm/neon/rndn.h +135 -0
- casadi/include/simde/arm/neon/rndp.h +143 -0
- casadi/include/simde/arm/neon/rshl.h +903 -0
- casadi/include/simde/arm/neon/rshr_n.h +471 -0
- casadi/include/simde/arm/neon/rsra_n.h +209 -0
- casadi/include/simde/arm/neon/set_lane.h +422 -0
- casadi/include/simde/arm/neon/shl.h +805 -0
- casadi/include/simde/arm/neon/shl_n.h +560 -0
- casadi/include/simde/arm/neon/shr_n.h +612 -0
- casadi/include/simde/arm/neon/sra_n.h +202 -0
- casadi/include/simde/arm/neon/st1.h +353 -0
- casadi/include/simde/arm/neon/st1_lane.h +363 -0
- casadi/include/simde/arm/neon/st3.h +426 -0
- casadi/include/simde/arm/neon/st4.h +445 -0
- casadi/include/simde/arm/neon/sub.h +659 -0
- casadi/include/simde/arm/neon/subl.h +127 -0
- casadi/include/simde/arm/neon/subw.h +221 -0
- casadi/include/simde/arm/neon/subw_high.h +222 -0
- casadi/include/simde/arm/neon/tbl.h +224 -0
- casadi/include/simde/arm/neon/tbx.h +247 -0
- casadi/include/simde/arm/neon/trn.h +252 -0
- casadi/include/simde/arm/neon/trn1.h +500 -0
- casadi/include/simde/arm/neon/trn2.h +499 -0
- casadi/include/simde/arm/neon/tst.h +540 -0
- casadi/include/simde/arm/neon/types.h +683 -0
- casadi/include/simde/arm/neon/uqadd.h +325 -0
- casadi/include/simde/arm/neon/uzp.h +252 -0
- casadi/include/simde/arm/neon/uzp1.h +643 -0
- casadi/include/simde/arm/neon/uzp2.h +647 -0
- casadi/include/simde/arm/neon/zip.h +252 -0
- casadi/include/simde/arm/neon/zip1.h +625 -0
- casadi/include/simde/arm/neon/zip2.h +625 -0
- casadi/include/simde/arm/neon.h +166 -0
- casadi/include/simde/check.h +276 -0
- casadi/include/simde/debug-trap.h +85 -0
- casadi/include/simde/hedley.h +1971 -0
- casadi/include/simde/simde-align.h +449 -0
- casadi/include/simde/simde-arch.h +532 -0
- casadi/include/simde/simde-common.h +890 -0
- casadi/include/simde/simde-complex.h +148 -0
- casadi/include/simde/simde-constify.h +397 -0
- casadi/include/simde/simde-detect-clang.h +109 -0
- casadi/include/simde/simde-diagnostic.h +428 -0
- casadi/include/simde/simde-features.h +522 -0
- casadi/include/simde/simde-math.h +1805 -0
- casadi/include/simde/x86/avx.h +6193 -0
- casadi/include/simde/x86/avx2.h +5660 -0
- casadi/include/simde/x86/avx512/2intersect.h +250 -0
- casadi/include/simde/x86/avx512/abs.h +562 -0
- casadi/include/simde/x86/avx512/add.h +641 -0
- casadi/include/simde/x86/avx512/adds.h +390 -0
- casadi/include/simde/x86/avx512/and.h +305 -0
- casadi/include/simde/x86/avx512/andnot.h +193 -0
- casadi/include/simde/x86/avx512/avg.h +258 -0
- casadi/include/simde/x86/avx512/blend.h +293 -0
- casadi/include/simde/x86/avx512/broadcast.h +897 -0
- casadi/include/simde/x86/avx512/cast.h +324 -0
- casadi/include/simde/x86/avx512/cmp.h +587 -0
- casadi/include/simde/x86/avx512/cmpeq.h +179 -0
- casadi/include/simde/x86/avx512/cmpge.h +104 -0
- casadi/include/simde/x86/avx512/cmpgt.h +189 -0
- casadi/include/simde/x86/avx512/cmple.h +103 -0
- casadi/include/simde/x86/avx512/cmplt.h +123 -0
- casadi/include/simde/x86/avx512/copysign.h +86 -0
- casadi/include/simde/x86/avx512/cvt.h +122 -0
- casadi/include/simde/x86/avx512/cvts.h +723 -0
- casadi/include/simde/x86/avx512/div.h +162 -0
- casadi/include/simde/x86/avx512/extract.h +198 -0
- casadi/include/simde/x86/avx512/fmadd.h +136 -0
- casadi/include/simde/x86/avx512/fmsub.h +108 -0
- casadi/include/simde/x86/avx512/fnmadd.h +108 -0
- casadi/include/simde/x86/avx512/fnmsub.h +108 -0
- casadi/include/simde/x86/avx512/insert.h +193 -0
- casadi/include/simde/x86/avx512/kshift.h +152 -0
- casadi/include/simde/x86/avx512/load.h +67 -0
- casadi/include/simde/x86/avx512/loadu.h +113 -0
- casadi/include/simde/x86/avx512/lzcnt.h +209 -0
- casadi/include/simde/x86/avx512/madd.h +155 -0
- casadi/include/simde/x86/avx512/maddubs.h +159 -0
- casadi/include/simde/x86/avx512/max.h +587 -0
- casadi/include/simde/x86/avx512/min.h +587 -0
- casadi/include/simde/x86/avx512/mov.h +859 -0
- casadi/include/simde/x86/avx512/mov_mask.h +372 -0
- casadi/include/simde/x86/avx512/movm.h +460 -0
- casadi/include/simde/x86/avx512/mul.h +279 -0
- casadi/include/simde/x86/avx512/mulhi.h +65 -0
- casadi/include/simde/x86/avx512/mulhrs.h +65 -0
- casadi/include/simde/x86/avx512/mullo.h +117 -0
- casadi/include/simde/x86/avx512/negate.h +88 -0
- casadi/include/simde/x86/avx512/or.h +252 -0
- casadi/include/simde/x86/avx512/packs.h +122 -0
- casadi/include/simde/x86/avx512/packus.h +122 -0
- casadi/include/simde/x86/avx512/permutex2var.h +1645 -0
- casadi/include/simde/x86/avx512/permutexvar.h +1180 -0
- casadi/include/simde/x86/avx512/sad.h +77 -0
- casadi/include/simde/x86/avx512/set.h +477 -0
- casadi/include/simde/x86/avx512/set1.h +331 -0
- casadi/include/simde/x86/avx512/set4.h +140 -0
- casadi/include/simde/x86/avx512/setone.h +66 -0
- casadi/include/simde/x86/avx512/setr.h +144 -0
- casadi/include/simde/x86/avx512/setr4.h +140 -0
- casadi/include/simde/x86/avx512/setzero.h +90 -0
- casadi/include/simde/x86/avx512/shuffle.h +176 -0
- casadi/include/simde/x86/avx512/sll.h +247 -0
- casadi/include/simde/x86/avx512/slli.h +179 -0
- casadi/include/simde/x86/avx512/sllv.h +68 -0
- casadi/include/simde/x86/avx512/sqrt.h +127 -0
- casadi/include/simde/x86/avx512/sra.h +81 -0
- casadi/include/simde/x86/avx512/srai.h +70 -0
- casadi/include/simde/x86/avx512/srav.h +67 -0
- casadi/include/simde/x86/avx512/srl.h +216 -0
- casadi/include/simde/x86/avx512/srli.h +180 -0
- casadi/include/simde/x86/avx512/srlv.h +282 -0
- casadi/include/simde/x86/avx512/store.h +93 -0
- casadi/include/simde/x86/avx512/storeu.h +93 -0
- casadi/include/simde/x86/avx512/sub.h +351 -0
- casadi/include/simde/x86/avx512/subs.h +222 -0
- casadi/include/simde/x86/avx512/test.h +193 -0
- casadi/include/simde/x86/avx512/types.h +380 -0
- casadi/include/simde/x86/avx512/unpackhi.h +380 -0
- casadi/include/simde/x86/avx512/unpacklo.h +104 -0
- casadi/include/simde/x86/avx512/xor.h +263 -0
- casadi/include/simde/x86/avx512/xorsign.h +72 -0
- casadi/include/simde/x86/avx512.h +108 -0
- casadi/include/simde/x86/clmul.h +414 -0
- casadi/include/simde/x86/fma.h +724 -0
- casadi/include/simde/x86/gfni.h +802 -0
- casadi/include/simde/x86/mmx.h +2399 -0
- casadi/include/simde/x86/sse.h +4471 -0
- casadi/include/simde/x86/sse2.h +7389 -0
- casadi/include/simde/x86/sse3.h +499 -0
- casadi/include/simde/x86/sse4.1.h +2216 -0
- casadi/include/simde/x86/sse4.2.h +347 -0
- casadi/include/simde/x86/ssse3.h +1032 -0
- casadi/include/simde/x86/svml.h +12139 -0
- casadi/include/simde/x86/xop.h +3644 -0
- casadi/include/superscs/cones.h +185 -0
- casadi/include/superscs/constants.h +144 -0
- casadi/include/superscs/cs.h +109 -0
- casadi/include/superscs/ctrlc.h +77 -0
- casadi/include/superscs/directions.h +125 -0
- casadi/include/superscs/glbopts.h +240 -0
- casadi/include/superscs/linAlg.h +437 -0
- casadi/include/superscs/linSys.h +205 -0
- casadi/include/superscs/linsys/amatrix.h +77 -0
- casadi/include/superscs/linsys/common.h +49 -0
- casadi/include/superscs/normalize.h +138 -0
- casadi/include/superscs/scs.h +656 -0
- casadi/include/superscs/scs_blas.h +79 -0
- casadi/include/superscs/scs_parser.h +187 -0
- casadi/include/superscs/unit_test_util.h +210 -0
- casadi/include/superscs/util.h +354 -0
- casadi/include/tinyxml2.h +2380 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-config-version.cmake +70 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-config.cmake +57 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-static-targets-release.cmake +19 -0
- casadi/lib/cmake/tinyxml2/tinyxml2-static-targets.cmake +103 -0
- casadi/lib/libtinyxml2.a +0 -0
- casadi/lib/pkgconfig/tinyxml2.pc +10 -0
- casadi/libCbc.3.10.6.dylib +0 -0
- casadi/libCbc.3.dylib +0 -0
- casadi/libCbc.dylib +0 -0
- casadi/libCbc.la +35 -0
- casadi/libCbcSolver.3.10.6.dylib +0 -0
- casadi/libCbcSolver.3.dylib +0 -0
- casadi/libCbcSolver.dylib +0 -0
- casadi/libCbcSolver.la +35 -0
- casadi/libCgl.1.10.4.dylib +0 -0
- casadi/libCgl.1.dylib +0 -0
- casadi/libCgl.dylib +0 -0
- casadi/libCgl.la +35 -0
- casadi/libClp.1.14.7.dylib +0 -0
- casadi/libClp.1.dylib +0 -0
- casadi/libClp.dylib +0 -0
- casadi/libClp.la +35 -0
- casadi/libClpSolver.1.14.7.dylib +0 -0
- casadi/libClpSolver.1.dylib +0 -0
- casadi/libClpSolver.dylib +0 -0
- casadi/libClpSolver.la +35 -0
- casadi/libCoinUtils.3.11.6.dylib +0 -0
- casadi/libCoinUtils.3.dylib +0 -0
- casadi/libCoinUtils.dylib +0 -0
- casadi/libCoinUtils.la +35 -0
- casadi/libFortranHighs.dylib +0 -0
- casadi/libOsi.1.13.7.dylib +0 -0
- casadi/libOsi.1.dylib +0 -0
- casadi/libOsi.dylib +0 -0
- casadi/libOsi.la +35 -0
- casadi/libOsiCbc.3.10.6.dylib +0 -0
- casadi/libOsiCbc.3.dylib +0 -0
- casadi/libOsiCbc.dylib +0 -0
- casadi/libOsiCbc.la +35 -0
- casadi/libOsiClp.1.14.7.dylib +0 -0
- casadi/libOsiClp.1.dylib +0 -0
- casadi/libOsiClp.dylib +0 -0
- casadi/libOsiClp.la +35 -0
- casadi/libOsiCommonTests.1.13.7.dylib +0 -0
- casadi/libOsiCommonTests.1.dylib +0 -0
- casadi/libOsiCommonTests.dylib +0 -0
- casadi/libOsiCommonTests.la +35 -0
- casadi/libblasfeo.dylib +0 -0
- casadi/libbonmin.4.8.8.dylib +0 -0
- casadi/libbonmin.4.dylib +0 -0
- casadi/libbonmin.dylib +0 -0
- casadi/libbonmin.la +35 -0
- casadi/libc++.1.0.dylib +0 -0
- casadi/libcasadi.3.7.dylib +0 -0
- casadi/libcasadi.dylib +0 -0
- casadi/libcasadi_conic_cbc.3.7.dylib +0 -0
- casadi/libcasadi_conic_cbc.dylib +0 -0
- casadi/libcasadi_conic_clp.3.7.dylib +0 -0
- casadi/libcasadi_conic_clp.dylib +0 -0
- casadi/libcasadi_conic_cplex.3.7.dylib +0 -0
- casadi/libcasadi_conic_cplex.dylib +0 -0
- casadi/libcasadi_conic_gurobi.3.7.dylib +0 -0
- casadi/libcasadi_conic_gurobi.dylib +0 -0
- casadi/libcasadi_conic_highs.3.7.dylib +0 -0
- casadi/libcasadi_conic_highs.dylib +0 -0
- casadi/libcasadi_conic_ipqp.3.7.dylib +0 -0
- casadi/libcasadi_conic_ipqp.dylib +0 -0
- casadi/libcasadi_conic_nlpsol.3.7.dylib +0 -0
- casadi/libcasadi_conic_nlpsol.dylib +0 -0
- casadi/libcasadi_conic_osqp.3.7.dylib +0 -0
- casadi/libcasadi_conic_osqp.dylib +0 -0
- casadi/libcasadi_conic_proxqp.3.7.dylib +0 -0
- casadi/libcasadi_conic_proxqp.dylib +0 -0
- casadi/libcasadi_conic_qpoases.3.7.dylib +0 -0
- casadi/libcasadi_conic_qpoases.dylib +0 -0
- casadi/libcasadi_conic_qrqp.3.7.dylib +0 -0
- casadi/libcasadi_conic_qrqp.dylib +0 -0
- casadi/libcasadi_conic_superscs.3.7.dylib +0 -0
- casadi/libcasadi_conic_superscs.dylib +0 -0
- casadi/libcasadi_importer_shell.3.7.dylib +0 -0
- casadi/libcasadi_importer_shell.dylib +0 -0
- casadi/libcasadi_integrator_collocation.3.7.dylib +0 -0
- casadi/libcasadi_integrator_collocation.dylib +0 -0
- casadi/libcasadi_integrator_cvodes.3.7.dylib +0 -0
- casadi/libcasadi_integrator_cvodes.dylib +0 -0
- casadi/libcasadi_integrator_idas.3.7.dylib +0 -0
- casadi/libcasadi_integrator_idas.dylib +0 -0
- casadi/libcasadi_integrator_rk.3.7.dylib +0 -0
- casadi/libcasadi_integrator_rk.dylib +0 -0
- casadi/libcasadi_interpolant_bspline.3.7.dylib +0 -0
- casadi/libcasadi_interpolant_bspline.dylib +0 -0
- casadi/libcasadi_interpolant_linear.3.7.dylib +0 -0
- casadi/libcasadi_interpolant_linear.dylib +0 -0
- casadi/libcasadi_linsol_csparse.3.7.dylib +0 -0
- casadi/libcasadi_linsol_csparse.dylib +0 -0
- casadi/libcasadi_linsol_csparsecholesky.3.7.dylib +0 -0
- casadi/libcasadi_linsol_csparsecholesky.dylib +0 -0
- casadi/libcasadi_linsol_lapacklu.3.7.dylib +0 -0
- casadi/libcasadi_linsol_lapacklu.dylib +0 -0
- casadi/libcasadi_linsol_lapackqr.3.7.dylib +0 -0
- casadi/libcasadi_linsol_lapackqr.dylib +0 -0
- casadi/libcasadi_linsol_ldl.3.7.dylib +0 -0
- casadi/libcasadi_linsol_ldl.dylib +0 -0
- casadi/libcasadi_linsol_lsqr.3.7.dylib +0 -0
- casadi/libcasadi_linsol_lsqr.dylib +0 -0
- casadi/libcasadi_linsol_ma27.3.7.dylib +0 -0
- casadi/libcasadi_linsol_ma27.dylib +0 -0
- casadi/libcasadi_linsol_mumps.3.7.dylib +0 -0
- casadi/libcasadi_linsol_mumps.dylib +0 -0
- casadi/libcasadi_linsol_qr.3.7.dylib +0 -0
- casadi/libcasadi_linsol_qr.dylib +0 -0
- casadi/libcasadi_linsol_symbolicqr.3.7.dylib +0 -0
- casadi/libcasadi_linsol_symbolicqr.dylib +0 -0
- casadi/libcasadi_linsol_tridiag.3.7.dylib +0 -0
- casadi/libcasadi_linsol_tridiag.dylib +0 -0
- casadi/libcasadi_nlpsol_ampl.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_ampl.dylib +0 -0
- casadi/libcasadi_nlpsol_blocksqp.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_blocksqp.dylib +0 -0
- casadi/libcasadi_nlpsol_bonmin.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_bonmin.dylib +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.dylib +0 -0
- casadi/libcasadi_nlpsol_ipopt.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_ipopt.dylib +0 -0
- casadi/libcasadi_nlpsol_knitro.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_knitro.dylib +0 -0
- casadi/libcasadi_nlpsol_qrsqp.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_qrsqp.dylib +0 -0
- casadi/libcasadi_nlpsol_scpgen.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_scpgen.dylib +0 -0
- casadi/libcasadi_nlpsol_snopt.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_snopt.dylib +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.3.7.dylib +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.dylib +0 -0
- casadi/libcasadi_rootfinder_fast_newton.3.7.dylib +0 -0
- casadi/libcasadi_rootfinder_fast_newton.dylib +0 -0
- casadi/libcasadi_rootfinder_kinsol.3.7.dylib +0 -0
- casadi/libcasadi_rootfinder_kinsol.dylib +0 -0
- casadi/libcasadi_rootfinder_newton.3.7.dylib +0 -0
- casadi/libcasadi_rootfinder_newton.dylib +0 -0
- casadi/libcasadi_rootfinder_nlpsol.3.7.dylib +0 -0
- casadi/libcasadi_rootfinder_nlpsol.dylib +0 -0
- casadi/libcasadi_sundials_common.3.7.dylib +0 -0
- casadi/libcasadi_sundials_common.dylib +0 -0
- casadi/libcasadi_xmlfile_tinyxml.3.7.dylib +0 -0
- casadi/libcasadi_xmlfile_tinyxml.dylib +0 -0
- casadi/libcoinmetis.2.dylib +0 -0
- casadi/libcoinmetis.dylib +0 -0
- casadi/libcoinmetis.la +41 -0
- casadi/libcoinmumps.3.dylib +0 -0
- casadi/libcoinmumps.dylib +0 -0
- casadi/libcoinmumps.la +41 -0
- casadi/libcplex_adaptor.dylib +0 -0
- casadi/libgcc_s.1.1.dylib +0 -0
- casadi/libgfortran.5.dylib +0 -0
- casadi/libgurobi_adaptor.dylib +0 -0
- casadi/libhighs.1.4.0.dylib +0 -0
- casadi/libhighs.1.4.dylib +0 -0
- casadi/libhighs.dylib +0 -0
- casadi/libindirect.a +0 -0
- casadi/libipopt.3.dylib +0 -0
- casadi/libipopt.dylib +0 -0
- casadi/libipopt.la +41 -0
- casadi/liblinsys.a +0 -0
- casadi/libosqp.a +0 -0
- casadi/libosqp.dylib +0 -0
- casadi/libqdldl.a +0 -0
- casadi/libqdldl.dylib +0 -0
- casadi/libquadmath.0.dylib +0 -0
- casadi/libsipopt.3.dylib +0 -0
- casadi/libsipopt.dylib +0 -0
- casadi/libsipopt.la +41 -0
- casadi/libsuperscs.a +0 -0
- casadi/libz.1.2.12.dylib +0 -0
- casadi/pkgconfig/bonmin.pc +12 -0
- casadi/pkgconfig/casadi.pc +12 -0
- casadi/pkgconfig/cbc.pc +12 -0
- casadi/pkgconfig/cgl.pc +12 -0
- casadi/pkgconfig/clp.pc +12 -0
- casadi/pkgconfig/coinmetis.pc +13 -0
- casadi/pkgconfig/coinmumps.pc +15 -0
- casadi/pkgconfig/coinutils.pc +12 -0
- casadi/pkgconfig/highs.pc +12 -0
- casadi/pkgconfig/ipopt.pc +15 -0
- casadi/pkgconfig/osi-cbc.pc +12 -0
- casadi/pkgconfig/osi-clp.pc +12 -0
- casadi/pkgconfig/osi-unittests.pc +12 -0
- casadi/pkgconfig/osi.pc +12 -0
- casadi/pkgconfig/proxsuite.pc +22 -0
- casadi/tools/__init__.py +48 -0
- casadi/tools/bounds.py +107 -0
- casadi/tools/graph/__init__.py +35 -0
- casadi/tools/graph/graph.py +747 -0
- casadi/tools/in_out.py +89 -0
- casadi/tools/structure.py +1446 -0
- casadi/tools/structure3.py +1441 -0
- casadi-3.6.0.dist-info/METADATA +37 -0
- casadi-3.6.0.dist-info/RECORD +1473 -0
- casadi-3.6.0.dist-info/WHEEL +4 -0
- dummy.txt +1 -0
@@ -0,0 +1,1720 @@
|
|
1
|
+
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
2
|
+
/* */
|
3
|
+
/* This file is part of the HiGHS linear optimization suite */
|
4
|
+
/* */
|
5
|
+
/* Written and engineered 2008-2022 at the University of Edinburgh */
|
6
|
+
/* */
|
7
|
+
/* Available as open-source under the MIT License */
|
8
|
+
/* */
|
9
|
+
/* Authors: Julian Hall, Ivet Galabova, Leona Gottwald and Michael */
|
10
|
+
/* Feldmeier */
|
11
|
+
/* */
|
12
|
+
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
13
|
+
#ifndef HIGHS_C_API
|
14
|
+
#define HIGHS_C_API
|
15
|
+
|
16
|
+
#include "util/HighsInt.h"
|
17
|
+
|
18
|
+
const HighsInt kHighsStatusError = -1;
|
19
|
+
const HighsInt kHighsStatusOk = 0;
|
20
|
+
const HighsInt kHighsStatusWarning = 1;
|
21
|
+
|
22
|
+
const HighsInt kHighsVarTypeContinuous = 0;
|
23
|
+
const HighsInt kHighsVarTypeInteger = 1;
|
24
|
+
const HighsInt kHighsVarTypeSemiContinuous = 2;
|
25
|
+
const HighsInt kHighsVarTypeSemiInteger = 3;
|
26
|
+
const HighsInt kHighsVarTypeImplicitInteger = 4;
|
27
|
+
|
28
|
+
const HighsInt kHighsOptionTypeBool = 0;
|
29
|
+
const HighsInt kHighsOptionTypeInt = 1;
|
30
|
+
const HighsInt kHighsOptionTypeDouble = 2;
|
31
|
+
const HighsInt kHighsOptionTypeString = 3;
|
32
|
+
|
33
|
+
const HighsInt kHighsInfoTypeInt64 = -1;
|
34
|
+
const HighsInt kHighsInfoTypeInt = 1;
|
35
|
+
const HighsInt kHighsInfoTypeDouble = 2;
|
36
|
+
|
37
|
+
const HighsInt kHighsObjSenseMinimize = 1;
|
38
|
+
const HighsInt kHighsObjSenseMaximize = -1;
|
39
|
+
|
40
|
+
const HighsInt kHighsMatrixFormatColwise = 1;
|
41
|
+
const HighsInt kHighsMatrixFormatRowwise = 2;
|
42
|
+
|
43
|
+
const HighsInt kHighsHessianFormatTriangular = 1;
|
44
|
+
const HighsInt kHighsHessianFormatSquare = 2;
|
45
|
+
|
46
|
+
const HighsInt kHighsSolutionStatusNone = 0;
|
47
|
+
const HighsInt kHighsSolutionStatusInfeasible = 1;
|
48
|
+
const HighsInt kHighsSolutionStatusFeasible = 2;
|
49
|
+
|
50
|
+
const HighsInt kHighsBasisValidityInvalid = 0;
|
51
|
+
const HighsInt kHighsBasisValidityValid = 1;
|
52
|
+
|
53
|
+
const HighsInt kHighsPresolveStatusNotPresolved = -1;
|
54
|
+
const HighsInt kHighsPresolveStatusNotReduced = 0;
|
55
|
+
const HighsInt kHighsPresolveStatusInfeasible = 1;
|
56
|
+
const HighsInt kHighsPresolveStatusUnboundedOrInfeasible = 2;
|
57
|
+
const HighsInt kHighsPresolveStatusReduced = 3;
|
58
|
+
const HighsInt kHighsPresolveStatusReducedToEmpty = 4;
|
59
|
+
const HighsInt kHighsPresolveStatusTimeout = 5;
|
60
|
+
const HighsInt kHighsPresolveStatusNullError = 6;
|
61
|
+
const HighsInt kHighsPresolveStatusOptionsError = 7;
|
62
|
+
|
63
|
+
const HighsInt kHighsModelStatusNotset = 0;
|
64
|
+
const HighsInt kHighsModelStatusLoadError = 1;
|
65
|
+
const HighsInt kHighsModelStatusModelError = 2;
|
66
|
+
const HighsInt kHighsModelStatusPresolveError = 3;
|
67
|
+
const HighsInt kHighsModelStatusSolveError = 4;
|
68
|
+
const HighsInt kHighsModelStatusPostsolveError = 5;
|
69
|
+
const HighsInt kHighsModelStatusModelEmpty = 6;
|
70
|
+
const HighsInt kHighsModelStatusOptimal = 7;
|
71
|
+
const HighsInt kHighsModelStatusInfeasible = 8;
|
72
|
+
const HighsInt kHighsModelStatusUnboundedOrInfeasible = 9;
|
73
|
+
const HighsInt kHighsModelStatusUnbounded = 10;
|
74
|
+
const HighsInt kHighsModelStatusObjectiveBound = 11;
|
75
|
+
const HighsInt kHighsModelStatusObjectiveTarget = 12;
|
76
|
+
const HighsInt kHighsModelStatusTimeLimit = 13;
|
77
|
+
const HighsInt kHighsModelStatusIterationLimit = 14;
|
78
|
+
const HighsInt kHighsModelStatusUnknown = 15;
|
79
|
+
|
80
|
+
const HighsInt kHighsBasisStatusLower = 0;
|
81
|
+
const HighsInt kHighsBasisStatusBasic = 1;
|
82
|
+
const HighsInt kHighsBasisStatusUpper = 2;
|
83
|
+
const HighsInt kHighsBasisStatusZero = 3;
|
84
|
+
const HighsInt kHighsBasisStatusNonbasic = 4;
|
85
|
+
|
86
|
+
#ifdef __cplusplus
|
87
|
+
extern "C" {
|
88
|
+
#endif
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Formulate and solve a linear program using HiGHS.
|
92
|
+
*
|
93
|
+
* @param num_col the number of columns
|
94
|
+
* @param num_row the number of rows
|
95
|
+
* @param num_nz the number of nonzeros in the constraint matrix
|
96
|
+
* @param a_format the format of the constraint matrix as a
|
97
|
+
* `kHighsMatrixFormat` constant
|
98
|
+
* @param sense the optimization sense as a `kHighsObjSense` constant
|
99
|
+
* @param offset the objective constant
|
100
|
+
* @param col_cost array of length [num_col] with the column costs
|
101
|
+
* @param col_lower array of length [num_col] with the column lower bounds
|
102
|
+
* @param col_upper array of length [num_col] with the column upper bounds
|
103
|
+
* @param row_lower array of length [num_row] with the row lower bounds
|
104
|
+
* @param row_upper array of length [num_row] with the row upper bounds
|
105
|
+
* @param a_start the constraint matrix is provided to HiGHS in compressed
|
106
|
+
* sparse column form (if `a_format` is
|
107
|
+
* `kHighsMatrixFormatColwise`, otherwise compressed sparse row
|
108
|
+
* form). The sparse matrix consists of three arrays,
|
109
|
+
* `a_start`, `a_index`, and `a_value`. `a_start` is an array
|
110
|
+
* of length [num_col] containing the starting index of each
|
111
|
+
* column in `a_index`. If `a_format` is
|
112
|
+
* `kHighsMatrixFormatRowwise` the array is of length [num_row]
|
113
|
+
* corresponding to each row.
|
114
|
+
* @param a_index array of length [num_nz] with indices of matrix entries
|
115
|
+
* @param a_value array of length [num_nz] with values of matrix entries
|
116
|
+
*
|
117
|
+
* @param col_value array of length [num_col], filled with the primal
|
118
|
+
* column solution
|
119
|
+
* @param col_dual array of length [num_col], filled with the dual column
|
120
|
+
* solution
|
121
|
+
* @param row_value array of length [num_row], filled with the primal row
|
122
|
+
* solution
|
123
|
+
* @param row_dual array of length [num_row], filled with the dual row
|
124
|
+
* solution
|
125
|
+
* @param col_basis_status array of length [num_col], filled with the basis
|
126
|
+
* status of the columns in the form of a
|
127
|
+
* `kHighsBasisStatus` constant
|
128
|
+
* @param row_basis_status array of length [num_row], filled with the basis
|
129
|
+
* status of the rows in the form of a
|
130
|
+
* `kHighsBasisStatus` constant
|
131
|
+
* @param model_status termination status of the model after the solve in
|
132
|
+
* the form of a `kHighsModelStatus` constant
|
133
|
+
*
|
134
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
135
|
+
*/
|
136
|
+
HighsInt Highs_lpCall(const HighsInt num_col, const HighsInt num_row,
|
137
|
+
const HighsInt num_nz, const HighsInt a_format,
|
138
|
+
const HighsInt sense, const double offset,
|
139
|
+
const double* col_cost, const double* col_lower,
|
140
|
+
const double* col_upper, const double* row_lower,
|
141
|
+
const double* row_upper, const HighsInt* a_start,
|
142
|
+
const HighsInt* a_index, const double* a_value,
|
143
|
+
double* col_value, double* col_dual, double* row_value,
|
144
|
+
double* row_dual, HighsInt* col_basis_status,
|
145
|
+
HighsInt* row_basis_status, HighsInt* model_status);
|
146
|
+
|
147
|
+
/**
|
148
|
+
* Formulate and solve a mixed-integer linear program using HiGHS.
|
149
|
+
*
|
150
|
+
* The signature of this method is identical to `Highs_lpCall`, except that it
|
151
|
+
* has an additional `integrality` argument, and that it is missing the
|
152
|
+
* `col_dual`, `row_dual`, `col_basis_status` and `row_basis_status` arguments.
|
153
|
+
*
|
154
|
+
* @param integrality array of length [num_col] containing a `kHighsVarType`
|
155
|
+
* constant for each column
|
156
|
+
*
|
157
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
158
|
+
*/
|
159
|
+
HighsInt Highs_mipCall(const HighsInt num_col, const HighsInt num_row,
|
160
|
+
const HighsInt num_nz, const HighsInt a_format,
|
161
|
+
const HighsInt sense, const double offset,
|
162
|
+
const double* col_cost, const double* col_lower,
|
163
|
+
const double* col_upper, const double* row_lower,
|
164
|
+
const double* row_upper, const HighsInt* a_start,
|
165
|
+
const HighsInt* a_index, const double* a_value,
|
166
|
+
const HighsInt* integrality, double* col_value,
|
167
|
+
double* row_value, HighsInt* model_status);
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Formulate and solve a quadratic program using HiGHS.
|
171
|
+
*
|
172
|
+
* The signature of this method is identical to `Highs_lpCall`, except that it
|
173
|
+
* has additional arguments for specifying the Hessian matrix.
|
174
|
+
|
175
|
+
* @param q_num_nz the number of nonzeros in the Hessian matrix
|
176
|
+
* @param q_format the format of the Hessian matrix in the form of a
|
177
|
+
* `kHighsHessianStatus` constant. If q_num_nz > 0, this must
|
178
|
+
be `kHighsHessianFormatTriangular`
|
179
|
+
* @param q_start the Hessian matrix is provided in the same format as the
|
180
|
+
* constraint matrix, using `q_start`, `q_index`, and `q_value`
|
181
|
+
* in the place of `a_start`, `a_index`, and `a_value`
|
182
|
+
* @param q_index array of length [q_num_nz] with indices of matrix entries
|
183
|
+
* @param q_value array of length [q_num_nz] with values of matrix entries
|
184
|
+
*
|
185
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
186
|
+
*/
|
187
|
+
HighsInt Highs_qpCall(
|
188
|
+
const HighsInt num_col, const HighsInt num_row, const HighsInt num_nz,
|
189
|
+
const HighsInt q_num_nz, const HighsInt a_format, const HighsInt q_format,
|
190
|
+
const HighsInt sense, const double offset, const double* col_cost,
|
191
|
+
const double* col_lower, const double* col_upper, const double* row_lower,
|
192
|
+
const double* row_upper, const HighsInt* a_start, const HighsInt* a_index,
|
193
|
+
const double* a_value, const HighsInt* q_start, const HighsInt* q_index,
|
194
|
+
const double* q_value, double* col_value, double* col_dual,
|
195
|
+
double* row_value, double* row_dual, HighsInt* col_basis_status,
|
196
|
+
HighsInt* row_basis_status, HighsInt* model_status);
|
197
|
+
|
198
|
+
/**
|
199
|
+
* Create a Highs instance and return the reference.
|
200
|
+
*
|
201
|
+
* Call `Highs_destroy` on the returned reference to clean up allocated memory.
|
202
|
+
*
|
203
|
+
* @returns A pointer to the Highs instance
|
204
|
+
*/
|
205
|
+
void* Highs_create(void);
|
206
|
+
|
207
|
+
/**
|
208
|
+
* Destroy the model `highs` created by `Highs_create` and free all
|
209
|
+
* corresponding memory. Future calls using `highs` are not allowed.
|
210
|
+
*
|
211
|
+
* To empty a model without invalidating `highs`, see `Highs_clearModel`.
|
212
|
+
*
|
213
|
+
* @param highs a pointer to the Highs instance
|
214
|
+
*/
|
215
|
+
void Highs_destroy(void* highs);
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Read a model from `filename` into `highs`.
|
219
|
+
*
|
220
|
+
* @param highs a pointer to the Highs instance
|
221
|
+
* @param filename the filename to read
|
222
|
+
*
|
223
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
224
|
+
*/
|
225
|
+
HighsInt Highs_readModel(void* highs, const char* filename);
|
226
|
+
|
227
|
+
/**
|
228
|
+
* Write the model in `highs` to `filename`.
|
229
|
+
*
|
230
|
+
* @param highs a pointer to the Highs instance
|
231
|
+
* @param filename the filename to write.
|
232
|
+
*
|
233
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
234
|
+
*/
|
235
|
+
HighsInt Highs_writeModel(void* highs, const char* filename);
|
236
|
+
|
237
|
+
/**
|
238
|
+
* Reset the options and then calls clearModel()
|
239
|
+
*
|
240
|
+
* See `Highs_destroy` to free all associated memory.
|
241
|
+
*
|
242
|
+
* @param highs a pointer to the Highs instance
|
243
|
+
*
|
244
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
245
|
+
*/
|
246
|
+
HighsInt Highs_clear(void* highs);
|
247
|
+
|
248
|
+
/**
|
249
|
+
* Remove all variables and constraints from the model `highs`, but do not
|
250
|
+
* invalidate the pointer `highs`. Future calls (for example, adding new
|
251
|
+
* variables and constraints) are allowed.
|
252
|
+
*
|
253
|
+
* @param highs a pointer to the Highs instance
|
254
|
+
*
|
255
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
256
|
+
*/
|
257
|
+
HighsInt Highs_clearModel(void* highs);
|
258
|
+
|
259
|
+
/**
|
260
|
+
* Clear all solution data associated with the model
|
261
|
+
*
|
262
|
+
* See `Highs_destroy` to clear the model and free all associated memory.
|
263
|
+
*
|
264
|
+
* @param highs a pointer to the Highs instance
|
265
|
+
*
|
266
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
267
|
+
*/
|
268
|
+
HighsInt Highs_clearSolver(void* highs);
|
269
|
+
|
270
|
+
/**
|
271
|
+
* Optimize a model. The algorithm used by HiGHS depends on the options that
|
272
|
+
* have been set.
|
273
|
+
*
|
274
|
+
* @param highs a pointer to the Highs instance
|
275
|
+
*
|
276
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
277
|
+
*/
|
278
|
+
HighsInt Highs_run(void* highs);
|
279
|
+
|
280
|
+
/**
|
281
|
+
* Write the solution information (including dual and basis status, if
|
282
|
+
* available) to a file.
|
283
|
+
*
|
284
|
+
* See also: `Highs_writeSolutionPretty`.
|
285
|
+
*
|
286
|
+
* @param highs a pointer to the Highs instance
|
287
|
+
* @param filename the name of the file to write the results to
|
288
|
+
*
|
289
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
290
|
+
*/
|
291
|
+
HighsInt Highs_writeSolution(const void* highs, const char* filename);
|
292
|
+
|
293
|
+
/**
|
294
|
+
* Write the solution information (including dual and basis status, if
|
295
|
+
* available) to a file in a human-readable format.
|
296
|
+
*
|
297
|
+
* The method identical to `Highs_writeSolution`, except that the
|
298
|
+
* printout is in a human-readiable format.
|
299
|
+
*
|
300
|
+
* @param highs a pointer to the Highs instance
|
301
|
+
* @param filename the name of the file to write the results to
|
302
|
+
*
|
303
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
304
|
+
*/
|
305
|
+
HighsInt Highs_writeSolutionPretty(const void* highs, const char* filename);
|
306
|
+
|
307
|
+
/**
|
308
|
+
* Pass a linear program (LP) to HiGHS in a single function call.
|
309
|
+
*
|
310
|
+
* The signature of this function is identical to `Highs_passModel`, without the
|
311
|
+
* arguments for passing the Hessian matrix of a quadratic program and the
|
312
|
+
* integrality vector.
|
313
|
+
*
|
314
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
315
|
+
*/
|
316
|
+
HighsInt Highs_passLp(void* highs, const HighsInt num_col,
|
317
|
+
const HighsInt num_row, const HighsInt num_nz,
|
318
|
+
const HighsInt a_format, const HighsInt sense,
|
319
|
+
const double offset, const double* col_cost,
|
320
|
+
const double* col_lower, const double* col_upper,
|
321
|
+
const double* row_lower, const double* row_upper,
|
322
|
+
const HighsInt* a_start, const HighsInt* a_index,
|
323
|
+
const double* a_value);
|
324
|
+
|
325
|
+
/**
|
326
|
+
* Pass a mixed-integer linear program (MILP) to HiGHS in a single function
|
327
|
+
* call.
|
328
|
+
*
|
329
|
+
* The signature of function is identical to `Highs_passModel`, without the
|
330
|
+
* arguments for passing the Hessian matrix of a quadratic program.
|
331
|
+
*
|
332
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
333
|
+
*/
|
334
|
+
HighsInt Highs_passMip(void* highs, const HighsInt num_col,
|
335
|
+
const HighsInt num_row, const HighsInt num_nz,
|
336
|
+
const HighsInt a_format, const HighsInt sense,
|
337
|
+
const double offset, const double* col_cost,
|
338
|
+
const double* col_lower, const double* col_upper,
|
339
|
+
const double* row_lower, const double* row_upper,
|
340
|
+
const HighsInt* a_start, const HighsInt* a_index,
|
341
|
+
const double* a_value, const HighsInt* integrality);
|
342
|
+
|
343
|
+
/**
|
344
|
+
* Pass a model to HiGHS in a single function call. This is faster than
|
345
|
+
* constructing the model using `Highs_addRow` and `Highs_addCol`.
|
346
|
+
*
|
347
|
+
* @param highs a pointer to the Highs instance
|
348
|
+
* @param num_col the number of columns
|
349
|
+
* @param num_row the number of rows
|
350
|
+
* @param num_nz the number of elements in the constraint matrix
|
351
|
+
* @param q_num_nz the number of elements in the Hessian matrix
|
352
|
+
* @param a_format the format of the constraint matrix to use in th form of a
|
353
|
+
* `kHighsMatrixFormat` constant
|
354
|
+
* @param q_format the format of the Hessian matrix to use in the form of a
|
355
|
+
* `kHighsHessianFormat` constant
|
356
|
+
* @param sense the optimization sense in the form of a `kHighsObjSense`
|
357
|
+
* constant
|
358
|
+
* @param offset the constant term in the objective function
|
359
|
+
* @param col_cost array of length [num_col] with the objective coefficients
|
360
|
+
* @param col_lower array of length [num_col] with the lower column bounds
|
361
|
+
* @param col_upper array of length [num_col] with the upper column bounds
|
362
|
+
* @param row_lower array of length [num_row] with the upper row bounds
|
363
|
+
* @param row_upper array of length [num_row] with the upper row bounds
|
364
|
+
* @param a_start the constraint matrix is provided to HiGHS in compressed
|
365
|
+
* sparse column form (if `a_format` is
|
366
|
+
* `kHighsMatrixFormatColwise`, otherwise compressed sparse
|
367
|
+
* row form). The sparse matrix consists of three arrays,
|
368
|
+
* `a_start`, `a_index`, and `a_value`. `a_start` is an array
|
369
|
+
* of length [num_col] containing the starting index of each
|
370
|
+
* column in `a_index`. If `a_format` is
|
371
|
+
* `kHighsMatrixFormatRowwise` the array is of length
|
372
|
+
* [num_row] corresponding to each row.
|
373
|
+
* @param a_index array of length [num_nz] with indices of matrix entries
|
374
|
+
* @param a_value array of length [num_nz] with values of matrix entries
|
375
|
+
* @param q_start the Hessian matrix is provided in the same format as the
|
376
|
+
* constraint matrix, using `q_start`, `q_index`, and
|
377
|
+
* `q_value` in the place of `a_start`, `a_index`, and
|
378
|
+
* `a_value`. If the model is linear, pass NULL.
|
379
|
+
* @param q_index array of length [q_num_nz] with indices of matrix entries.
|
380
|
+
* If the model is linear, pass NULL.
|
381
|
+
* @param q_value array of length [q_num_nz] with values of matrix entries.
|
382
|
+
* If the model is linear, pass NULL.
|
383
|
+
* @param integrality an array of length [num_col] containing a `kHighsVarType`
|
384
|
+
* consatnt for each column
|
385
|
+
*
|
386
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
387
|
+
*/
|
388
|
+
HighsInt Highs_passModel(void* highs, const HighsInt num_col,
|
389
|
+
const HighsInt num_row, const HighsInt num_nz,
|
390
|
+
const HighsInt q_num_nz, const HighsInt a_format,
|
391
|
+
const HighsInt q_format, const HighsInt sense,
|
392
|
+
const double offset, const double* col_cost,
|
393
|
+
const double* col_lower, const double* col_upper,
|
394
|
+
const double* row_lower, const double* row_upper,
|
395
|
+
const HighsInt* a_start, const HighsInt* a_index,
|
396
|
+
const double* a_value, const HighsInt* q_start,
|
397
|
+
const HighsInt* q_index, const double* q_value,
|
398
|
+
const HighsInt* integrality);
|
399
|
+
|
400
|
+
/**
|
401
|
+
* Set the Hessian matrix for a quadratic objective.
|
402
|
+
*
|
403
|
+
* @param highs a pointer to the Highs instance
|
404
|
+
* @param dim the dimension of the Hessian matrix. Should be [num_col].
|
405
|
+
* @param num_nz the number of non-zero elements in the Hessian matrix
|
406
|
+
* @param format the format of the Hessian matrix as a `kHighsHessianFormat`
|
407
|
+
* constant. This must be `kHighsHessianFormatTriangular`.
|
408
|
+
* @param start the Hessian matrix is provided to HiGHS as the upper
|
409
|
+
* triangular component in compressed sparse column form. The
|
410
|
+
* sparse matrix consists of three arrays, `start`, `index`,
|
411
|
+
* and `value`. `start` is an array of length [num_col]
|
412
|
+
* containing the starting index of each column in `index`.
|
413
|
+
* @param index array of length [num_nz] with indices of matrix entries
|
414
|
+
* @param value array of length [num_nz] with values of matrix entries
|
415
|
+
*
|
416
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
417
|
+
*/
|
418
|
+
HighsInt Highs_passHessian(void* highs, const HighsInt dim,
|
419
|
+
const HighsInt num_nz, const HighsInt format,
|
420
|
+
const HighsInt* start, const HighsInt* index,
|
421
|
+
const double* value);
|
422
|
+
|
423
|
+
/**
|
424
|
+
* Set a boolean-valued option.
|
425
|
+
*
|
426
|
+
* @param highs a pointer to the Highs instance
|
427
|
+
* @param option the name of the option
|
428
|
+
* @param value the value of the option
|
429
|
+
*
|
430
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
431
|
+
*/
|
432
|
+
HighsInt Highs_setBoolOptionValue(void* highs, const char* option,
|
433
|
+
const HighsInt value);
|
434
|
+
|
435
|
+
/**
|
436
|
+
* Set an int-valued option.
|
437
|
+
*
|
438
|
+
* @param highs a pointer to the Highs instance
|
439
|
+
* @param option the name of the option
|
440
|
+
* @param value the value of the option
|
441
|
+
*
|
442
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
443
|
+
*/
|
444
|
+
HighsInt Highs_setIntOptionValue(void* highs, const char* option,
|
445
|
+
const HighsInt value);
|
446
|
+
|
447
|
+
/**
|
448
|
+
* Set a double-valued option.
|
449
|
+
*
|
450
|
+
* @param highs a pointer to the Highs instance
|
451
|
+
* @param option the name of the option
|
452
|
+
* @param value the value of the option
|
453
|
+
*
|
454
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
455
|
+
*/
|
456
|
+
HighsInt Highs_setDoubleOptionValue(void* highs, const char* option,
|
457
|
+
const double value);
|
458
|
+
|
459
|
+
/**
|
460
|
+
* Set a string-valued option.
|
461
|
+
*
|
462
|
+
* @param highs a pointer to the Highs instance
|
463
|
+
* @param option the name of the option
|
464
|
+
* @param value the value of the option
|
465
|
+
*
|
466
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
467
|
+
*/
|
468
|
+
HighsInt Highs_setStringOptionValue(void* highs, const char* option,
|
469
|
+
const char* value);
|
470
|
+
|
471
|
+
/**
|
472
|
+
* Get a boolean-valued option.
|
473
|
+
*
|
474
|
+
* @param highs a pointer to the Highs instance
|
475
|
+
* @param option the name of the option
|
476
|
+
* @param value storage for the value of the option
|
477
|
+
*
|
478
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
479
|
+
*/
|
480
|
+
HighsInt Highs_getBoolOptionValue(const void* highs, const char* option,
|
481
|
+
HighsInt* value);
|
482
|
+
|
483
|
+
/**
|
484
|
+
* Get an int-valued option.
|
485
|
+
*
|
486
|
+
* @param highs a pointer to the Highs instance
|
487
|
+
* @param option the name of the option
|
488
|
+
* @param value storage for the value of the option
|
489
|
+
*
|
490
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
491
|
+
*/
|
492
|
+
HighsInt Highs_getIntOptionValue(const void* highs, const char* option,
|
493
|
+
HighsInt* value);
|
494
|
+
|
495
|
+
/**
|
496
|
+
* Get a double-valued option.
|
497
|
+
*
|
498
|
+
* @param highs a pointer to the Highs instance
|
499
|
+
* @param option the name of the option
|
500
|
+
* @param value storage for the value of the option
|
501
|
+
*
|
502
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
503
|
+
*/
|
504
|
+
HighsInt Highs_getDoubleOptionValue(const void* highs, const char* option,
|
505
|
+
double* value);
|
506
|
+
|
507
|
+
/**
|
508
|
+
* Get a string-valued option.
|
509
|
+
*
|
510
|
+
* @param highs a pointer to the Highs instance
|
511
|
+
* @param option the name of the option
|
512
|
+
* @param value pointer to allocated memory to store the value of the option
|
513
|
+
*
|
514
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
515
|
+
*/
|
516
|
+
HighsInt Highs_getStringOptionValue(const void* highs, const char* option,
|
517
|
+
char* value);
|
518
|
+
|
519
|
+
/**
|
520
|
+
* Get the type expected by an option.
|
521
|
+
*
|
522
|
+
* @param highs a pointer to the Highs instance
|
523
|
+
* @param option the name of the option
|
524
|
+
* @param type int in which the corresponding `kHighsOptionType` constant
|
525
|
+
* is stored
|
526
|
+
*
|
527
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
528
|
+
*/
|
529
|
+
HighsInt Highs_getOptionType(const void* highs, const char* option,
|
530
|
+
HighsInt* type);
|
531
|
+
|
532
|
+
/**
|
533
|
+
* Reset all options to their default value.
|
534
|
+
*
|
535
|
+
* @param highs a pointer to the Highs instance
|
536
|
+
*
|
537
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
538
|
+
*/
|
539
|
+
HighsInt Highs_resetOptions(void* highs);
|
540
|
+
|
541
|
+
/**
|
542
|
+
* Write the current options to file.
|
543
|
+
*
|
544
|
+
* @param highs a pointer to the Highs instance
|
545
|
+
* @param filename the filename to write the options to
|
546
|
+
*
|
547
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
548
|
+
*/
|
549
|
+
HighsInt Highs_writeOptions(const void* highs, const char* filename);
|
550
|
+
|
551
|
+
/**
|
552
|
+
* Write the value of non-default options to file.
|
553
|
+
*
|
554
|
+
* This is similar to `Highs_writeOptions`, except only options with
|
555
|
+
* non-default value are written to `filename`.
|
556
|
+
*
|
557
|
+
* @param highs a pointer to the Highs instance
|
558
|
+
* @param filename the filename to write the options to
|
559
|
+
*
|
560
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
561
|
+
*/
|
562
|
+
HighsInt Highs_writeOptionsDeviations(const void* highs, const char* filename);
|
563
|
+
|
564
|
+
/**
|
565
|
+
* Get an int-valued info value.
|
566
|
+
*
|
567
|
+
* @param highs a pointer to the Highs instance
|
568
|
+
* @param info the name of the info item
|
569
|
+
* @param value a reference to an integer that the result will be stored in
|
570
|
+
*
|
571
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
572
|
+
*/
|
573
|
+
HighsInt Highs_getIntInfoValue(const void* highs, const char* info,
|
574
|
+
HighsInt* value);
|
575
|
+
|
576
|
+
/**
|
577
|
+
* Get a double-valued info value.
|
578
|
+
*
|
579
|
+
* @param highs a pointer to the Highs instance
|
580
|
+
* @param info the name of the info item
|
581
|
+
* @param value a reference to an double that the result will be stored in
|
582
|
+
*
|
583
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
584
|
+
*/
|
585
|
+
HighsInt Highs_getDoubleInfoValue(const void* highs, const char* info,
|
586
|
+
double* value);
|
587
|
+
|
588
|
+
/**
|
589
|
+
* Get an int64-valued info value.
|
590
|
+
*
|
591
|
+
* @param highs a pointer to the Highs instance
|
592
|
+
* @param info the name of the info item
|
593
|
+
* @param value a reference to a int64 that the result will be stored in
|
594
|
+
*
|
595
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
596
|
+
*/
|
597
|
+
HighsInt Highs_getInt64InfoValue(const void* highs, const char* info,
|
598
|
+
int64_t* value);
|
599
|
+
|
600
|
+
/**
|
601
|
+
* Get the primal and dual solution from an optimized model.
|
602
|
+
*
|
603
|
+
* @param highs a pointer to the Highs instance
|
604
|
+
* @param col_value array of length [num_col], filled with primal column values
|
605
|
+
* @param col_dual array of length [num_col], filled with dual column values
|
606
|
+
* @param row_value array of length [num_row], filled with primal row values
|
607
|
+
* @param row_dual array of length [num_row], filled with dual row values
|
608
|
+
*
|
609
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
610
|
+
*/
|
611
|
+
HighsInt Highs_getSolution(const void* highs, double* col_value,
|
612
|
+
double* col_dual, double* row_value,
|
613
|
+
double* row_dual);
|
614
|
+
|
615
|
+
/**
|
616
|
+
* Given a linear program with a basic feasible solution, get the column and row
|
617
|
+
* basis statuses.
|
618
|
+
*
|
619
|
+
* @param highs a pointer to the Highs instance
|
620
|
+
* @param col_status array of length [num_col], to be filled with the column
|
621
|
+
* basis statuses in the form of a `kHighsBasisStatus`
|
622
|
+
* constant
|
623
|
+
* @param row_status array of length [num_row], to be filled with the row
|
624
|
+
* basis statuses in the form of a `kHighsBasisStatus`
|
625
|
+
* constant
|
626
|
+
*
|
627
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
628
|
+
*/
|
629
|
+
HighsInt Highs_getBasis(const void* highs, HighsInt* col_status,
|
630
|
+
HighsInt* row_status);
|
631
|
+
|
632
|
+
/**
|
633
|
+
* Return the optimization status of the model in the form of a
|
634
|
+
* `kHighsModelStatus` constant.
|
635
|
+
*
|
636
|
+
* @param highs a pointer to the Highs instance
|
637
|
+
*
|
638
|
+
* @returns an integer corresponding to the `kHighsModelStatus` constant
|
639
|
+
*/
|
640
|
+
HighsInt Highs_getModelStatus(const void* highs);
|
641
|
+
|
642
|
+
/**
|
643
|
+
* Get an unbounded dual ray that is a certificate of primal infeasibility.
|
644
|
+
*
|
645
|
+
* @param highs a pointer to the Highs instance
|
646
|
+
* @param has_dual_ray a pointer to an int to store 1 if the dual ray
|
647
|
+
* exists
|
648
|
+
* @param dual_ray_value an array of length [num_row] filled with the
|
649
|
+
* unbounded ray
|
650
|
+
*
|
651
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
652
|
+
*/
|
653
|
+
HighsInt Highs_getDualRay(const void* highs, HighsInt* has_dual_ray,
|
654
|
+
double* dual_ray_value);
|
655
|
+
|
656
|
+
/**
|
657
|
+
* Get an unbounded primal ray that is a certificate of dual infeasibility.
|
658
|
+
*
|
659
|
+
* @param highs a pointer to the Highs instance
|
660
|
+
* @param has_primal_ray a pointer to an int to store 1 if the primal ray
|
661
|
+
* exists
|
662
|
+
* @param primal_ray_value an array of length [num_col] filled with the
|
663
|
+
* unbounded ray
|
664
|
+
*
|
665
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
666
|
+
*/
|
667
|
+
HighsInt Highs_getPrimalRay(const void* highs, HighsInt* has_primal_ray,
|
668
|
+
double* primal_ray_value);
|
669
|
+
|
670
|
+
/**
|
671
|
+
* Get the primal objective function value.
|
672
|
+
*
|
673
|
+
* @param highs a pointer to the Highs instance
|
674
|
+
*
|
675
|
+
* @returns the primal objective function value
|
676
|
+
*/
|
677
|
+
double Highs_getObjectiveValue(const void* highs);
|
678
|
+
|
679
|
+
/**
|
680
|
+
* Get the indices of the rows and columns that make up the basis matrix of a
|
681
|
+
* basic feasible solution.
|
682
|
+
*
|
683
|
+
* Non-negative entries are indices of columns, and negative entries are
|
684
|
+
* `-row_index - 1`. For example, `{1, -1}` would be the second column and first
|
685
|
+
* row.
|
686
|
+
*
|
687
|
+
* The order of these rows and columns is important for calls to the functions:
|
688
|
+
* - `Highs_getBasisInverseRow`
|
689
|
+
* - `Highs_getBasisInverseCol`
|
690
|
+
* - `Highs_getBasisSolve`
|
691
|
+
* - `Highs_getBasisTransposeSolve`
|
692
|
+
* - `Highs_getReducedRow`
|
693
|
+
* - `Highs_getReducedColumn`
|
694
|
+
*
|
695
|
+
* @param highs a pointer to the Highs instance
|
696
|
+
* @param basic_variables array of size [num_rows], filled with the indices of
|
697
|
+
* the basic variables
|
698
|
+
*
|
699
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
700
|
+
*/
|
701
|
+
HighsInt Highs_getBasicVariables(const void* highs, HighsInt* basic_variables);
|
702
|
+
|
703
|
+
/**
|
704
|
+
* Get a row of the inverse basis matrix \f$B^{-1}\f$.
|
705
|
+
*
|
706
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
707
|
+
*
|
708
|
+
* The arrays `row_vector` and `row_index` must have an allocated length of
|
709
|
+
* [num_row]. However, check `row_num_nz` to see how many non-zero elements are
|
710
|
+
* actually stored.
|
711
|
+
*
|
712
|
+
* @param highs a pointer to the Highs instance
|
713
|
+
* @param row index of the row to compute
|
714
|
+
* @param row_vector values of the non-zero elements
|
715
|
+
* @param row_num_nz the number of non-zeros in the row
|
716
|
+
* @param row_index indices of the non-zero elements
|
717
|
+
*
|
718
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
719
|
+
*/
|
720
|
+
HighsInt Highs_getBasisInverseRow(const void* highs, const HighsInt row,
|
721
|
+
double* row_vector, HighsInt* row_num_nz,
|
722
|
+
HighsInt* row_index);
|
723
|
+
|
724
|
+
/**
|
725
|
+
* Get a column of the inverse basis matrix \f$B^{-1}\f$.
|
726
|
+
*
|
727
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
728
|
+
*
|
729
|
+
* The arrays `col_vector` and `col_index` must have an allocated length of
|
730
|
+
* [num_row]. However, check `col_num_nz` to see how many non-zero elements are
|
731
|
+
* actually stored.
|
732
|
+
*
|
733
|
+
* @param highs a pointer to the Highs instance
|
734
|
+
* @param col index of the column to compute
|
735
|
+
* @param col_vector values of the non-zero elements
|
736
|
+
* @param col_num_nz the number of non-zeros in the column
|
737
|
+
* @param col_index indices of the non-zero elements
|
738
|
+
|
739
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
740
|
+
*/
|
741
|
+
HighsInt Highs_getBasisInverseCol(const void* highs, const HighsInt col,
|
742
|
+
double* col_vector, HighsInt* col_num_nz,
|
743
|
+
HighsInt* col_index);
|
744
|
+
|
745
|
+
/**
|
746
|
+
* Compute \f$\mathbf{x}=B^{-1}\mathbf{b}\f$ for a given vector
|
747
|
+
* \f$\mathbf{b}\f$.
|
748
|
+
*
|
749
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
750
|
+
*
|
751
|
+
* The arrays `solution_vector` and `solution_index` must have an allocated
|
752
|
+
* length of [num_row]. However, check `solution_num_nz` to see how many
|
753
|
+
* non-zero elements are actually stored.
|
754
|
+
*
|
755
|
+
* @param highs a pointer to the Highs instance
|
756
|
+
* @param rhs the right-hand side vector `b`
|
757
|
+
* @param solution_vector values of the non-zero elements
|
758
|
+
* @param solution_num_nz the number of non-zeros in the solution
|
759
|
+
* @param solution_index indices of the non-zero elements
|
760
|
+
*
|
761
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
762
|
+
*/
|
763
|
+
HighsInt Highs_getBasisSolve(const void* highs, const double* rhs,
|
764
|
+
double* solution_vector, HighsInt* solution_num_nz,
|
765
|
+
HighsInt* solution_index);
|
766
|
+
|
767
|
+
/**
|
768
|
+
* Compute \f$\mathbf{x}=B^{-T}\mathbf{b}\f$ for a given vector
|
769
|
+
* \f$\mathbf{b}\f$.
|
770
|
+
*
|
771
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
772
|
+
*
|
773
|
+
* The arrays `solution_vector` and `solution_index` must have an allocated
|
774
|
+
* length of [num_row]. However, check `solution_num_nz` to see how many
|
775
|
+
* non-zero elements are actually stored.
|
776
|
+
*
|
777
|
+
* @param highs a pointer to the Highs instance
|
778
|
+
* @param rhs the right-hand side vector `b`
|
779
|
+
* @param solution_vector values of the non-zero elements
|
780
|
+
* @param solution_num_nz the number of non-zeros in the solution
|
781
|
+
* @param solution_index indices of the non-zero elements
|
782
|
+
*
|
783
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
784
|
+
*/
|
785
|
+
HighsInt Highs_getBasisTransposeSolve(const void* highs, const double* rhs,
|
786
|
+
double* solution_vector,
|
787
|
+
HighsInt* solution_nz,
|
788
|
+
HighsInt* solution_index);
|
789
|
+
|
790
|
+
/**
|
791
|
+
* Compute a row of \f$B^{-1}A\f$.
|
792
|
+
*
|
793
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
794
|
+
*
|
795
|
+
* The arrays `row_vector` and `row_index` must have an allocated length of
|
796
|
+
* [num_row]. However, check `row_num_nz` to see how many non-zero elements are
|
797
|
+
* actually stored.
|
798
|
+
*
|
799
|
+
* @param highs a pointer to the Highs instance
|
800
|
+
* @param row index of the row to compute
|
801
|
+
* @param row_vector values of the non-zero elements
|
802
|
+
* @param row_num_nz the number of non-zeros in the row
|
803
|
+
* @param row_index indices of the non-zero elements
|
804
|
+
*
|
805
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
806
|
+
*/
|
807
|
+
HighsInt Highs_getReducedRow(const void* highs, const HighsInt row,
|
808
|
+
double* row_vector, HighsInt* row_num_nz,
|
809
|
+
HighsInt* row_index);
|
810
|
+
|
811
|
+
/**
|
812
|
+
* Compute a column of \f$B^{-1}A\f$.
|
813
|
+
*
|
814
|
+
* See `Highs_getBasicVariables` for a description of the `B` matrix.
|
815
|
+
*
|
816
|
+
* The arrays `col_vector` and `col_index` must have an allocated length of
|
817
|
+
* [num_row]. However, check `col_num_nz` to see how many non-zero elements are
|
818
|
+
* actually stored.
|
819
|
+
*
|
820
|
+
* @param highs a pointer to the Highs instance
|
821
|
+
* @param col index of the column to compute
|
822
|
+
* @param col_vector values of the non-zero elements
|
823
|
+
* @param col_num_nz the number of non-zeros in the column
|
824
|
+
* @param col_index indices of the non-zero elements
|
825
|
+
|
826
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
827
|
+
*/
|
828
|
+
HighsInt Highs_getReducedColumn(const void* highs, const HighsInt col,
|
829
|
+
double* col_vector, HighsInt* col_num_nz,
|
830
|
+
HighsInt* col_index);
|
831
|
+
|
832
|
+
/**
|
833
|
+
* Set a basic feasible solution by passing the column and row basis statuses to
|
834
|
+
* the model.
|
835
|
+
*
|
836
|
+
* @param highs a pointer to the Highs instance
|
837
|
+
* @param col_status an array of length [num_col] with the column basis status
|
838
|
+
* in the form of `kHighsBasisStatus` constants
|
839
|
+
* @param row_status an array of length [num_row] with the row basis status
|
840
|
+
* in the form of `kHighsBasisStatus` constants
|
841
|
+
*
|
842
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
843
|
+
*/
|
844
|
+
HighsInt Highs_setBasis(void* highs, const HighsInt* col_status,
|
845
|
+
const HighsInt* row_status);
|
846
|
+
|
847
|
+
/**
|
848
|
+
* Set a logical basis in the model.
|
849
|
+
*
|
850
|
+
* @param highs a pointer to the Highs instance
|
851
|
+
*
|
852
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
853
|
+
*/
|
854
|
+
HighsInt Highs_setLogicalBasis(void* highs);
|
855
|
+
|
856
|
+
/**
|
857
|
+
* Set a solution by passing the column and row primal and dual
|
858
|
+
* solution values. For any values that are unavailable pass NULL.
|
859
|
+
*
|
860
|
+
* @param highs a pointer to the Highs instance
|
861
|
+
* @param col_value an array of length [num_col] with the column solution
|
862
|
+
* values
|
863
|
+
* @param row_value an array of length [num_row] with the row solution
|
864
|
+
* values
|
865
|
+
* @param col_dual an array of length [num_col] with the column dual values
|
866
|
+
* @param row_dual an array of length [num_row] with the row dual values
|
867
|
+
*
|
868
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
869
|
+
*/
|
870
|
+
HighsInt Highs_setSolution(void* highs, const double* col_value,
|
871
|
+
const double* row_value, const double* col_dual,
|
872
|
+
const double* row_dual);
|
873
|
+
|
874
|
+
/**
|
875
|
+
* Return the cumulative wall-clock time spent in `Highs_run`.
|
876
|
+
*
|
877
|
+
* @param highs a pointer to the Highs instance
|
878
|
+
*
|
879
|
+
* @returns the cumulative wall-clock time spent in `Highs_run`
|
880
|
+
*/
|
881
|
+
double Highs_getRunTime(const void* highs);
|
882
|
+
|
883
|
+
/**
|
884
|
+
* Add a new column (variable) to the model.
|
885
|
+
*
|
886
|
+
* @param highs a pointer to the Highs instance
|
887
|
+
* @param cost objective coefficient of the column
|
888
|
+
* @param lower lower bound of the column
|
889
|
+
* @param upper upper bound of the column
|
890
|
+
* @param num_new_nz number of non-zeros in the column
|
891
|
+
* @param index array of size [num_new_nz] with the row indices
|
892
|
+
* @param value array of size [num_new_nz] with row values
|
893
|
+
*
|
894
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
895
|
+
*/
|
896
|
+
HighsInt Highs_addCol(void* highs, const double cost, const double lower,
|
897
|
+
const double upper, const HighsInt num_new_nz,
|
898
|
+
const HighsInt* index, const double* value);
|
899
|
+
|
900
|
+
/**
|
901
|
+
* Add multiple columns (variables) to the model.
|
902
|
+
*
|
903
|
+
* @param highs a pointer to the Highs instance
|
904
|
+
* @param num_new_col number of new columns to add
|
905
|
+
* @param costs array of size [num_new_col] with objective coefficients
|
906
|
+
* @param lower array of size [num_new_col] with lower bounds
|
907
|
+
* @param upper array of size [num_new_col] with upper bounds
|
908
|
+
* @param num_new_nz number of new nonzeros in the constraint matrix
|
909
|
+
* @param starts the constraint coefficients are given as a matrix in
|
910
|
+
* compressed sparse column form by the arrays `starts`,
|
911
|
+
* `index`, and `value`. `starts` is an array of size
|
912
|
+
* [num_new_cols] with the start index of each row in
|
913
|
+
* indices and values.
|
914
|
+
* @param index array of size [num_new_nz] with row indices
|
915
|
+
* @param value array of size [num_new_nz] with row values
|
916
|
+
*
|
917
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
918
|
+
*/
|
919
|
+
HighsInt Highs_addCols(void* highs, const HighsInt num_new_col,
|
920
|
+
const double* costs, const double* lower,
|
921
|
+
const double* upper, const HighsInt num_new_nz,
|
922
|
+
const HighsInt* starts, const HighsInt* index,
|
923
|
+
const double* value);
|
924
|
+
|
925
|
+
/**
|
926
|
+
* Add a new variable to the model.
|
927
|
+
*
|
928
|
+
* @param highs a pointer to the Highs instance
|
929
|
+
* @param lower lower bound of the column
|
930
|
+
* @param upper upper bound of the column
|
931
|
+
*
|
932
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
933
|
+
*/
|
934
|
+
HighsInt Highs_addVar(void* highs, const double lower, const double upper);
|
935
|
+
|
936
|
+
/**
|
937
|
+
* Add multiple variables to the model.
|
938
|
+
*
|
939
|
+
* @param highs a pointer to the Highs instance
|
940
|
+
* @param num_new_var number of new variables to add
|
941
|
+
* @param lower array of size [num_new_var] with lower bounds
|
942
|
+
* @param upper array of size [num_new_var] with upper bounds
|
943
|
+
*
|
944
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
945
|
+
*/
|
946
|
+
HighsInt Highs_addVars(void* highs, const HighsInt num_new_var,
|
947
|
+
const double* lower, const double* upper);
|
948
|
+
|
949
|
+
/**
|
950
|
+
* Add a new row (a linear constraint) to the model.
|
951
|
+
*
|
952
|
+
* @param highs a pointer to the Highs instance
|
953
|
+
* @param lower lower bound of the row
|
954
|
+
* @param upper upper bound of the row
|
955
|
+
* @param num_new_nz number of non-zeros in the row
|
956
|
+
* @param index array of size [num_new_nz] with column indices
|
957
|
+
* @param value array of size [num_new_nz] with column values
|
958
|
+
*
|
959
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
960
|
+
*/
|
961
|
+
HighsInt Highs_addRow(void* highs, const double lower, const double upper,
|
962
|
+
const HighsInt num_new_nz, const HighsInt* index,
|
963
|
+
const double* value);
|
964
|
+
|
965
|
+
/**
|
966
|
+
* Add multiple rows (linear constraints) to the model.
|
967
|
+
*
|
968
|
+
* @param highs a pointer to the Highs instance
|
969
|
+
* @param num_new_row the number of new rows to add
|
970
|
+
* @param lower array of size [num_new_row] with the lower bounds of the
|
971
|
+
* rows
|
972
|
+
* @param upper array of size [num_new_row] with the upper bounds of the
|
973
|
+
* rows
|
974
|
+
* @param num_new_nz number of non-zeros in the rows
|
975
|
+
* @param starts the constraint coefficients are given as a matrix in
|
976
|
+
* compressed sparse row form by the arrays `starts`,
|
977
|
+
* `index`, and `value`. `starts` is an array of size
|
978
|
+
* [num_new_rows] with the start index of each row in
|
979
|
+
* indices and values.
|
980
|
+
* @param index array of size [num_new_nz] with column indices
|
981
|
+
* @param value array of size [num_new_nz] with column values
|
982
|
+
*
|
983
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
984
|
+
*/
|
985
|
+
HighsInt Highs_addRows(void* highs, const HighsInt num_new_row,
|
986
|
+
const double* lower, const double* upper,
|
987
|
+
const HighsInt num_new_nz, const HighsInt* starts,
|
988
|
+
const HighsInt* index, const double* value);
|
989
|
+
|
990
|
+
/**
|
991
|
+
* Change the objective sense of the model.
|
992
|
+
*
|
993
|
+
* @param highs a pointer to the Highs instance
|
994
|
+
* @param sense the new optimization sense in the form of a `kHighsObjSense`
|
995
|
+
* constant
|
996
|
+
*
|
997
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
998
|
+
*/
|
999
|
+
HighsInt Highs_changeObjectiveSense(void* highs, const HighsInt sense);
|
1000
|
+
|
1001
|
+
/**
|
1002
|
+
* Change the objective offset of the model.
|
1003
|
+
*
|
1004
|
+
* @param highs a pointer to the Highs instance
|
1005
|
+
* @param offset the new objective offset
|
1006
|
+
*
|
1007
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1008
|
+
*/
|
1009
|
+
HighsInt Highs_changeObjectiveOffset(void* highs, const double offset);
|
1010
|
+
|
1011
|
+
/**
|
1012
|
+
* Change the integrality of a column.
|
1013
|
+
*
|
1014
|
+
* @param highs a pointer to the Highs instance
|
1015
|
+
* @param col the column index to change
|
1016
|
+
* @param integrality the new integrality of the column in the form of a
|
1017
|
+
* `kHighsVarType` constant
|
1018
|
+
*
|
1019
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1020
|
+
*/
|
1021
|
+
HighsInt Highs_changeColIntegrality(void* highs, const HighsInt col,
|
1022
|
+
const HighsInt integrality);
|
1023
|
+
|
1024
|
+
/**
|
1025
|
+
* Change the integrality of multiple adjacent columns.
|
1026
|
+
*
|
1027
|
+
* @param highs a pointer to the Highs instance
|
1028
|
+
* @param from_col the index of the first column whose integrality changes
|
1029
|
+
* @param to_col the index of the last column whose integrality
|
1030
|
+
* changes
|
1031
|
+
* @param integrality an array of length [to_col - from_col + 1] with the new
|
1032
|
+
* integralities of the columns in the form of
|
1033
|
+
* `kHighsVarType` constants
|
1034
|
+
*
|
1035
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1036
|
+
*/
|
1037
|
+
HighsInt Highs_changeColsIntegralityByRange(void* highs,
|
1038
|
+
const HighsInt from_col,
|
1039
|
+
const HighsInt to_col,
|
1040
|
+
const HighsInt* integrality);
|
1041
|
+
|
1042
|
+
/**
|
1043
|
+
* Change the integrality of multiple columns given by an array of indices.
|
1044
|
+
*
|
1045
|
+
* @param highs a pointer to the Highs instance
|
1046
|
+
* @param num_set_entries the number of columns to change
|
1047
|
+
* @param set an array of size [num_set_entries] with the indices
|
1048
|
+
* of the columns to change
|
1049
|
+
* @param integrality an array of length [num_set_entries] with the new
|
1050
|
+
* integralities of the columns in the form of
|
1051
|
+
* `kHighsVarType` constants
|
1052
|
+
*
|
1053
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1054
|
+
*/
|
1055
|
+
HighsInt Highs_changeColsIntegralityBySet(void* highs,
|
1056
|
+
const HighsInt num_set_entries,
|
1057
|
+
const HighsInt* set,
|
1058
|
+
const HighsInt* integrality);
|
1059
|
+
|
1060
|
+
/**
|
1061
|
+
* Change the integrality of multiple columns given by a mask.
|
1062
|
+
*
|
1063
|
+
* @param highs a pointer to the Highs instance
|
1064
|
+
* @param mask an array of length [num_col] with 1 if the column
|
1065
|
+
* integrality should be changed and 0 otherwise
|
1066
|
+
* @param integrality an array of length [num_col] with the new
|
1067
|
+
* integralities of the columns in the form of
|
1068
|
+
* `kHighsVarType` constants
|
1069
|
+
*
|
1070
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1071
|
+
*/
|
1072
|
+
HighsInt Highs_changeColsIntegralityByMask(void* highs, const HighsInt* mask,
|
1073
|
+
const HighsInt* integrality);
|
1074
|
+
|
1075
|
+
/**
|
1076
|
+
* Change the objective coefficient of a column.
|
1077
|
+
*
|
1078
|
+
* @param highs a pointer to the Highs instance
|
1079
|
+
* @param col the index of the column fo change
|
1080
|
+
* @param cost the new objective coefficient
|
1081
|
+
*
|
1082
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1083
|
+
*/
|
1084
|
+
HighsInt Highs_changeColCost(void* highs, const HighsInt col,
|
1085
|
+
const double cost);
|
1086
|
+
|
1087
|
+
/**
|
1088
|
+
* Change the cost coefficients of multiple adjacent columns.
|
1089
|
+
*
|
1090
|
+
* @param highs a pointer to the Highs instance
|
1091
|
+
* @param from_col the index of the first column whose cost changes
|
1092
|
+
* @param to_col the index of the last column whose cost changes
|
1093
|
+
* @param cost an array of length [to_col - from_col + 1] with the new
|
1094
|
+
* objective coefficients
|
1095
|
+
*
|
1096
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1097
|
+
*/
|
1098
|
+
HighsInt Highs_changeColsCostByRange(void* highs, const HighsInt from_col,
|
1099
|
+
const HighsInt to_col, const double* cost);
|
1100
|
+
|
1101
|
+
/**
|
1102
|
+
* Change the cost of multiple columns given by an array of indices.
|
1103
|
+
*
|
1104
|
+
* @param highs a pointer to the Highs instance
|
1105
|
+
* @param num_set_entries the number of columns to change
|
1106
|
+
* @param set an array of size [num_set_entries] with the indices
|
1107
|
+
* of the columns to change
|
1108
|
+
* @param cost an array of length [num_set_entries] with the new
|
1109
|
+
* costs of the columns.
|
1110
|
+
*
|
1111
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1112
|
+
*/
|
1113
|
+
HighsInt Highs_changeColsCostBySet(void* highs, const HighsInt num_set_entries,
|
1114
|
+
const HighsInt* set, const double* cost);
|
1115
|
+
|
1116
|
+
/**
|
1117
|
+
* Change the cost of multiple columns given by a mask.
|
1118
|
+
*
|
1119
|
+
* @param highs a pointer to the Highs instance
|
1120
|
+
* @param mask an array of length [num_col] with 1 if the column
|
1121
|
+
* cost should be changed and 0 otherwise
|
1122
|
+
* @param cost an array of length [num_col] with the new costs
|
1123
|
+
*
|
1124
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1125
|
+
*/
|
1126
|
+
HighsInt Highs_changeColsCostByMask(void* highs, const HighsInt* mask,
|
1127
|
+
const double* cost);
|
1128
|
+
|
1129
|
+
/**
|
1130
|
+
* Change the variable bounds of a column.
|
1131
|
+
*
|
1132
|
+
* @param highs a pointer to the Highs instance
|
1133
|
+
* @param col the index of the column whose bounds are to change
|
1134
|
+
* @param lower the new lower bound
|
1135
|
+
* @param upper the new upper bound
|
1136
|
+
*
|
1137
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1138
|
+
*/
|
1139
|
+
HighsInt Highs_changeColBounds(void* highs, const HighsInt col,
|
1140
|
+
const double lower, const double upper);
|
1141
|
+
|
1142
|
+
/**
|
1143
|
+
* Change the variable bounds of multiple adjacent columns.
|
1144
|
+
*
|
1145
|
+
* @param highs a pointer to the Highs instance
|
1146
|
+
* @param from_col the index of the first column whose bound changes
|
1147
|
+
* @param to_col the index of the last column whose bound changes
|
1148
|
+
* @param lower an array of length [to_col - from_col + 1] with the new
|
1149
|
+
* lower bounds
|
1150
|
+
* @param upper an array of length [to_col - from_col + 1] with the new
|
1151
|
+
* upper bounds
|
1152
|
+
*
|
1153
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1154
|
+
*/
|
1155
|
+
HighsInt Highs_changeColsBoundsByRange(void* highs, const HighsInt from_col,
|
1156
|
+
const HighsInt to_col,
|
1157
|
+
const double* lower,
|
1158
|
+
const double* upper);
|
1159
|
+
|
1160
|
+
/**
|
1161
|
+
* Change the bounds of multiple columns given by an array of indices.
|
1162
|
+
*
|
1163
|
+
* @param highs a pointer to the Highs instance
|
1164
|
+
* @param num_set_entries the number of columns to change
|
1165
|
+
* @param set an array of size [num_set_entries] with the indices
|
1166
|
+
* of the columns to change
|
1167
|
+
* @param lower an array of length [num_set_entries] with the new
|
1168
|
+
* lower bounds
|
1169
|
+
* @param upper an array of length [num_set_entries] with the new
|
1170
|
+
* upper bounds
|
1171
|
+
*
|
1172
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1173
|
+
*/
|
1174
|
+
HighsInt Highs_changeColsBoundsBySet(void* highs,
|
1175
|
+
const HighsInt num_set_entries,
|
1176
|
+
const HighsInt* set, const double* lower,
|
1177
|
+
const double* upper);
|
1178
|
+
|
1179
|
+
/**
|
1180
|
+
* Change the variable bounds of multiple columns given by a mask.
|
1181
|
+
*
|
1182
|
+
* @param highs a pointer to the Highs instance
|
1183
|
+
* @param mask an array of length [num_col] with 1 if the column
|
1184
|
+
* bounds should be changed and 0 otherwise
|
1185
|
+
* @param lower an array of length [num_col] with the new lower bounds
|
1186
|
+
* @param upper an array of length [num_col] with the new upper bounds
|
1187
|
+
*
|
1188
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1189
|
+
*/
|
1190
|
+
HighsInt Highs_changeColsBoundsByMask(void* highs, const HighsInt* mask,
|
1191
|
+
const double* lower, const double* upper);
|
1192
|
+
|
1193
|
+
/**
|
1194
|
+
* Change the bounds of a row.
|
1195
|
+
*
|
1196
|
+
* @param highs a pointer to the Highs instance
|
1197
|
+
* @param row the index of the row whose bounds are to change
|
1198
|
+
* @param lower the new lower bound
|
1199
|
+
* @param upper the new upper bound
|
1200
|
+
*
|
1201
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1202
|
+
*/
|
1203
|
+
HighsInt Highs_changeRowBounds(void* highs, const HighsInt row,
|
1204
|
+
const double lower, const double upper);
|
1205
|
+
|
1206
|
+
/**
|
1207
|
+
* Change the bounds of multiple rows given by an array of indices.
|
1208
|
+
*
|
1209
|
+
* @param highs a pointer to the Highs instance
|
1210
|
+
* @param num_set_entries the number of rows to change
|
1211
|
+
* @param set an array of size [num_set_entries] with the indices
|
1212
|
+
* of the rows to change
|
1213
|
+
* @param lower an array of length [num_set_entries] with the new
|
1214
|
+
* lower bounds
|
1215
|
+
* @param upper an array of length [num_set_entries] with the new
|
1216
|
+
* upper bounds
|
1217
|
+
*
|
1218
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1219
|
+
*/
|
1220
|
+
HighsInt Highs_changeRowsBoundsBySet(void* highs,
|
1221
|
+
const HighsInt num_set_entries,
|
1222
|
+
const HighsInt* set, const double* lower,
|
1223
|
+
const double* upper);
|
1224
|
+
|
1225
|
+
/**
|
1226
|
+
* Change the bounds of multiple rows given by a mask.
|
1227
|
+
*
|
1228
|
+
* @param highs a pointer to the Highs instance
|
1229
|
+
* @param mask an array of length [num_row] with 1 if the row
|
1230
|
+
* bounds should be changed and 0 otherwise
|
1231
|
+
* @param lower an array of length [num_row] with the new lower bounds
|
1232
|
+
* @param upper an array of length [num_row] with the new upper bounds
|
1233
|
+
*
|
1234
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1235
|
+
*/
|
1236
|
+
HighsInt Highs_changeRowsBoundsByMask(void* highs, const HighsInt* mask,
|
1237
|
+
const double* lower, const double* upper);
|
1238
|
+
|
1239
|
+
/**
|
1240
|
+
* Change a coefficient in the constraint matrix.
|
1241
|
+
*
|
1242
|
+
* @param highs a pointer to the Highs instance
|
1243
|
+
* @param row the index of the row to change
|
1244
|
+
* @param col the index of the col to change
|
1245
|
+
* @param value the new constraint coefficient
|
1246
|
+
*
|
1247
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1248
|
+
*/
|
1249
|
+
HighsInt Highs_changeCoeff(void* highs, const HighsInt row, const HighsInt col,
|
1250
|
+
const double value);
|
1251
|
+
|
1252
|
+
/**
|
1253
|
+
* Get the objective sense.
|
1254
|
+
*
|
1255
|
+
* @param highs a pointer to the Highs instance
|
1256
|
+
* @param sense stores the current objective sense as a `kHighsObjSense`
|
1257
|
+
* constant
|
1258
|
+
*
|
1259
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1260
|
+
*/
|
1261
|
+
HighsInt Highs_getObjectiveSense(const void* highs, HighsInt* sense);
|
1262
|
+
|
1263
|
+
/**
|
1264
|
+
* Get the objective offset.
|
1265
|
+
*
|
1266
|
+
* @param highs a pointer to the Highs instance
|
1267
|
+
* @param offset stores the current objective offset
|
1268
|
+
*
|
1269
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1270
|
+
*/
|
1271
|
+
HighsInt Highs_getObjectiveOffset(const void* highs, double* offset);
|
1272
|
+
|
1273
|
+
/**
|
1274
|
+
* Get data associated with multiple adjacent columns from the model.
|
1275
|
+
*
|
1276
|
+
* To query the constraint coefficients, this function should be called twice:
|
1277
|
+
* - First, call this function with `matrix_start`, `matrix_index`, and
|
1278
|
+
* `matrix_value` as `NULL`. This call will populate `num_nz` with the
|
1279
|
+
* number of nonzero elements in the corresponding section of the constraint
|
1280
|
+
* matrix.
|
1281
|
+
* - Second, allocate new `matrix_index` and `matrix_value` arrays of length
|
1282
|
+
* `num_nz` and call this function again to populate the new arrays with
|
1283
|
+
* their contents.
|
1284
|
+
*
|
1285
|
+
* @param highs a pointer to the Highs instance
|
1286
|
+
* @param from_col the first column for which to query data for
|
1287
|
+
* @param to_col the last column (inclusive) for which to query data for
|
1288
|
+
* @param num_col an integer populated with the number of columns got from
|
1289
|
+
* the model (this should equal `to_col - from_col + 1`)
|
1290
|
+
* @param costs array of size [to_col - from_col + 1] for the column
|
1291
|
+
* cost coefficients
|
1292
|
+
* @param lower array of size [to_col - from_col + 1] for the column
|
1293
|
+
* lower bounds
|
1294
|
+
* @param upper array of size [to_col - from_col + 1] for the column
|
1295
|
+
* upper bounds
|
1296
|
+
* @param num_nz an integer populated with the number of non-zero
|
1297
|
+
* elements in the constraint matrix
|
1298
|
+
* @param matrix_start array of size [to_col - from_col + 1] with the start
|
1299
|
+
* indices of each
|
1300
|
+
* column in `matrix_index` and `matrix_value`
|
1301
|
+
* @param matrix_index array of size [num_nz] with the row indices of each
|
1302
|
+
* element in the constraint matrix
|
1303
|
+
* @param matrix_value array of size [num_nz] with the non-zero elements of the
|
1304
|
+
* constraint matrix.
|
1305
|
+
*
|
1306
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1307
|
+
*/
|
1308
|
+
HighsInt Highs_getColsByRange(const void* highs, const HighsInt from_col,
|
1309
|
+
const HighsInt to_col, HighsInt* num_col,
|
1310
|
+
double* costs, double* lower, double* upper,
|
1311
|
+
HighsInt* num_nz, HighsInt* matrix_start,
|
1312
|
+
HighsInt* matrix_index, double* matrix_value);
|
1313
|
+
|
1314
|
+
/**
|
1315
|
+
* Get data associated with multiple columns given by an array.
|
1316
|
+
*
|
1317
|
+
* This function is identical to `Highs_getColsByRange`, except for how the
|
1318
|
+
* columns are specified.
|
1319
|
+
*
|
1320
|
+
* @param num_set_indices the number of indices in the set
|
1321
|
+
* @param set array of size [num_set_entries] with the column
|
1322
|
+
* indices to get
|
1323
|
+
*
|
1324
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1325
|
+
*/
|
1326
|
+
HighsInt Highs_getColsBySet(const void* highs, const HighsInt num_set_entries,
|
1327
|
+
const HighsInt* set, HighsInt* num_col,
|
1328
|
+
double* costs, double* lower, double* upper,
|
1329
|
+
HighsInt* num_nz, HighsInt* matrix_start,
|
1330
|
+
HighsInt* matrix_index, double* matrix_value);
|
1331
|
+
|
1332
|
+
/**
|
1333
|
+
* Get data associated with multiple columns given by a mask.
|
1334
|
+
*
|
1335
|
+
* This function is identical to `Highs_getColsByRange`, except for how the
|
1336
|
+
* columns are specified.
|
1337
|
+
*
|
1338
|
+
* @param mask array of length [num_col] containing a 1 to get the column and 0
|
1339
|
+
* otherwise
|
1340
|
+
*
|
1341
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1342
|
+
*/
|
1343
|
+
HighsInt Highs_getColsByMask(const void* highs, const HighsInt* mask,
|
1344
|
+
HighsInt* num_col, double* costs, double* lower,
|
1345
|
+
double* upper, HighsInt* num_nz,
|
1346
|
+
HighsInt* matrix_start, HighsInt* matrix_index,
|
1347
|
+
double* matrix_value);
|
1348
|
+
|
1349
|
+
/**
|
1350
|
+
* Get data associated with multiple adjacent rows from the model.
|
1351
|
+
*
|
1352
|
+
* To query the constraint coefficients, this function should be called twice:
|
1353
|
+
* - First, call this function with `matrix_start`, `matrix_index`, and
|
1354
|
+
* `matrix_value` as `NULL`. This call will populate `num_nz` with the
|
1355
|
+
* number of nonzero elements in the corresponding section of the constraint
|
1356
|
+
* matrix.
|
1357
|
+
* - Second, allocate new `matrix_index` and `matrix_value` arrays of length
|
1358
|
+
* `num_nz` and call this function again to populate the new arrays with
|
1359
|
+
* their contents.
|
1360
|
+
*
|
1361
|
+
* @param highs a pointer to the Highs instance
|
1362
|
+
* @param from_row the first row for which to query data for
|
1363
|
+
* @param to_row the last row (inclusive) for which to query data for
|
1364
|
+
* @param num_row an integer populated with the number of row got from the
|
1365
|
+
* model
|
1366
|
+
* @param lower array of size [to_row - from_row + 1] for the row lower
|
1367
|
+
* bounds
|
1368
|
+
* @param upper array of size [to_row - from_row + 1] for the row upper
|
1369
|
+
* bounds
|
1370
|
+
* @param num_nz an integer populated with the number of non-zero
|
1371
|
+
* elements in the constraint matrix
|
1372
|
+
* @param matrix_start array of size [to_row - from_row + 1] with the start
|
1373
|
+
* indices of each row in `matrix_index` and `matrix_value`
|
1374
|
+
* @param matrix_index array of size [num_nz] with the column indices of each
|
1375
|
+
* element in the constraint matrix
|
1376
|
+
* @param matrix_value array of size [num_nz] with the non-zero elements of the
|
1377
|
+
* constraint matrix.
|
1378
|
+
*
|
1379
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1380
|
+
*/
|
1381
|
+
HighsInt Highs_getRowsByRange(const void* highs, const HighsInt from_row,
|
1382
|
+
const HighsInt to_row, HighsInt* num_row,
|
1383
|
+
double* lower, double* upper, HighsInt* num_nz,
|
1384
|
+
HighsInt* matrix_start, HighsInt* matrix_index,
|
1385
|
+
double* matrix_value);
|
1386
|
+
|
1387
|
+
/**
|
1388
|
+
* Get data associated with multiple rows given by an array.
|
1389
|
+
*
|
1390
|
+
* This function is identical to `Highs_getRowsByRange`, except for how the
|
1391
|
+
* rows are specified.
|
1392
|
+
*
|
1393
|
+
* @param num_set_indices the number of indices in the set
|
1394
|
+
* @param set array of size [num_set_entries] with the row indices
|
1395
|
+
* to get
|
1396
|
+
*
|
1397
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1398
|
+
*/
|
1399
|
+
HighsInt Highs_getRowsBySet(const void* highs, const HighsInt num_set_entries,
|
1400
|
+
const HighsInt* set, HighsInt* num_row,
|
1401
|
+
double* lower, double* upper, HighsInt* num_nz,
|
1402
|
+
HighsInt* matrix_start, HighsInt* matrix_index,
|
1403
|
+
double* matrix_value);
|
1404
|
+
|
1405
|
+
/**
|
1406
|
+
* Get data associated with multiple rows given by a mask.
|
1407
|
+
*
|
1408
|
+
* This function is identical to `Highs_getRowsByRange`, except for how the
|
1409
|
+
* rows are specified.
|
1410
|
+
*
|
1411
|
+
* @param mask array of length [num_row] containing a 1 to get the row and 0
|
1412
|
+
* otherwise
|
1413
|
+
*
|
1414
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1415
|
+
*/
|
1416
|
+
HighsInt Highs_getRowsByMask(const void* highs, const HighsInt* mask,
|
1417
|
+
HighsInt* num_row, double* lower, double* upper,
|
1418
|
+
HighsInt* num_nz, HighsInt* matrix_start,
|
1419
|
+
HighsInt* matrix_index, double* matrix_value);
|
1420
|
+
|
1421
|
+
/**
|
1422
|
+
* Delete multiple adjacent columns.
|
1423
|
+
*
|
1424
|
+
* @param highs a pointer to the Highs instance
|
1425
|
+
* @param from_col the index of the first column to delete
|
1426
|
+
* @param to_col the index of the last column to delete
|
1427
|
+
*
|
1428
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1429
|
+
*/
|
1430
|
+
HighsInt Highs_deleteColsByRange(void* highs, const HighsInt from_col,
|
1431
|
+
const HighsInt to_col);
|
1432
|
+
|
1433
|
+
/**
|
1434
|
+
* Delete multiple columns given by an array of indices.
|
1435
|
+
*
|
1436
|
+
* @param highs a pointer to the Highs instance
|
1437
|
+
* @param num_set_entries the number of columns to delete
|
1438
|
+
* @param set an array of size [num_set_entries] with the indices
|
1439
|
+
* of the columns to delete
|
1440
|
+
*
|
1441
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1442
|
+
*/
|
1443
|
+
HighsInt Highs_deleteColsBySet(void* highs, const HighsInt num_set_entries,
|
1444
|
+
const HighsInt* set);
|
1445
|
+
|
1446
|
+
/**
|
1447
|
+
* Delete multiple columns given by a mask.
|
1448
|
+
*
|
1449
|
+
* @param highs a pointer to the Highs instance
|
1450
|
+
* @param mask an array of length [num_col] with 1 if the column
|
1451
|
+
* should be deleted and 0 otherwise
|
1452
|
+
*
|
1453
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1454
|
+
*/
|
1455
|
+
HighsInt Highs_deleteColsByMask(void* highs, HighsInt* mask);
|
1456
|
+
|
1457
|
+
/**
|
1458
|
+
* Delete multiple adjacent rows.
|
1459
|
+
*
|
1460
|
+
* @param highs a pointer to the Highs instance
|
1461
|
+
* @param from_row the index of the first row to delete
|
1462
|
+
* @param to_row the index of the last row to delete
|
1463
|
+
*
|
1464
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1465
|
+
*/
|
1466
|
+
HighsInt Highs_deleteRowsByRange(void* highs, const int from_row,
|
1467
|
+
const HighsInt to_row);
|
1468
|
+
|
1469
|
+
/**
|
1470
|
+
* Delete multiple rows given by an array of indices.
|
1471
|
+
*
|
1472
|
+
* @param highs a pointer to the Highs instance
|
1473
|
+
* @param num_set_entries the number of rows to delete
|
1474
|
+
* @param set an array of size [num_set_entries] with the indices
|
1475
|
+
* of the rows to delete
|
1476
|
+
*
|
1477
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1478
|
+
*/
|
1479
|
+
HighsInt Highs_deleteRowsBySet(void* highs, const HighsInt num_set_entries,
|
1480
|
+
const HighsInt* set);
|
1481
|
+
|
1482
|
+
/**
|
1483
|
+
* Delete multiple rows given by a mask.
|
1484
|
+
*
|
1485
|
+
* @param highs a pointer to the Highs instance
|
1486
|
+
* @param mask an array of length [num_row] with 1 if the row should be
|
1487
|
+
* deleted and 0 otherwise. New index of any column not
|
1488
|
+
* deleted is returned in place of the value 0.
|
1489
|
+
*
|
1490
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1491
|
+
*/
|
1492
|
+
HighsInt Highs_deleteRowsByMask(void* highs, HighsInt* mask);
|
1493
|
+
|
1494
|
+
/**
|
1495
|
+
* Scale a column by a constant.
|
1496
|
+
*
|
1497
|
+
* Scaling a column modifies the elements in the constraint matrix, the variable
|
1498
|
+
* bounds, and the objective coefficient.
|
1499
|
+
*
|
1500
|
+
* If scaleval < 0, the variable bounds flipped.
|
1501
|
+
*
|
1502
|
+
* @param highs a pointer to the Highs instance
|
1503
|
+
* @param col the index of the column to scale
|
1504
|
+
* @param scaleval the value by which to scale the column
|
1505
|
+
*
|
1506
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1507
|
+
*/
|
1508
|
+
HighsInt Highs_scaleCol(void* highs, const HighsInt col, const double scaleval);
|
1509
|
+
|
1510
|
+
/**
|
1511
|
+
* Scale a row by a constant.
|
1512
|
+
*
|
1513
|
+
* If scaleval < 0, the row bounds are flipped.
|
1514
|
+
*
|
1515
|
+
* @param highs a pointer to the Highs instance
|
1516
|
+
* @param row the index of the row to scale
|
1517
|
+
* @param scaleval the value by which to scale the row
|
1518
|
+
*
|
1519
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1520
|
+
*/
|
1521
|
+
HighsInt Highs_scaleRow(void* highs, const HighsInt row, const double scaleval);
|
1522
|
+
|
1523
|
+
/**
|
1524
|
+
* Return the value of infinity used by HiGHS.
|
1525
|
+
*
|
1526
|
+
* @param highs a pointer to the Highs instance
|
1527
|
+
*
|
1528
|
+
* @returns the value of infinity used by HiGHS
|
1529
|
+
*/
|
1530
|
+
double Highs_getInfinity(const void* highs);
|
1531
|
+
|
1532
|
+
/**
|
1533
|
+
* Return the number of columns in the model.
|
1534
|
+
*
|
1535
|
+
* @param highs a pointer to the Highs instance
|
1536
|
+
*
|
1537
|
+
* @returns the number of columns in the model
|
1538
|
+
*/
|
1539
|
+
HighsInt Highs_getNumCol(const void* highs);
|
1540
|
+
|
1541
|
+
/**
|
1542
|
+
* Return the number of rows in the model.
|
1543
|
+
*
|
1544
|
+
* @param highs a pointer to the Highs instance
|
1545
|
+
*
|
1546
|
+
* @returns the number of rows in the model.
|
1547
|
+
*/
|
1548
|
+
HighsInt Highs_getNumRow(const void* highs);
|
1549
|
+
|
1550
|
+
/**
|
1551
|
+
* Return the number of nonzeros in the constraint matrix of the model.
|
1552
|
+
*
|
1553
|
+
* @param highs a pointer to the Highs instance
|
1554
|
+
*
|
1555
|
+
* @returns the number of nonzeros in the constraint matrix of the model.
|
1556
|
+
*/
|
1557
|
+
HighsInt Highs_getNumNz(const void* highs);
|
1558
|
+
|
1559
|
+
/**
|
1560
|
+
* Return the number of nonzeroes in the Hessian matrix of the model.
|
1561
|
+
*
|
1562
|
+
* @param highs a pointer to the Highs instance
|
1563
|
+
*
|
1564
|
+
* @returns the number of nonzeroes in the Hessian matrix of the model.
|
1565
|
+
*/
|
1566
|
+
HighsInt Highs_getHessianNumNz(const void* highs);
|
1567
|
+
|
1568
|
+
/**
|
1569
|
+
* Get the data from a HiGHS model.
|
1570
|
+
*
|
1571
|
+
* The input arguments have the same meaning (in a different order) to those
|
1572
|
+
* used in `Highs_passModel`.
|
1573
|
+
*
|
1574
|
+
* Note that all arrays must be pre-allocated to the correct size before calling
|
1575
|
+
* `Highs_getModel`. Use the following query methods to check the appropriate
|
1576
|
+
* size:
|
1577
|
+
* - `Highs_getNumCol`
|
1578
|
+
* - `Highs_getNumRow`
|
1579
|
+
* - `Highs_getNumNz`
|
1580
|
+
* - `Highs_getHessianNumNz`
|
1581
|
+
*
|
1582
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1583
|
+
*/
|
1584
|
+
HighsInt Highs_getModel(const void* highs, const HighsInt a_format,
|
1585
|
+
const HighsInt q_format, HighsInt* num_col,
|
1586
|
+
HighsInt* num_row, HighsInt* num_nz,
|
1587
|
+
HighsInt* hessian_num_nz, HighsInt* sense,
|
1588
|
+
double* offset, double* col_cost, double* col_lower,
|
1589
|
+
double* col_upper, double* row_lower, double* row_upper,
|
1590
|
+
HighsInt* a_start, HighsInt* a_index, double* a_value,
|
1591
|
+
HighsInt* q_start, HighsInt* q_index, double* q_value,
|
1592
|
+
HighsInt* integrality);
|
1593
|
+
|
1594
|
+
/**
|
1595
|
+
* Set a primal (and possibly dual) solution as a starting point, then run
|
1596
|
+
* crossover to compute a basic feasible solution. If there is no dual solution,
|
1597
|
+
* pass col_dual and row_dual as nullptr.
|
1598
|
+
*
|
1599
|
+
* @param highs a pointer to the Highs instance
|
1600
|
+
* @param num_col the number of variables
|
1601
|
+
* @param num_row the number of rows
|
1602
|
+
* @param col_value array of length [num_col] with optimal primal solution for
|
1603
|
+
* each column
|
1604
|
+
* @param col_dual array of length [num_col] with optimal dual solution for
|
1605
|
+
* each column
|
1606
|
+
* @param row_dual array of length [num_row] with optimal dual solution for
|
1607
|
+
* each row
|
1608
|
+
*
|
1609
|
+
* @returns a `kHighsStatus` constant indicating whether the call succeeded
|
1610
|
+
*/
|
1611
|
+
HighsInt Highs_crossover(void* highs, const int num_col, const int num_row,
|
1612
|
+
const double* col_value, const double* col_dual,
|
1613
|
+
const double* row_dual);
|
1614
|
+
|
1615
|
+
/**
|
1616
|
+
* Releases all resources held by the global scheduler instance. It is
|
1617
|
+
* not thread-safe to call this function while calling Highs_run()/Highs_*call()
|
1618
|
+
* on any other Highs instance in any thread. After this function has terminated
|
1619
|
+
* it is guaranteed that eventually all previously created scheduler threads
|
1620
|
+
* will terminate and allocated memory will be released. After this function
|
1621
|
+
* has returned the option value for the number of threads may be altered to a
|
1622
|
+
* new value before the next call to Highs_run()/Highs_*call(). If the given
|
1623
|
+
* parameter has a nonzero value, then the function will not return until all
|
1624
|
+
* memory is freed, which might be desirable when debugging heap memory but
|
1625
|
+
* requires the calling thread to wait for all scheduler threads to wake-up
|
1626
|
+
* which is usually not necessary.
|
1627
|
+
*
|
1628
|
+
* @returns No status is returned since the function call cannot fail. Calling
|
1629
|
+
* this function while any Highs instance is in use on any thread is
|
1630
|
+
* undefined behavior and may cause crashes, but cannot be detected and hence
|
1631
|
+
* is fully in the callers responsibility.
|
1632
|
+
*/
|
1633
|
+
void Highs_resetGlobalScheduler(const HighsInt blocking);
|
1634
|
+
|
1635
|
+
// *********************
|
1636
|
+
// * Deprecated methods*
|
1637
|
+
// *********************
|
1638
|
+
|
1639
|
+
// These are deprecated because they don't follow the style guide. Constants
|
1640
|
+
// must begin with `k`.
|
1641
|
+
const HighsInt HighsStatuskError = -1;
|
1642
|
+
const HighsInt HighsStatuskOk = 0;
|
1643
|
+
const HighsInt HighsStatuskWarning = 1;
|
1644
|
+
|
1645
|
+
HighsInt Highs_call(const HighsInt num_col, const HighsInt num_row,
|
1646
|
+
const HighsInt num_nz, const double* col_cost,
|
1647
|
+
const double* col_lower, const double* col_upper,
|
1648
|
+
const double* row_lower, const double* row_upper,
|
1649
|
+
const HighsInt* a_start, const HighsInt* a_index,
|
1650
|
+
const double* a_value, double* col_value, double* col_dual,
|
1651
|
+
double* row_value, double* row_dual,
|
1652
|
+
HighsInt* col_basis_status, HighsInt* row_basis_status,
|
1653
|
+
HighsInt* model_status);
|
1654
|
+
|
1655
|
+
HighsInt Highs_runQuiet(void* highs);
|
1656
|
+
|
1657
|
+
HighsInt Highs_setHighsLogfile(void* highs, const void* logfile);
|
1658
|
+
|
1659
|
+
HighsInt Highs_setHighsOutput(void* highs, const void* outputfile);
|
1660
|
+
|
1661
|
+
HighsInt Highs_getIterationCount(const void* highs);
|
1662
|
+
|
1663
|
+
HighsInt Highs_getSimplexIterationCount(const void* highs);
|
1664
|
+
|
1665
|
+
HighsInt Highs_setHighsBoolOptionValue(void* highs, const char* option,
|
1666
|
+
const HighsInt value);
|
1667
|
+
|
1668
|
+
HighsInt Highs_setHighsIntOptionValue(void* highs, const char* option,
|
1669
|
+
const HighsInt value);
|
1670
|
+
|
1671
|
+
HighsInt Highs_setHighsDoubleOptionValue(void* highs, const char* option,
|
1672
|
+
const double value);
|
1673
|
+
|
1674
|
+
HighsInt Highs_setHighsStringOptionValue(void* highs, const char* option,
|
1675
|
+
const char* value);
|
1676
|
+
|
1677
|
+
HighsInt Highs_setHighsOptionValue(void* highs, const char* option,
|
1678
|
+
const char* value);
|
1679
|
+
|
1680
|
+
HighsInt Highs_getHighsBoolOptionValue(const void* highs, const char* option,
|
1681
|
+
HighsInt* value);
|
1682
|
+
|
1683
|
+
HighsInt Highs_getHighsIntOptionValue(const void* highs, const char* option,
|
1684
|
+
HighsInt* value);
|
1685
|
+
|
1686
|
+
HighsInt Highs_getHighsDoubleOptionValue(const void* highs, const char* option,
|
1687
|
+
double* value);
|
1688
|
+
|
1689
|
+
HighsInt Highs_getHighsStringOptionValue(const void* highs, const char* option,
|
1690
|
+
char* value);
|
1691
|
+
|
1692
|
+
HighsInt Highs_getHighsOptionType(const void* highs, const char* option,
|
1693
|
+
HighsInt* type);
|
1694
|
+
|
1695
|
+
HighsInt Highs_resetHighsOptions(void* highs);
|
1696
|
+
|
1697
|
+
HighsInt Highs_getHighsIntInfoValue(const void* highs, const char* info,
|
1698
|
+
HighsInt* value);
|
1699
|
+
|
1700
|
+
HighsInt Highs_getHighsDoubleInfoValue(const void* highs, const char* info,
|
1701
|
+
double* value);
|
1702
|
+
|
1703
|
+
HighsInt Highs_getNumCols(const void* highs);
|
1704
|
+
|
1705
|
+
HighsInt Highs_getNumRows(const void* highs);
|
1706
|
+
|
1707
|
+
double Highs_getHighsInfinity(const void* highs);
|
1708
|
+
|
1709
|
+
double Highs_getHighsRunTime(const void* highs);
|
1710
|
+
|
1711
|
+
HighsInt Highs_setOptionValue(void* highs, const char* option,
|
1712
|
+
const char* value);
|
1713
|
+
|
1714
|
+
HighsInt Highs_getScaledModelStatus(const void* highs);
|
1715
|
+
|
1716
|
+
#ifdef __cplusplus
|
1717
|
+
}
|
1718
|
+
#endif
|
1719
|
+
|
1720
|
+
#endif
|