Skip to main content

Solver Arena

Solver Arena is an open-source library designed to facilitate the performance comparison of different solvers in optimization problems. The library abstracts the implementation of solvers, allowing users to input a list of MPS files and choose the desired solvers with their respective parameters.

Installation

To install the library from PyPI, you can use pipenv with one of the following commands:

  1. Basic Installation (only the main library):

    pipenv install solverarena
    
  2. Installation with a Specific Solver:

    If you want to install the library along with a specific solver, you can use:

    pipenv install solverarena[highs]      # To install with Highs
    pipenv install solverarena[gurobi]     # To install with Gurobi
    pipenv install solverarena[scip]       # To install with SCIP
    pipenv install solverarena[ortools]    # To install with OR-Tools
    
  3. Installation with All Solvers:

    If you want to install the library along with all available solvers, use:

    pipenv install solverarena[all_solvers]
    

Usage

To use the library, you can refer to the example folder, which contains a basic implementation. Here is an example of how to use arena_solver:

from solverarena import run_models

if __name__ == "__main__":
    mps_files = [
        "examples/mps_files/model_dataset100.mps",
    ]

    solvers = {
        "highs_default": {
            "solver_name": "highs",
            "presolve": "on",
            "time_limit": 3600,
            "solver": "ipm"
        },
        "highs_no_presolve": {
            "solver_name": "highs",
            "presolve": "off",
            "time_limit": 1800,
            "solver": "simplex"
        }
    }

    results = run_models(mps_files, solvers)

Metadata

Release files for solverarena 0.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solverarena 0.2.7
File Size Uploaded Provenance Actions
solverarena-0.2.7.tar.gz 14.3 kB Without provenance Details for solverarena-0.2.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solverarena 0.2.7
File Interpreter ABI Platform Actions
solverarena-0.2.7-py3-none-any.whl Python 3 none any Details for solverarena-0.2.7-py3-none-any.whl

Total release size: 32.2 kB

Release files / solverarena-0.2.7.tar.gz

Download URL solverarena-0.2.7.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8e2ffc633bcf34cfdb783eec58096e46e769701f847a62bedce48fd4ddfd6b5c
BLAKE2b-256 checksum
How to use checksums
b19df3287fb89ea6acf22a7d684b2f05322766ea4350c1878f3a18e000161c85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / solverarena-0.2.7-py3-none-any.whl

Download URL solverarena-0.2.7-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2af8af5bd31e8eebfc80aac4d8e121477ac6ba0799cefc2a1717db4319e31b4
BLAKE2b-256 checksum
How to use checksums
e3fa91b0446126fd8d0132eb6879ba95ec97f655c304d7d1c5aca4637322615c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for solverarena 0.2.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page