added code that only puts row placeholders if solver used is pastix.