sleipnirgroup-jormungandr 0.6.7.dev143__tar.gz → 0.6.7.dev145__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/PKG-INFO +1 -1
  2. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/expression.hpp +9 -16
  3. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/expression_functions.hpp +26 -25
  4. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/newton.hpp +3 -1
  5. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/src/sleipnir/__init__.py +1 -1
  6. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/CMakeLists.txt +0 -0
  7. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/LICENSE.txt +0 -0
  8. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/README.md +0 -0
  9. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/SleipnirConfig.cmake.in +0 -0
  10. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/BuildTypes.cmake +0 -0
  11. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/CompilerFlags.cmake +0 -0
  12. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/Pybind11Mkdoc.cmake +0 -0
  13. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/Pybind11MkdocPostprocess.cmake +0 -0
  14. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/SubdirList.cmake +0 -0
  15. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/aarch64-linux-gnu.cmake +0 -0
  16. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/cmake/arm-none-eabi.cmake +0 -0
  17. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/expression_graph.hpp +0 -0
  18. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/expression_type.hpp +0 -0
  19. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/gradient.hpp +0 -0
  20. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/hessian.hpp +0 -0
  21. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/jacobian.hpp +0 -0
  22. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/sleipnir_base.hpp +0 -0
  23. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/slice.hpp +0 -0
  24. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/variable.hpp +0 -0
  25. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/variable_block.hpp +0 -0
  26. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/autodiff/variable_matrix.hpp +0 -0
  27. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/multistart.hpp +0 -0
  28. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/ocp/dynamics_type.hpp +0 -0
  29. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/ocp/timestep_method.hpp +0 -0
  30. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/ocp/transcription_method.hpp +0 -0
  31. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/ocp.hpp +0 -0
  32. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/problem.hpp +0 -0
  33. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/control_flow.hpp +0 -0
  34. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/exit_status.hpp +0 -0
  35. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/ipm.hpp +0 -0
  36. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/ipm_matrix_callbacks.hpp +0 -0
  37. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/iteration_info.hpp +0 -0
  38. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/newton_matrix_callbacks.hpp +0 -0
  39. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/options.hpp +0 -0
  40. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/sqp.hpp +0 -0
  41. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/sqp_matrix_callbacks.hpp +0 -0
  42. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/all_finite.hpp +0 -0
  43. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/append_as_triplets.hpp +0 -0
  44. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/bounds.hpp +0 -0
  45. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/constraint_violation.hpp +0 -0
  46. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/dense_kkt_solver.hpp +0 -0
  47. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/feasibility_restoration.hpp +0 -0
  48. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp +0 -0
  49. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/filter.hpp +0 -0
  50. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/fraction_to_the_boundary_rule.hpp +0 -0
  51. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/kkt_error.hpp +0 -0
  52. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/kkt_solver.hpp +0 -0
  53. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/problem_scaling.hpp +0 -0
  54. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/regularization_limits.hpp +0 -0
  55. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/ruiz_equilibration.hpp +0 -0
  56. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/sparse_inf_norms.hpp +0 -0
  57. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/sparse_kkt_solver.hpp +0 -0
  58. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/optimization/solver/util/time_trace.hpp +0 -0
  59. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/assert.hpp +0 -0
  60. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/concepts.hpp +0 -0
  61. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/empty.hpp +0 -0
  62. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/force_inline.hpp +0 -0
  63. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/function_ref.hpp +0 -0
  64. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/intrusive_shared_ptr.hpp +0 -0
  65. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/pool.hpp +0 -0
  66. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/print.hpp +0 -0
  67. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/print_diagnostics.hpp +0 -0
  68. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/scope_exit.hpp +0 -0
  69. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/spy.hpp +0 -0
  70. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/symbol_exports.hpp +0 -0
  71. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/include/sleipnir/util/time_tracer.hpp +0 -0
  72. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/pyproject.toml +0 -0
  73. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/.clang-tidy +0 -0
  74. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/arity.hpp +0 -0
  75. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_expression_type.cpp +0 -0
  76. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_gradient.cpp +0 -0
  77. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_hessian.cpp +0 -0
  78. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_jacobian.cpp +0 -0
  79. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_variable.cpp +0 -0
  80. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_variable_block.cpp +0 -0
  81. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/autodiff/bind_variable_matrix.cpp +0 -0
  82. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/binders.hpp +0 -0
  83. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/docstrings.hpp +0 -0
  84. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/for_each_type.hpp +0 -0
  85. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/main.cpp +0 -0
  86. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/bind_equality_constraints.cpp +0 -0
  87. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/bind_inequality_constraints.cpp +0 -0
  88. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/bind_ocp.cpp +0 -0
  89. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/bind_problem.cpp +0 -0
  90. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/ocp/bind_dynamics_type.cpp +0 -0
  91. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/ocp/bind_timestep_method.cpp +0 -0
  92. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/ocp/bind_transcription_method.cpp +0 -0
  93. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/solver/bind_exit_status.cpp +0 -0
  94. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/optimization/solver/bind_iteration_info.cpp +0 -0
  95. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/slice_tuple.hpp +0 -0
  96. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/text_wrap.hpp +0 -0
  97. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/cpp/try_cast.hpp +0 -0
  98. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/postprocess_stubs.py +0 -0
  99. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/src/sleipnir/autodiff/__init__.py +0 -0
  100. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/src/sleipnir/optimization/__init__.py +0 -0
  101. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/autodiff/gradient_test.py +0 -0
  102. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/autodiff/hessian_test.py +0 -0
  103. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/autodiff/jacobian_test.py +0 -0
  104. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/autodiff/variable_matrix_test.py +0 -0
  105. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/autodiff/variable_test.py +0 -0
  106. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/arm_on_elevator_problem_test.py +0 -0
  107. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/cart_pole_ocp_test.py +0 -0
  108. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/cart_pole_problem_test.py +0 -0
  109. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/cart_pole_util.py +0 -0
  110. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/constraints_test.py +0 -0
  111. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/differential_drive_ocp_test.py +0 -0
  112. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/differential_drive_problem_test.py +0 -0
  113. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/differential_drive_util.py +0 -0
  114. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/double_integrator_problem_test.py +0 -0
  115. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/flywheel_ocp_test.py +0 -0
  116. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/flywheel_problem_test.py +0 -0
  117. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/flywheel_util.py +0 -0
  118. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/linear_problem_test.py +0 -0
  119. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/multistart_test.py +0 -0
  120. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/nonlinear_problem_test.py +0 -0
  121. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/problem_spy_test.py +0 -0
  122. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/problem_variable_test.py +0 -0
  123. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/quadratic_problem_test.py +0 -0
  124. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/rk4.py +0 -0
  125. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/solver/exit_status_test.py +0 -0
  126. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/tolerance.py +0 -0
  127. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/python/test/optimization/trivial_problem_test.py +0 -0
  128. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/autodiff/gradient.cpp +0 -0
  129. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/autodiff/hessian.cpp +0 -0
  130. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/autodiff/jacobian.cpp +0 -0
  131. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/autodiff/variable_matrix.cpp +0 -0
  132. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/optimization/ocp.cpp +0 -0
  133. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/optimization/problem.cpp +0 -0
  134. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/optimization/solver/ipm.cpp +0 -0
  135. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/optimization/solver/newton.cpp +0 -0
  136. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/optimization/solver/sqp.cpp +0 -0
  137. {sleipnirgroup_jormungandr-0.6.7.dev143 → sleipnirgroup_jormungandr-0.6.7.dev145}/src/util/pool.cpp +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sleipnirgroup-jormungandr
3
- Version: 0.6.7.dev143
3
+ Version: 0.6.7.dev145
4
4
  Summary: Reverse mode autodiff library and NLP solver DSL
5
5
  License-Expression: BSD-3-Clause
6
6
  License-File: LICENSE.txt
@@ -33,13 +33,6 @@ inline constexpr bool USE_POOL_ALLOCATOR = true;
33
33
  template <typename Scalar>
34
34
  struct Expression;
35
35
 
36
- /// Array with one element per expression argument in visit_args() order.
37
- ///
38
- /// @tparam T Element type.
39
- /// @tparam N The number of arguments.
40
- template <typename T, size_t N>
41
- using ArgArray = std::array<T, N>;
42
-
43
36
  /// Typedef for intrusive shared pointer to Expression.
44
37
  ///
45
38
  /// @tparam Scalar Scalar type.
@@ -468,7 +461,7 @@ struct NonLeafExpression : Expression<Scalar> {
468
461
  void accumulate_adjoints() const final {
469
462
  [&]<size_t... Is>(std::index_sequence<Is...>) {
470
463
  // Evaluate gradients
471
- ArgArray<Scalar, NumArgs> g{};
464
+ std::array<Scalar, NumArgs> g{};
472
465
  grad(g, this->val, args[Is]->val...);
473
466
 
474
467
  // Accumulate adjoints
@@ -483,7 +476,7 @@ struct NonLeafExpression : Expression<Scalar> {
483
476
  // instead of building them as expressions
484
477
  if constexpr (Self::CONSTANT_PARTIALS) {
485
478
  // Evaluate gradients
486
- ArgArray<Scalar, NumArgs> g{};
479
+ std::array<Scalar, NumArgs> g{};
487
480
  grad(g, this->val, args[Is]->val...);
488
481
 
489
482
  // Accumulate adjoints
@@ -502,7 +495,7 @@ struct NonLeafExpression : Expression<Scalar> {
502
495
  ...);
503
496
  } else {
504
497
  // Evaluate gradients
505
- ArgArray<ExpressionPtr<Scalar>, NumArgs> g;
498
+ std::array<ExpressionPtr<Scalar>, NumArgs> g;
506
499
  grad(g, ExpressionPtr<Scalar>{const_cast<NonLeafExpression*>(this)},
507
500
  args[Is]...);
508
501
 
@@ -535,7 +528,7 @@ struct NonLeafExpression : Expression<Scalar> {
535
528
  /// @param val The expression's value.
536
529
  /// @param x The argument values in visit_args() order.
537
530
  template <typename Value, typename... Args>
538
- void grad(ArgArray<Value, NumArgs>& g, const Value& val,
531
+ void grad(std::array<Value, NumArgs>& g, const Value& val,
539
532
  const Args&... x) const {
540
533
  if constexpr (requires(const Self& expr) {
541
534
  expr.eval_grad(g, val, x...);
@@ -596,7 +589,7 @@ struct BinaryMinusExpression final
596
589
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs - rhs; }
597
590
 
598
591
  template <typename Value>
599
- static void eval_grad(ArgArray<Value, 2>& g,
592
+ static void eval_grad(std::array<Value, 2>& g,
600
593
  [[maybe_unused]] const Value& val,
601
594
  [[maybe_unused]] const Value& lhs,
602
595
  [[maybe_unused]] const Value& rhs) {
@@ -623,7 +616,7 @@ struct BinaryPlusExpression final
623
616
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs + rhs; }
624
617
 
625
618
  template <typename Value>
626
- static void eval_grad(ArgArray<Value, 2>& g,
619
+ static void eval_grad(std::array<Value, 2>& g,
627
620
  [[maybe_unused]] const Value& val,
628
621
  [[maybe_unused]] const Value& lhs,
629
622
  [[maybe_unused]] const Value& rhs) {
@@ -646,7 +639,7 @@ struct DivExpression final : NonLeafExpression<DivExpression, Scalar, Type, 2> {
646
639
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs / rhs; }
647
640
 
648
641
  template <typename Value>
649
- static void eval_grad(ArgArray<Value, 2>& g,
642
+ static void eval_grad(std::array<Value, 2>& g,
650
643
  [[maybe_unused]] const Value& val, const Value& lhs,
651
644
  const Value& rhs) {
652
645
  g[0] = lit<Value>(Scalar(1)) / rhs;
@@ -669,7 +662,7 @@ struct MultExpression final
669
662
  static Scalar eval(Scalar lhs, Scalar rhs) { return lhs * rhs; }
670
663
 
671
664
  template <typename Value>
672
- static void eval_grad(ArgArray<Value, 2>& g,
665
+ static void eval_grad(std::array<Value, 2>& g,
673
666
  [[maybe_unused]] const Value& val, const Value& lhs,
674
667
  const Value& rhs) {
675
668
  g[0] = rhs;
@@ -695,7 +688,7 @@ struct UnaryMinusExpression final
695
688
  static Scalar eval(Scalar lhs) { return -lhs; }
696
689
 
697
690
  template <typename Value>
698
- static void eval_grad(ArgArray<Value, 1>& g,
691
+ static void eval_grad(std::array<Value, 1>& g,
699
692
  [[maybe_unused]] const Value& val,
700
693
  [[maybe_unused]] const Value& lhs) {
701
694
  g[0] = lit<Value>(Scalar(-1));
@@ -3,6 +3,7 @@
3
3
  #pragma once
4
4
 
5
5
  #include <algorithm>
6
+ #include <array>
6
7
  #include <cmath>
7
8
  #include <concepts>
8
9
  #include <numbers>
@@ -31,7 +32,7 @@ struct AbsExpression final : NonLeafExpression<AbsExpression, Scalar, Type, 1> {
31
32
  }
32
33
 
33
34
  template <typename Value>
34
- static void eval_grad(ArgArray<Value, 1>& g,
35
+ static void eval_grad(std::array<Value, 1>& g,
35
36
  [[maybe_unused]] const Value& val, const Value& x) {
36
37
  if constexpr (std::same_as<Value, Scalar>) {
37
38
  if (x < Scalar(0)) {
@@ -74,7 +75,7 @@ struct AcosExpression final
74
75
  }
75
76
 
76
77
  template <typename Value>
77
- static void eval_grad(ArgArray<Value, 1>& g,
78
+ static void eval_grad(std::array<Value, 1>& g,
78
79
  [[maybe_unused]] const Value& val, const Value& x) {
79
80
  using std::sqrt;
80
81
  g[0] = lit<Value>(Scalar(-1)) / sqrt(lit<Value>(Scalar(1)) - x * x);
@@ -108,7 +109,7 @@ struct AsinExpression final
108
109
  }
109
110
 
110
111
  template <typename Value>
111
- static void eval_grad(ArgArray<Value, 1>& g,
112
+ static void eval_grad(std::array<Value, 1>& g,
112
113
  [[maybe_unused]] const Value& val, const Value& x) {
113
114
  using std::sqrt;
114
115
  g[0] = lit<Value>(Scalar(1)) / sqrt(lit<Value>(Scalar(1)) - x * x);
@@ -142,7 +143,7 @@ struct AtanExpression final
142
143
  }
143
144
 
144
145
  template <typename Value>
145
- static void eval_grad(ArgArray<Value, 1>& g,
146
+ static void eval_grad(std::array<Value, 1>& g,
146
147
  [[maybe_unused]] const Value& val, const Value& x) {
147
148
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(1)) + x * x);
148
149
  }
@@ -175,7 +176,7 @@ struct Atan2Expression final
175
176
  }
176
177
 
177
178
  template <typename Value>
178
- static void eval_grad(ArgArray<Value, 2>& g,
179
+ static void eval_grad(std::array<Value, 2>& g,
179
180
  [[maybe_unused]] const Value& val, const Value& y,
180
181
  const Value& x) {
181
182
  Value d = y * y + x * x;
@@ -213,7 +214,7 @@ struct CbrtExpression final
213
214
  }
214
215
 
215
216
  template <typename Value>
216
- static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
217
+ static void eval_grad(std::array<Value, 1>& g, const Value& val,
217
218
  [[maybe_unused]] const Value& x) {
218
219
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(3)) * val * val);
219
220
  }
@@ -245,7 +246,7 @@ struct CosExpression final : NonLeafExpression<CosExpression, Scalar, Type, 1> {
245
246
  }
246
247
 
247
248
  template <typename Value>
248
- static void eval_grad(ArgArray<Value, 1>& g,
249
+ static void eval_grad(std::array<Value, 1>& g,
249
250
  [[maybe_unused]] const Value& val, const Value& x) {
250
251
  using std::sin;
251
252
  g[0] = -sin(x);
@@ -279,7 +280,7 @@ struct CoshExpression final
279
280
  }
280
281
 
281
282
  template <typename Value>
282
- static void eval_grad(ArgArray<Value, 1>& g,
283
+ static void eval_grad(std::array<Value, 1>& g,
283
284
  [[maybe_unused]] const Value& val, const Value& x) {
284
285
  using std::sinh;
285
286
  g[0] = sinh(x);
@@ -312,7 +313,7 @@ struct ErfExpression final : NonLeafExpression<ErfExpression, Scalar, Type, 1> {
312
313
  }
313
314
 
314
315
  template <typename Value>
315
- static void eval_grad(ArgArray<Value, 1>& g,
316
+ static void eval_grad(std::array<Value, 1>& g,
316
317
  [[maybe_unused]] const Value& val, const Value& x) {
317
318
  using std::exp;
318
319
  g[0] = lit<Value>(Scalar(2.0 * std::numbers::inv_sqrtpi)) * exp(-x * x);
@@ -345,7 +346,7 @@ struct ExpExpression final : NonLeafExpression<ExpExpression, Scalar, Type, 1> {
345
346
  }
346
347
 
347
348
  template <typename Value>
348
- static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
349
+ static void eval_grad(std::array<Value, 1>& g, const Value& val,
349
350
  [[maybe_unused]] const Value& x) {
350
351
  g[0] = val;
351
352
  }
@@ -382,8 +383,8 @@ struct Hypot2Expression final
382
383
  }
383
384
 
384
385
  template <typename Value>
385
- static void eval_grad(ArgArray<Value, 2>& g, const Value& val, const Value& x,
386
- const Value& y) {
386
+ static void eval_grad(std::array<Value, 2>& g, const Value& val,
387
+ const Value& x, const Value& y) {
387
388
  g[0] = x / val;
388
389
  g[1] = y / val;
389
390
  }
@@ -430,8 +431,8 @@ struct Hypot3Expression final
430
431
  }
431
432
 
432
433
  template <typename Value>
433
- static void eval_grad(ArgArray<Value, 3>& g, const Value& val, const Value& x,
434
- const Value& y, const Value& z) {
434
+ static void eval_grad(std::array<Value, 3>& g, const Value& val,
435
+ const Value& x, const Value& y, const Value& z) {
435
436
  g[0] = x / val;
436
437
  g[1] = y / val;
437
438
  g[2] = z / val;
@@ -494,7 +495,7 @@ struct IfElseExpression final
494
495
  }
495
496
 
496
497
  template <typename Value>
497
- void eval_grad(ArgArray<Value, 4>& g, [[maybe_unused]] const Value& val,
498
+ void eval_grad(std::array<Value, 4>& g, [[maybe_unused]] const Value& val,
498
499
  const Value& a, const Value& b,
499
500
  [[maybe_unused]] const Value& t,
500
501
  [[maybe_unused]] const Value& f) const {
@@ -569,7 +570,7 @@ struct LogExpression final : NonLeafExpression<LogExpression, Scalar, Type, 1> {
569
570
  }
570
571
 
571
572
  template <typename Value>
572
- static void eval_grad(ArgArray<Value, 1>& g,
573
+ static void eval_grad(std::array<Value, 1>& g,
573
574
  [[maybe_unused]] const Value& val, const Value& x) {
574
575
  g[0] = lit<Value>(Scalar(1)) / x;
575
576
  }
@@ -602,7 +603,7 @@ struct Log10Expression final
602
603
  }
603
604
 
604
605
  template <typename Value>
605
- static void eval_grad(ArgArray<Value, 1>& g,
606
+ static void eval_grad(std::array<Value, 1>& g,
606
607
  [[maybe_unused]] const Value& val, const Value& x) {
607
608
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(std::numbers::ln10)) * x);
608
609
  }
@@ -636,7 +637,7 @@ struct MaxExpression final : NonLeafExpression<MaxExpression, Scalar, Type, 2> {
636
637
  }
637
638
 
638
639
  template <typename Value>
639
- static void eval_grad(ArgArray<Value, 2>& g,
640
+ static void eval_grad(std::array<Value, 2>& g,
640
641
  [[maybe_unused]] const Value& val, const Value& a,
641
642
  const Value& b) {
642
643
  if constexpr (std::same_as<Value, Scalar>) {
@@ -683,7 +684,7 @@ struct MinExpression final : NonLeafExpression<MinExpression, Scalar, Type, 2> {
683
684
  }
684
685
 
685
686
  template <typename Value>
686
- static void eval_grad(ArgArray<Value, 2>& g,
687
+ static void eval_grad(std::array<Value, 2>& g,
687
688
  [[maybe_unused]] const Value& val, const Value& a,
688
689
  const Value& b) {
689
690
  if constexpr (std::same_as<Value, Scalar>) {
@@ -735,7 +736,7 @@ struct PowExpression final : NonLeafExpression<PowExpression, Scalar, Type, 2> {
735
736
  }
736
737
 
737
738
  template <typename Value>
738
- static void eval_grad(ArgArray<Value, 2>& g, const Value& val,
739
+ static void eval_grad(std::array<Value, 2>& g, const Value& val,
739
740
  const Value& base, const Value& power) {
740
741
  using std::log;
741
742
  using std::pow;
@@ -841,7 +842,7 @@ struct SinExpression final : NonLeafExpression<SinExpression, Scalar, Type, 1> {
841
842
  }
842
843
 
843
844
  template <typename Value>
844
- static void eval_grad(ArgArray<Value, 1>& g,
845
+ static void eval_grad(std::array<Value, 1>& g,
845
846
  [[maybe_unused]] const Value& val, const Value& x) {
846
847
  using std::cos;
847
848
  g[0] = cos(x);
@@ -875,7 +876,7 @@ struct SinhExpression final
875
876
  }
876
877
 
877
878
  template <typename Value>
878
- static void eval_grad(ArgArray<Value, 1>& g,
879
+ static void eval_grad(std::array<Value, 1>& g,
879
880
  [[maybe_unused]] const Value& val, const Value& x) {
880
881
  using std::cosh;
881
882
  g[0] = cosh(x);
@@ -909,7 +910,7 @@ struct SqrtExpression final
909
910
  }
910
911
 
911
912
  template <typename Value>
912
- static void eval_grad(ArgArray<Value, 1>& g, const Value& val,
913
+ static void eval_grad(std::array<Value, 1>& g, const Value& val,
913
914
  [[maybe_unused]] const Value& x) {
914
915
  g[0] = lit<Value>(Scalar(1)) / (lit<Value>(Scalar(2)) * val);
915
916
  }
@@ -941,7 +942,7 @@ struct TanExpression final : NonLeafExpression<TanExpression, Scalar, Type, 1> {
941
942
  }
942
943
 
943
944
  template <typename Value>
944
- static void eval_grad(ArgArray<Value, 1>& g,
945
+ static void eval_grad(std::array<Value, 1>& g,
945
946
  [[maybe_unused]] const Value& val, const Value& x) {
946
947
  using std::cos;
947
948
 
@@ -977,7 +978,7 @@ struct TanhExpression final
977
978
  }
978
979
 
979
980
  template <typename Value>
980
- static void eval_grad(ArgArray<Value, 1>& g,
981
+ static void eval_grad(std::array<Value, 1>& g,
981
982
  [[maybe_unused]] const Value& val, const Value& x) {
982
983
  using std::cosh;
983
984
 
@@ -155,7 +155,9 @@ ExitStatus newton(
155
155
  // Solve the Newton-KKT system
156
156
  //
157
157
  // Hpˣ = −∇f
158
- solver.compute(H);
158
+ if (solver.compute(H).info() != Eigen::Success) [[unlikely]] {
159
+ return ExitStatus::FACTORIZATION_FAILED;
160
+ }
159
161
 
160
162
  phase_tracer.next(diagnostics[KKT_SYSTEM_SOLVE]);
161
163
 
@@ -2,4 +2,4 @@
2
2
 
3
3
  from ._sleipnir import *
4
4
 
5
- __version__ = "0.6.7.dev143"
5
+ __version__ = "0.6.7.dev145"