Assume we have $n$ points $p_0\ldots p_{n-1}$ which form a discrete metric space $V$ with metric $d$. Can we define a function $f:V\rightarrow \mathbb{R}$ with $f(p_0) = 0$, $f(p_1) = d(p_0,p_1)$ and $d(p_i,p_j) \geq |f(p_i) - f(p_j)|$ for all $i,j$?
If the $p_i$ are points in a vector space with inner product, $f$ could be just the orthogonal projection onto the ray of direction $p_j - p_i$, but for general metrics, I do not know whether such a function exists.