dwavesystems / dimod

A shared API for QUBO/Ising samplers.
https://docs.ocean.dwavesys.com/en/stable/docs_dimod/
Apache License 2.0
121 stars 80 forks source link

Allow CQMs to be constructed in storage rather than memory #902

Open arcondello opened 3 years ago

arcondello commented 3 years ago

For very large CQMs, it would be helpful to have something like numpy.memmap. It would wrap a CQM file, as generated by CQM.to_file. Constraints and objectives could then be added directly to storage rather than being stored in memory.

arcondello commented 3 years ago

Changed the title because memory-mapped is not quite what we're talking about here.