wi∈{1,−1},min∣∑(ai×wi)∑(bi×wi)∣w_i \in \{1,-1\}, \min |\frac{\sum (a_i \times w_i)}{\sum (b_i \times w_i)}|wi∈{1,−1},min∣∑(bi×wi)∑(ai×wi)∣
如何求解?