Counterexample. Let $f:\mathbb{R}\rightarrow\mathbb{R}$ defined by $f(x)=e^x$. We know that $\mathbb{R}$ is closed, but $f$ clearly doesn't have minumum.
Counterexample. Let $f:\mathbb{R}\rightarrow\mathbb{R}$ defined by $f(x)=e^x$. We know that $\mathbb{R}$ is closed, but $f$ clearly doesn't have minumum.