HOW QUANTUM FORMULAS NAVIGATE RESTRAINTS IN REAL-WORLD OPTIMISATION