scipopt / russcip

Rust interface for SCIP
https://crates.io/crates/russcip
Apache License 2.0
34 stars 11 forks source link

Build SCIP from source #24

Closed mmghannam closed 1 year ago

mmghannam commented 1 year ago

Add a vendored feature to the crate, that would build SCIP from source and then generate bindings.

UPDATE: Since the SCIPOptSuite is quite big in size, it would be best if the source code is not included by default and only downloaded if the vendored feature is enabled.

lovasoa commented 1 year ago

Maybe a good first step if scip is hard to compile, is to just vendor the header files to allow building this library without any external build-time dependencies, but still link to scip dynamically and require users to have scip installed at runtime ?

@mmghannam, what do you think ?

mmghannam commented 1 year ago

Makes a lot of sense, thank you for the suggestion.

create-issue-branch[bot] commented 1 year ago

Branch issue-24-Build_SCIP_from_source created!

mmghannam commented 1 year ago

Added the change in #32, hopefully the docs.rs builds will work now 🤞

mmghannam commented 1 year ago

Maybe a shortcut to this vendored build is to install the precompiled SCIP packages.

mmghannam commented 1 year ago

This should probably be tracked in the scip-sys repo, in this issue.