timeroot / jna_scip Goto Github PK
View Code? Open in Web Editor NEWJava bindings for the SCIP optimization library
License: MIT License
Java bindings for the SCIP optimization library
License: MIT License
Commit 1696f02 introduces a DIRECT_MEM
mode that accesses SCIP data structures directly in memory instead of going through the public accessor functions. Unfortunately, this introduces a dependency on the exact structure layout. The problem is, this structure layout can change from one SCIP version to the other. (This is an issue we also had with the C macros in the context of JSCIPOpt: scipopt/JSCIPOpt@5db250f where it affected binary compatibility between libjscip and different versions of libscip.)
As a result, not only is JNA_SCIP compiled to only work with a particular version of SCIP, but a new version can also require changes to the actual source code of JNA_SCIP, because address offsets are hardcoded in your Java code.
So performance-wise, it may be a win (though I would also love to see your benchmark results on this), but compatibility-wise, DIRECT_MEM
is unfortunately a nightmare.
Hence, I would suggest to at least turn DIRECT_MEM
off by default in the published source code (if it is worth keeping at all due to the performance issue).
I was unable to find a license statement anywhere in this repository. This means that, unless I have missed something, the default under copyright law applies, and unfortunately, that means we are essentially not allowed to do anything with your code.
Please put an explicit license on your code. It should be sufficiently permissive and compatible with the SCIP license. (In particular, the GNU GPL would be very unsuitable because of its strong copyleft/share-alike provision that conflicts with the SCIP license.)
I would suggest:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.