Let us have the following task: $$\min f(x)$$ $$g_{i}(x)\le 0,\quad\forall i$$ $$h_{j}(x)= 0,\quad\forall j$$
What is the correct form of rewriting as a maximize problem? $$\max - f(x)$$ $$g_{i}(x)\le 0,\quad\forall i$$ $$h_{j}(x)= 0,\quad\forall j$$
or $$-\max - f(x)$$ $$g_{i}(x)\le 0,\quad\forall i$$ $$h_{j}(x)= 0,\quad\forall j$$ Thanks for your answer.
If $f$ is a convex function, you can write the maximization problem as:
$$ max -f(x) $$