A JavaScript implementation of Simplex Method