Radio interferometric calibration with PyTorch. An example of how to solve a general optimization problem.