casadi 3.6.2__cp311-none-manylinux2014_i686.whl → 3.6.4__cp311-none-manylinux2014_i686.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/_casadi.so +0 -0
- casadi/casadi.py +217 -60
- casadi/cbc +0 -0
- casadi/clp +0 -0
- casadi/cmake/alpaqa/alpaqaConfig.cmake +24 -0
- casadi/cmake/alpaqa/alpaqaConfigVersion.cmake +70 -0
- casadi/cmake/alpaqa/alpaqaTargets-release.cmake +29 -0
- casadi/cmake/alpaqa/alpaqaTargets.cmake +131 -0
- casadi/cmake/casadi-config-version.cmake +1 -1
- casadi/cmake/casadi-config.cmake +4 -0
- casadi/cmake/highs/highs-config.cmake +18 -4
- casadi/cmake/highs/highs-targets-release.cmake +3 -3
- casadi/cmake/highs/highs-targets.cmake +1 -1
- casadi/cmake/sleqp/sleqp-config-version.cmake +70 -0
- casadi/cmake/sleqp/sleqp-config.cmake +1 -0
- casadi/cmake/sleqp/sleqp-targets-release.cmake +20 -0
- casadi/cmake/sleqp/sleqp-targets.cmake +102 -0
- casadi/cmake/trlib/trlib-config-release.cmake +19 -0
- casadi/cmake/trlib/trlib-config-version.cmake +88 -0
- casadi/cmake/trlib/trlib-config.cmake +107 -0
- casadi/highs +0 -0
- casadi/include/casadi/casadi.i +20 -3
- casadi/include/casadi/config.h +8 -8
- casadi/include/casadi/core/calculus.hpp +1 -1
- casadi/include/casadi/core/code_generator.hpp +10 -0
- casadi/include/casadi/core/fmu.hpp +224 -0
- casadi/include/casadi/core/generic_matrix.hpp +4 -2
- casadi/include/casadi/core/nlpsol.hpp +0 -2
- casadi/include/casadi/core/runtime/casadi_finite_diff.hpp +204 -11
- casadi/include/casadi/core/serializing_stream.hpp +12 -0
- casadi/include/casadi/core/sparsity_interface.hpp +55 -1
- casadi/include/casadi/doc.i +916 -462
- casadi/include/casadi/doc_merged.i +492 -176
- casadi/include/casadi/mem.h +13 -2
- casadi/include/casadi/valgrind-casadi.supp +82 -0
- casadi/include/casadi/valgrind-python.supp +39 -0
- casadi/include/highs/HConfig.h +4 -7
- casadi/include/highs/Highs.h +240 -51
- casadi/include/highs/filereaderlp/builder.hpp +12 -13
- casadi/include/highs/filereaderlp/model.hpp +32 -35
- casadi/include/highs/fortran/highs_fortran_api.mod +0 -0
- casadi/include/highs/interfaces/highs_c_api.h +964 -577
- casadi/include/highs/io/Filereader.h +2 -4
- casadi/include/highs/io/FilereaderEms.h +2 -4
- casadi/include/highs/io/FilereaderLp.h +2 -4
- casadi/include/highs/io/FilereaderMps.h +2 -4
- casadi/include/highs/io/HMPSIO.h +2 -4
- casadi/include/highs/io/HMpsFF.h +2 -4
- casadi/include/highs/io/HighsIO.h +19 -13
- casadi/include/highs/io/LoadOptions.h +7 -6
- casadi/include/highs/ipm/IpxWrapper.h +4 -5
- casadi/include/highs/lp_data/HConst.h +60 -15
- casadi/include/highs/lp_data/HStruct.h +32 -8
- casadi/include/highs/lp_data/HighsAnalysis.h +2 -4
- casadi/include/highs/lp_data/HighsCallback.h +33 -0
- casadi/include/highs/lp_data/HighsCallbackStruct.h +36 -0
- casadi/include/highs/lp_data/HighsDebug.h +2 -4
- casadi/include/highs/lp_data/HighsInfo.h +22 -23
- casadi/include/highs/lp_data/HighsInfoDebug.h +2 -4
- casadi/include/highs/lp_data/HighsLp.h +14 -6
- casadi/include/highs/lp_data/HighsLpSolverObject.h +6 -5
- casadi/include/highs/lp_data/HighsLpUtils.h +23 -12
- casadi/include/highs/lp_data/HighsModelUtils.h +22 -8
- casadi/include/highs/lp_data/HighsOptions.h +175 -106
- casadi/include/highs/lp_data/HighsRanging.h +2 -4
- casadi/include/highs/lp_data/HighsRuntimeOptions.h +21 -6
- casadi/include/highs/lp_data/HighsSolution.h +4 -4
- casadi/include/highs/lp_data/HighsSolutionDebug.h +2 -4
- casadi/include/highs/lp_data/HighsSolve.h +2 -4
- casadi/include/highs/lp_data/HighsStatus.h +2 -4
- casadi/include/highs/mip/HighsCliqueTable.h +18 -20
- casadi/include/highs/mip/HighsConflictPool.h +2 -4
- casadi/include/highs/mip/HighsCutGeneration.h +2 -4
- casadi/include/highs/mip/HighsCutPool.h +2 -4
- casadi/include/highs/mip/HighsDebugSol.h +2 -4
- casadi/include/highs/mip/HighsDomain.h +5 -5
- casadi/include/highs/mip/HighsDomainChange.h +2 -4
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +2 -4
- casadi/include/highs/mip/HighsGFkSolve.h +2 -4
- casadi/include/highs/mip/HighsImplications.h +2 -4
- casadi/include/highs/mip/HighsLpAggregator.h +2 -4
- casadi/include/highs/mip/HighsLpRelaxation.h +2 -4
- casadi/include/highs/mip/HighsMipSolver.h +18 -6
- casadi/include/highs/mip/HighsMipSolverData.h +8 -4
- casadi/include/highs/mip/HighsModkSeparator.h +2 -4
- casadi/include/highs/mip/HighsNodeQueue.h +3 -9
- casadi/include/highs/mip/HighsObjectiveFunction.h +2 -4
- casadi/include/highs/mip/HighsPathSeparator.h +2 -4
- casadi/include/highs/mip/HighsPrimalHeuristics.h +2 -4
- casadi/include/highs/mip/HighsPseudocost.h +2 -4
- casadi/include/highs/mip/HighsRedcostFixing.h +2 -4
- casadi/include/highs/mip/HighsSearch.h +2 -4
- casadi/include/highs/mip/HighsSeparation.h +2 -4
- casadi/include/highs/mip/HighsSeparator.h +2 -4
- casadi/include/highs/mip/HighsTableauSeparator.h +2 -4
- casadi/include/highs/mip/HighsTransformedLp.h +2 -4
- casadi/include/highs/model/HighsHessian.h +3 -1
- casadi/include/highs/model/HighsModel.h +2 -0
- casadi/include/highs/parallel/HighsSpinMutex.h +2 -1
- casadi/include/highs/parallel/HighsSplitDeque.h +1 -1
- casadi/include/highs/parallel/HighsTaskExecutor.h +10 -2
- casadi/include/highs/presolve/HPresolve.h +9 -6
- casadi/include/highs/presolve/HPresolveAnalysis.h +5 -4
- casadi/include/highs/presolve/HighsPostsolveStack.h +50 -13
- casadi/include/highs/presolve/HighsSymmetry.h +2 -4
- casadi/include/highs/presolve/ICrash.h +4 -3
- casadi/include/highs/presolve/ICrashUtil.h +2 -2
- casadi/include/highs/presolve/ICrashX.h +4 -6
- casadi/include/highs/presolve/PresolveComponent.h +4 -42
- casadi/include/highs/qpsolver/a_asm.hpp +56 -0
- casadi/include/highs/qpsolver/a_quass.hpp +12 -0
- casadi/include/highs/qpsolver/quass.hpp +1 -4
- casadi/include/highs/simplex/HApp.h +14 -16
- casadi/include/highs/simplex/HEkk.h +12 -11
- casadi/include/highs/simplex/HEkkDual.h +2 -4
- casadi/include/highs/simplex/HEkkDualRHS.h +5 -6
- casadi/include/highs/simplex/HEkkDualRow.h +2 -4
- casadi/include/highs/simplex/HEkkPrimal.h +2 -4
- casadi/include/highs/simplex/HSimplex.h +2 -4
- casadi/include/highs/simplex/HSimplexDebug.h +2 -4
- casadi/include/highs/simplex/HSimplexNla.h +2 -4
- casadi/include/highs/simplex/HSimplexReport.h +3 -5
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +2 -4
- casadi/include/highs/simplex/SimplexConst.h +7 -5
- casadi/include/highs/simplex/SimplexStruct.h +11 -5
- casadi/include/highs/simplex/SimplexTimer.h +2 -4
- casadi/include/highs/test/DevKkt.h +2 -4
- casadi/include/highs/test/KktCh2.h +2 -4
- casadi/include/highs/util/FactorTimer.h +2 -4
- casadi/include/highs/util/HFactor.h +2 -4
- casadi/include/highs/util/HFactorConst.h +2 -4
- casadi/include/highs/util/HFactorDebug.h +2 -4
- casadi/include/highs/util/HSet.h +3 -5
- casadi/include/highs/util/HVector.h +2 -4
- casadi/include/highs/util/HVectorBase.h +2 -4
- casadi/include/highs/util/HighsCDouble.h +2 -4
- casadi/include/highs/util/HighsComponent.h +2 -4
- casadi/include/highs/util/HighsDataStack.h +3 -5
- casadi/include/highs/util/HighsDisjointSets.h +8 -10
- casadi/include/highs/util/HighsHash.h +22 -7
- casadi/include/highs/util/HighsHashTree.h +25 -7
- casadi/include/highs/util/HighsInt.h +2 -4
- casadi/include/highs/util/HighsIntegers.h +2 -4
- casadi/include/highs/util/HighsLinearSumBounds.h +2 -4
- casadi/include/highs/util/HighsMatrixPic.h +2 -4
- casadi/include/highs/util/HighsMatrixSlice.h +2 -4
- casadi/include/highs/util/HighsMatrixUtils.h +2 -4
- casadi/include/highs/util/HighsRandom.h +2 -4
- casadi/include/highs/util/HighsRbTree.h +2 -4
- casadi/include/highs/util/HighsSort.h +2 -4
- casadi/include/highs/util/HighsSparseMatrix.h +11 -7
- casadi/include/highs/util/HighsSparseVectorSum.h +2 -4
- casadi/include/highs/util/HighsSplay.h +2 -4
- casadi/include/highs/util/HighsTimer.h +3 -4
- casadi/include/highs/util/HighsUtils.h +14 -4
- casadi/include/highs/util/stringutil.h +2 -4
- casadi/include/licenses/alpaqa-external/LICENSE +165 -0
- casadi/include/licenses/highs-external/LICENSE +1 -1
- casadi/include/licenses/sleqp-external/LICENSE +165 -0
- casadi/include/licenses/trlib-external/LICENSE +21 -0
- casadi/include/trlib/trlib_eigen_inverse.h +118 -0
- casadi/include/trlib/trlib_krylov.h +493 -0
- casadi/include/trlib/trlib_leftmost.h +181 -0
- casadi/include/trlib/trlib_private.h +109 -0
- casadi/include/trlib/trlib_quadratic_zero.h +57 -0
- casadi/include/trlib/trlib_tri_factor.h +409 -0
- casadi/include/trlib/trlib_types.h +36 -0
- casadi/lib/libtinyxml2.a +0 -0
- casadi/libCbc.la +3 -3
- casadi/libCbc.so +0 -0
- casadi/libCbc.so.3 +0 -0
- casadi/libCbc.so.3.10.11 +0 -0
- casadi/libCbcSolver.la +3 -3
- casadi/libCbcSolver.so +0 -0
- casadi/libCbcSolver.so.3 +0 -0
- casadi/libCbcSolver.so.3.10.11 +0 -0
- casadi/libCgl.la +2 -2
- casadi/libCgl.so +0 -0
- casadi/libCgl.so.1 +0 -0
- casadi/libCgl.so.1.10.8 +0 -0
- casadi/libClp.la +2 -2
- casadi/libClp.so +0 -0
- casadi/libClp.so.1 +0 -0
- casadi/{libClp.so.1.14.7 → libClp.so.1.14.9} +0 -0
- casadi/libClpSolver.la +2 -2
- casadi/libClpSolver.so +0 -0
- casadi/libClpSolver.so.1 +0 -0
- casadi/{libClpSolver.so.1.14.7 → libClpSolver.so.1.14.9} +0 -0
- casadi/libCoinUtils.la +2 -2
- casadi/libCoinUtils.so +0 -0
- casadi/libCoinUtils.so.3 +0 -0
- casadi/libCoinUtils.so.3.11.10 +0 -0
- casadi/libFortranHighs.so +0 -0
- casadi/libOsi.la +2 -2
- casadi/libOsiCbc.la +3 -3
- casadi/libOsiCbc.so +0 -0
- casadi/libOsiCbc.so.3 +0 -0
- casadi/{libOsiCbc.so.3.10.6 → libOsiCbc.so.3.10.11} +0 -0
- casadi/libOsiClp.la +2 -2
- casadi/libOsiClp.so +0 -0
- casadi/libOsiClp.so.1 +0 -0
- casadi/libOsiClp.so.1.14.9 +0 -0
- casadi/libOsiCommonTests.la +2 -2
- casadi/libOsiCommonTests.so +0 -0
- casadi/libOsiCommonTests.so.1 +0 -0
- casadi/{libOsiCommonTests.so.1.13.7 → libOsiCommonTests.so.1.13.9} +0 -0
- casadi/libalpaqa-dl-loader.so +0 -0
- casadi/libalpaqa-dl-loader.so.1.0.0 +0 -0
- casadi/libalpaqa.so +0 -0
- casadi/libalpaqa.so.1.0.0 +0 -0
- casadi/libbonmin.la +3 -3
- casadi/libbonmin.so +0 -0
- casadi/libbonmin.so.4 +0 -0
- casadi/libbonmin.so.4.8.9 +0 -0
- casadi/libcasadi.so +0 -0
- casadi/libcasadi.so.3.7 +0 -0
- casadi/libcasadi_conic_cbc.so +0 -0
- casadi/libcasadi_conic_cbc.so.3.7 +0 -0
- casadi/libcasadi_conic_clp.so +0 -0
- casadi/libcasadi_conic_clp.so.3.7 +0 -0
- casadi/libcasadi_conic_gurobi.so +0 -0
- casadi/libcasadi_conic_gurobi.so.3.7 +0 -0
- casadi/libcasadi_conic_highs.so +0 -0
- casadi/libcasadi_conic_highs.so.3.7 +0 -0
- casadi/libcasadi_conic_ipqp.so +0 -0
- casadi/libcasadi_conic_ipqp.so.3.7 +0 -0
- casadi/libcasadi_conic_nlpsol.so +0 -0
- casadi/libcasadi_conic_nlpsol.so.3.7 +0 -0
- casadi/libcasadi_conic_osqp.so +0 -0
- casadi/libcasadi_conic_osqp.so.3.7 +0 -0
- casadi/libcasadi_conic_proxqp.so +0 -0
- casadi/libcasadi_conic_proxqp.so.3.7 +0 -0
- casadi/libcasadi_conic_qpoases.so +0 -0
- casadi/libcasadi_conic_qpoases.so.3.7 +0 -0
- casadi/libcasadi_conic_qrqp.so +0 -0
- casadi/libcasadi_conic_qrqp.so.3.7 +0 -0
- casadi/libcasadi_conic_superscs.so +0 -0
- casadi/libcasadi_conic_superscs.so.3.7 +0 -0
- casadi/libcasadi_integrator_collocation.so +0 -0
- casadi/libcasadi_integrator_collocation.so.3.7 +0 -0
- casadi/libcasadi_integrator_cvodes.so +0 -0
- casadi/libcasadi_integrator_cvodes.so.3.7 +0 -0
- casadi/libcasadi_integrator_idas.so +0 -0
- casadi/libcasadi_integrator_idas.so.3.7 +0 -0
- casadi/libcasadi_interpolant_bspline.so +0 -0
- casadi/libcasadi_interpolant_bspline.so.3.7 +0 -0
- casadi/libcasadi_interpolant_linear.so +0 -0
- casadi/libcasadi_interpolant_linear.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapacklu.so +0 -0
- casadi/libcasadi_linsol_lapacklu.so.3.7 +0 -0
- casadi/libcasadi_linsol_lapackqr.so +0 -0
- casadi/libcasadi_linsol_lapackqr.so.3.7 +0 -0
- casadi/libcasadi_linsol_ldl.so +0 -0
- casadi/libcasadi_linsol_ldl.so.3.7 +0 -0
- casadi/libcasadi_linsol_mumps.so +0 -0
- casadi/libcasadi_linsol_mumps.so.3.7 +0 -0
- casadi/libcasadi_linsol_qr.so +0 -0
- casadi/libcasadi_linsol_qr.so.3.7 +0 -0
- casadi/libcasadi_linsol_symbolicqr.so +0 -0
- casadi/libcasadi_linsol_symbolicqr.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_alpaqa.so +0 -0
- casadi/libcasadi_nlpsol_alpaqa.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ampl.so +0 -0
- casadi/libcasadi_nlpsol_ampl.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so +0 -0
- casadi/libcasadi_nlpsol_blocksqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_bonmin.so +0 -0
- casadi/libcasadi_nlpsol_bonmin.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_ipopt.so +0 -0
- casadi/libcasadi_nlpsol_ipopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_knitro.so +0 -0
- casadi/libcasadi_nlpsol_knitro.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so +0 -0
- casadi/libcasadi_nlpsol_qrsqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_scpgen.so +0 -0
- casadi/libcasadi_nlpsol_scpgen.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_sleqp.so +0 -0
- casadi/libcasadi_nlpsol_sleqp.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_snopt.so +0 -0
- casadi/libcasadi_nlpsol_snopt.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.so.3.7 +0 -0
- casadi/libcasadi_nlpsol_worhp.so +0 -0
- casadi/libcasadi_nlpsol_worhp.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so +0 -0
- casadi/libcasadi_rootfinder_fast_newton.so.3.7 +0 -0
- casadi/libcasadi_rootfinder_newton.so +0 -0
- casadi/libcasadi_rootfinder_newton.so.3.7 +0 -0
- casadi/libcasadi_sundials_common.so +0 -0
- casadi/libcasadi_sundials_common.so.3.7 +0 -0
- casadi/libhighs.so +0 -0
- casadi/libhighs.so.1.6 +0 -0
- casadi/libhighs.so.1.6.0 +0 -0
- casadi/libindirect.a +0 -0
- casadi/liblinsys.a +0 -0
- casadi/libosqp.a +0 -0
- casadi/libqdldl.a +0 -0
- casadi/libsleqp.so +0 -0
- casadi/libsleqp.so.1.0.1 +0 -0
- casadi/libspral.a +0 -0
- casadi/libsuperscs.a +0 -0
- casadi/libtrlib.so +0 -0
- casadi/libtrlib.so.0.4 +0 -0
- casadi/pkgconfig/blas.pc +11 -0
- casadi/pkgconfig/bonmin.pc +1 -1
- casadi/pkgconfig/casadi.pc +1 -1
- casadi/pkgconfig/cbc.pc +2 -2
- casadi/pkgconfig/cgl.pc +2 -2
- casadi/pkgconfig/clp.pc +1 -1
- casadi/pkgconfig/coinutils.pc +1 -1
- casadi/pkgconfig/highs.pc +3 -3
- casadi/pkgconfig/lapack.pc +11 -0
- casadi/pkgconfig/openblas.pc +1 -1
- casadi/pkgconfig/osi-cbc.pc +1 -1
- casadi/pkgconfig/osi-clp.pc +1 -1
- casadi/pkgconfig/osi-unittests.pc +1 -1
- casadi/pkgconfig/osi.pc +1 -1
- casadi/pkgconfig/sleqp.pc +10 -0
- {casadi-3.6.2.dist-info → casadi-3.6.4.dist-info}/METADATA +1 -1
- {casadi-3.6.2.dist-info → casadi-3.6.4.dist-info}/RECORD +324 -283
- casadi/libCbc.so.3.10.6 +0 -0
- casadi/libCbcSolver.so.3.10.6 +0 -0
- casadi/libCgl.so.1.10.4 +0 -0
- casadi/libCoinUtils.so.3.11.6 +0 -0
- casadi/libOsiClp.so.1.14.7 +0 -0
- casadi/libbonmin.so.4.8.8 +0 -0
- casadi/libhighs.so.1.4 +0 -0
- casadi/libhighs.so.1.4.0 +0 -0
- /casadi/{libOsi.so.1.13.7 → libOsi.so.1.13.9} +0 -0
- {casadi-3.6.2.dist-info → casadi-3.6.4.dist-info}/WHEEL +0 -0
casadi/_casadi.so
CHANGED
Binary file
|
casadi/casadi.py
CHANGED
@@ -10971,7 +10971,7 @@ class DM(MatrixCommon, GenericExpressionCommon, GenDM, PrintableCommon):
|
|
10971
10971
|
if "vectorized" in name:
|
10972
10972
|
name = name[:-len(" (vectorized)")]
|
10973
10973
|
|
10974
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
10974
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
10975
10975
|
if name in conversion:
|
10976
10976
|
name = conversion[name]
|
10977
10977
|
if len(context[1])==2 and context[1][1] is self and not(context[1][0] is self):
|
@@ -10983,7 +10983,7 @@ class DM(MatrixCommon, GenericExpressionCommon, GenDM, PrintableCommon):
|
|
10983
10983
|
return fun(*args[1:])
|
10984
10984
|
|
10985
10985
|
def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
|
10986
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
10986
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
10987
10987
|
name = ufunc.__name__
|
10988
10988
|
inputs = list(inputs)
|
10989
10989
|
if len(inputs)==3:
|
@@ -11003,7 +11003,13 @@ class DM(MatrixCommon, GenericExpressionCommon, GenDM, PrintableCommon):
|
|
11003
11003
|
assert method=="__call__"
|
11004
11004
|
fun=getattr(self, name)
|
11005
11005
|
return fun(*inputs[1:])
|
11006
|
-
except:
|
11006
|
+
except Exception as e:
|
11007
|
+
if "Dimension mismatch" in str(e):
|
11008
|
+
import sys
|
11009
|
+
if sys.version_info[0] < 3:
|
11010
|
+
raise RuntimeError(str(e))
|
11011
|
+
else:
|
11012
|
+
raise e
|
11007
11013
|
#Fall back to numpy conversion
|
11008
11014
|
new_inputs = list(inputs)
|
11009
11015
|
try:
|
@@ -13338,7 +13344,7 @@ class SX(MatrixCommon, GenericExpressionCommon, GenSX, PrintableCommon):
|
|
13338
13344
|
if "vectorized" in name:
|
13339
13345
|
name = name[:-len(" (vectorized)")]
|
13340
13346
|
|
13341
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
13347
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
13342
13348
|
if name in conversion:
|
13343
13349
|
name = conversion[name]
|
13344
13350
|
if len(context[1])==2 and context[1][1] is self and not(context[1][0] is self):
|
@@ -13350,7 +13356,7 @@ class SX(MatrixCommon, GenericExpressionCommon, GenSX, PrintableCommon):
|
|
13350
13356
|
return fun(*args[1:])
|
13351
13357
|
|
13352
13358
|
def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
|
13353
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
13359
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
13354
13360
|
name = ufunc.__name__
|
13355
13361
|
inputs = list(inputs)
|
13356
13362
|
if len(inputs)==3:
|
@@ -13370,7 +13376,13 @@ class SX(MatrixCommon, GenericExpressionCommon, GenSX, PrintableCommon):
|
|
13370
13376
|
assert method=="__call__"
|
13371
13377
|
fun=getattr(self, name)
|
13372
13378
|
return fun(*inputs[1:])
|
13373
|
-
except:
|
13379
|
+
except Exception as e:
|
13380
|
+
if "Dimension mismatch" in str(e):
|
13381
|
+
import sys
|
13382
|
+
if sys.version_info[0] < 3:
|
13383
|
+
raise RuntimeError(str(e))
|
13384
|
+
else:
|
13385
|
+
raise e
|
13374
13386
|
#Fall back to numpy conversion
|
13375
13387
|
new_inputs = list(inputs)
|
13376
13388
|
try:
|
@@ -16329,7 +16341,7 @@ class MX(GenericExpressionCommon, PrintableCommon, GenMX, SharedObject):
|
|
16329
16341
|
if "vectorized" in name:
|
16330
16342
|
name = name[:-len(" (vectorized)")]
|
16331
16343
|
|
16332
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
16344
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
16333
16345
|
if name in conversion:
|
16334
16346
|
name = conversion[name]
|
16335
16347
|
if len(context[1])==2 and context[1][1] is self and not(context[1][0] is self):
|
@@ -16341,7 +16353,7 @@ class MX(GenericExpressionCommon, PrintableCommon, GenMX, SharedObject):
|
|
16341
16353
|
return fun(*args[1:])
|
16342
16354
|
|
16343
16355
|
def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
|
16344
|
-
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt"}
|
16356
|
+
conversion = {"multiply": "mul", "divide": "div", "true_divide": "div", "subtract":"sub","power":"pow","greater_equal":"ge","less_equal": "le", "less": "lt", "greater": "gt", "equal": "eq", "not_equal": "ne"}
|
16345
16357
|
name = ufunc.__name__
|
16346
16358
|
inputs = list(inputs)
|
16347
16359
|
if len(inputs)==3:
|
@@ -16361,7 +16373,13 @@ class MX(GenericExpressionCommon, PrintableCommon, GenMX, SharedObject):
|
|
16361
16373
|
assert method=="__call__"
|
16362
16374
|
fun=getattr(self, name)
|
16363
16375
|
return fun(*inputs[1:])
|
16364
|
-
except:
|
16376
|
+
except Exception as e:
|
16377
|
+
if "Dimension mismatch" in str(e):
|
16378
|
+
import sys
|
16379
|
+
if sys.version_info[0] < 3:
|
16380
|
+
raise RuntimeError(str(e))
|
16381
|
+
else:
|
16382
|
+
raise e
|
16365
16383
|
#Fall back to numpy conversion
|
16366
16384
|
new_inputs = list(inputs)
|
16367
16385
|
try:
|
@@ -26151,6 +26169,8 @@ def conic(*args) -> "casadi::Function":
|
|
26151
26169
|
|
26152
26170
|
- cplex
|
26153
26171
|
|
26172
|
+
- fatrop
|
26173
|
+
|
26154
26174
|
- gurobi
|
26155
26175
|
|
26156
26176
|
- highs
|
@@ -26309,6 +26329,61 @@ def conic(*args) -> "casadi::Function":
|
|
26309
26329
|
|
26310
26330
|
|
26311
26331
|
|
26332
|
+
--------------------------------------------------------------------------------
|
26333
|
+
|
26334
|
+
fatrop
|
26335
|
+
------
|
26336
|
+
|
26337
|
+
|
26338
|
+
|
26339
|
+
Interface to Fatrop Solver
|
26340
|
+
|
26341
|
+
In order to use this interface, you must:
|
26342
|
+
|
26343
|
+
Decision variables must only by state and control, and the variable
|
26344
|
+
|
26345
|
+
ordering must be [x0 u0 x1 u1 ...]
|
26346
|
+
|
26347
|
+
The constraints must be in order: [ gap0 lincon0 gap1 lincon1 ]
|
26348
|
+
|
26349
|
+
gap: Ak+1 = Ak xk + Bk uk lincon: yk= Ck xk + Dk uk
|
26350
|
+
|
26351
|
+
|
26352
|
+
|
26353
|
+
::
|
26354
|
+
|
26355
|
+
A0 B0 -I
|
26356
|
+
C0 D0
|
26357
|
+
A1 B1 -I
|
26358
|
+
C1 D1
|
26359
|
+
|
26360
|
+
|
26361
|
+
|
26362
|
+
where I must be a diagonal sparse matrix
|
26363
|
+
Either supply all of N, nx, ng, nu
|
26364
|
+
options or rely on automatic
|
26365
|
+
detection
|
26366
|
+
|
26367
|
+
Extra doc: https://github.com/casadi/casadi/wiki/L_27g
|
26368
|
+
|
26369
|
+
>List of available options
|
26370
|
+
|
26371
|
+
+--------+--------------+-----------------------------------------------+
|
26372
|
+
| Id | Type | Description |
|
26373
|
+
+========+==============+===============================================+
|
26374
|
+
| N | OT_INT | OCP horizon |
|
26375
|
+
+--------+--------------+-----------------------------------------------+
|
26376
|
+
| fatrop | OT_DICT | Options to be passed to fatrop |
|
26377
|
+
+--------+--------------+-----------------------------------------------+
|
26378
|
+
| ng | OT_INTVECTOR | Number of non-dynamic constraints, length N+1 |
|
26379
|
+
+--------+--------------+-----------------------------------------------+
|
26380
|
+
| nu | OT_INTVECTOR | Number of controls, length N |
|
26381
|
+
+--------+--------------+-----------------------------------------------+
|
26382
|
+
| nx | OT_INTVECTOR | Number of states, length N+1 |
|
26383
|
+
+--------+--------------+-----------------------------------------------+
|
26384
|
+
|
26385
|
+
|
26386
|
+
|
26312
26387
|
--------------------------------------------------------------------------------
|
26313
26388
|
|
26314
26389
|
gurobi
|
@@ -26372,7 +26447,7 @@ def conic(*args) -> "casadi::Function":
|
|
26372
26447
|
|
26373
26448
|
|
26374
26449
|
|
26375
|
-
Interface to
|
26450
|
+
Interface to HPIPM Solver
|
26376
26451
|
|
26377
26452
|
In order to use this interface, you must:
|
26378
26453
|
|
@@ -27321,6 +27396,7 @@ def nlpsol(*args) -> "casadi::Function":
|
|
27321
27396
|
nlpsol(str name, str solver, dict:SX nlp, dict opts) -> Function
|
27322
27397
|
nlpsol(str name, str solver, dict:MX nlp, dict opts) -> Function
|
27323
27398
|
nlpsol(str name, str solver, str fname, dict opts) -> Function
|
27399
|
+
nlpsol(str name, str solver, Function nlp, dict opts) -> Function
|
27324
27400
|
|
27325
27401
|
|
27326
27402
|
.......
|
@@ -28943,6 +29019,7 @@ def nlpsol(*args) -> "casadi::Function":
|
|
28943
29019
|
nlpsol(str name, str solver, NlpBuilder nl, dict opts)
|
28944
29020
|
nlpsol(str name, str solver, dict:MX nlp, dict opts)
|
28945
29021
|
nlpsol(str name, str solver, str fname, dict opts)
|
29022
|
+
nlpsol(str name, str solver, Function nlp, dict opts)
|
28946
29023
|
|
28947
29024
|
|
28948
29025
|
|
@@ -33526,7 +33603,7 @@ class CodeGenerator(_object):
|
|
33526
33603
|
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.hpp#L46
|
33527
33604
|
|
33528
33605
|
Implementation:
|
33529
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L35-
|
33606
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L35-L180
|
33530
33607
|
|
33531
33608
|
|
33532
33609
|
|
@@ -33552,7 +33629,7 @@ class CodeGenerator(_object):
|
|
33552
33629
|
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.hpp#L49
|
33553
33630
|
|
33554
33631
|
Implementation:
|
33555
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#
|
33632
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L288-L316
|
33556
33633
|
|
33557
33634
|
|
33558
33635
|
|
@@ -33575,7 +33652,7 @@ class CodeGenerator(_object):
|
|
33575
33652
|
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.hpp#L57
|
33576
33653
|
|
33577
33654
|
Implementation:
|
33578
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#
|
33655
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L318-L322
|
33579
33656
|
|
33580
33657
|
|
33581
33658
|
|
@@ -33604,7 +33681,7 @@ class CodeGenerator(_object):
|
|
33604
33681
|
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.hpp#L66
|
33605
33682
|
|
33606
33683
|
Implementation:
|
33607
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#
|
33684
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L410-L464
|
33608
33685
|
|
33609
33686
|
|
33610
33687
|
|
@@ -33629,7 +33706,7 @@ class CodeGenerator(_object):
|
|
33629
33706
|
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.hpp#L69
|
33630
33707
|
|
33631
33708
|
Implementation:
|
33632
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#
|
33709
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/code_generator.cpp#L942-L962
|
33633
33710
|
|
33634
33711
|
|
33635
33712
|
|
@@ -33658,10 +33735,10 @@ def _horzcat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
33658
33735
|
Extra doc: https://github.com/casadi/casadi/wiki/L_4e
|
33659
33736
|
|
33660
33737
|
Doc source:
|
33661
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33738
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L502
|
33662
33739
|
|
33663
33740
|
Implementation:
|
33664
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33741
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L502-L505
|
33665
33742
|
|
33666
33743
|
|
33667
33744
|
|
@@ -33684,10 +33761,10 @@ def _vertcat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
33684
33761
|
Extra doc: https://github.com/casadi/casadi/wiki/L_4j
|
33685
33762
|
|
33686
33763
|
Doc source:
|
33687
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33764
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L540
|
33688
33765
|
|
33689
33766
|
Implementation:
|
33690
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33767
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L540-L543
|
33691
33768
|
|
33692
33769
|
|
33693
33770
|
|
@@ -33715,17 +33792,19 @@ def horzsplit(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allo
|
|
33715
33792
|
-----------
|
33716
33793
|
|
33717
33794
|
incr:
|
33718
|
-
Size of each group of columns
|
33795
|
+
Size (width) of each group of columns
|
33719
33796
|
|
33720
33797
|
horzcat(horzsplit(x, ...)) = x
|
33721
33798
|
|
33799
|
+
\\seealso horzsplit_n
|
33800
|
+
|
33722
33801
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3h
|
33723
33802
|
|
33724
33803
|
Doc source:
|
33725
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33804
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L134
|
33726
33805
|
|
33727
33806
|
Implementation:
|
33728
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33807
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L134-L136
|
33729
33808
|
|
33730
33809
|
|
33731
33810
|
|
@@ -33733,6 +33812,44 @@ def horzsplit(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allo
|
|
33733
33812
|
"""
|
33734
33813
|
return _casadi.horzsplit(*args)
|
33735
33814
|
|
33815
|
+
def horzsplit_n(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allocator< casadi::Matrix< casadi::SXElem > > >":
|
33816
|
+
"""
|
33817
|
+
split horizontally, retaining fixed-sized groups of columns
|
33818
|
+
|
33819
|
+
::
|
33820
|
+
|
33821
|
+
horzsplit_n(Sparsity v, int n) -> [Sparsity]
|
33822
|
+
horzsplit_n(DM v, int n) -> [DM]
|
33823
|
+
horzsplit_n(SX v, int n) -> [SX]
|
33824
|
+
horzsplit_n(MX v, int n) -> [MX]
|
33825
|
+
|
33826
|
+
|
33827
|
+
Parameters:
|
33828
|
+
-----------
|
33829
|
+
|
33830
|
+
n:
|
33831
|
+
Number of groups of columns
|
33832
|
+
|
33833
|
+
Will error when the number of columns is not a multiple of n
|
33834
|
+
|
33835
|
+
horzcat(horzsplit(x, ...)) = x
|
33836
|
+
|
33837
|
+
\\seealso horzsplit
|
33838
|
+
|
33839
|
+
Extra doc: https://github.com/casadi/casadi/wiki/L_277
|
33840
|
+
|
33841
|
+
Doc source:
|
33842
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L149
|
33843
|
+
|
33844
|
+
Implementation:
|
33845
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L149-L151
|
33846
|
+
|
33847
|
+
|
33848
|
+
|
33849
|
+
|
33850
|
+
"""
|
33851
|
+
return _casadi.horzsplit_n(*args)
|
33852
|
+
|
33736
33853
|
def offset(*args) -> "std::vector< casadi_int,std::allocator< casadi_int > >":
|
33737
33854
|
"""
|
33738
33855
|
Helper function, get offsets corresponding to a vector of matrices.
|
@@ -33748,10 +33865,10 @@ def offset(*args) -> "std::vector< casadi_int,std::allocator< casadi_int > >":
|
|
33748
33865
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3j
|
33749
33866
|
|
33750
33867
|
Doc source:
|
33751
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33868
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L169
|
33752
33869
|
|
33753
33870
|
Implementation:
|
33754
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33871
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L169-L171
|
33755
33872
|
|
33756
33873
|
|
33757
33874
|
|
@@ -33816,13 +33933,15 @@ def vertsplit(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allo
|
|
33816
33933
|
|
33817
33934
|
|
33818
33935
|
|
33936
|
+
\\seealso vertsplit_n
|
33937
|
+
|
33819
33938
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3k
|
33820
33939
|
|
33821
33940
|
Doc source:
|
33822
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33941
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L204
|
33823
33942
|
|
33824
33943
|
Implementation:
|
33825
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
33944
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L204-L206
|
33826
33945
|
|
33827
33946
|
|
33828
33947
|
|
@@ -33830,6 +33949,44 @@ def vertsplit(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allo
|
|
33830
33949
|
"""
|
33831
33950
|
return _casadi.vertsplit(*args)
|
33832
33951
|
|
33952
|
+
def vertsplit_n(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allocator< casadi::Matrix< casadi::SXElem > > >":
|
33953
|
+
"""
|
33954
|
+
split vertically, retaining fixed-sized groups of rows
|
33955
|
+
|
33956
|
+
::
|
33957
|
+
|
33958
|
+
vertsplit_n(Sparsity v, int n) -> [Sparsity]
|
33959
|
+
vertsplit_n(DM v, int n) -> [DM]
|
33960
|
+
vertsplit_n(SX v, int n) -> [SX]
|
33961
|
+
vertsplit_n(MX v, int n) -> [MX]
|
33962
|
+
|
33963
|
+
|
33964
|
+
Parameters:
|
33965
|
+
-----------
|
33966
|
+
|
33967
|
+
n:
|
33968
|
+
Number of groups of rows
|
33969
|
+
|
33970
|
+
Will error when the number of rows is not a multiple of n
|
33971
|
+
|
33972
|
+
vertcat(vertsplit(x, ...)) = x
|
33973
|
+
|
33974
|
+
\\seealso vertsplit
|
33975
|
+
|
33976
|
+
Extra doc: https://github.com/casadi/casadi/wiki/L_278
|
33977
|
+
|
33978
|
+
Doc source:
|
33979
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L219
|
33980
|
+
|
33981
|
+
Implementation:
|
33982
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L219-L221
|
33983
|
+
|
33984
|
+
|
33985
|
+
|
33986
|
+
|
33987
|
+
"""
|
33988
|
+
return _casadi.vertsplit_n(*args)
|
33989
|
+
|
33833
33990
|
def blocksplit(*args) -> "std::vector< std::vector< casadi::Matrix< casadi::SXElem >,std::allocator< casadi::Matrix< casadi::SXElem > > >,std::allocator< std::vector< casadi::Matrix< casadi::SXElem >,std::allocator< casadi::Matrix< casadi::SXElem > > > > >":
|
33834
33991
|
"""
|
33835
33992
|
chop up into blocks
|
@@ -33860,10 +34017,10 @@ def blocksplit(*args) -> "std::vector< std::vector< casadi::Matrix< casadi::SXEl
|
|
33860
34017
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3o
|
33861
34018
|
|
33862
34019
|
Doc source:
|
33863
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34020
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L262
|
33864
34021
|
|
33865
34022
|
Implementation:
|
33866
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34023
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L262-L264
|
33867
34024
|
|
33868
34025
|
|
33869
34026
|
|
@@ -33886,10 +34043,10 @@ def _diagcat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
33886
34043
|
Extra doc: https://github.com/casadi/casadi/wiki/L_4o
|
33887
34044
|
|
33888
34045
|
Doc source:
|
33889
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34046
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L578
|
33890
34047
|
|
33891
34048
|
Implementation:
|
33892
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34049
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L578-L581
|
33893
34050
|
|
33894
34051
|
|
33895
34052
|
|
@@ -33935,10 +34092,10 @@ def diagsplit(*args) -> "std::vector< casadi::Matrix< casadi::SXElem >,std::allo
|
|
33935
34092
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3t
|
33936
34093
|
|
33937
34094
|
Doc source:
|
33938
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34095
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L324
|
33939
34096
|
|
33940
34097
|
Implementation:
|
33941
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34098
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L324-L326
|
33942
34099
|
|
33943
34100
|
|
33944
34101
|
|
@@ -33961,10 +34118,10 @@ def _veccat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
33961
34118
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3u
|
33962
34119
|
|
33963
34120
|
Doc source:
|
33964
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34121
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L331
|
33965
34122
|
|
33966
34123
|
Implementation:
|
33967
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34124
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L331-L333
|
33968
34125
|
|
33969
34126
|
|
33970
34127
|
|
@@ -33991,10 +34148,10 @@ def mtimes(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
33991
34148
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3w
|
33992
34149
|
|
33993
34150
|
Doc source:
|
33994
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34151
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L345
|
33995
34152
|
|
33996
34153
|
Implementation:
|
33997
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34154
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L345-L347
|
33998
34155
|
|
33999
34156
|
|
34000
34157
|
|
@@ -34025,10 +34182,10 @@ def mac(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34025
34182
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3x
|
34026
34183
|
|
34027
34184
|
Doc source:
|
34028
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34185
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L358
|
34029
34186
|
|
34030
34187
|
Implementation:
|
34031
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34188
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L358-L360
|
34032
34189
|
|
34033
34190
|
|
34034
34191
|
|
@@ -34051,10 +34208,10 @@ def transpose(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34051
34208
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3y
|
34052
34209
|
|
34053
34210
|
Doc source:
|
34054
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34211
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L365
|
34055
34212
|
|
34056
34213
|
Implementation:
|
34057
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34214
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L365-L367
|
34058
34215
|
|
34059
34216
|
|
34060
34217
|
|
@@ -34091,10 +34248,10 @@ def vec(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34091
34248
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3z
|
34092
34249
|
|
34093
34250
|
Doc source:
|
34094
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34251
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L386
|
34095
34252
|
|
34096
34253
|
Implementation:
|
34097
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34254
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L386-L388
|
34098
34255
|
|
34099
34256
|
|
34100
34257
|
|
@@ -34125,10 +34282,10 @@ def reshape(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34125
34282
|
Extra doc: https://github.com/casadi/casadi/wiki/L_42
|
34126
34283
|
|
34127
34284
|
Doc source:
|
34128
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34285
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L407
|
34129
34286
|
|
34130
34287
|
Implementation:
|
34131
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34288
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L407-L409
|
34132
34289
|
|
34133
34290
|
|
34134
34291
|
|
@@ -34151,10 +34308,10 @@ def sparsity_cast(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34151
34308
|
Extra doc: https://github.com/casadi/casadi/wiki/L_24z
|
34152
34309
|
|
34153
34310
|
Doc source:
|
34154
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34311
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L414
|
34155
34312
|
|
34156
34313
|
Implementation:
|
34157
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34314
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L414-L416
|
34158
34315
|
|
34159
34316
|
|
34160
34317
|
|
@@ -34209,10 +34366,10 @@ def triu(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34209
34366
|
Extra doc: https://github.com/casadi/casadi/wiki/L_45
|
34210
34367
|
|
34211
34368
|
Doc source:
|
34212
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34369
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L435
|
34213
34370
|
|
34214
34371
|
Implementation:
|
34215
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34372
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L435-L437
|
34216
34373
|
|
34217
34374
|
|
34218
34375
|
|
@@ -34235,10 +34392,10 @@ def tril(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34235
34392
|
Extra doc: https://github.com/casadi/casadi/wiki/L_46
|
34236
34393
|
|
34237
34394
|
Doc source:
|
34238
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34395
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L442
|
34239
34396
|
|
34240
34397
|
Implementation:
|
34241
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34398
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L442-L444
|
34242
34399
|
|
34243
34400
|
|
34244
34401
|
|
@@ -34263,10 +34420,10 @@ def kron(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34263
34420
|
Extra doc: https://github.com/casadi/casadi/wiki/L_47
|
34264
34421
|
|
34265
34422
|
Doc source:
|
34266
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34423
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L451
|
34267
34424
|
|
34268
34425
|
Implementation:
|
34269
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34426
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L451-L453
|
34270
34427
|
|
34271
34428
|
|
34272
34429
|
|
@@ -34293,10 +34450,10 @@ def repmat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34293
34450
|
Extra doc: https://github.com/casadi/casadi/wiki/L_49
|
34294
34451
|
|
34295
34452
|
Doc source:
|
34296
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34453
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L465
|
34297
34454
|
|
34298
34455
|
Implementation:
|
34299
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34456
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L465-L467
|
34300
34457
|
|
34301
34458
|
|
34302
34459
|
|
@@ -34319,10 +34476,10 @@ def sum2(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34319
34476
|
Extra doc: https://github.com/casadi/casadi/wiki/L_4q
|
34320
34477
|
|
34321
34478
|
Doc source:
|
34322
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34479
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L591
|
34323
34480
|
|
34324
34481
|
Implementation:
|
34325
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34482
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L591-L591
|
34326
34483
|
|
34327
34484
|
|
34328
34485
|
|
@@ -34345,10 +34502,10 @@ def sum1(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
34345
34502
|
Extra doc: https://github.com/casadi/casadi/wiki/L_4p
|
34346
34503
|
|
34347
34504
|
Doc source:
|
34348
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34505
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L586
|
34349
34506
|
|
34350
34507
|
Implementation:
|
34351
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
34508
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L586-L586
|
34352
34509
|
|
34353
34510
|
|
34354
34511
|
|
@@ -37443,10 +37600,10 @@ def blockcat(*args) -> "casadi::Matrix< casadi::SXElem >":
|
|
37443
37600
|
Extra doc: https://github.com/casadi/casadi/wiki/L_3m
|
37444
37601
|
|
37445
37602
|
Doc source:
|
37446
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
37603
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L234
|
37447
37604
|
|
37448
37605
|
Implementation:
|
37449
|
-
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#
|
37606
|
+
https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L234-L236
|
37450
37607
|
|
37451
37608
|
|
37452
37609
|
|
casadi/cbc
CHANGED
Binary file
|
casadi/clp
CHANGED
Binary file
|
@@ -0,0 +1,24 @@
|
|
1
|
+
|
2
|
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
3
|
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
4
|
+
####### The input file was Config.cmake.in ########
|
5
|
+
|
6
|
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
7
|
+
|
8
|
+
####################################################################################
|
9
|
+
|
10
|
+
include(CMakeFindDependencyMacro)
|
11
|
+
find_dependency(Eigen3 REQUIRED CONFIG)
|
12
|
+
if (OFF)
|
13
|
+
find_package(casadi CONFIG)
|
14
|
+
endif()
|
15
|
+
|
16
|
+
set(ALPAQA_WITH_OCP ON CACHE INTERNAL "")
|
17
|
+
|
18
|
+
include("${CMAKE_CURRENT_LIST_DIR}/alpaqaTargets.cmake")
|
19
|
+
|
20
|
+
if(NOT _alpaqa_PRINTED)
|
21
|
+
get_target_property(ALPAQA_CONFIG alpaqa::alpaqa IMPORTED_CONFIGURATIONS)
|
22
|
+
message(STATUS "Found alpaqa 1.0.0: ${CMAKE_CURRENT_LIST_DIR} (available configs: ${ALPAQA_CONFIG})")
|
23
|
+
set(_alpaqa_PRINTED On CACHE INTERNAL "")
|
24
|
+
endif()
|