Solving SOP with SA, GRASP, Tabu Search algorithms.
The Sequential Ordering Problem (SOP) with precedence constraints consists of finding a minimum weight Hamiltonian path on a directed graph with weights on the arcs and on the nodes, subject to precedence constraints among nodes.
TSPLIB is a library of sample instanes for the TSP (and related problems) from various soures and of various types. Instanes of the following problem classes are available:
All the algorithms are designed base on the Lexicographic Search using forwarding and back warding path-preserving-3-exchange as explained in An Ant Colony System Hybridized with a New Local Search for the Sequential Ordering Problem paper.
Just go to related algorithm directory and run the python code. example:
cd ./SA
python main.py
All results and comparing analyze are presented in Report.pdf files. overal algorithms comparisons result is as follow:
Instance | BKS | best | average | worst | avg_time |
---|---|---|---|---|---|
ESC78.sop | 18230 | 18250 | 18400.5 | 18400.5 | 1.7924 |
susan.260.158.sop | 1016 | 1123 | 1128.8 | 1136 | 8.6370 |
R.200.100.1.sop | 61 | 340 | 402.3 | 453 | 28.773 |
Instance | BKS | best | average | worst | avg_time |
---|---|---|---|---|---|
ESC78.sop | 18230 | 20405 | 20895 | 21220 | 3.8190 |
susan.260.158.sop | 1016 | 1123 | 1128.8 | 1136 | 8.6370 |
R.200.100.1.sop | 61 | 393 | 448.7 | 483 | 56.704 |
Instance | BKS | best | average | worst | avg_time |
---|---|---|---|---|---|
ESC78.sop | 18230 | 18515 | 18967.5 | 19325 | 1.8291 |
susan.260.158.sop | 1016 | 1043 | 1061.7 | 1078 | 1.3065 |
R.200.100.1.sop | 61 | 489 | 595.5 | 651 | 27.902 |
Painting by recording the gesture of your hands. Gestures include movement of the hands, face, or other parts of the body
Multi-class confusion matrix library in Python
Open AI Gym Environment For MIMIC Dataset Sepsis Patient
A Smart, Automatic, Fast and Lightweight Web Scraper for Python
Artificial Intelligence Course 1st Project: Implementing searching algorithms like IDS, BBFS and A* from scratch in order to find optimal path
Rachel is an assistant !
A PHP Framework For Creating Autonomous Slack Bots
This repo is meant to serve as a guide for Machine Learning/AI technical interviews.