Let $n\in\mathbb N$, let $\mathbb N_0:=\{0\}\cup\mathbb N$, and let $\mathcal P_2(\mathbb R^n)$ be the set of Borel probability measures on $\mathbb R^n$ with finite second moment, equipped with $W_2$. Let $V\in C^2(\mathbb R^n)$ be bounded from below, and assume that there exist constants $a>0$, $b\in\mathbb R$, and $C>0$ such that, for every $x\in\mathbb R^n$, $V(x)\ge a|x|^2+b$ and $|\nabla V(x)|\le C(1+|x|)$. Define $\mathcal F:\mathcal P_2(\mathbb R^n)\to(-\infty,+\infty]$ by
when $\rho=r\,\mathcal L^n$, $r\log r\in L^1(\mathbb R^n)$, and $0\log0$ is interpreted as $0$, and by $\mathcal F(\rho)=+\infty$ otherwise. Let $\rho_0\in\mathcal P_2(\mathbb R^n)$ satisfy $\mathcal F(\rho_0)<+\infty$. Then, for every $\tau>0$, there exists a sequence $(\rho_k^\tau)_{k\in\mathbb N_0}\subset\mathcal P_2(\mathbb R^n)$ with $\rho_0^\tau=\rho_0$ such that, for every $k\in\mathbb N_0$, $\rho_{k+1}^\tau$ minimizes
over $\mathcal P_2(\mathbb R^n)$. For any such choice of minimizers, define $\bar\rho_\tau:[0,\infty)\to\mathcal P_2(\mathbb R^n)$ by $\bar\rho_\tau(0)=\rho_0$ and $\bar\rho_\tau(t)=\rho_k^\tau$ for $(k-1)\tau<t\le k\tau$. Then there exist a sequence $\tau_j\downarrow0$ and a narrowly continuous curve $\rho:[0,\infty)\to\mathcal P_2(\mathbb R^n)$ such that, for every $T>0$ and every $\varphi\in C_b(\mathbb R^n)$,
Moreover $\rho_t=r_t\,\mathcal L^n$ for $\mathcal L^1$-a.e. $t>0$, where $r:(0,\infty)\times\mathbb R^n\to[0,+\infty]$ is Borel measurable, and $r$ is a distributional solution of