Existence of weak efficient solutions of set-valued optimization problems