Majorize–minimize linesearch for inversion methods involving barrier function optimization