fix: turn off parameter splitting for BifurcationProblem#1071
fix: turn off parameter splitting for BifurcationProblem#1071AayushSabharwal wants to merge 1 commit intoSciML:masterfrom
BifurcationProblem#1071Conversation
|
@AayushSabharwal just circling back to this now that Catalyst CI finally works again. Is this still needed? I think MTK's BifurcationKit extension was updated some since you submitted this to Catalyst? |
|
I don't see |
|
It is still needed. |
|
We can just make BifurcationProblem support SII? That seems like the better long term solution here. |
|
I agree, this was written to get tests passing quickly. A quick look at BifurcationKit internals says it shouldn't be too difficult to support SII so I'll see what I can do. |
|
Tests seem to pass now in either case. MTK seems to explicitly not set this though: https://github.com/SciML/ModelingToolkit.jl/blob/1f2d9430cfc6b7ebe2044dfb1b9a078eac4af87e/ext/MTKBifurcationKitExt.jl#L152 So that needs updating I guess (until BifurcationKit is made to work with SII)? |
BifurcationProblemdoes not support symbolic indexing and as a result, MTK (somewhat hackily) just removessys.index_cachein theBifurcationProblemconstructor to forcesplit = falsebehavior. However, withcompletenow reordering parameters, this breaks assumptions and makes analysis of these problems difficult.In hindsight,
BifurcationProblemshould have just errored if the system was created withsplit=true, but changing that behavior is breaking. I will add a warning in MTK. For now, this should fix CIChecklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.