Skip to content

0.11.0.dev0

Pre-release
Pre-release
Compare
Choose a tag to compare
@arcondello arcondello released this 24 Feb 19:39
c376e8e

Prelude

Add support for real-valued variables.

New Features

  • Add C++ Vartype::REAL, a new variable type for real-valued variables.
  • Support variables with Vartype::REAL in C++ QuadraticModel.
  • Add Vartype.REAL, a new variable type for real-valued variables.
  • Add Real() and Reals() functions for creating quadratic models with a single real-valued variable.
  • Support variables with Vartype.REAL in QuadraticModel.
  • ConstrainedQuadraticModel.to_file() now uses serialization format 1.3. This format is backwards compatibile.
  • Add vartype and linear_only arguments to ConstrainedQuadraticModel.num_biases().
  • Add vartype and include_objective arguments to ConstrainedQuadraticModel.num_quadratic_variables().

Deprecation Notes

  • In the future, ConstrainedQuadraticModel.num_quadratic_variables() will also include the objective towards the count by default.