Repository navigation
Releases
HPR-QP-C v0.1.1
HPR-QP-C v0.1.1
Source release of public main at 5f04c18dc45210f7d481901aac6bdc2f78414df4.
Changes since v0.1.0
- Enable native C++ CPU polishing by default. A common frozen projected-KKT correction uses specialized linear algebra and an independent native termination certificate. A certified CPU point can terminate the solve; intermediate CPU points never feed back into the GPU iteration. CPU termination is reported as
polished_optimal. - Enable conservative automatic equality Gram scaling, with documented eligibility checks and fallbacks.
- Add native GPU second-order-cone support and a sparse-factor convex QCQP-to-SOC interface. The executable and dataset script load supported diagonal convex
QCMATRIXconstraints from MPS; unsupported quadratic input is explicitly rejected. - Use SpMVOp automatically with supported CUDA 13.3+ toolkits and add guarded packed/fused sparse GPU access. Older-toolkit and unsupported-shape fallbacks are retained.
- Align executable and dataset defaults, improve timing and result metadata, and place the direct GPU quick start first in the README.
- Improve plain
make: verified local cuDSS installation, matching CUDA runtime libraries, CUDA-driver startup checks, system CA discovery and verified HTTPS mirrors for native Ubuntu dependencies. Plain Make builds no longer require CMake.
GPU quick start
From the extracted source directory, with a compatible CUDA toolkit and NVIDIA driver:
make && \
./build-cuda/solve_qp model.mps --use-gpu 1 --device-number 0 --stoptol 1e-8 --time-limit 1000Replace model.mps with your model and 0 with the desired GPU index. Polishing, conservative Gram selection and supported GPU optimizations are on by default.
Requirements and scope
- This is a source release, not a prebuilt CUDA binary. Build on the target host using the installation instructions.
- Native CPU polishing does not require a Python/NumPy/SciPy runtime. This release still uses BLAS/LAPACK and OpenSSL libcrypto; Eigen, SuperLU, pocketfft and JSON sources are vendored with their licenses. Python 3 is used for build helpers and the optional dataset script.
- On Debian/Ubuntu Linux x86_64, Make can install missing native numerical libraries privately from verified APT metadata; a compatible CUDA toolkit and driver must already exist. cuDSS can also be installed locally by Make. Initial dependency downloads require network access.
- Recompile direct C/C++ clients against the matching headers and libraries because public structures have gained fields.
- Use a fresh dataset output directory after upgrading: the dataset runner skips already recorded cases, including old failures.
See input limitations, polishing and Gram contracts, integration validation and native-worker validation. This release tags the existing public commit; it makes no new performance-benchmark claim.
The attached ZIP contains only tracked source files from this commit. SHA256SUMS verifies that ZIP. GitHub's generated source ZIP and tarball are also available below.
Full changelog: v0.1.0...v0.1.1
HPR-QP-C v0.1.0
The first release of HPR-QP C version.
It supports both GPU and CPU.
It roughly aligns with the HPR-QP v0.1.1.