Find the shortest path from 1 to 10.

  • Context: MHB 
  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Path
Click For Summary
SUMMARY

The shortest path from node 1 to node 10 is determined using the formula $v(i)= \min \{c_{ij}+v(j) \}, v(N)=0$. The correct path identified is $1 \rightarrow 2 \rightarrow 6 \rightarrow 9 \rightarrow 10$ with a total cost of 7. A suggestion was made to consider an alternative path $1 \rightarrow 2 \rightarrow 6 \rightarrow 8 \rightarrow 10$, but the original path remains valid based on the provided calculations.

PREREQUISITES
  • Understanding of graph theory concepts
  • Familiarity with shortest path algorithms
  • Knowledge of cost functions in pathfinding
  • Proficiency in mathematical notation and formulas
NEXT STEPS
  • Study Dijkstra's Algorithm for finding shortest paths
  • Explore the Bellman-Ford algorithm for pathfinding in graphs
  • Learn about cost minimization techniques in graph traversal
  • Investigate the implications of edge weights on pathfinding
USEFUL FOR

Mathematicians, computer scientists, and software engineers involved in algorithm development, particularly those focused on graph theory and optimization 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: 119
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$?
 

Similar threads

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