結果 : python solve equation with constraints