A problem of eliminating the unwanted time-harmonic noise on a predetermined region of interest is solved by active means, i.e., by introducing the additional sources of sound, called controls, that generate the appropriate annihilating signal (anti-sound). The general solution for controls has been obtained previously for both the continuous and discrete formulation of the problem. Next, the control sources are optimized using different criteria. Minimization of the overall absolute acoustic source strength is equivalent to minimization of multi-variable complex functions in the sense of L1 with conical constraints. The global L1 optimum appears to be a special layer of monopoles on the perimeter of the protected region. The use of quadratic cost functions, e.g., the L2 norm of the controls, leads to a versatile numerical procedure. It allows one to analyze sophisticated geometries in the case of a constrained minimization. Finally, minimization of power consumed by an active control...