Message Boards Message Boards


The computation time is too long and there are no results

Posted 9 days ago
1 Reply
0 Total Likes

I wrote a code to extract all the simple possible paths between two points in an undirected graph and mathematica takes too long running time and doesn't yield any results/output. Any idea how to deal with this problem? I am attaching my code.


It is because specifying the length of the path to infinity with a largely connected graph like yours, try to use a number instead and you will get your results.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract