Skip to content

Test convergence and number of iterations #990

Open

Description

@EveCharbie

We should add

assert sol.status == 0
assert sol.iterations == [number of iterations]
` ``
to each test to make sure that we did not change the convergence of the problems.

Activity

  1. added theissue type on Jul 29, 2025
  2. EveCharbie commented on Jul 29, 2025

    @EveCharbie
    CollaboratorAuthor

    @EastWest14 let me know if you are interested in tackling this issue ;)

  3. EastWest14 commented on Jul 29, 2025

    @EastWest14
    Contributor

    Hi @EveCharbie, normally yes. But have no capacity next two weeks - sorry:(

  4. EveCharbie commented on Jul 29, 2025

    @EveCharbie
    CollaboratorAuthor

    Thanks, no worries :)

  5. added
    CI
    on Aug 1, 2025
  6. mickaelbegon commented on Jul 22, 2026

    @mickaelbegon
    Contributor

    I opened draft PR #1070 as a first, deliberately scoped increment. It adds a reusable convergence assertion and applies it to four variational-integrator variants (MX/SX, with/without holonomic constraints). The check requires status 0 and uses a broad 100-iteration ceiling to catch major regressions without relying on an exact platform-dependent IPOPT count. All four variants pass locally. @pariterre, this first performance-regression guard is working and ready for review; the PR intentionally references rather than closes the repository-wide issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIgood first issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions