sleipnirgroup-jormungandr 0.6.7.dev83__tar.gz → 0.6.7.dev85__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.
Potentially problematic release.
This version of sleipnirgroup-jormungandr might be problematic. Click here for more details.
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/PKG-INFO +1 -1
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/ipm.hpp +18 -2
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/sqp.hpp +13 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/feasibility_restoration.hpp +65 -48
- sleipnirgroup_jormungandr-0.6.7.dev85/include/sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp +57 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/src/sleipnir/__init__.py +1 -1
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/CMakeLists.txt +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/LICENSE.txt +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/README.md +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/SleipnirConfig.cmake.in +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/BuildTypes.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/CompilerFlags.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/Pybind11Mkdoc.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/Pybind11MkdocPostprocess.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/SubdirList.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/cmake/arm-none-eabi.cmake +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/expression.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/expression_graph.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/expression_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/gradient.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/hessian.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/jacobian.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/sleipnir_base.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/slice.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/variable.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/variable_block.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/autodiff/variable_matrix.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/multistart.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/ocp/dynamics_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/ocp/timestep_method.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/ocp/transcription_method.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/ocp.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/problem.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/exit_status.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/ipm_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/iteration_info.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/newton.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/newton_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/options.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/sqp_matrix_callbacks.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/all_finite.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/append_as_triplets.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/bounds.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/constraint_violation.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/dense_kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/filter.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/fraction_to_the_boundary_rule.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/inertia.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/kkt_error.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/problem_scaling.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/sparse_inf_norms.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/sparse_kkt_solver.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/optimization/solver/util/time_trace.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/assert.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/concepts.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/empty.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/function_ref.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/intrusive_shared_ptr.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/pool.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/print.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/print_diagnostics.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/scope_exit.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/spy.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/symbol_exports.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/include/sleipnir/util/time_tracer.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/pyproject.toml +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/arity.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_expression_type.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_gradient.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_hessian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_jacobian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_variable.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_variable_block.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/autodiff/bind_variable_matrix.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/binders.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/docstrings.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/for_each_type.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/main.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/bind_equality_constraints.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/bind_inequality_constraints.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/bind_ocp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/bind_problem.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/ocp/bind_dynamics_type.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/ocp/bind_timestep_method.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/ocp/bind_transcription_method.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/solver/bind_exit_status.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/optimization/solver/bind_iteration_info.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/slice_tuple.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/text_wrap.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/try_cast.hpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/postprocess_stubs.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/src/sleipnir/autodiff/__init__.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/src/sleipnir/optimization/__init__.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/autodiff/gradient_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/autodiff/hessian_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/autodiff/jacobian_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/autodiff/variable_matrix_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/autodiff/variable_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/arm_on_elevator_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/cart_pole_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/cart_pole_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/cart_pole_util.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/constraints_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/decision_variable_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/differential_drive_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/differential_drive_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/differential_drive_util.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/double_integrator_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/flywheel_ocp_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/flywheel_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/linear_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/multistart_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/near.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/nonlinear_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/problem_spy_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/quadratic_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/rk4.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/solver/exit_status_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/test/optimization/trivial_problem_test.py +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/autodiff/gradient.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/autodiff/hessian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/autodiff/jacobian.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/autodiff/variable_matrix.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/optimization/ocp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/optimization/problem.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/optimization/solver/ipm.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/optimization/solver/newton.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/optimization/solver/sqp.cpp +0 -0
- {sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/util/pool.cpp +0 -0
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
#include "sleipnir/optimization/solver/util/append_as_triplets.hpp"
|
|
22
22
|
#include "sleipnir/optimization/solver/util/constraint_violation.hpp"
|
|
23
23
|
#include "sleipnir/optimization/solver/util/feasibility_restoration.hpp"
|
|
24
|
+
#include "sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp"
|
|
24
25
|
#include "sleipnir/optimization/solver/util/filter.hpp"
|
|
25
26
|
#include "sleipnir/optimization/solver/util/fraction_to_the_boundary_rule.hpp"
|
|
26
27
|
#include "sleipnir/optimization/solver/util/kkt_error.hpp"
|
|
@@ -72,8 +73,11 @@ ExitStatus ipm(const IPMMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
72
73
|
Eigen::Vector<Scalar, Eigen::Dynamic>& x) {
|
|
73
74
|
using DenseVector = Eigen::Vector<Scalar, Eigen::Dynamic>;
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
// If cᵢ(x) is sufficiently feasible, start the constraint with zero
|
|
77
|
+
// violation. Otherwise, make Σ = S⁻¹Z ≈ I.
|
|
78
|
+
DenseVector c_i = matrix_callbacks.c_i(x);
|
|
79
|
+
DenseVector s = (c_i.array() >= Scalar(1e-2)).select(c_i, Scalar(1));
|
|
80
|
+
|
|
77
81
|
DenseVector y = DenseVector::Zero(matrix_callbacks.num_equality_constraints);
|
|
78
82
|
DenseVector z =
|
|
79
83
|
DenseVector::Ones(matrix_callbacks.num_inequality_constraints);
|
|
@@ -320,6 +324,9 @@ ExitStatus ipm(const IPMMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
320
324
|
|
|
321
325
|
StallDetector<Scalar> stall_detector;
|
|
322
326
|
|
|
327
|
+
FeasibilityRestorationCycleDetector<Scalar>
|
|
328
|
+
feasibility_restoration_cycle_detector;
|
|
329
|
+
|
|
323
330
|
// Error
|
|
324
331
|
Scalar E_0 = unscaled_kkt_error<Scalar, KKTErrorType::INF_NORM_SCALED>(
|
|
325
332
|
matrices.scaling, g, A_e, c_e, A_i, c_i, s, y, z, Scalar(0));
|
|
@@ -669,6 +676,11 @@ ExitStatus ipm(const IPMMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
669
676
|
|
|
670
677
|
FilterEntry initial_entry{matrices.f(x), s, c_e, c_i, μ};
|
|
671
678
|
|
|
679
|
+
feasibility_restoration_cycle_detector.record_entry(
|
|
680
|
+
initial_entry.constraint_violation);
|
|
681
|
+
const bool run_feasibility_restoration_to_convergence =
|
|
682
|
+
feasibility_restoration_cycle_detector.is_cycling();
|
|
683
|
+
|
|
672
684
|
// Feasibility restoration phase
|
|
673
685
|
gch::small_vector<std::function<bool(const IterationInfo<Scalar>& info)>>
|
|
674
686
|
callbacks;
|
|
@@ -676,6 +688,10 @@ ExitStatus ipm(const IPMMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
676
688
|
callbacks.emplace_back(callback);
|
|
677
689
|
}
|
|
678
690
|
callbacks.emplace_back([&](const IterationInfo<Scalar>& info) {
|
|
691
|
+
if (run_feasibility_restoration_to_convergence) {
|
|
692
|
+
return false;
|
|
693
|
+
}
|
|
694
|
+
|
|
679
695
|
DenseVector trial_x =
|
|
680
696
|
info.x.segment(0, matrices.num_decision_variables);
|
|
681
697
|
DenseVector trial_s =
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
#include "sleipnir/optimization/solver/util/append_as_triplets.hpp"
|
|
21
21
|
#include "sleipnir/optimization/solver/util/constraint_violation.hpp"
|
|
22
22
|
#include "sleipnir/optimization/solver/util/feasibility_restoration.hpp"
|
|
23
|
+
#include "sleipnir/optimization/solver/util/feasibility_restoration_cycle_detector.hpp"
|
|
23
24
|
#include "sleipnir/optimization/solver/util/filter.hpp"
|
|
24
25
|
#include "sleipnir/optimization/solver/util/kkt_error.hpp"
|
|
25
26
|
#include "sleipnir/optimization/solver/util/kkt_solver.hpp"
|
|
@@ -210,6 +211,9 @@ ExitStatus sqp(const SQPMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
210
211
|
|
|
211
212
|
StallDetector<Scalar> stall_detector;
|
|
212
213
|
|
|
214
|
+
FeasibilityRestorationCycleDetector<Scalar>
|
|
215
|
+
feasibility_restoration_cycle_detector;
|
|
216
|
+
|
|
213
217
|
// Error
|
|
214
218
|
Scalar E_0 = unscaled_kkt_error<Scalar, KKTErrorType::INF_NORM_SCALED>(
|
|
215
219
|
matrices.scaling, g, A_e, c_e, y);
|
|
@@ -474,6 +478,11 @@ ExitStatus sqp(const SQPMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
474
478
|
|
|
475
479
|
FilterEntry initial_entry{matrices.f(x), c_e};
|
|
476
480
|
|
|
481
|
+
feasibility_restoration_cycle_detector.record_entry(
|
|
482
|
+
initial_entry.constraint_violation);
|
|
483
|
+
const bool run_feasibility_restoration_to_convergence =
|
|
484
|
+
feasibility_restoration_cycle_detector.is_cycling();
|
|
485
|
+
|
|
477
486
|
// Feasibility restoration phase
|
|
478
487
|
gch::small_vector<std::function<bool(const IterationInfo<Scalar>& info)>>
|
|
479
488
|
callbacks;
|
|
@@ -481,6 +490,10 @@ ExitStatus sqp(const SQPMatrixCallbacks<Scalar>& matrix_callbacks,
|
|
|
481
490
|
callbacks.emplace_back(callback);
|
|
482
491
|
}
|
|
483
492
|
callbacks.emplace_back([&](const IterationInfo<Scalar>& info) {
|
|
493
|
+
if (run_feasibility_restoration_to_convergence) {
|
|
494
|
+
return false;
|
|
495
|
+
}
|
|
496
|
+
|
|
484
497
|
DenseVector trial_x =
|
|
485
498
|
info.x.segment(0, matrices.num_decision_variables);
|
|
486
499
|
|
|
@@ -312,10 +312,25 @@ ExitStatus feasibility_restoration(
|
|
|
312
312
|
|
|
313
313
|
x = fr_x.segment(0, x.rows());
|
|
314
314
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
// If feasibility restoration converged, check the constraint violation in
|
|
316
|
+
// the original problem's scaling
|
|
317
|
+
DenseVector c_e_unscaled;
|
|
318
|
+
bool c_e_violated = false;
|
|
319
|
+
if (status == ExitStatus::SUCCESS) {
|
|
320
|
+
c_e_unscaled = matrices.c_e(x);
|
|
321
|
+
if (matrices.scaling.c_e.size() > 0) {
|
|
322
|
+
c_e_unscaled =
|
|
323
|
+
matrices.scaling.c_e.cwiseInverse().cwiseProduct(c_e_unscaled);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
c_e_violated = c_e_unscaled.template lpNorm<Eigen::Infinity>() >
|
|
327
|
+
Scalar(options.tolerance);
|
|
328
|
+
}
|
|
318
329
|
|
|
330
|
+
// Return to the normal phase if feasibility restoration stopped early, or if
|
|
331
|
+
// it converged to a feasible point (e.g., because it was run to convergence)
|
|
332
|
+
if (status == ExitStatus::CALLBACK_REQUESTED_STOP ||
|
|
333
|
+
(status == ExitStatus::SUCCESS && !c_e_violated)) {
|
|
319
334
|
// Reset the equality constraint duals since feasibility restoration didn't
|
|
320
335
|
// account for the cost function
|
|
321
336
|
y.setZero();
|
|
@@ -323,25 +338,17 @@ ExitStatus feasibility_restoration(
|
|
|
323
338
|
return ExitStatus::SUCCESS;
|
|
324
339
|
} else if (status == ExitStatus::SUCCESS) {
|
|
325
340
|
// Feasibility restoration converged to a minimizer of the constraint
|
|
326
|
-
// violation
|
|
341
|
+
// violation, and the constraint violation is still above the tolerance, so
|
|
327
342
|
// that minimizer is a certificate of local infeasibility. Declaring local
|
|
328
343
|
// infeasibility anywhere else risks false positives (e.g., a
|
|
329
344
|
// point-in-time test can reject iterates the solver would otherwise
|
|
330
345
|
// escape). See section 3.3, p. 14 of [2].
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
if (c_e.template lpNorm<Eigen::Infinity>() > Scalar(options.tolerance)) {
|
|
337
|
-
if (options.diagnostics) {
|
|
338
|
-
print_c_e_local_infeasibility_error(c_e, Scalar(options.tolerance));
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
return ExitStatus::LOCALLY_INFEASIBLE;
|
|
346
|
+
if (options.diagnostics) {
|
|
347
|
+
print_c_e_local_infeasibility_error(c_e_unscaled,
|
|
348
|
+
Scalar(options.tolerance));
|
|
342
349
|
}
|
|
343
350
|
|
|
344
|
-
return ExitStatus::
|
|
351
|
+
return ExitStatus::LOCALLY_INFEASIBLE;
|
|
345
352
|
} else {
|
|
346
353
|
return ExitStatus::FEASIBILITY_RESTORATION_FAILED;
|
|
347
354
|
}
|
|
@@ -636,7 +643,38 @@ ExitStatus feasibility_restoration(
|
|
|
636
643
|
|
|
637
644
|
x = fr_x.segment(0, x.rows());
|
|
638
645
|
|
|
639
|
-
|
|
646
|
+
// If feasibility restoration converged, check the constraint violation in the
|
|
647
|
+
// original problem's scaling
|
|
648
|
+
DenseVector c_e_unscaled;
|
|
649
|
+
DenseVector c_i_unscaled;
|
|
650
|
+
bool c_e_violated = false;
|
|
651
|
+
bool c_i_violated = false;
|
|
652
|
+
if (status == ExitStatus::SUCCESS) {
|
|
653
|
+
c_e_unscaled = matrices.c_e(x);
|
|
654
|
+
if (matrices.scaling.c_e.size() > 0) {
|
|
655
|
+
c_e_unscaled =
|
|
656
|
+
matrices.scaling.c_e.cwiseInverse().cwiseProduct(c_e_unscaled);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
c_i_unscaled = matrices.c_i(x);
|
|
660
|
+
if (matrices.scaling.c_i.size() > 0) {
|
|
661
|
+
c_i_unscaled =
|
|
662
|
+
matrices.scaling.c_i.cwiseInverse().cwiseProduct(c_i_unscaled);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
// Inequality constraints cᵢ(x) ≥ 0 are only violated where they're
|
|
666
|
+
// negative
|
|
667
|
+
c_e_violated = c_e_unscaled.template lpNorm<Eigen::Infinity>() >
|
|
668
|
+
Scalar(options.tolerance);
|
|
669
|
+
c_i_violated =
|
|
670
|
+
(-c_i_unscaled).cwiseMax(Scalar(0)).template lpNorm<Eigen::Infinity>() >
|
|
671
|
+
Scalar(options.tolerance);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
// Return to the normal phase if feasibility restoration stopped early, or if
|
|
675
|
+
// it converged to a feasible point (e.g., because it was run to convergence)
|
|
676
|
+
if (status == ExitStatus::CALLBACK_REQUESTED_STOP ||
|
|
677
|
+
(status == ExitStatus::SUCCESS && !c_e_violated && !c_i_violated)) {
|
|
640
678
|
const DenseVector s_old = s;
|
|
641
679
|
|
|
642
680
|
// Re-center the slacks on the original constraints cᵢ(x) if they're
|
|
@@ -672,7 +710,7 @@ ExitStatus feasibility_restoration(
|
|
|
672
710
|
return ExitStatus::SUCCESS;
|
|
673
711
|
} else if (status == ExitStatus::SUCCESS) {
|
|
674
712
|
// Feasibility restoration converged to a minimizer of the constraint
|
|
675
|
-
// violation
|
|
713
|
+
// violation, and the constraint violation is still above the tolerance, so
|
|
676
714
|
// that minimizer is a certificate of local infeasibility. Declaring local
|
|
677
715
|
// infeasibility anywhere else risks false positives (e.g., a
|
|
678
716
|
// point-in-time test can reject iterates the solver would otherwise
|
|
@@ -680,39 +718,18 @@ ExitStatus feasibility_restoration(
|
|
|
680
718
|
|
|
681
719
|
s = fr_s.segment(0, s.rows());
|
|
682
720
|
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
// Inequality constraints cᵢ(x) ≥ 0 are only violated where they're
|
|
694
|
-
// negative
|
|
695
|
-
const DenseVector c_i_violation = (-c_i).cwiseMax(Scalar(0));
|
|
696
|
-
|
|
697
|
-
const bool c_e_violated =
|
|
698
|
-
c_e.template lpNorm<Eigen::Infinity>() > Scalar(options.tolerance);
|
|
699
|
-
const bool c_i_violated = c_i_violation.template lpNorm<Eigen::Infinity>() >
|
|
700
|
-
Scalar(options.tolerance);
|
|
701
|
-
|
|
702
|
-
if (c_e_violated || c_i_violated) {
|
|
703
|
-
if (options.diagnostics) {
|
|
704
|
-
if (c_e_violated) {
|
|
705
|
-
print_c_e_local_infeasibility_error(c_e, Scalar(options.tolerance));
|
|
706
|
-
}
|
|
707
|
-
if (c_i_violated) {
|
|
708
|
-
print_c_i_local_infeasibility_error(c_i, Scalar(options.tolerance));
|
|
709
|
-
}
|
|
721
|
+
if (options.diagnostics) {
|
|
722
|
+
if (c_e_violated) {
|
|
723
|
+
print_c_e_local_infeasibility_error(c_e_unscaled,
|
|
724
|
+
Scalar(options.tolerance));
|
|
725
|
+
}
|
|
726
|
+
if (c_i_violated) {
|
|
727
|
+
print_c_i_local_infeasibility_error(c_i_unscaled,
|
|
728
|
+
Scalar(options.tolerance));
|
|
710
729
|
}
|
|
711
|
-
|
|
712
|
-
return ExitStatus::LOCALLY_INFEASIBLE;
|
|
713
730
|
}
|
|
714
731
|
|
|
715
|
-
return ExitStatus::
|
|
732
|
+
return ExitStatus::LOCALLY_INFEASIBLE;
|
|
716
733
|
} else {
|
|
717
734
|
s = fr_s.segment(0, s.rows());
|
|
718
735
|
return ExitStatus::FEASIBILITY_RESTORATION_FAILED;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// Copyright (c) Sleipnir contributors
|
|
2
|
+
|
|
3
|
+
#pragma once
|
|
4
|
+
|
|
5
|
+
#include <limits>
|
|
6
|
+
|
|
7
|
+
namespace slp {
|
|
8
|
+
|
|
9
|
+
/// Detects cycling between the normal phase and feasibility restoration.
|
|
10
|
+
///
|
|
11
|
+
/// Feasibility restoration normally stops once it sufficiently reduces the
|
|
12
|
+
/// constraint violation, but the normal phase can then drive the constraint
|
|
13
|
+
/// violation back up, so the solver cycles between them. On infeasible
|
|
14
|
+
/// problems, this prevents feasibility restoration from ever converging to a
|
|
15
|
+
/// minimizer of the constraint violation, which is the certificate of local
|
|
16
|
+
/// infeasibility.
|
|
17
|
+
///
|
|
18
|
+
/// @tparam Scalar Scalar type.
|
|
19
|
+
template <typename Scalar>
|
|
20
|
+
class FeasibilityRestorationCycleDetector {
|
|
21
|
+
public:
|
|
22
|
+
/// Records an entry into feasibility restoration.
|
|
23
|
+
///
|
|
24
|
+
/// @param constraint_violation The constraint violation at entry.
|
|
25
|
+
void record_entry(Scalar constraint_violation) {
|
|
26
|
+
++m_num_entries;
|
|
27
|
+
if (constraint_violation < Scalar(0.9) * m_min_entry_violation) {
|
|
28
|
+
m_min_entry_violation = constraint_violation;
|
|
29
|
+
m_num_stalled_entries = 0;
|
|
30
|
+
} else {
|
|
31
|
+
++m_num_stalled_entries;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/// Returns true if the solver is cycling, in which case feasibility
|
|
36
|
+
/// restoration should be run to convergence.
|
|
37
|
+
///
|
|
38
|
+
/// The solver is cycling if several consecutive entries didn't improve on the
|
|
39
|
+
/// smallest constraint violation at entry.
|
|
40
|
+
///
|
|
41
|
+
/// This is never true during the first few entries. Early entries often fail
|
|
42
|
+
/// to improve while the solver is still far from a feasible region, and
|
|
43
|
+
/// converging feasibility restoration there can find a local minimizer of the
|
|
44
|
+
/// constraint violation even though the problem is feasible.
|
|
45
|
+
///
|
|
46
|
+
/// @return True if the solver is cycling.
|
|
47
|
+
bool is_cycling() const {
|
|
48
|
+
return m_num_entries > 5 && m_num_stalled_entries >= 2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
private:
|
|
52
|
+
int m_num_entries = 0;
|
|
53
|
+
Scalar m_min_entry_violation = std::numeric_limits<Scalar>::infinity();
|
|
54
|
+
int m_num_stalled_entries = 0;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
} // namespace slp
|
{sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/CMakeLists.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/pyproject.toml
RENAMED
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/arity.hpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/python/cpp/main.cpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sleipnirgroup_jormungandr-0.6.7.dev83 → sleipnirgroup_jormungandr-0.6.7.dev85}/src/util/pool.cpp
RENAMED
|
File without changes
|