HOW QUANTUM FORMULAS MANAGE INTRICATE OPTIMIZATION PROBLEMS