enable backtrack algorithm in solve process