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

Improve performance by storing LSP traffic on the LSP object itself when converging the model #26

Open
tim-fiola opened this issue Jan 31, 2020 · 0 comments

Comments

@tim-fiola
Copy link
Owner

For large models (# LSPs is large, say 11000), this call below takes a long time to run:

lsp.traffic_on_lsp(model)

I think we can get around this by storing info when we converge the model. I need to look at the source code more, but perhaps adding a _traffic_on_lsp list attribute to the RSVP_LSP when converging the model to store the demands and proportions on the RSVP_LSP so it does not have to be recomputed again.

I'm not sure this is possible, but look into it.

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

1 participant