change quadprog backend to nlopt