Dr. Andri Dwi Setiawan, Dr. Armand Omar Moeis, M.SC: Group 9
Dr. Andri Dwi Setiawan, Dr. Armand Omar Moeis, M.SC: Group 9
Dr. Andri Dwi Setiawan, Dr. Armand Omar Moeis, M.SC: Group 9
Group 9
DBSCAN Objective
Find the high density cluster core samples. Beneficial for data that comprises DBSCAN has 2 main advantages which make it well-suited for
dense clusters. maritime trajectory clustering.
1 Gives good results since it can find clusters of any shape and is
reliable at spotting outliers.
DBSCAN demonstrates huge potentials to be applied on marine trajectory
clustering (Liu, 2015)
2 Before executing the algorithm, users are not required to input the
anticipated number of clusters.
Find the shortest (most economical) route passing through all the points and TSP has 2 main advantages which make it well-suited for maritime
returning to the starting point (home port) trajectory clustering.
Perintis Shipping The names of the ports served by perintis shipping on each route in the
PT. PELNI
Serviceable Ports Maluku Islands region
Perintis Shipping PT. PELNI Perintis shipping routes that connects each of the ports in the Maluku
Routes Islands Region
The time needed for one round voyage on each perintis shipping route in the
Route Round Voyage PT. PELNI
Maluku Islands region (in units of days)
Shipping Route The distance traveled by one round voyage on each perintis shipping route
PT. PELNI
Travel Distance in the Maluku Islands region (in nautical miles)
Port Coordinates The latitude and longitude coordinates of the port served by perintis
Google Earth
shipping in the Maluku Islands region
Port-to-port Mileage PT. PELNI and The mileage data formed in the origin destination matrix corresponding to
Aquaplot the actual voyage distance in nautical miles
Step-by-Step Guide
The required datasets are presented along with its sources. The primary and secondary data are obtained from PT
PELNI, Aquaplot and Google Earth
Gather the Longitude and Latitude data of each and every one of the ports in the
1 existing route(s) Google Earth Excel
Transform the Excel file into a readable .csv file (make sure that the longitude and
2 latitude are exactly the same as in GEarth) Google Earth Excel
Input the Python DBSCAN syntax with the .csv as the main data input. (MinPts
3 and Eps are adjustable depending on the routes) Excel Python
After the newly formed clusters are collected, reintroduce the noise(s) into the Google
4 new clusters following specific rules. PT. PELNI
Earth
Identify the distances between each ports in the newly adjusted clusters, and from PT. PELNI,
5 the Origin-Destination Matrix. Aquaplot
Excel
Input the OD Matrix values into the Python TSP Syntax manually, and adjust the
6 assumptions accordingly.
Excel Python
Data Collection
Along with the information from PT. PELNI, other sources include port coordinates from Google Earth and distances
between ports from Aquaplot
Google Earth is a computer program that renders a 3D Data collection of travel distance between perintis shipping ports
representation of Earth based primarily on satellite imagery.
Google Earth Interface Secondary Data: Travel distance between ports from PT
2 Pelni (only available datas are route distances on the perintis
Port name serviceable routes)
and
location
Aquaplot Illustration on gathering primary data.
Longitude
and
Latitude
Port
coordinat Sea Travel
es Distance
(nautical
miles)
In order to calculate the distance between each port, the port coordinates are next used.
The clustering procedure makes use of the longitude and latitude.
Source: Aquaplot
Source: Google Earth
Data Collection
We collect the data of 3 operating perintis route in the Maluku Island region consisting of 17 different ports
Route Detail and Spesification Google Earth illustration of serviceable perintis shipping ports
in the Maluku Islands Region
Round R-58 R-59 R-60
Number of Voyage
Route Ports Mileage (NM)
Ports Time
(days)
With the average voyage duration of more than 13 days, The difference in the visit frequency between ports is also huge.
completing all 3 route will take 41 days to do. With some port receives 6 visit while others receive only 1 per
trip
Making the frequency of voyage that can be done roughly about
only 2 trips every 3 months. This disparity between ports shows an imbalance in the route
management
The OD Matrices will be generated from the new cluster created based on the
DBSCAN result, resulting in a newly improved path for the route
Number of Ports:
Method Framework
18 Unique Ports Collect old route data Create new cluster Generate clusters’ OD
Expanding throughout the Maluku using DBSCAN Matrix
Region
New and improved Generate new path
route created using TSP
Language
Python using Google Colab
environment
Modules/Library
Parameter: Scikitlearn’s Clustering
(sklearn.cluster)
4 Cluster 2 Points
3 4
Data Processing
Next Step, We put the Noise Ports into other Cluster based on Expert Judgements
Before After
Cluster 1
Cluster 1
Noise
Cluster 2
Interconnection
between three
Noise ports are are
clusters
assigned to other
Cluster 2
clusters.
Cluster 3
Cluster 3
Changes Done
2 Interconnection of cluster 1 and 3 are fulfilled through the sharing of the Banda Port 1 5
2 7
3 Interconnection of cluster 2 and 3 are fulfilled through the sharing of the Larat Port 3 6
Data Processing
Then, we find the route with the shortest distance for each cluster using the Traveling Salesman Problem
What is Travelling The traveling salesman problem (TSP) is an algorithmic problem tasked with finding the shortest route between a set of points and
Salesman Problem? locations that must be visited
Step by Step
CLUSTER 1 R-58
Assumptions that we
use when processing
data
Speed
8 Knots
Docking Time
1 Hour
Rerouting
24 Hours
Number of Port :
5 Ports
With Banda Port as the
interconnection port
Path Taken
(0) Banda (1) Ambon (2) Ambalau (3) Namrole (4) Leksula
CLUSTER 2 R-59
Assumptions that we
use when processing
data
Speed
8 Knots
Docking Time
1 Hour
Rerouting
24 Hours
Number of Port :
7 Ports
With Larat Port as the
interconnection port
Path Taken
(0) Tepa (2) Seira (1) Saumlaki (3) Tutukembong (4) Larat
CLUSTER 3 R-60
Assumptions that we
use when processing
data
Speed
8 Knots
Docking Time
1 Hour
Rerouting
24 Hours
Number of Port :
6 Ports
With Larat Port as the
interconnection port
Path Taken
(0) Elat (1) Tual (2) Banda (5) Larat (3) Batu Goyang
(4) Dobo
Maximum Round
# of Mileage Round Voyage
Cluster Route Voyage Time Status
Ports (NM) Time (days) Total Distance Travelled
(days)
For all Clusters :
Verification Validation
The model runs without error and produces an VALIDATE The optimization model produces a route that
objective function value VERIFIED visits each point once
D
The coding process does not show any errors in VALIDATE The optimized route starts and ends at the same
the script code VERIFIED point
D
Number of ports per cluster Mileage (NM) Round Voyage Time (days)
Route # of Ports Round Voyage Mileage (NM) Cluster # of Ports Round Voyage Mileage (NM)
International benchmarks indicate that logistics costs in Indonesia are still higher
than other countries, with 23.7% of GDP. The government try to reduce this cost by
enabling Integrated Port Network (IPN). Optimizing the shipping route is one of the
Background strategy of IPN.
The research carried out has succeeded in achieving the research objective, namely
reducing the mileage and the round voyage duration in the region studied.
Al-fuqaha, A. (2014). Partitional(K-means), hierarchical, density-based (DBSCAN). Clustering Analysis. Retrieved December 20, 2022, from
https://cs.wmich.edu/~alfuqaha/summer14/cs6530/lectures/ClusteringAnalysis.pdf
Badan Pusat Statistik. (2021). Statistik Transportasi Laut 2020.
Breitkreutz, D., & Casey, K. (2008). Clusterers: a comparison of partitioning and density-based algorithms and a discussion of optimisations.
Chapter 11 branch and bound, search tree methods†. (1973). Mathematics in Science and Engineering, 189–222. https://doi.org/10.1016/s0076-5392(08)62013-5
Chládek, P., & Smetanová, D. (2018). Travelling Salesman Problem Applied to Black Sea Ports used by Czech Ocean Shipping Companies. Naše More, 65(3), 141–
145. https://doi.org/10.17818/nm/2018/3.2
Consulate general of the Republic of Indonesia in Vancouver, Canada. Kementerian Luar Negeri Repulik Indonesia. (n.d.). Retrieved October 4, 2022, from
https://kemlu.go.id/vancouver/en/pages/indonesia_at_a_glance/2016/etc-menu#:~:text=INDONESIA%2C%20the%20largest%20archipelago%20in,which%20a
bout%206%2C000%20are%20inhabited