Let $(M^n,g)$ be a closed Riemannian manifold. Define $$\lambda(g)=\inf\{\mathcal{F}(g,f),\;0<f\in C^{\infty}(M),\; \int_Mf^2\;d\nu=1\},$$ where $$\mathcal{F}(g,f)=\int_M\left(|\nabla f|^2+ af^2\log f + bRf^2\right)\;d\nu,$$ and $R$ is the scalar curvature of manifold.
Can one be confident that there is a $0<f_0\in C^{\infty}(M)$ with $\int_Mf_0^2\;d\nu=1$, such that $\lambda(g)=\mathcal{F}(g,f_0)$?