Skip to main content

LINE Solver for Python

This folder includes the Python version of the LINE solver.

Installation

Requirements: Python 3.11 or later.

Install from PyPI with:

pip install line-solver

Alternatively, install from source by running pip install . in this folder.

Documentation

The Python syntax is nearly identical to the MATLAB one, see for example the scripts in the Python examples/gettingstarted/ folder compared to the ones in the corresponding MATLAB examples/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    Source     Class1    0.0   0.0    0.0     0.0   0.5
1     Queue     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.

License

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

line_solver-3.0.6.0-py3-none-any.whl (40.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for line_solver-3.0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd862500a24f1d501b4253e3690fa14316c385360fbed7bc3629818e219f3608
MD5 1fa877c3b276034383d47dc6a7db57eb
BLAKE2b-256 4b596cfa2fd4834a25d009ea1903b7d5c54ea43f9610626155c8f72a65421d26

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.7.0

1 file

This release

3.0.6.0 This release

1 file

3.0.5.0

1 file

3.0.4.3

1 file

3.0.4.2

1 file

3.0.4.1

2 files

3.0.4.0

2 files

3.0.3.8

2 files

3.0.3.7

2 files

3.0.2.1

2 files

2.0.40.0

2 files

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