Skip to main content

The onnx_to_gurobi is a Python library that creates Gurobi models for neural networks in ONNX format.

Project description

Overview

The ONNX-To-Gurobi is a Python library that creates Gurobi models for neural networks in ONNX format.

The library has been designed to allow easy extensions, and it currently supports the following ONNX nodes:

  • Add
  • Sub
  • MatMul
  • Gemm
  • ReLu
  • Conv
  • Unsqueeze
  • MaxPool
  • AveragePool
  • BatchNormalization
  • Flatten
  • Identity
  • Reshape
  • Shape
  • Concat
  • Dropout

Installation

Gurobi is not installed automatically. Please install it manually using: conda install -c gurobi gurobi

Afterward run the following: pip install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple onnxgurobi

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

onnxgurobi-0.1.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onnxgurobi-0.1.1-py3-none-any.whl (51.3 kB view details)

Uploaded Python 3

File details

Details for the file onnxgurobi-0.1.1.tar.gz.

File metadata

  • Download URL: onnxgurobi-0.1.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for onnxgurobi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d5abc7dd5d1fababf3fa4f0031479020c3ef21a566755e073a5c529e72685c02
MD5 695d827cd24d25758b49b5c6ba284ee1
BLAKE2b-256 1aa517267ad68de17fa9f0177985d6267b92579c6c176bea8312fc0b124f5c53

See more details on using hashes here.

File details

Details for the file onnxgurobi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: onnxgurobi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 51.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for onnxgurobi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4aece1be3c2c61da5d5dce455b397125dd474de3840c3891fa7cd39ba4a13447
MD5 b89ee09e9356e59e58f686e29e29f2ff
BLAKE2b-256 3669a9c9d290cb776864eaaefdfe228a826256144e2e4b18b9bf9d579ea09a73

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