dimod.serialization.coo.dump

dump(bqm, fp, vartype_header=False)[source]

Dump a binary quadratic model to a file in COOrdinate format.