1
5
Let a list of n positive integers be given, e. g. [2,1,4]. Let us consider all sums of all its members signed by +-, e. g-2-1-4=-7, -2+1-4=-5, -2-1+4=1, ... .How to find the sum having the minimum absolute value with Maple?