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
-
Install Poetry (Python package manager)
-
Clone this repository
-
Install dependencies:
poetry install
-
Set up environment variables and aliases:
source env.sh
-
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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4650ec3fd48bdff3ca155b42b69a249af799a8e4f9b3eba819445b6f62864f5 |
|
MD5 | b375a3aecfc322ba6ee437771479e2d9 |
|
BLAKE2b-256 | 35c3056dca88f9087ce16d33c4ab9b6e773f17c589e82cde1c88b371f1b749cb |
File details
Details for the file miplib_benchmark-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: miplib_benchmark-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60082c103cce59272ead0a6df461399e4c96d67d008792a3798885aa93d4cf46 |
|
MD5 | 83eef1cffff85505bc1b96bc7a3633d8 |
|
BLAKE2b-256 | d223209761bd09214e6d6745df956d5aa0606ee7d4b038d5191d66e77d933a2d |