Equivalents of Ekeland's principle