Skip to content

0.9.0.dev6

Choose a tag to compare

@arcondello arcondello released this 21 Feb 21:25
3d54125

Fixes

  • Fix numpy version range
  • BQM.get_quadratic now has consistent/correct behaviour when a default is provided
  • Restored some removed methods, BQM.to_coo, .from_coo, .to_numpy_matrix, .from_numpy_matrix, .to_networkx_graph, .from_networkx_graph
  • BQM.energies now raises the correct exception when given bad samples

New Features

  • Binary quadratic models can now be constructed from linear/quadratic iterators
  • BQM.base attribute to help when constructing from views
  • BQM.energies mixin now uses a faster numpy-based energy calculation