clarabel4j-native (Clarabel Solver for Java Native Libraries) contains the shared library release binaries of Clarabel for clarabel4j.
Add the latest version from Maven Central to
your pom.xml
<dependency>
<groupId>com.ustermetrics</groupId>
<artifactId>clarabel4j-native</artifactId>
<version>x.y.z</version>
<scope>runtime</scope>
</dependency>
Update the version in the pom.xml
, create a tag, and push it by running
export CLARABEL_VERSION=X.Y.Z
export VERSION=X.Y.Z
export VERSION=$VERSION-$CLARABEL_VERSION
git checkout --detach HEAD
sed -i -E "s/<version>[0-9]+\-SNAPSHOT<\/version>/<version>$VERSION<\/version>/g" pom.xml
git commit -m "v$VERSION" pom.xml
git tag v$VERSION
git push origin v$VERSION
This will trigger the upload of the package to Maven Central via GitHub Actions.
Then, go to the GitHub repository releases page and update the release.
This project is based on the native open source mathematical programming solver Clarabel, which is developed and maintained by Paul Goulart (main development, maths and algorithms) and Yuwen Chen (maths and algorithms) from the Oxford Control Group of the Department of Engineering Science at the University of Oxford, and other contributors. For details see https://clarabel.org, https://github.com/oxfordcontrol/Clarabel.rs, and https://github.com/oxfordcontrol/Clarabel.cpp.