When does Max=Sup ?

265 Views Asked by At

I know the following statement is true.

$\forall S,$ (S is compact and S$\neq\emptyset \to \max(S)=\sup(S))$

In what else situations can be Max=Sup ?