Text this: On good encodings for quantum annealer and digital optimization solvers.