self implimented python optimization package, mainly for different machine learning model