Skip to main content

Queueing theory algorithms in Python

Project description

LINE Solver for Python

This folder includes the Python version of the LINE solver.

Installation

Requirements: Python 3.10 or later.

Documentation

The Python syntax is nearly identical to the MATLAB one, see for example the scripts in the Python gettingstarted/ folder compared to the ones in the corresponding MATLAB gettingstarted/ folder.

A Python version of the manual is also available.

Example

Solve a simple M/M/1 model with 50% utilization running: python3 mm1.py. You should then get as output the following pandas DataFrame

    Station   JobClass   QLen  Util  RespT  ResidT  Tput
0  mySource     Class1    0.0   0.0    0.0     0.0   0.5
1   myQueue     Class1    1.0   0.5    2.0     2.0   0.5

Alternatively, you can open and run mm1.ipynb in Jupyter.

Getting Started Examples

The examples/gettingstarted/ folder contains tutorial examples demonstrating key LINE features. Notable examples include:

License

This package is released as open source under the BSD-3 license.

Version

This version is an early alpha release with support for basic models with open and closed classes. MVA, Fluid, MAM, and JMT solvers are mostly functional. Examples that have still some missing functionalities are marked as incomplete by a warning in the header.

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

line_solver-3.0.2.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

line_solver-3.0.2.1-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file line_solver-3.0.2.1.tar.gz.

File metadata

  • Download URL: line_solver-3.0.2.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.17.0-8-generic

File hashes

Hashes for line_solver-3.0.2.1.tar.gz
Algorithm Hash digest
SHA256 e6a74bb7be8f1fbbe518f63d5078944dbc40b9987145c3daae7f9ac368f5ffc5
MD5 46df4e91eb80cbe3435878b717f94af5
BLAKE2b-256 9eeb6860765ee2735c91a9c193b08fc309183f076261d982f08e0f9476b8a3cd

See more details on using hashes here.

File details

Details for the file line_solver-3.0.2.1-py3-none-any.whl.

File metadata

  • Download URL: line_solver-3.0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.17.0-8-generic

File hashes

Hashes for line_solver-3.0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ade10033daf125241252f5cce5efaa17283998e7bc21d074c06679f4742a5f9
MD5 11654eb54d354cd15b39646c6d6bcf0d
BLAKE2b-256 2692af41767f8e57a90a02f62d3b3b9c32cd4984fd436a7a0b9a3d2cc4217d57

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