Skip to content

0.12.4

Choose a tag to compare

@arcondello arcondello released this 08 Mar 20:49
d5a3059

New Features

  • Improve the performance of the ConstrainedQuadraticModel.add_variables() method.
  • Allow discrete constraints added by ConstrainedQuadraticModel.add_discrete() to have zero or one variables.

Upgrade Notes

  • Remove the undocumented cyConstrainedQuadraticModel.add_variable() method.

Bug Fixes

  • Fix ConstrainedQuadraticModel.add_variable() to raise a ValueError when given an inconsistent variable type. Previously it incorrectly raised a TypeError.
  • Fix ConstrainedQuadraticModel.add_variable() to raise a ValueError when given invalid variable bounds.