Nonlinear Operator Learning Using Energy Minimization and MLPs