dwave.optimization.model.States.into_file#

States.into_file(file)#

Serialize the states into an existing file.

Parameters:

file – File pointer to an existing writeable, seekable file-like object encoding a model. Strings are interpreted as a file name.

TODO: describe the format