結果 : sum of squares optimization python