Pricing Optimal Outcomes in Coupled and Non-convex Markets: Theory and Applications to Electricity Markets | Synapse