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.2.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.2-py3-none-any.whl (51.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onnxgurobi-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6f87b140a84d09486c9915f748cabbdab7adb82de85a3d97b5b980cb78463c7d
MD5 89b5aa50de9b3d5955b54e8b5dc8e7e5
BLAKE2b-256 e4d29ae739366bc3fe64a162040ffea8b0764ca8e00c628598023b4573e4a24b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onnxgurobi-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3228c713822a8a498fda56c09cd3dc32c87661e4d3e961ec84a66a4c1438c4ad
MD5 aa17fafc48192d8e8f46d0a22b43fae8
BLAKE2b-256 f5949e4db9207fd473636184c68d4c74104a4de975364fa764e7cbf02c9398ef

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