The QP-DYN algorithms