Question: Is this optimisation? Is there a suitable command?

A,B,C,D,E,F are known numerical values I want to find x and y such that Signum (-x+A).B +(y+C).D = -1 AND x.E-y.F=G AND |G| minimised I think I can see how to write a routine to do this. However, do any of the commands do this? All help much appreciated.
Please Wait...