all costs implemented
integrate sqp with tracker