A hybrid solution method using a quantum annealer