A two-level optimization problem for analysis of market bidding strategies | Synapse