optimization simplex method module in python