throws FileNotFoundException, ParseFormatException, IOException,
ContradictionException {
log("solving " + problemname); //$NON-NLS-1$
log("reading problem ... "); //$NON-NLS-1$
reader = createReader(solver, problemname);
IProblem problem = reader.parseInstance(problemname);
log("... done. Wall clock time " //$NON-NLS-1$
+ (System.currentTimeMillis() - beginTime) / 1000.0 + "s."); //$NON-NLS-1$
log("#vars " + problem.nVars()); //$NON-NLS-1$
log("#constraints " + problem.nConstraints()); //$NON-NLS-1$
problem.printInfos(out,COMMENT_PREFIX);
return problem;
}