dimod.DiscreteQuadraticModel.from_file#

classmethod DiscreteQuadraticModel.from_file(file_like)[source]#

Construct a DQM from a file-like object.

The inverse of to_file().