Global optimal control and system-dependent solutions in the hardening Helmholtz-Duffing oscillator