Primal-dual-active-set algorithm  with inexact subproblem solver