A web app that utilizes Evolutionary Programming to determine and prioritize tasks for efficient scheduling.
Priority Task Selection is a program to determine and prioritize tasks from given task options and the total time you have.
Sometimes we have a lot of tasks to do but our time is very limited, so we cannot do all the tasks and we have to pick some of the most important tasks from all of the tasks. This program helps you determine and choose which tasks are worth more to do than the others.
This program uses Evolutionary Programming algorithms to prioritize the most important tasks from a given list of tasks based on their priority scales.
-
Input:
- The number of tasks to do
- All of the task names
- All of the priority scales for each task
- All of the task completion times for each task (hours)
- Total time you have (hours)
-
Output:
- List of tasks we can do
- Total priority scales for all tasks we can do
- Total time required to do the tasks
Dashboard |
---|
Example Input Values on Forms |
Example Results |
Web App Priority Task Selection Using Evolutionary Programming: http://xxx.xxx
- HTML
- CSS
- Javascript
- Python
- Numpy
- Flask
- Evolutionary Programming
- Clone this repo
git clone https://github.com/LinggarM/Priority-Task-Selection-Using-Evolutionary-Programming
- Open the repo folder you have cloned in your PC
- Create a virtual environment
python -m venv myenv
- Activate the virtual environment
myenv/Scripts/activate or "myenv/Scripts/activate" (Windows) myenv/bin/activate (Linux)
- Install the requirements/ dependencies
pip install -r requirements.txt
-
Open CMD in Repository Folder
-
Run the web app by executing this command :
python app.py
or :
run Flask
-
Open the given URL
http://127.0.0.1:5000/
-
There are 5 inputs :
- The number of tasks (E.g: 10)
- All of the task names (E.g: Food1, Food2, Food3, ..)
- All of the priority scales for each task. Range: 1-5, 1 for the lowest prioritize and 5 for the highest prioritize (E.g: 5, 3, 1)
- All of the task completion times for each task in hours. (E.g: 1, 2, 3)
- Total time you have in hours. (E.g: 8)
-
Inputs example :
- First input: 10
- Second input: Making the bed, Washing the dishes, Washing clothes, Ironing clothes, Mopping the floor, Watering the plants, Bathing the cat, Filling the bathtub, Taking care of the children, Tidying up things
- Third input: 4, 3, 3, 2, 2, 1, 1, 1, 3, 2
- Fourth input: 1, 2, 3, 2, 2, 1, 1, 1, 3, 2
- Fifth input: 8
This project is licensed under the MIT License - see the LICENSE file for details
- Colorlib for HTML templates
-
Icons made by Freepik from www.flaticon.com