Skip to main content

SIMSPY is an 8-function package that can only solve single machine scheduling problems

Project description


This package is specifically designed for solving single-machine scheduling problems. It comprises a total of 8 functions, including 7 heuristic functions and 1 metaheuristic function.

Heuristic Method

  • Earliest Due Date (EDD) Rule
  • Shortest Processing Time (SPT) Rule
  • Largest Penalty per Unit Length (LPUL) Rule
  • Shortest Processing Time and LPUL Rule
  • Shortest Weighted Processing Time (SWPT) Rule
  • Largest Weight (WT) and LPUL Rule
  • Critical Ratio (CR) Rule

Metaheuristic Method

  • Genetic Algorithm (GA)

Data Input

This package requires 3 essential data inputs: Processing Time, Due Date, and Penalty.

Function Description
fc_edd Sort the job sequences using the Earliest Due Date Rule by arranging the jobs in ascending order based on their due dates.
fc_spt Sort the job sequences using the Shortest Processing Time Rule by arranging the jobs in ascending order based on their processing times.
fc_lpul Sort the job sequences using the Largest Penalty per Unit Length Rule by arranging the jobs in descending order based on their U value, which is obtained by dividing the penalty by the processing time.
fc_spt_lpul Sort the job sequences using the Shortest Processing Time and LPUL Rule by arranging the jobs in ascending order based on their processing times. In case of a tie, use the LPUL Rule.
fc_swpt Sort the job sequences using the Shortest Weighted Processing Time Rule by arranging the jobs in ascending order based on their S value, which is obtained by dividing the processing time by the penalty.
fc_wt_lpul Sort jobs using the Largest Weight Rule LPUL Rule by arranging the jobs in ascending order based on their penalty. In case of a tie, use the LPUL Rule.
fc_cr Sort the job sequences using the Critical Ratio Rule by arranging the jobs in ascending order based on their CR value.
fc_ga Sort the job sequences using the Genetic Algorithm by arranging the jobs in a way that minimizes the total penalty.

How to install

  1. To install the package, execute the following command:
    pip install simspy
    
  2. To import the package, execute the following command:
    import simspy
    
  3. Click on the "Run" button. The package will display a window where you can select the method and specify the number of jobs, as well as an empty box to input the data.

How to use

Input parameters of the package.

  1. After importing the package, a window will appear for selecting the method and entering the required number of job schedules.

  2. Upon clicking the "OK" button, a window will appear for entering job data for each schedule. After entering the data, click the "Sort Job" button to proceed.

Output results of the package.

  1. The result will be displayed as shown in the image below.

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

simspy-1.0.5.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

simspy-1.0.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file simspy-1.0.5.tar.gz.

File metadata

  • Download URL: simspy-1.0.5.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for simspy-1.0.5.tar.gz
Algorithm Hash digest
SHA256 3de1b162411f674c1dd85e53d8a556254b1cf74c68e16ba565c80944b797b6ee
MD5 39c8683b30f89a608d7e932d9318100c
BLAKE2b-256 1cf9b80f8ba024bbbfc44513270969992c8cea00ebd97e587f0ffb710ea80961

See more details on using hashes here.

File details

Details for the file simspy-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: simspy-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for simspy-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ecbdc4eff4c67ca4dc52f8b5101f254eb0d87387a0e845fe0b3ce458ff634e9
MD5 445f140d3cee2ad9849b608a189a0305
BLAKE2b-256 e8ab9d3dcf865c8759a1d8103438b266fb775604077432145f29725c87ac1c42

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