I was wondering what literature there is on the following problem:
Given an $n\times n$ probability transition matrix $P$, where entry $P_{i,j}$ is the probability of going from vertex $i$ to vertex $j$, does there exist a weighted, undirected graph $G$ on vertices $\{1, ..., n\}$ such that the probability transition matrix of a random walk on $G$ is $P$? (Maybe add in the assumptions that $P$ is connected, and $P_{i, i}=0$ for all $i$).
This is not true for all $P$. Consider $P=\begin{pmatrix} 0 & \frac{1}{3} & \frac{2}{3} \\ \frac{1}{2} & 0 & \frac{1}{2} \\ \frac{1}{5} & \frac{4}{5} & 0 \end{pmatrix}$.
If $w(\{i, j\})$ is the weight of the edge between vertices $i$ and $j$, then the first row says that $w(\{1, 2\}) = 2\cdot w(\{1, 3\})$, and the second row says $w(\{1, 2\}) = w(\{2, 3\})$. But together, these imply $w(\{2, 3\}) = 2\cdot w(\{1, 3\})$, which is not what the third row of $P$ says.
So I'm wondering, is there an if and only if condition on $P$ which says when this is possible?