https://github.com/scipopt/scip.jl

Julia interface to SCIP solver

https://github.com/scipopt/scip.jl

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 23 committers (13.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary

Keywords

global-optimization hacktoberfest julia mixed-integer-linear-programming mixed-integer-optimization mixed-integer-programming nonlinear-optimization

Keywords from Contributors

mathematical-programming semidefinite-programming nonlinear-programming numerical julialang mathematical-modelling polytope conic-programs programming-language high-performance
Last synced: 6 months ago · JSON representation

Repository

Julia interface to SCIP solver

Basic Info
  • Host: GitHub
  • Owner: scipopt
  • License: mit
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 1.24 MB
Statistics
  • Stars: 111
  • Watchers: 10
  • Forks: 24
  • Open Issues: 8
  • Releases: 47
Topics
global-optimization hacktoberfest julia mixed-integer-linear-programming mixed-integer-optimization mixed-integer-programming nonlinear-optimization
Created over 9 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog License

README.md

SCIP.jl

Build Status codecov

SCIP.jl is a Julia interface to the SCIP solver.

It has two components:

Affiliation

This wrapper is maintained by the SCIP project with the help of the JuMP community.

Getting help

If you need help, please ask a question on the JuMP community forum.

If you have a reproducible example of a bug, please open a GitHub issue.

License

SCIP.jl is licensed under the MIT License.

The underlying solver, scipopt/scip, is licensed under the Apache 2.0 license.

Installation

Install SCIP using Pkg.add: ```julia julia> import Pkg

julia> Pkg.add("SCIP") ```

In addition to installing the SCIP.jl package, this will also download and install the SCIP binaries. You do not need to install SCIP separately.

Custom installations

If you want a custom SCIP installation, you must manually install the SCIP binaries.

Binaries are available for download at https://www.scipopt.org/#download.

Once the binaries are installed, set the SCIPOPTDIR environment variable to temporarily point to the installation path (that is, depending on your operating system, $SCIPOPTDIR/lib/libscip.so, $SCIPOPTDIR/lib/libscip.dylib, or $SCIPOPTDIR/bin/libscip.dll must exist). Then, install SCIP.jl using Pkg.add and Pkg.build from the Julia command line: ```julia julia> ENV["SCIPOPTDIR"] = raw"C:\Program Files\SCIPOptSuite 9.1.1" # for Windows

julia> import Pkg

julia> Pkg.add("SCIP")

julia> Pkg.build("SCIP") ```

Use with JuMP

Use SCIP with JuMP as follows:

julia using JuMP, SCIP model = Model(SCIP.Optimizer) set_attribute(model, "display/verblevel", 0) set_attribute(model, "limits/gap", 0.05)

Options

See the SCIP documentation for a list of supported options.

MathOptInterface API

The SCIP optimizer supports the following constraints and attributes.

List of supported objective functions:

List of supported variable types:

List of supported constraint types:

List of supported model attributes:

Design considerations

Wrapping the public API

All of the public API methods are wrapped and available within the SCIP package. This includes the scip_*.h and pub_*.h headers that are collected in scip.h, as well as all default constraint handlers (cons_*.h.)

The wrapped functions do not transform any data structures and work on the raw pointers (for example, SCIP* in C, Ptr{SCIP_} in Julia). Convenience wrapper functions based on Julia types are added as needed.

Memory management

Programming with SCIP requires dealing with variable and constraint objects that use reference counting for memory management.

The SCIP.Optimizer wrapper type collects lists of SCIP_VAR* and SCIP_CONS* under the hood, and it releases all references when it is garbage collected itself (via finalize).

When adding a variable (add_variable) or a constraint (add_linear_constraint), an integer index is returned. This index can be used to retrieve the SCIP_VAR* or SCIP_CONS* pointer via get_var and get_cons respectively.

Supported nonlinear operators

Supported operators in nonlinear expressions are as follows:

  • +
  • -
  • *
  • /
  • ^
  • sqrt
  • exp
  • log
  • abs
  • cos
  • sin

Owner

  • Name: scipopt
  • Login: scipopt
  • Kind: organization

Collection of software around the SCIP Optimization Suite (scipopt.org)

GitHub Events

Total
  • Fork event: 2
  • Create event: 41
  • Commit comment event: 15
  • Issues event: 37
  • Release event: 5
  • Watch event: 16
  • Delete event: 38
  • Member event: 1
  • Issue comment event: 76
  • Push event: 119
  • Pull request event: 86
  • Pull request review comment event: 12
  • Pull request review event: 11
Last Year
  • Fork event: 2
  • Create event: 41
  • Commit comment event: 15
  • Issues event: 37
  • Release event: 5
  • Watch event: 16
  • Delete event: 38
  • Member event: 1
  • Issue comment event: 76
  • Push event: 119
  • Pull request event: 86
  • Pull request review comment event: 12
  • Pull request review event: 11

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 948
  • Total Committers: 23
  • Avg Commits per committer: 41.217
  • Development Distribution Score (DDS): 0.425
Past Year
  • Commits: 25
  • Committers: 4
  • Avg Commits per committer: 6.25
  • Development Distribution Score (DDS): 0.6
Top Committers
Name Email Commits
Robert Schwarz m****l@r****t 545
Mathieu Besançon m****n@g****m 242
Erik Tadewaldt t****t@z****e 48
Felipe Serrano s****o@z****e 19
Ayush Pandey a****p@g****m 16
odow o****n@g****m 14
Gennesaret Tjusila g****a@g****m 10
Miles Lubin m****n@g****m 10
Gnimuc q****i@g****m 8
Twan Koolen k****n@g****m 7
Johannes Varga j****a@s****t 6
Mathieu Besancon b****n@z****e 4
GregPlowman G****n 3
Lars Hellemo L****o@s****o 3
hannahtro j****e@g****m 3
Changhyun Kwon c****n@u****u 2
Joaquim Garcia j****a@p****m 2
Alexis Montoison a****n@p****a 1
Julia TagBot 5****t 1
Santos Xavier, Alinson a****r@a****v 1
Y. Yang m****t 1
Yankai Cao y****o@g****m 1
femtocleaner[bot] f****] 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 67
  • Total pull requests: 152
  • Average time to close issues: 12 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 35
  • Total pull request authors: 12
  • Average comments per issue: 5.58
  • Average comments per pull request: 1.59
  • Merged pull requests: 130
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 11
  • Pull requests: 78
  • Average time to close issues: 24 days
  • Average time to close pull requests: 4 days
  • Issue authors: 7
  • Pull request authors: 3
  • Average comments per issue: 2.82
  • Average comments per pull request: 0.44
  • Merged pull requests: 68
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • matbesancon (16)
  • rschwarz (8)
  • odow (5)
  • LebedevRI (3)
  • ivborissov (2)
  • resmaeilbeigi (2)
  • stumarcus314 (2)
  • remi-garcia (2)
  • joehuchette (1)
  • JuliaTagBot (1)
  • foreverdyz (1)
  • mzy2240 (1)
  • karimianfard (1)
  • Wimmerer (1)
  • mavavilj (1)
Pull Request Authors
  • odow (80)
  • matbesancon (48)
  • gtjusila (10)
  • etadewal (6)
  • rschwarz (4)
  • hellemo (2)
  • hannahtro (2)
  • metab0t (1)
  • jovarga (1)
  • amontoison (1)
  • sbolusani (1)
  • Gnimuc (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
bug (1)

Packages

  • Total packages: 1
  • Total downloads:
    • julia 527 total
  • Total dependent packages: 2
  • Total dependent repositories: 0
  • Total versions: 44
juliahub.com: SCIP

Julia interface to SCIP solver

  • Versions: 44
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Downloads: 527 Total
Rankings
Forks count: 6.5%
Stargazers count: 9.1%
Dependent repos count: 9.9%
Average: 10.5%
Dependent packages count: 16.6%
Last synced: 6 months ago

Dependencies

.github/workflows/MINLP.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/ci.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/format_check.yml actions
  • actions/checkout v1 composite
  • julia-actions/setup-julia latest composite