Pass optional arguments to solve.