We present a quadratic Discrete-time Optimal Control problem generator, written in C, with options for Degeneracy, Activity and Conditioning (DOCDAC). We use the generator to investigate badly conditioned and degenerate extended linear-quadratic problems (ELQPs) by solving such problems with primal-dual projected gradient and interior-point methods. The benefit of using second-order information...