Fix a bug when there is no soluiton in the output
Fix an issue with setting timeLimit on subproblems