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

Hitting probabilities function should allow user to select target states and solver method #203

Open
EliSmith45 opened this issue Jun 15, 2021 · 2 comments

Comments

@EliSmith45
Copy link

The hitting probabilities function is very slow for large markov chains. Users should have the option to select the target states so that unneeded values aren’t computed.

Additionally, directly solving this system of equations is impractical in many cases. Users should have the option to use numerical methods to solve for hitting (and absorption) probabilities. I have found that biconjugate gradient descent works very well for this purpose and can be many orders of magnitude faster than directly solving, even when the identity matrix is used as a preconditioner.

@spedygiorgio
Copy link
Owner

spedygiorgio commented Jun 15, 2021 via email

@EliSmith45
Copy link
Author

@spedygiorgio No problem, I’ll propose a pull request after I pretty up my code a bit.

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