Skip to content

v0.1.3

Choose a tag to compare

@Lhongpei Lhongpei released this 05 Mar 15:00
· 128 commits to main since this release

What's New in v0.1.3

This release introduces a more granular logging system for both the C and Python interfaces—greatly improving integration and usability—and resolves a critical compilation issue in CMake.

Features & Enhancements

  • Multi-level Logging: The boolean logging flag has been upgraded to an integer-based LogLevel (or Verbosity). You can now control the output granularity:
    • 0: Silent (No output)
    • 1: Summary (Final solver statistics)
    • 2: Detailed (Iteration-by-iteration progress)
  • CLI Update: The C executable now accepts an integer argument for verbosity (e.g., ./pdhcg -v 1 problem.mps output/).
  • Python API Aliases: Added LogLevel and Verbosity as the preferred parameters in the Python Model. Legacy parameters like OutputFlag and LogToConsole (True/False) are still fully supported for backward compatibility (automatically mapped to 1 and 0 respectively).

Documentation

  • Custom CUDA Paths: Added comprehensive instructions in the README.md on how to build the Python package using explicit environment variables (CUDACXX and SKBUILD_CMAKE_ARGS) when multiple CUDA versions exist on the host machine.

Fixed Bugs

  • Flexible CUDA Toolchains: Removed the hardcoded nvcc compiler path from the build configuration. This resolves CMake build issues and allows the build system to correctly detect and use the active CUDA toolkit in diverse computing environments.