Text this: Global and local optimality conditions in set-valued optimization problems