-Shafranov (GS) equation to be solved by reducing the problem of solving the 0D non-linear partial differential equation to the problem of minimizing a function of several variables. This high speed algorithm approximately solves the GS equation given a para