Skip to content

v9.9

Latest
Compare
Choose a tag to compare
@Mizux Mizux released this 07 Mar 13:33
· 98 commits to mizux/rc since this release

Dependencies

  • abseil-cpp 20240116.1.
  • re2 2024-02-01.
  • Protobuf v25.3.
  • Scip v810.
  • pybind11 v2.11.1.
  • googletest 1.14.0.

C++ Changes

  • use of absl::Span instead of std::vector.
  • replace const std::string& with absl::string_view.
  • use of absl log.

CP-SAT

  • Improvements to no_overlap_2d algorithms.
  • rewrite python API to be pep8 compliant. model.AddBoolOr -> model.add_bool_or
  • Improve the linear propagator code.
  • Use the ~ operator in C++ and Python for the negation of a literal.

Linear Solver

  • make XPRESS support using a dynamic load (like gurobi support)

Math Opt

  • Sync with google3
  • Add c++ and python support in CMake based build.
  • Add math_opt in Python wheel package
  • Enable few C++ tests with bazel based build.

Known Issue

  • Python windows wheel package are 108Mb so we can't upload them to pypi yet.
    note: a file limite request has been filled (pypi/support#3714)

  • Build on Ubuntu 20.04 LTS failed -> no archives available for this OS...
    dev note: looking at the trace of the release process...

    $ cd tools/docker
    $ make amd64_ubuntu-20.04_cpp_build
    ...
    In file included from /root/or-tools/ortools/graph/dag_constrained_shortest_path.cc:14:
    /root/or-tools/ortools/graph/dag_constrained_shortest_path.h:18:10: fatal error: concepts: No such file or directory
       18 | #include <concepts>
          |          ^~~~~~~~~~
    

    This means or-tools source code is poissed with C++20 headers since google3 now allow C++20...
    => Will have no choice but to drop C++17 support in the short term as an internal component of google3 code base.

What's Changed

  • build(deps): bump urllib3 from 2.0.4 to 2.0.7 in /bazel by @dependabot in #3988
  • Fix memory leaks in file::GetContents and file::SetContents by @pjh in #4011
  • build(deps): bump jupyter-server from 2.7.2 to 2.11.2 in /bazel by @dependabot in #4014
  • Improve the Xpress interface and add dynamic loading of the Xpress library by @sgatto in #3966
  • improve performance of Xpress interface and fix bug by @sgatto in #4030
  • build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /bazel by @dependabot in #4049
  • Include LICENSE file in Python distribution by @chrisjbremner in #4048

New Contributors

Full Changelog: v9.8...v9.9