Persistence-based topological optimization: a survey