Proposing a callback mechanism for tracking bifurcation events in the path follower #884
AndresFerCervell
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following up on our recent work to handle fold bifurcations in the QRE logit tracer (related to Issue #492), we´re implementing a mechanism that applies a perturbation when the orientation of the curve changes, breaking the symmetry and allowing the tracer to proceed.
As discussed with @tturocy, it would be interesting to add a “perturbation applied event” as a callback to the tracer. So that users can record information about these events.
We are working now on a machinery that detects the path follower failing, not accepting the result as Nash, and returning the last iteration. However, the user does not know when a perturbation occurs and the algorithm solves by itself, nor the nature of the perturbation that "kills" the program.
Proposed Architecture:
A struct could be created to store the relevant data for the event.
A new callback function could be defined in
logit.ccthat would print the info about the perturbation.It would be called in
path.ccwhen a new bifurcation happens (afteromega_flip == -1.0), and when it finishes (if it does), afterpert_countdown < 0.0.Any thoughts or alternative approaches are highly welcome!
Beta Was this translation helpful? Give feedback.
All reactions