Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in [PP,SPP]=OptimiseAlgebra(PP,'SPP'); #41

Open
huyang8911 opened this issue Feb 9, 2023 · 1 comment
Open

Stuck in [PP,SPP]=OptimiseAlgebra(PP,'SPP'); #41

huyang8911 opened this issue Feb 9, 2023 · 1 comment

Comments

@huyang8911
Copy link

Matlab R2021a, run m files "GenerateNavFilterEquations.m", stuck in [PP,SPP]=OptimiseAlgebra(PP,'SPP'); I have spend about 30hours run this code. The index loop to 7800, and still not finish. I have updated the function "OptimiseAlgebra". Any one known where is wrong?
2023-02-09 22 42 32

@average-engineer
Copy link

Somehow in the newer versions, the OptimiseAlgebra script gets stuck in a loop while establishing the subexpressions for the covariance matrix ([PP,SPP]=OptimiseAlgebra(PP,'SPP')). What worked for me was changing the condition if f_complete || index > 100 to if f_complete || index > 500. After this change, my script successfully runs in about 2.5 hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants