Research

From 2014, I have actively engaged in research in the fields of meta-heuristic optimization, nature inspired computing and machine learning.

Theses / Dissertations

Department of Computer Science, Faculty of Graduate Studies, University of Sri Jayewardenepura, Sri Lanka. (2018)

Abstract

This thesis focuses on applying nature inspired algorithms for finding roots of systems of nonlinear equations. The developments have been done to solve single variable nonlinear equations, systems of nonlinear equations and in applying a self-tuning framework on tuning the parameters of the algorithms that are used for problem solving.

Fields including Engineering, Mathematics, Chemistry, Computer Science and Economics often encounter applications of univariate as well as systems of nonlinear equations. Providing solutions for such is challenging and the common method of solving them is the use of numerical methods. Numerical methods often have requirements to be fulfilled to begin with the process of finding approximations. The use of different optimization techniques in such situations have been widely applied in all fields of Engineering as the capabilities of computers continue to increase. The remarkable performance of nature inspired algorithms over other optimization techniques encourages researchers to apply them to various optimization problems. Recently developed algorithms like firefly algorithm, bat algorithm and artificial bee colony have shown their success over many difficult optimization tasks where other optimization techniques fail.

From the initial study, strengths and weaknesses of such algorithms were identified. Particularly, the firefly algorithm was identified as a suitable algorithm for the problem. This was later improved to solve univariate nonlinear equations having complex roots. The main consideration was paid on two important tasks; finding almost all real and complex roots within a reasonable range and omit the necessity of the continuity and differentiability of the functions which is essential for many numerical methods. While applying the firefly algorithm as the suitable metaheuristic algorithm, modifications to the original algorithm have been proposed also to identify solutions simultaneously (through archiving) and to identify the poorly performed populations (through a counter variable). Once completing a moving round by all fireflies, better ones (whose fitness is easured against a predefined threshold) are noted and are put into an archive. Poor populations (which have not contributed to the archive) are identified at a predefined point and new fireflies are introduced to the population in a random manner. This random replacements enhance the exploration property. The proposed new firefly algorithm is named as Modified Firefly Algorithm (MODFA) to solve nonlinear equations.

Finding roots of a univariate nonlinear equation can be considered as a single objective problem, while finding roots of a nonlinear system can handle in either; as single objective or multi- objective. The current approach for handling multi-objective optimization problems is to employ the concept of Pareto optimality. But with the MODFA, finding roots of a system of nonlinear equations is handled as a single objective optimization problem. The new concept of archiving is introduced and with that, within a single run of the algorithm, many solutions can be obtained simultaneously. Another concept used here is a self-tuning framework which is used to tune the parameters of the used nature inspired algorithms. The purpose of using it for the study is to let the users use the algorithm without having knowledge about algorithm specific parameters. This is named as Self Tuning Modified Firefly Algorithm (STMODFA).

The performance of the newly proposed algorithm, is evaluated by comparing it with other algorithms such as genetic algorithms, particle swarm optimization Algorithm, differential evolution , harmony search, cuckoo search algorithm. According to the results obtained with these, it has been shown that the MODFA demonstrates better performance than the other nature inspired algorithms. It is hardly seen the ability of finding roots simultaneously by other algorithms.

Since representations can be easily handled, all implementations were implemented using MATLAB. For almost all univariate and systems of nonlinear equations, the accuracy of an approximation is set as 10^−2. Because the study focuses more on finding as many roots as possible within a single run. To increase the accuracy, later in this research, the concept of hybridization has been introduced. Hybrids of MODFA have been built with numerical as well as natural optimization techniques. This concept gave successful results enabling MODFA to find roots simultaneously with a high accuracy around 10^−12.

Keywords
Nature inspired algorithmsFirefly algorithmComplex rootsSystems of nonlinear equationsSelf-tuning frameworkArchiveRoot approximations

Department of Computer Science, Faculty of Applied Sciences , University of Sri Jayewardenepura, Sri Lanka. (2012)

Abstract

The processes of optimization can be defined simply as an attempt of making something better or finding the best solution for a maximization or minimization problem.

The basic two approaches of optimization are classical and natural where in some problems classical approach works better and for some other problems natural methods are good.

Natural optimizing techniques, which are extracted from the behavior of natural world, are known as Nature Inspired optimization techniques. Ant colonies which mimic the natural food finding behavior of ants, particle swarm optimizations algorithms which takes the advantage of schooling behavior of fish or flocking behavior of birds are some examples for them.

In this research, the main purpose is to measure the optimizing performance of such nature inspired algorithms with one new nature inspired algorithm known as firefly inspired algorithm, which came to the stage, extracting the flashing behavior of fireflies.

Two major areas of nature inspired algorithms are evolutionary strategies and swarm intelligence. An evolutionary algorithm (EA) is a generic population-based metaheuristic optimization algorithm. An EA uses tools motivated by biological evolution: reproduction, mutation, recombination, and selection.

Swarm intelligence is another problem solving behavior, inspired by nature that emerges from the interaction of individual agents (e.g., bacteria, ants, termites, bees, spiders, fish, and birds) which communicate with other agents by acting on their local environments.

For this research, genetic algorithms is taken as an algorithm from evolutionary strategies and Ant colonies, particle swarm optimization from swarm intelligence to make the comparison with the firefly inspired algorithm, which is also an algorithm that belongs to swarm intelligence.

Travelling salesman problem, which is a representative of NP hard problems, was taken as the bench mark problem to employ all these algorithms.

Each algorithm was used to solve four TSP instances with 16, 29, 51 and 100 cities taken from the TSPLIB and statistics were taken appropriately. Another 5 instances of 29 cities were generated randomly and results were calculated for all four algorithms. The results of the study were manipulated using Matlab 2008.

For all 9 TSP instances, firefly algorithm gave the best results and sometimes ant colony systems too. Particle swarm optimization algorithm always scores the third place and Genetic algorithm performs last.

With the results obtained, it can be clearly said that the firefly algorithm is remarkably successful and better than other three algorithms in its discrete version.

Keywords
Firefly AlgorithmGenetic AlgorithmsParticle Swarm Optimization AlgorithmAnt Colony SystemsTravelling Salesman ProblemEvolutionary Discrete Firefly Algorithm [EDFA]Nature Inspired Algorithms

Faculty of Information Technology and Communication Sciences, Tampere University, Finland.

On going

Currently reading...

On-going Undergraduate Research Projects

B.Sc. (Special) Degree in Computer Science (2025)

Supervisors
MKA Ariyaratne
Ravindra De Silva

On-going Postgraduate Research Projects

Ph.D. Degree in Computer Science (2020 - present)

Supervisors
TGI Fernando
MKA Ariyaratne

Undergraduate Research Projects Supervised

B.Sc. (Special) Degree in Computer Science (2022)

Supervisors
MKA Ariyaratne
Abstract

Cluster analysis can be defined as applying clustering algorithms with the goal of finding hidden patterns or groupings in a dataset. Different clustering methods may provide different solutions for the same dataset. Traditional clustering algorithms are popular, but handling big data sets is beyond the ability of such methods. We propose three big data clustering methods, based on the Firefly Algorithm (FA). Three different fitness functions were defined on FA using inter cluster distance, intra cluster distance, silhouette value and Calinski-Harabasz Index. The algorithms find the most appropriate cluster centers for a given data set. The algorithms were tested with nine popular synthetic data sets, one medical data set and later applied on two badminton data sets to identify different playing styles of players based on physical characteristics. The results specify that the firefly algorithm could generate better clustering results with high accuracy. The algorithms cluster the players to find the most suitable playing strategy for a given player where expert knowledge is needed in labeling the clusters. Comparisons with a PSO based clustering algorithm (APSO) and traditional algorithms point out that the proposed firefly variants work similarly as the APSO method and surpass the performance of traditional algorithms.

B.Sc. (Special) Degree in Computer Science (2022)

Supervisors
MKA Ariyaratne
Abstract

Changes in eye movements have a strong relationship with the changes in the brain. Several medical studies have revealed that in most CNS disorders, ocular manifestations are often associated with brain symptoms. To date, computational intelligence has not been used to study the relationship between eye movements and brain disorders. We propose a support vector machine (SVM) based machine learning solution to identify, five disorders related to the central nervous system; Amyotrophic Lateral Sclerosis (ALS), Multiple Sclerosis (MS), and Alzheimer’s Disease (AD), Parkinson’s Disease (PD), and Schizophrenia. Apart from the SVM, the proposed solution handles two major problems which occur in the data preprocessing stage; insufficiency of real eye test data and finding optimal features set for a particular disorder. An algorithm is developed to generate synthetic data and to find the optimal features set for a particular disorder, a solution based on particle swarm optimization is proposed. We trained the SVM models using the generated synthetic data and tested with the real data. The proposed system based on SVMs with linear, polynomial, and RBF kernels were able to identify the stages of the disorders, as diagnosed in medical studies. The SVM with the RBF kernel worked with an accuracy of 97% in identifying the existence of a CNS disorder. In classifying the stages of ALS, the linear kernel worked with an accuracy of 77% while the polynomial kernel worked with an accuracy of 100%, 90%, and 64% in classifying stages of MS, AD, and Schizophrenia. For PD, SVMs with all kernels gave an accuracy of 96%. The results are encouraging, giving sufficient evidence that the proposed system works better. We further illustrate the viability of our method by comparing the results with those obtained in previous medical studies.

B.Sc. (Special) Degree in Computer Science (2022)

Supervisors
MKA Ariyaratne
Abstract

The apparel industry is facing the challenge of minimizing production costs, with fabric cost being a significant expense. To address this challenge, this research focuses on developing high-speed processing algorithms for the Cut Order Plan (COP) in the apparel industry, aiming to generate near-optimal solutions that reduce fabric wastage and enhance profitability. By considering mathematical constraints and fabric characteristics, efficient COPs can be produced to minimize fabric cost, labor cost, and cutting time. This study proposes a genetic algorithm-based approach for cut order planning and cut panel nesting, addressing the limitations faced by existing commercial software. The research objectives include studying the garment industry’s production flow, exploring genetic algorithm and optimization techniques, investigating bin packing problems and vector graphics, evaluating the model’s performance, and comparing it with existing solutions. The ultimate goal is to apply genetic algorithms to produce optimal Cut Order Plans, reduce fabric waste, and increase business profits in the textile industry.

B.Sc. (Special) Degree in Computer Science (2022)

Supervisors
MKA Ariyaratne
Abstract

Under machine learning, reinforcement learning (RL) has become a powerful machine learning technique aimed at maximizing an agent’s rewards over time by learning an optimal policy. However, achieving a balance between exploration and exploitation poses a challenge for RL agents. Existing action selection methods often require fine-tuning exploration parameters or involve computationally intensive processes to converge to optimality. To address these limitations, the integration of nature-inspired algorithms with RL has emerged as a promising approach. This research presents a comparative study on the performance of nature-inspired algorithms for finding optimal policies in RL. In this study two novel action selection methods, GWAS and EE-GWAS, inspired by the Grey Wolf Optimization algorithm, are proposed. GWAS applies the canonical Grey Wolf Optimization algorithm, while EE-GWAS enhances it with a specialized exploration parameter. The study also includes a re-implemented CAS action selection method, introduces a novel variant of CAS, and benchmarks against the epsilon greedy method. Experimental results highlight the significance of the exploration parameter in EEGWAS, which effectively balances exploration and exploitation, leading to optimized performance. The findings demonstrate that EE-GWAS consistently achieves above 50% performance in obtaining the optimal policy.

B.Sc. (Special) Degree in Computer Science (2021)

Supervisors
MKA Ariyaratne
Abstract

Long-distance power transmission is one of a main ways of losing power. Completely avoiding power loss in transmission is not possible. But this loss can be minimized. One way of minimizing power lost in transmission is increasing the thickness of transmission cables. But there is a problem with increasing thickness. That is the initial cost of the cable. When increasing thickness the cost also increases. The importance of finding an optimal cable thickness is a commonly discussed issue. It is so hard to find an optimal value manually. We are going to automate it using both deterministic and non-deterministic optimization algorithms. In this work, we represent this problem as an optimization problem and solve it using the Particle Swarm Optimization (PSO) algorithm and the Gradient descendant Algorithm. Comparisons carried out with the existing options revealed the success of the proposed approach.

B.Sc. (Special) Degree in Computer Science (2020)

Supervisors
MKA Ariyaratne
Abstract

The concept of multi-model optimization brings the idea of finding all or most of the existing high quality solutions. Recent research on multi-model optimization (MMO) seemed to be using nature inspired algorithms in solving such interesting problems. Multi-model traveling salesman problem is an important but rarely addressed discrete MMO problem. This paper proposes a hybrid algorithm combining the Ant Colony Systems algorithm (ACS) with a modified genetic algorithm (MODGA) to solve multi-model traveling salesman problems (MMTSPs). The concept of the hybrid algorithm divides the solution into two parts where ACS is used to find an average quality solution which is then provided as a threshold to the MODGA to find other quality solutions as much as possible. Benchmark multi-model TSP problems have been used on the new algorithm to test its capability. 70% of the success PR and 0.6% of success SR values indicates the capability of the method solving MMTSPs. The results compared with several state of the art multi-model optimization algorithms showed that the proposed hybrid algorithm performs competitively with these algorithms. As the first approach to solve MMTSPs without niching strategies, improvements will lead the current algorithm to a greater place.

Postgraduate Projects Supervised

M.Sc. Degree in Industrial Mathematics (2021)

Supervisors
G.H.J. Lanel
|
MKA Ariyaratne
Abstract

Home gardening is a highly deliberated topic in the current world as a consequence of social, economic, and environmental benefits. Due to the lack of mathematical applications in non-profit-based home gardens, this study is mainly focused on the social and environmental aspects of home gardening rather than focusing on the economic perspective. Therefore, this study was scrutinized in an urban city in Sri Lanka where home gardening is disparate from the economic perspective due to various reasons. In the initial stage of the research process, a novel approach to plant ranking was proposed under the concept of home gardening. The Genetic Algorithm (GA) and Integer Linear Programming (ILP) models were proposed in this study under two scenarios and implemented using both primary and secondary data. Implementation of GA was performed using MATLAB software and parameter values were determined by the trial and error method. The second scenario was accomplished through the ILP model along with sensitivity analysis using Excel Solver. Both methods provided optimum plant mix effectively and efficiently for the selected garden considering a horizontal space.