Agh, hate to keep replying to myself, but I've made one more tweak (in the pastie) to manually check for increasing NVPs. I wrote: > I wrote: > > Here's my first solution, attached and pastied here: > > http://pastie.caboo.se/149976 > > I've taken out the net-negative check, since it was throwing out cases where > there is a solution (like [-1000, 999]). I was trying to toss out the cases > where the NVP graph is increasing past -1 (like [-100, -30, 35, -40, -45]). > How can these be detected? > > -Jesse Merriman