Solving large-scale electricity market pricing problems in polynomial time | Synapse