I've got a reduction of the following partition problem to a certain scheduling problem:
Input: A list $a_1\leqslant\cdots\leqslant a_n$ of positive integers in non-decreasing order.
Question: Does there exist a vector $(x_1,\ldots,x_n)\in\{-1,1\}^n$ such that
\[\sum_{i=1}^na_ix_i=0\qquad\text{and}\] \[\sum_{i=1}^ka_ix_i\geqslant 0\quad\text{for all }k\in\{1,\ldots,n\}\]
Without the second condition it's just PARTITION, hence NP-hard. But the second condition seems to provide a lot of additional information. I'm wondering if there is an efficient way of deciding this variant. Or is it still hard?