Other reasons some lines have not been electrified
"Oh, we can electrify lines alright. The issue as the article says is the economic feasibility of doing so."
Another factor in play here is that the Coalition and Tory governments cancelled and curtailed economically viable*, approved and "shovel ready" electrification projects, because ... austerity..., while supporting costly and economically dubious white-elephant vanity projects, like HS2. And where they cancelled or truncated previously agreed electrification projects they instead invested in inefficient and costly dual mode-traction units on long-term over-priced PFI leases with terms that require payment based on availability, not use, and whose acquisition was at odds with policy commitments related to carbon emissions.
* Even on the UK Gov's rather narrow definition of what counts as economical viability in the railway sector.