dwave.optimization.model.Model.to_file#

Model.to_file(**kwargs)#

Serialize the model to a new file-like object.