Text this: A Quantum-Inspired Optimization Strategy for Optimal Dispatch to Increase Heat and Power Efficiency