Skip to main content

Production planning and optimization engine using linear programming to balance supply with demand while minimizing costs and respecting resource constraints

Project description

Balance Engine Optimization Icon
Balance Engine

A Python/Rust module for production planning and optimization using linear programming.

Balance Engine automates calculations to balance production with demand, allowing for precise and efficient planning while reducing costs. It uses linear programming modeling to optimize resource allocation in limited production cycles.

The tool handles key production variables including:

  • Yielded Supply
  • On Hand (Finished Goods)
  • Safety Stock Targets
  • Sellable Supply
  • Effective Demand
  • Total Projected Inventory Balance

Installation

pip install balance-engine

Features

  • Hybrid Architecture: Core optimization in Rust for performance, Python API for flexibility
  • Production Planning: Balance supply with demand while respecting capacity constraints
  • Inventory Management: Calculate optimal inventory levels that meet safety stock requirements
  • Resource Allocation: Efficiently allocate limited resources in production cycles

Project Structure

  • Rust Core: High-performance linear programming solver
  • Python Interface: Easy-to-use API for integration with data analysis workflows
  • Example Code: Sample implementations for common production planning scenarios

Building from Source

# Clone the repository
git clone https://github.com/yourusername/balance-engine.git
cd balance-engine

# Build the package
maturin develop

# Run tests
pytest python/tests

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

balance_engine-0.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

balance_engine-0.0.1-cp310-abi3-win_amd64.whl (117.0 kB view details)

Uploaded CPython 3.10+Windows x86-64

File details

Details for the file balance_engine-0.0.1.tar.gz.

File metadata

  • Download URL: balance_engine-0.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for balance_engine-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9dabacd7837915c18ad02ebfc198fe22c6e97a040d87a3672abf6cd798e1df73
MD5 ff442baf28d0babafc41dab39ece9a06
BLAKE2b-256 93a22af77edee4ec6736dec1687aa19bc008932968aedae098bb3514ea5f9f27

See more details on using hashes here.

File details

Details for the file balance_engine-0.0.1-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for balance_engine-0.0.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1f99ce517ab6daf457c24079eb1ca18f57e1d0d37eef34b20101853e38d840ad
MD5 c0f635a2b4309d8ea96e3e2d4bca4a20
BLAKE2b-256 156506a97fb935c2d09d9b2fb288840c5d8b8e93968f0336a55c81d2101d5fbe

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