I have tried to solve an optimisation problem which has quadratic constraint. I need an linearize form of the constraint. I am looking for a way to do that for the following equality constraint:
z == x*(x-y);
where x and y are continuous decision variables and:
x1 <= x <= x2;
y1 <= y <= y2;