結果 : solve linear equations with constraints python