Tools
D-Wave
DiscreteQuadraticModel.
from_file
Construct a DQM from a file-like object.
The inverse of to_file().
to_file()