Skip to content

Using multiprocessing to speed up the network analysis procedures with pandana #192

@Linhkust

Description

@Linhkust

If you encounter a bug in Pandana please: 1) first search the previously opened issues to see if the problem has already been reported; 2) If not, fill in the template below and tag with the appropriate Type label. You can delete any sections that do not apply.

Description of the bug

Hello, I am wondering how I can speed up the network analysis procedures with pandana?

I wrote the codes to calculate the calculate the distance between 1000 points and some fixed points one by one with pandana.
I tried to use multiprocessing package to run the process in multiple workers but it failed. Is it possible to use pandana and multiprocessing to calculate multiple distances at the same time?

Network data (optional)

If the issue is related to specific network data please provide a link to download the data or the function used to download the data.

Environment

  • Operating system:

  • Python version:

  • Pandana version:

  • Pandana required packages versions (optional):

Paste the code that reproduces the issue here:

# place code here

Paste the error message (if applicable):

# place error message here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions