An efficient model and algorithm for the transmission-constrained multi-site combined heat and power system