From ed01ae8f879e7cf848ffa0ef1a6af2f77c5a7f89 Mon Sep 17 00:00:00 2001 From: Roland Schwan Date: Fri, 21 Jun 2024 14:30:22 +0200 Subject: [PATCH] prepare 0.4.0 release --- CHANGELOG.md | 12 +++++++++++- CMakeLists.txt | 2 +- README.md | 2 +- docs/index.md | 2 +- interfaces/octave/package/DESCRIPTION | 4 ++-- interfaces/octave/piqp_oct.cpp | 2 +- interfaces/python/piqp/__init__.pyi | 2 +- setup.py | 2 +- 8 files changed, 19 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a7528c..bde54d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.0] - 2024-06-21 + +### Changed + +- Instead of building both shared and static libraries, it can now be selected by setting `BUILD_SHARED_LIBS`. +- Better support for CMake subdirectory installs. +- Added Octave interface (thanks to @redstone99) +- Added boundary control, i.e., dual inequality variables can't become zero anymore avoiding potential NaNs in the solution. + ## [0.3.1] - 2024-05-25 ### Changed @@ -84,7 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial release of PIQP! -[unreleased]: https://github.com/PREDICT-EPFL/piqp/compare/v0.3.1...HEAD +[unreleased]: https://github.com/PREDICT-EPFL/piqp/compare/v0.4.0...HEAD +[0.4.0]: https://github.com/PREDICT-EPFL/piqp/compare/v0.3.1...v0.4.0 [0.3.1]: https://github.com/PREDICT-EPFL/piqp/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/PREDICT-EPFL/piqp/compare/v0.2.4...v0.3.0 [0.2.4]: https://github.com/PREDICT-EPFL/piqp/compare/v0.2.3...v0.2.4 diff --git a/CMakeLists.txt b/CMakeLists.txt index cbdc7d3..ad169bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ cmake_minimum_required(VERSION 3.21) project(piqp - VERSION 0.3.1 + VERSION 0.4.0 LANGUAGES C CXX ) diff --git a/README.md b/README.md index 67705bd..81c9972 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Combining an infeasible interior point method with the proximal method of multip PIQP support a wide range of interfaces including * C/C++ (with Eigen support) * Python -* Matlab +* Matlab/Octave * R * Julia (soon) * Rust (soon) diff --git a/docs/index.md b/docs/index.md index d8f61fc..a24db9a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -36,7 +36,7 @@ ArXiv, 2023 PIQP support a wide range of interfaces including * C/C++ (with Eigen support) * Python -* Matlab +* Matlab/Octave * R * Julia (soon) * Rust (soon) diff --git a/interfaces/octave/package/DESCRIPTION b/interfaces/octave/package/DESCRIPTION index 0e0a292..a5a855d 100644 --- a/interfaces/octave/package/DESCRIPTION +++ b/interfaces/octave/package/DESCRIPTION @@ -1,6 +1,6 @@ name: piqp -version: 0.3.1 -date: 2024-05-25 +version: 0.4.0 +date: 2024-06-21 author: Roland Schwan maintainer: Roland Schwan title: PIQP - An Proximal Interior Point Quadratic Programming solver diff --git a/interfaces/octave/piqp_oct.cpp b/interfaces/octave/piqp_oct.cpp index 17b3b2c..b5d4801 100644 --- a/interfaces/octave/piqp_oct.cpp +++ b/interfaces/octave/piqp_oct.cpp @@ -15,7 +15,7 @@ #define PIQP_MEX_SIGNATURE 0x271C1A7A #ifndef PIQP_VERSION -#define PIQP_VERSION 0.3.1 +#define PIQP_VERSION 0.4.0 #endif using Vec = Eigen::Matrix; diff --git a/interfaces/python/piqp/__init__.pyi b/interfaces/python/piqp/__init__.pyi index cb20bd7..dba2888 100644 --- a/interfaces/python/piqp/__init__.pyi +++ b/interfaces/python/piqp/__init__.pyi @@ -168,4 +168,4 @@ PIQP_NUMERICS: piqp.Status # value = PIQP_PRIMAL_INFEASIBLE: piqp.Status # value = PIQP_SOLVED: piqp.Status # value = PIQP_UNSOLVED: piqp.Status # value = -__version__: str = '0.3.1' +__version__: str = '0.4.0' diff --git a/setup.py b/setup.py index f9b4f88..899b037 100644 --- a/setup.py +++ b/setup.py @@ -144,7 +144,7 @@ def build_extension(self, ext: CMakeExtension) -> None: setup( name="piqp", - version="0.3.1", + version="0.4.0", url='https://github.com/PREDICT-EPFL/piqp', author="Roland Schwan", author_email="roland.schwan@epfl.ch",