Capturing Electricity Market Dynamics in Strategic Market Participation Using Neural Network Constrained Optimization