dimod icon indicating copy to clipboard operation
dimod copied to clipboard

Add compress keyword argument to CQM.to_file() and BQM.to_file()

Open arcondello opened this issue 3 years ago • 1 comments

To match the DQM https://github.com/dwavesystems/dimod/blob/5d2043d0b662f38bd51e062367c2e4b703b457a1/dimod/discrete/discrete_quadratic_model.py#L767

arcondello avatar Aug 16 '22 16:08 arcondello

CQM is handled by https://github.com/dwavesystems/dimod/pull/1296. Doing BQM would be a bit more complicated because we don't use zipfile.

arcondello avatar Nov 22 '22 21:11 arcondello