Skip to content

0.12.17

Latest
Compare
Choose a tag to compare
@arcondello arcondello released this 03 Sep 14:57
9b17267

New Features

  • Allow BinaryQuadraticModel.contract_variables() to contract
    variables without an interaction. Previously it raised a
    ValueError.
  • Add power_r() generator function to dimod.generators. The
    weights of the generated Ising problems follow a power-law
    distribution with respect to their magnitude.
  • Add bin_packing generator function to dimod.generators.
  • Add labels keyword argument to
    ConstrainedQuadraticModel.iter_constraint_data() and
    ConstrainedQuadraticModel.iter_violations() methods. The labels
    keyword argument allows a user to generate the data/violations for a
    subset of the constraints. See #1381.
  • Add knapsack generator function to dimod.generators.
  • Support Python 3.13.
  • Add quadratic_assignment generator function to dimod.generators.