Skip to main content

BoundML is a toolbox that helps with the development and evaluation of machine learning approach for the branch and bound algorithm.

Project description

BoundML

BoundML is a wrapper around a fork of ecole. It allows to easily develop new machine learning based branching strategies based for the Branch and Bound.

Installation

pip install boundml

Troubleshooting

Libraries not found

You need to have the following librarires installed

  • SCIP 9.1.0
  • fmt
  • range-v3
  • pybind11

It is possible to install it in a conda environment:

conda install scip==9.1.0 fmt pybind11

export CMAKE_PREFIX_PATH="${CONDA_PREFIX}"      
export CPLUS_INCLUDE_PATH="${CONDA_PREFIX}/include/"
export LIBRARY_PATH=${CONDA_PREFIX}/lib
export LD_LIBRARY_PATH=${CONDA_PREFIX}/lib

The exports commands allow the compiler to find SCIP.

To install range-v3 for a ubuntu ditribution:

sudo apt install librange-v3-dev librange-v3-doc

Example

The file gnn_pipeline shows how tu use this library to reproduce easily the work of Gasse et al.. It consists of training a GCNN to learn to imitate strong branching.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boundml-0.1.3.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file boundml-0.1.3.tar.gz.

File metadata

  • Download URL: boundml-0.1.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for boundml-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c502072c5790a5cd9401e8a9f58f6bc5d8401dea593f6524e9c116fb04f18b47
MD5 f5d50d006dfd64192de12ce6aac976e5
BLAKE2b-256 ac0ec9bcca940dcf3300071b22a849c51f7cef99bbc032f29989e06a3def2d67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page