Using BFGS as optimizer and receive error - KeyError: 'max_iter'

Hi @tstone

Place the optimizer setting in your defaults list above self. This is a minor detail with Hydra Config.

Some users have encountered a similar problem when this ordering is incorrect: