{"id":42180977,"url":"https://github.com/atraplet/scip4j","last_synced_at":"2026-01-26T22:04:23.220Z","repository":{"id":247279391,"uuid":"825012594","full_name":"atraplet/scip4j","owner":"atraplet","description":"SCIP Solver for Java","archived":false,"fork":false,"pushed_at":"2026-01-13T19:45:43.000Z","size":1386,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-13T21:43:19.750Z","etag":null,"topics":["conic-optimization","conic-programs","convex-optimization","java","linear-programming","mixed-integer-programming","operations-research","optimization","optimization-algorithms","quadratic-programming"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atraplet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":"COPYRIGHT","agents":null,"dco":null,"cla":null}},"created_at":"2024-07-06T14:16:55.000Z","updated_at":"2026-01-13T19:46:14.000Z","dependencies_parsed_at":"2024-09-16T20:29:21.145Z","dependency_job_id":"8921a130-1afe-49e6-8cc0-41cacb86ceac","html_url":"https://github.com/atraplet/scip4j","commit_stats":null,"previous_names":["atraplet/scip4j"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atraplet/scip4j","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atraplet%2Fscip4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atraplet%2Fscip4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atraplet%2Fscip4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atraplet%2Fscip4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atraplet","download_url":"https://codeload.github.com/atraplet/scip4j/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atraplet%2Fscip4j/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28789721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conic-optimization","conic-programs","convex-optimization","java","linear-programming","mixed-integer-programming","operations-research","optimization","optimization-algorithms","quadratic-programming"],"created_at":"2026-01-26T22:03:36.943Z","updated_at":"2026-01-26T22:04:23.136Z","avatar_url":"https://github.com/atraplet.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCIP Solver for Java\n\n[![Build](https://github.com/atraplet/scip4j/actions/workflows/build.yml/badge.svg)](https://github.com/atraplet/scip4j/actions/workflows/build.yml)\n[![Codecov](https://codecov.io/github/atraplet/scip4j/graph/badge.svg?token=S8TXRQ4UAZ)](https://codecov.io/github/atraplet/scip4j)\n[![Maven Central](https://img.shields.io/maven-central/v/com.ustermetrics/scip4j)](https://central.sonatype.com/artifact/com.ustermetrics/scip4j)\n[![Apache License, Version 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/atraplet/scip4j/blob/master/LICENSE)\n\n*Work in progress*\n\n*This library requires JDK 22 as it depends on Java's\nnew [Foreign Function and Memory (FFM) API](https://docs.oracle.com/en/java/javase/22/core/foreign-function-and-memory-api.html).*\n\nscip4j (SCIP Solver for Java) is a Java library that provides an interface from the Java programming language to the\nnative open source mathematical programming solver [SCIP](https://www.scipopt.org). It invokes the solver\nthrough Java's\nnew [Foreign Function and Memory (FFM) API](https://docs.oracle.com/en/java/javase/22/core/foreign-function-and-memory-api.html).\n\n## Usage\n\n### Dependency\n\nAdd the latest version from [Maven Central](https://central.sonatype.com/artifact/com.ustermetrics/scip4j) to\nyour `pom.xml`\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ustermetrics\u003c/groupId\u003e\n    \u003cartifactId\u003escip4j\u003c/artifactId\u003e\n    \u003cversion\u003ex.y.z\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Native Library\n\nEither add the latest version of [scip4j-native](https://github.com/atraplet/scip4j-native)\nfrom [Maven Central](https://central.sonatype.com/artifact/com.ustermetrics/scip4j-native) to\nyour `pom.xml`\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ustermetrics\u003c/groupId\u003e\n    \u003cartifactId\u003escip4j-native\u003c/artifactId\u003e\n    \u003cversion\u003ex.y.z\u003c/version\u003e\n    \u003cscope\u003eruntime\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\nor install the native solver on the machine and add the location to the `java.library.path`. scip4j dynamically loads\nthe native solver.\n\n### Run Code\n\nSince scip4j invokes some restricted methods of the FFM API, use `--enable-native-access=com.ustermetrics.scip4j`\nor `--enable-native-access=ALL-UNNAMED` (if you are not using the Java Platform Module System) to avoid warnings from\nthe Java runtime.\n\n## Build\n\n### Java bindings\n\nThe directory `./bindings` contains the files and scripts needed to generate the Java bindings. The actual bindings are\nunder `./src/main/java` in the package `com.ustermetrics.scip4j.bindings`.\n\nThe scripts depend on the [jextract](https://jdk.java.net/jextract/) tool, which mechanically generates Java bindings\nfrom native library headers.\n\nThe bindings are generated in two steps: First, `./bindings/generate_includes.sh` generates the dumps of the included\nsymbols in the `includes.txt` file. Replace absolute path with relative path in the comments.\nSecond, `./bindings/generate_bindings.sh` generates the actual Java bindings. Finally, add `NativeLoader.loadLibrary`\nand remove the platform dependent layout constants.\n\n## Release\n\nUpdate the version in the `pom.xml`, create a tag, and push it by running\n\n```\nexport VERSION=X.Y.Z\ngit checkout --detach HEAD\nsed -i -E \"s/\u003cversion\u003e[0-9]+\\-SNAPSHOT\u003c\\/version\u003e/\u003cversion\u003e$VERSION\u003c\\/version\u003e/g\" pom.xml\ngit commit -m \"v$VERSION\" pom.xml\ngit tag v$VERSION\ngit push origin v$VERSION\n```\n\nThis will trigger the upload of the package to Maven Central via GitHub Actions.\n\nThen, go to the GitHub repository [releases page](https://github.com/atraplet/scip4j/releases) and update the release.\n\n## Credits\n\nThis project is based on the native open source mathematical programming\nsolver [SCIP](https://www.scipopt.org),\nwhich is developed and maintained by the [current team members](https://scipopt.org/index.php#developers).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatraplet%2Fscip4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatraplet%2Fscip4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatraplet%2Fscip4j/lists"}