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. select
  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. enter

Output results of the package.

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

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.7.tar.gz (6.9 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.7-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: simspy-1.0.7.tar.gz
  • Upload date:
  • Size: 6.9 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.7.tar.gz
Algorithm Hash digest
SHA256 214eaef16b00f20f40f3efff4ab94a7ddf6c1e76238af7c471716d971777adaf
MD5 74eaacd42576f3dede2b1ae2a84b9373
BLAKE2b-256 fb033737a74fab567fcb3cedbd678c6b0cabe8ac469936c676f0d2fc8bb6dbaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: simspy-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4ff3887e60b4fbd7734b02b37b9d5bfd7df17921a41c6a0cc5545d396c1153
MD5 1b222114316f61ee230e3ef22c0f3e46
BLAKE2b-256 ad2711a2c64cc4f1f012246fa14f3553f2d0d3f1c7b059ac2800569e7127b1ce

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