[Numpy-discussion] difficult optimization problem