MHB Find the shortest path from 1 to 10.

  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Path
Click For Summary
The shortest path from 1 to 10 was calculated using the formula $v(i)= \min \{c_{ij}+v(j) \}, v(N)=0$, resulting in the path $1 \rightarrow 2 \rightarrow 6 \rightarrow 9 \rightarrow 10$ with a cost of 7. A participant questioned the accuracy of this result, suggesting an alternative path of $1 \rightarrow 2 \rightarrow 6 \rightarrow 8 \rightarrow 10$. The discussion revolves around validating the shortest path and its associated cost. Clarification on the cost and path accuracy is sought. The conversation highlights the importance of verifying calculations in pathfinding problems.
mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

Given the following:
View attachment 1961
I have to find the shortest path from 1 to 10.
I used the formula: $v(i)= \min \{c_{ij}+v(j) \}, v(N)=0$ and I found the shortest path is $1 \rightarrow 2 \rightarrow 6\rightarrow 9 \rightarrow 10$ and the cost is $7$.
Is this correct?
 

Attachments

  • shortest_path.png
    shortest_path.png
    7.3 KB · Views: 110
Mathematics news on Phys.org
mathmari said:
Hey! :o

Given the following:
View attachment 1961
I have to find the shortest path from 1 to 10.
I used the formula: $v(i)= \min \{c_{ij}+v(j) \}, v(N)=0$ and I found the shortest path is $1 \rightarrow 2 \rightarrow 6\rightarrow 9 \rightarrow 10$ and the cost is $7$.
Is this correct?

Hi. Did you mean $1 \rightarrow 2 \rightarrow 6\rightarrow 8 \rightarrow 10$?
 
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
586
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K