https://github.com/atraplet/highs4j-native
HiGHS Solver for Java Native Libraries
https://github.com/atraplet/highs4j-native
convex-optimization interior-point-method java linear-programming mixed-integer-programming operations-research optimization optimization-algorithms quadratic-programming simplex-algorithm
Last synced: about 1 month ago
JSON representation
HiGHS Solver for Java Native Libraries
- Host: GitHub
- URL: https://github.com/atraplet/highs4j-native
- Owner: atraplet
- License: apache-2.0
- Created: 2024-12-05T15:50:22.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-13T19:50:22.000Z (about 2 months ago)
- Last Synced: 2026-01-13T21:44:04.609Z (about 2 months ago)
- Topics: convex-optimization, interior-point-method, java, linear-programming, mixed-integer-programming, operations-research, optimization, optimization-algorithms, quadratic-programming, simplex-algorithm
- Language: Java
- Homepage:
- Size: 84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
# HiGHS Solver for Java Native Libraries
*Work in progress*
[](https://github.com/atraplet/highs4j-native/actions/workflows/build.yml)
[](https://central.sonatype.com/artifact/com.ustermetrics/highs4j-native)
[](https://github.com/atraplet/highs4j-native/blob/master/LICENSE)
highs4j-native (HiGHS Solver for Java Native Libraries) bundles shared library release binaries
of [HiGHS](https://highs.dev) for [highs4j](https://github.com/atraplet/highs4j) for Linux (linux_64),
Windows (windows_64), and MacOS (osx_arm64).
## Usage
### Dependency
Add the latest version from [Maven Central](https://central.sonatype.com/artifact/com.ustermetrics/highs4j-native) to
your `pom.xml`
```
com.ustermetrics
highs4j-native
x.y.z
platform
runtime
```
where `x.y.z` is the version of the library and `platform` is one of `linux_64`, `windows_64`, or `osx_arm64`. If no
`classifier` is specified, the library will include binaries for all platforms.
## Build
## Release
Update the version in the `pom.xml`, create a tag, and push it by running
```
export HIGHS_VERSION=X.Y.Z
export VERSION=X.Y.Z
export VERSION=$VERSION-$HIGHS_VERSION
git checkout --detach HEAD
sed -i -E "s/[0-9]+\-SNAPSHOT<\/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](https://github.com/atraplet/highs4j-native/releases) and update the
release.
## Credits
This project is based on the native open source mathematical programming
solver [HiGHS](https://highs.dev), which is developed and maintained by Julian Hall, Ivet Galabova, Qi
Huangfu, Leona Gottwald, Michael Feldmeier, and other contributors. For details see https://highs.dev,
https://ergo-code.github.io/HiGHS, and https://github.com/ERGO-Code/HiGHS.