Skip to main content

No project description provided

Project description

Miplib Benchmark

This repository contains code to benchmark the MIPLIB (Mixed Integer Programming Library) using HiGHS solver.

Features

  • Downloads MIPLIB benchmark instances automatically (link: https://miplib.zib.de/)
  • Solves MIP instances using HiGHS solver
  • Stores results in SQLite database using Prisma ORM
  • Includes Modal.com deployment support for cloud execution

Installation

  1. Install Poetry (Python package manager)

  2. Clone this repository

  3. Install dependencies:

    poetry install

  4. Set up environment variables and aliases:

    source env.sh

  5. Initialize database:

    prisma_generate

    prisma_migrate

Download Benchmark Instances

poetry run python examples/download.py

Solve First Instance

poetry run python examples/solve.py

Deploy

Using Modal for cloud execution (https://modal.com/):

pip install modal 
modal setup 
modal run deploy.py

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

miplib_benchmark-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

miplib_benchmark-0.1.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file miplib_benchmark-0.1.0.tar.gz.

File metadata

  • Download URL: miplib_benchmark-0.1.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0

File hashes

Hashes for miplib_benchmark-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c4650ec3fd48bdff3ca155b42b69a249af799a8e4f9b3eba819445b6f62864f5
MD5 b375a3aecfc322ba6ee437771479e2d9
BLAKE2b-256 35c3056dca88f9087ce16d33c4ab9b6e773f17c589e82cde1c88b371f1b749cb

See more details on using hashes here.

File details

Details for the file miplib_benchmark-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for miplib_benchmark-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60082c103cce59272ead0a6df461399e4c96d67d008792a3798885aa93d4cf46
MD5 83eef1cffff85505bc1b96bc7a3633d8
BLAKE2b-256 d223209761bd09214e6d6745df956d5aa0606ee7d4b038d5191d66e77d933a2d

See more details on using hashes here.

Supported by

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