This document is a project report describing the use of a genetic algorithm to solve a traveling salesman problem. It details how the genetic algorithm was implemented to find the optimal route for a honeymoon couple visiting multiple European countries, given the starting and ending countries. Key steps included image processing to obtain country coordinates, initializing a population of routes, evaluating routes using a fitness function, and applying genetic operators like selection, crossover and mutation over multiple iterations to converge on the shortest route. The genetic algorithm approach was found to be well-suited for the traveling salesman problem by providing good solutions efficiently.
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...ijmpict
Nowadays swarm intelligence-based algorithms are being used widely to optimize the dynamic traveling salesman problem (DTSP). In this paper, we have used mixed method of Ant Colony Optimization (AOC) and gradient descent to optimize DTSP which differs with ACO algorithm in evaporation rate and innovative data. This approach prevents premature convergence and scape from local optimum spots and also makes it possible to find better solutions for algorithm. In this paper, we’re going to offer gradient descent and ACO algorithm which in comparison to some former methods it shows that algorithm has significantly improved routes optimization.
According to Wikipedia point estimation involves the use of sample data to calculate a single value (known as a point estimate since it identifies a point in some parameter space) which is to serve as a "best guess" or "best estimate" of an unknown population parameter (for example, the population means).
Min-based qualitative possibilistic networks are one of the effective tools for a compact representation of
decision problems under uncertainty. The exact approaches for computing decision based on possibilistic
networks are limited by the size of the possibility distributions. Generally, these approaches are based on
possibilistic propagation algorithms. An important step in the computation of the decision is the
transformation of the DAG (Direct Acyclic Graph) into a secondary structure, known as the junction trees
(JT). This transformation is known to be costly and represents a difficult problem. We propose in this paper
a new approximate approach for the computation of decision under uncertainty within possibilistic
networks. The computing of the optimal optimistic decision no longer goes through the junction tree
construction step. Instead, it is performed by calculating the degree of normalization in the moral graph
resulting from the merging of the possibilistic network codifying knowledge of the agent and that codifying
its preferences.
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...Waqas Tariq
The face is the most extraordinary communicator, which plays an important role in interpersonal relations and Human Machine Interaction. . Facial expressions play an important role wherever humans interact with computers and human beings to communicate their emotions and intentions. Facial expressions, and other gestures, convey non-verbal communication cues in face-to-face interactions. In this paper we have developed an algorithm which is capable of identifying a person’s facial expression and categorize them as happiness, sadness, surprise and neutral. Our approach is based on local binary patterns for representing face images. In our project we use training sets for faces and non faces to train the machine in identifying the face images exactly. Facial expression classification is based on Principle Component Analysis. In our project, we have developed methods for face tracking and expression identification from the face image input. Applying the facial expression recognition algorithm, the developed software is capable of processing faces and recognizing the person’s facial expression. The system analyses the face and determines the expression by comparing the image with the training sets in the database. We have followed PCA and neural networks in analyzing and identifying the facial expressions.
Decision trees have been widely used in machine learning. However, due to some reasons, data collecting
in real world contains a fuzzy and uncertain form. The decision tree should be able to handle such fuzzy
data. This paper presents a method to construct fuzzy decision tree. It proposes a fuzzy decision tree
induction method in iris flower data set, obtaining the entropy from the distance between an average value
and a particular value. It also presents an experiment result that shows the accuracy compared to former
ID3.
Speech Emotion Recognition by Using Combinations of Support Vector Machine (S...mathsjournal
This document summarizes a research paper that evaluates different classification methods for speech emotion recognition, including Support Vector Machine (SVM), C5.0, and a combination of SVM and C5.0 (SVM-C5.0). The paper extracts features like energy, zero crossing rate, pitch, and MFCCs from speech samples in the Berlin Emotional Speech Database, which contains utterances expressing seven emotions. These features are classified using SVM, C5.0, and SVM-C5.0, and the results show that SVM-C5.0 performs best, achieving recognition rates between 5.5-8.9% higher than SVM or C5.0 alone depending on the number of emotions.
Machine learning session6(decision trees random forrest)Abhimanyu Dwivedi
Concepts include decision tree with its examples. Measures used for splitting in decision tree like gini index, entropy, information gain, pros and cons, validation. Basics of random forests with its example and uses.
A NEW APPROACH IN DYNAMIC TRAVELING SALESMAN PROBLEM: A HYBRID OF ANT COLONY ...ijmpict
Nowadays swarm intelligence-based algorithms are being used widely to optimize the dynamic traveling salesman problem (DTSP). In this paper, we have used mixed method of Ant Colony Optimization (AOC) and gradient descent to optimize DTSP which differs with ACO algorithm in evaporation rate and innovative data. This approach prevents premature convergence and scape from local optimum spots and also makes it possible to find better solutions for algorithm. In this paper, we’re going to offer gradient descent and ACO algorithm which in comparison to some former methods it shows that algorithm has significantly improved routes optimization.
According to Wikipedia point estimation involves the use of sample data to calculate a single value (known as a point estimate since it identifies a point in some parameter space) which is to serve as a "best guess" or "best estimate" of an unknown population parameter (for example, the population means).
Min-based qualitative possibilistic networks are one of the effective tools for a compact representation of
decision problems under uncertainty. The exact approaches for computing decision based on possibilistic
networks are limited by the size of the possibility distributions. Generally, these approaches are based on
possibilistic propagation algorithms. An important step in the computation of the decision is the
transformation of the DAG (Direct Acyclic Graph) into a secondary structure, known as the junction trees
(JT). This transformation is known to be costly and represents a difficult problem. We propose in this paper
a new approximate approach for the computation of decision under uncertainty within possibilistic
networks. The computing of the optimal optimistic decision no longer goes through the junction tree
construction step. Instead, it is performed by calculating the degree of normalization in the moral graph
resulting from the merging of the possibilistic network codifying knowledge of the agent and that codifying
its preferences.
Face Emotion Analysis Using Gabor Features In Image Database for Crime Invest...Waqas Tariq
The face is the most extraordinary communicator, which plays an important role in interpersonal relations and Human Machine Interaction. . Facial expressions play an important role wherever humans interact with computers and human beings to communicate their emotions and intentions. Facial expressions, and other gestures, convey non-verbal communication cues in face-to-face interactions. In this paper we have developed an algorithm which is capable of identifying a person’s facial expression and categorize them as happiness, sadness, surprise and neutral. Our approach is based on local binary patterns for representing face images. In our project we use training sets for faces and non faces to train the machine in identifying the face images exactly. Facial expression classification is based on Principle Component Analysis. In our project, we have developed methods for face tracking and expression identification from the face image input. Applying the facial expression recognition algorithm, the developed software is capable of processing faces and recognizing the person’s facial expression. The system analyses the face and determines the expression by comparing the image with the training sets in the database. We have followed PCA and neural networks in analyzing and identifying the facial expressions.
Decision trees have been widely used in machine learning. However, due to some reasons, data collecting
in real world contains a fuzzy and uncertain form. The decision tree should be able to handle such fuzzy
data. This paper presents a method to construct fuzzy decision tree. It proposes a fuzzy decision tree
induction method in iris flower data set, obtaining the entropy from the distance between an average value
and a particular value. It also presents an experiment result that shows the accuracy compared to former
ID3.
Speech Emotion Recognition by Using Combinations of Support Vector Machine (S...mathsjournal
This document summarizes a research paper that evaluates different classification methods for speech emotion recognition, including Support Vector Machine (SVM), C5.0, and a combination of SVM and C5.0 (SVM-C5.0). The paper extracts features like energy, zero crossing rate, pitch, and MFCCs from speech samples in the Berlin Emotional Speech Database, which contains utterances expressing seven emotions. These features are classified using SVM, C5.0, and SVM-C5.0, and the results show that SVM-C5.0 performs best, achieving recognition rates between 5.5-8.9% higher than SVM or C5.0 alone depending on the number of emotions.
Machine learning session6(decision trees random forrest)Abhimanyu Dwivedi
Concepts include decision tree with its examples. Measures used for splitting in decision tree like gini index, entropy, information gain, pros and cons, validation. Basics of random forests with its example and uses.
Este documento presenta un taller práctico sobre 10 claves para la implementación de tendencias y enfoques innovadores. El taller busca que los docentes identifiquen el cambio necesario para incorporar las TIC al aula y currículo. Incluye ejercicios para analizar habilidades del siglo XXI, políticas de acceso a TIC y principios educativos para la sociedad actual. El documento propone claves como observación, identificación de problemas e implementación de estrategias exitosas.
This document contains a resume for Ajay Chandrakant Rekha Chavan. It summarizes his career objective to pursue a challenging career in drug regulatory affairs. It outlines his core skills in regulatory and documentation work. It also details his professional experience working as a regulatory affairs trainee officer at Medibios Laboratories from 2016 to present and as a quality assurance officer at Glow Pharmaceuticals from 2015 to 2016. It provides information on his education and interests.
Mr. Rinchen Dorji provides his personal and employment profile. He received a Bachelor of Business Administration in Accounting from Gaeddu College of Business Studies, Royal University of Bhutan in 2011. He is currently pursuing a Master of Business Administration in International Business from Aligarh Muslim University. His experience includes working as an Assistant Lecturer at Gaeddu College from 2011-2015 and conducting research projects on topics related to rural housing, insurance, higher education, and business opportunities in Bhutan. He has attended several workshops and conferences on entrepreneurship, Gross National Happiness, and ethics.
This document describes a coreference resolution system created by Avani Sharma and Aishwarya Asesh. The system uses various techniques like exact matching, substring matching, abbreviations, gender, semantic classes, capitalization, pronouns, regular expressions, and appositives to resolve coreferences within a given text. The system achieved evaluation results of 60.46% on one test set and 61.11% on another. Areas for improvement include using external libraries and semantic categories.
The document describes several ecosystems found in northeastern Mexico, including marshes/bogs, the Rio Grande Basin, sea grass meadows, rainforests, deserts, grasslands, and ecosystem services. For each ecosystem, it lists important abiotic factors like temperature, water, and soil characteristics as well as common biotic factors such as plant and animal species.
Un mapa conceptual es una representación gráfica de las ideas y conceptos clave de un tema y las relaciones entre ellos. Se utilizan líneas y palabras clave para mostrar las conexiones entre conceptos principales y secundarios. Los mapas conceptuales ayudan a organizar y visualizar información de manera clara y concisa.
Este documento habla sobre la gerencia de proyectos y los roles principales involucrados como el director del proyecto. Explica las fases iniciales de un proyecto como la acta de iniciación y la fase de planificación donde se identifican áreas como alcance, tiempos y costos. También menciona la importancia de la planificación, ejecución y control del cronograma para satisfacer los objetivos del proyecto.
La Orquestra Simfònica del Vallès comenzó en 1987 como un proyecto musical para dotar de una orquesta al teatro de Sabadell. Sin embargo, pronto se hizo insostenible económicamente y estuvo a punto de fracasar. Los propios músicos decidieron entonces formar una sociedad anónima laboral para convertirse en los dueños de la orquesta. Veinte años después, la Orquestra Simfònica del Vallès es una realidad consolidada en el panorama cultural catalán, aunque todavía depende en gran medida
This document provides a summary of selected online tools for teaching and learning. It describes tools for content curation and development, sharing presentations, creating e-portfolios and magazines, creating videos, creating quizzes and mind maps, creating infographics, and tools for polling and social learning. For each category, 2-4 specific tools are listed along with a brief description and URL for each tool.
Este documento resume las principales tendencias tecnológicas en la educación superior y su gestión. Se describe el uso creciente de las TIC como las aplicaciones móviles, las tabletas y la educación en línea o a distancia. También se mencionan herramientas de colaboración como Skype, Google Talk y Dropbox que permiten el trabajo en equipo de los estudiantes universitarios.
Definición de tesauro
Formas de presentación del tesauro
Elementos del tesauro
Uso del tesauro
Sistemas automatizados
Los tesauros en el mundo digital
Referencias
Sensation is the detection of stimuli by sensory receptors and the conversion into neural signals. Perception is the interpretation of these signals in the brain. The document discusses the different types of receptors - chemoreceptors, photoreceptors, mechanoreceptors, and thermoreceptors. It also examines the primary sensory cortices for each sense - visual, auditory, olfactory, gustatory, and somatosensory. Finally, it reviews various causes of sensory loss such as vision, hearing, smell, taste, and touch.
Hybrid iterated local search algorithm for optimization route of airplane tr...IJECEIAES
The traveling salesman problem (TSP) is a very popular combinatorics problem. This problem has been widely applied to various real problems. The TSP problem has been classified as a Non-deterministic Polynomial Hard (NP-Hard), so a non-deterministic algorithm is needed to solve this problem. However, a non-deterministic algorithm can only produce a fairly good solution but does not guarantee an optimal solution. Therefore, there are still opportunities to develop new algorithms with better optimization results. This research develops a new algorithm by hybridizing three local search algorithms, namely, iterated local search (ILS) with simulated annealing (SA) and hill climbing (HC), to get a better optimization result. This algorithm aimed to solve TSP problems in the transportation sector, using a case study from the Traveling Salesman Challenge 2.0 (TSC 2.0). The test results show that the developed algorithm can optimize better by 15.7% on average and 11.4% based on the best results compared to previous studies using the TabuSA algorithm.
An Implementational approach to genetic algorithms for TSPSougata Das
This document summarizes a research paper that proposes using a genetic algorithm to solve the travelling salesman problem (TSP) as applied to water distribution network optimization. The genetic algorithm aims to find Pareto optimal solutions by evolving two populations that optimize the objectives of minimizing cost and maximizing profit of water distribution routes. The algorithm uses techniques like selection, crossover and mutation over generations to evolve solutions toward the Pareto front. It represents solutions as ordered lists of cities and evaluates fitness based on multiple criteria to maintain genetic diversity.
International Journal of Engineering and Science Invention (IJESI) is an international journal intended for professionals and researchers in all fields of computer science and electronics. IJESI publishes research articles and reviews within the whole field Engineering Science and Technology, new teaching methods, assessment, validation and the impact of new technologies and it will continue to provide information on the latest trends and developments in this ever-expanding subject. The publications of papers are selected through double peer reviewed to ensure originality, relevance, and readability. The articles published in our journal can be accessed online.
1) The document presents an approach to solving the inverse kinematics problem of robotic manipulators using genetic algorithms.
2) Genetic algorithms are applied by encoding joint angles into chromosomes and evaluating fitness based on end-effector position and orientation accuracy.
3) The approach handles redundancies and singularities effectively and can compute motions for manipulators to follow specified end-effector paths.
Este documento presenta un taller práctico sobre 10 claves para la implementación de tendencias y enfoques innovadores. El taller busca que los docentes identifiquen el cambio necesario para incorporar las TIC al aula y currículo. Incluye ejercicios para analizar habilidades del siglo XXI, políticas de acceso a TIC y principios educativos para la sociedad actual. El documento propone claves como observación, identificación de problemas e implementación de estrategias exitosas.
This document contains a resume for Ajay Chandrakant Rekha Chavan. It summarizes his career objective to pursue a challenging career in drug regulatory affairs. It outlines his core skills in regulatory and documentation work. It also details his professional experience working as a regulatory affairs trainee officer at Medibios Laboratories from 2016 to present and as a quality assurance officer at Glow Pharmaceuticals from 2015 to 2016. It provides information on his education and interests.
Mr. Rinchen Dorji provides his personal and employment profile. He received a Bachelor of Business Administration in Accounting from Gaeddu College of Business Studies, Royal University of Bhutan in 2011. He is currently pursuing a Master of Business Administration in International Business from Aligarh Muslim University. His experience includes working as an Assistant Lecturer at Gaeddu College from 2011-2015 and conducting research projects on topics related to rural housing, insurance, higher education, and business opportunities in Bhutan. He has attended several workshops and conferences on entrepreneurship, Gross National Happiness, and ethics.
This document describes a coreference resolution system created by Avani Sharma and Aishwarya Asesh. The system uses various techniques like exact matching, substring matching, abbreviations, gender, semantic classes, capitalization, pronouns, regular expressions, and appositives to resolve coreferences within a given text. The system achieved evaluation results of 60.46% on one test set and 61.11% on another. Areas for improvement include using external libraries and semantic categories.
The document describes several ecosystems found in northeastern Mexico, including marshes/bogs, the Rio Grande Basin, sea grass meadows, rainforests, deserts, grasslands, and ecosystem services. For each ecosystem, it lists important abiotic factors like temperature, water, and soil characteristics as well as common biotic factors such as plant and animal species.
Un mapa conceptual es una representación gráfica de las ideas y conceptos clave de un tema y las relaciones entre ellos. Se utilizan líneas y palabras clave para mostrar las conexiones entre conceptos principales y secundarios. Los mapas conceptuales ayudan a organizar y visualizar información de manera clara y concisa.
Este documento habla sobre la gerencia de proyectos y los roles principales involucrados como el director del proyecto. Explica las fases iniciales de un proyecto como la acta de iniciación y la fase de planificación donde se identifican áreas como alcance, tiempos y costos. También menciona la importancia de la planificación, ejecución y control del cronograma para satisfacer los objetivos del proyecto.
La Orquestra Simfònica del Vallès comenzó en 1987 como un proyecto musical para dotar de una orquesta al teatro de Sabadell. Sin embargo, pronto se hizo insostenible económicamente y estuvo a punto de fracasar. Los propios músicos decidieron entonces formar una sociedad anónima laboral para convertirse en los dueños de la orquesta. Veinte años después, la Orquestra Simfònica del Vallès es una realidad consolidada en el panorama cultural catalán, aunque todavía depende en gran medida
This document provides a summary of selected online tools for teaching and learning. It describes tools for content curation and development, sharing presentations, creating e-portfolios and magazines, creating videos, creating quizzes and mind maps, creating infographics, and tools for polling and social learning. For each category, 2-4 specific tools are listed along with a brief description and URL for each tool.
Este documento resume las principales tendencias tecnológicas en la educación superior y su gestión. Se describe el uso creciente de las TIC como las aplicaciones móviles, las tabletas y la educación en línea o a distancia. También se mencionan herramientas de colaboración como Skype, Google Talk y Dropbox que permiten el trabajo en equipo de los estudiantes universitarios.
Definición de tesauro
Formas de presentación del tesauro
Elementos del tesauro
Uso del tesauro
Sistemas automatizados
Los tesauros en el mundo digital
Referencias
Sensation is the detection of stimuli by sensory receptors and the conversion into neural signals. Perception is the interpretation of these signals in the brain. The document discusses the different types of receptors - chemoreceptors, photoreceptors, mechanoreceptors, and thermoreceptors. It also examines the primary sensory cortices for each sense - visual, auditory, olfactory, gustatory, and somatosensory. Finally, it reviews various causes of sensory loss such as vision, hearing, smell, taste, and touch.
Hybrid iterated local search algorithm for optimization route of airplane tr...IJECEIAES
The traveling salesman problem (TSP) is a very popular combinatorics problem. This problem has been widely applied to various real problems. The TSP problem has been classified as a Non-deterministic Polynomial Hard (NP-Hard), so a non-deterministic algorithm is needed to solve this problem. However, a non-deterministic algorithm can only produce a fairly good solution but does not guarantee an optimal solution. Therefore, there are still opportunities to develop new algorithms with better optimization results. This research develops a new algorithm by hybridizing three local search algorithms, namely, iterated local search (ILS) with simulated annealing (SA) and hill climbing (HC), to get a better optimization result. This algorithm aimed to solve TSP problems in the transportation sector, using a case study from the Traveling Salesman Challenge 2.0 (TSC 2.0). The test results show that the developed algorithm can optimize better by 15.7% on average and 11.4% based on the best results compared to previous studies using the TabuSA algorithm.
An Implementational approach to genetic algorithms for TSPSougata Das
This document summarizes a research paper that proposes using a genetic algorithm to solve the travelling salesman problem (TSP) as applied to water distribution network optimization. The genetic algorithm aims to find Pareto optimal solutions by evolving two populations that optimize the objectives of minimizing cost and maximizing profit of water distribution routes. The algorithm uses techniques like selection, crossover and mutation over generations to evolve solutions toward the Pareto front. It represents solutions as ordered lists of cities and evaluates fitness based on multiple criteria to maintain genetic diversity.
International Journal of Engineering and Science Invention (IJESI) is an international journal intended for professionals and researchers in all fields of computer science and electronics. IJESI publishes research articles and reviews within the whole field Engineering Science and Technology, new teaching methods, assessment, validation and the impact of new technologies and it will continue to provide information on the latest trends and developments in this ever-expanding subject. The publications of papers are selected through double peer reviewed to ensure originality, relevance, and readability. The articles published in our journal can be accessed online.
1) The document presents an approach to solving the inverse kinematics problem of robotic manipulators using genetic algorithms.
2) Genetic algorithms are applied by encoding joint angles into chromosomes and evaluating fitness based on end-effector position and orientation accuracy.
3) The approach handles redundancies and singularities effectively and can compute motions for manipulators to follow specified end-effector paths.
Comparative study of different algorithmsijfcstjournal
This Paper provides a brief description of the Genetic Algorithm (GA), the Simulated Annealing (SA) Algorithm, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and attempts to explain the way as how our Proposed Genetic Algorithm (GA), Proposed Simulated Annealing (SA) Algorithm using GA, Classical Backtracking (BT) Algorithm and Classical Brute Force (BF) Search Algorithm can be employed in finding the best solution of N Queens Problem and also, makes a comparison between these four algorithms. It is entirely a review based work. The four algorithms were written as well as implemented. From the Results, it was found that, the Proposed Genetic Algorithm (GA) performed better than the Proposed Simulated Annealing (SA) Algorithm using GA, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and it also provided better fitness value (solution) than the Proposed Simulated Annealing Algorithm (SA) using GA, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm, for different N values. Also, it was noticed that, the Proposed GA took more time to provide result than the Proposed SA using GA.
Constructing a classification model is important in machine learning for a particular task. A
classification process involves assigning objects into predefined groups or classes based on a
number of observed attributes related to those objects. Artificial neural network is one of the
classification algorithms which, can be used in many application areas. This paper investigates
the potential of applying the feed forward neural network architecture for the classification of
medical datasets. Migration based differential evolution algorithm (MBDE) is chosen and
applied to feed forward neural network to enhance the learning process and the network
learning is validated in terms of convergence rate and classification accuracy. In this paper,
MBDE algorithm with various migration policies is proposed for classification problems using
medical diagnosis.
MEDICAL DIAGNOSIS CLASSIFICATION USING MIGRATION BASED DIFFERENTIAL EVOLUTION...cscpconf
Constructing a classification model is important in machine learning for a particular task. A
classification process involves assigning objects into predefined groups or classes based on a
number of observed attributes related to those objects. Artificial neural network is one of the
classification algorithms which, can be used in many application areas. This paper investigates
the potential of applying the feed forward neural network architecture for the classification of
medical datasets. Migration based differential evolution algorithm (MBDE) is chosen and
applied to feed forward neural network to enhance the learning process and the network
learning is validated in terms of convergence rate and classification accuracy. In this paper,
MBDE algorithm with various migration policies is proposed for classification problems using
medical diagnosis.
A heuristic approach for optimizing travel planning using genetics algorithmeSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
A heuristic approach for optimizing travel planning using genetics algorithmeSAT Journals
Abstract In today’s fast-paced society, everyone is caught up in the hustle and bustle of life which has resulted in ineffective Planning of their very important vacation tour. Either they spend much time on deciding what to do next, or will take many unnecessary, unfocused and inefficient steps. The main purpose of our project is to develop a Travel Planner that will allow the customer to plan the entire tour so that he visits many places in less time. The concept would be implemented using Genetics Algorithm of Artificial Intelligence which would be used as a search algorithm to find the nearest optimal travel path. Moreover, In order to reduce the running time of GA, Parallelization of Genetics Algorithm would be demonstrated using Hadoop Framework. Key Words: Genetics Algorithm, TSP, Hadoop, and MapReduce etc…
This document discusses using a genetic algorithm to solve the travelling salesman problem. It begins with an introduction to the travelling salesman problem as an NP-complete problem to find the shortest route visiting each city once. It then provides an overview of genetic algorithms and their use of evolutionary concepts like selection of the fittest to find approximate solutions. The document outlines the genetic algorithm process including encoding routes as chromosomes, calculating fitness, selecting parents for crossover and mutation to create new offspring, and repeating until an optimal solution is found. It provides details of the genetic algorithm implementation for the travelling salesman problem.
This document summarizes a research article from the International Journal of Electronics and Communication Engineering & Technology. The article compares the performance of three genetic algorithm crossover operators - PMX, OX, and CX - for solving the Traveling Salesman Problem (TSP). It finds that the PMX operator enables achieving a better solution than the other two operators tested. The document provides background on genetic algorithms and describes the TSP optimization problem, literature on using genetic algorithms for TSP, and proposes a new PMX crossover scheme to resolve TSP more efficiently.
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMijfcstjournal
This Paper provides a brief description of the Genetic Algorithm (GA), the Simulated Annealing (SA)
Algorithm, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm and attempts to
explain the way as how the Proposed Genetic Algorithm (GA), the Proposed Simulated Annealing (SA)
Algorithm using GA, the Backtracking (BT) Algorithm and the Brute Force (BF) Search Algorithm can be
employed in finding the best solution of N Queens Problem and also, makes a comparison between these
four algorithms. It is entirely a review based work. The four algorithms were written as well as
implemented. From the Results, it was found that, the Proposed Genetic Algorithm (GA) performed better
than the Proposed Simulated Annealing (SA) Algorithm using GA, the Backtracking (BT) Algorithm and
the Brute Force (BF) Search Algorithm and it also provided better fitness value (solution) than the
Proposed Simulated Annealing Algorithm (SA) using GA, the Backtracking (BT) Algorithm and the Brute
Force (BF) Search Algorithm, for different N values. Also, it was noticed that, the Proposed GA took more
time to provide result than the Proposed SA using GA.
This document summarizes a research project analyzing travel demand data from GoGet, a car sharing service, to develop a predictive model of customer trip generation. The researchers used GoGet customer data and transportation demand modeling fundamentals to create a multinomial logistic regression model predicting the number of monthly GoGet trips based on a person's age, income, and car ownership. The results provide GoGet useful information about expected customer demand in different locations to improve service planning and expansion.
This document proposes a new hybrid optimization algorithm called ACO-PSO for solving dynamic travelling salesman problems (DTSP). It combines ant colony optimization (ACO) and particle swarm optimization (PSO). ACO is used to find paths between cities, while PSO is used to tune the ACO parameters and balance global and local search. The algorithm is tested on DTSP and shows good performance, finding close-to-optimal solutions. Metaheuristic algorithms like ACO and PSO are well-suited for combinatorial optimization problems like DTSP due to their flexibility, speed and ability to find global solutions.
This document discusses developing software to optimize waste truck routing using vehicle routing problem heuristics and genetic algorithms. The objectives are to 1) solve the waste truck routing problem using VRP heuristics, 2) use the University of the Philippines Los Baños map as initial input, 3) optimize routes with genetic algorithms, 4) create a graphical user interface to input data, 5) display optimized routes on a map, and 6) analyze genetic algorithm scenarios. The waste truck routing problem is similar to the traveling salesman problem which can be addressed using heuristics like nearest neighbor algorithms to find reasonably good solutions faster than exact algorithms.
This document discusses using genetic algorithms to forecast a country's GDP. It begins with an introduction to genetic algorithms and how they can be applied to problems like GDP forecasting. It then provides details on GDP calculation methods and key factors considered. The proposed system would use a genetic algorithm approach trained on historical economic data to predict a country's GDP over a year in advance. This would analyze trends, policies, investments and other changing economic conditions to generate adaptive forecasts. Developing the algorithm and testing the approach on real data is considered future work.
The Traveling salesman problem (TSP) is proved to be NP-complete in most cases. The genetic algorithm
(GA) is one of the most useful algorithms for solving this problem. In this paper a conventional GA is
compared with an improved hybrid GA in solving TSP. The improved or hybrid GA consist of
conventional GA and two local optimization strategies. The first strategy is extracting all sequential
groups including four cities of samples and changing the two central cities with each other. The second
local optimization strategy is similar to an extra mutation process. In this step with a low probability a
sample is selected. In this sample two random cities are defined and the path between these cities is
reversed. The computation results show that the proposed method also finds better paths than the
conventional GA within an acceptable computation time.
Two-Stage Eagle Strategy with Differential EvolutionXin-She Yang
The document describes a two-stage optimization strategy called the Eagle Strategy (ES) that combines global and local search algorithms to improve search efficiency. It evaluates applying ES to differential evolution (DE), a popular evolutionary algorithm. ES first uses randomization like Levy flights for global exploration, then switches to DE for intensive local search around promising solutions. The authors validate ES-DE on test functions, finding it requires only 9.7-24.9% of the function evaluations of pure DE. They also apply it to real-world pressure vessel and gearbox design problems, achieving solutions with 14.9-17.7% fewer function evaluations than pure DE.
The document provides information about optimization algorithms and genetic algorithms. It discusses that genetic algorithms are modeled after biological evolution and use processes like selection of fittest individuals, crossover to produce offspring for the next generation, and mutation. The key phases of a genetic algorithm are described as initializing a population, calculating fitness scores, selecting parents for reproduction, performing crossover on parents to create offspring, and applying occasional mutation. Genetic algorithms are suited for optimization problems as they can find good solutions efficiently.
AN IMPROVED GENETIC ALGORITHM WITH A LOCAL OPTIMIZATION STRATEGY AND AN EXTRA...ijcseit
The Traveling salesman problem (TSP) is proved to be NP-complete in most cases. The genetic algorithm
(GA) is one of the most useful algorithms for solving this problem. In this paper a conventional GA is
compared with an improved hybrid GA in solving TSP. The improved or hybrid GA consist of
conventional GA and two local optimization strategies. The first strategy is extracting all sequential
groups including four cities of samples and changing the two central cities with each other. The second
local optimization strategy is similar to an extra mutation process. In this step with a low probability a
sample is selected. In this sample two random cities are defined and the path between these cities is
reversed. The computation results show that the proposed method also finds better paths than the
conventional GA within an acceptable computation time.
2. 2
Table of Contents
1. Introduction 3
2. State of the Problem 5
3. Literature Review 6
4. Solve by GA 8
5. Conclusion 14
6. Reference 15
7. Appendix 16
3. 3
Introduction
In many fields, looking for a shortest path is a need in order to achieve time and
economic efficient. To an international company, a well-organized shipping plan
means more cargoes could be shipped to their destination with the same amount of
time, or the same amount of goods reaches their purchasers in a shorter time. To a
family, a carefully designed travelling plan could be considered cheaper in cost on
transportation or having time to visit more places, resulting a more enjoyable journey.
Path planning is not new, and there are many experts from different fields solved
this problem with very smart methods. Strangely, humans are never satisfied with
their current status. Therefore, more elites have been joining in the study of the path
planning problem, and more and more systems have been developed to solve the path
planning problem more efficiently with better solutions.
Genetic algorithm is one of the artificial algorithms that have been developed to
solve not only the mathematical problem, but also other engineering and/or scientific
problems such as path planning problem. The genetic algorithm is based on Charles
Darwin’s biological theory of evolution in the mid-19th century (Hillier, Frederick S.
and Lieberman, Gerald J., 2005). Features are depended based on genes, and
chromosomes are carrying all genes that an object has. Two chromosome pairs a
group of parents when it happens to create the next generation, and some part
chromosomes, which is genius, will be passed from parents to children. Children
having better genes will have a higher chance to survive and become parents and pass
on genes. There is also a chance that a mutation happens. Most mutation causes
4. 4
disadvantage or no effect; however, sometimes a mutation give a better feature to fit
the environment, which means a higher chance to survive. The entire process happens
randomly; as a result, the next generation is not guaranteed to be better than the
current generation, but always children with more suitable features survive. Similar to
the biological evolution theory, genetic algorithm contains randomly happening
crossover, mutation, and selection (select children with better features). Because of its
randomness, the local maxima and minima will be avoided; and this allows the
answer is closer to the real optical solution.
5. 5
State of the Problem
There is a new couple are planning where to spend their honeymoons. They came
across an idea that spend their days to visit Europe. They found a travel agency to
plan a trip for them so that they do not spend too much money on the travelling.
During the travel planner was trying to design a trip for the new couple, there is an
unexpectable system shutdown at him. After he reboot his computer, he found that the
must-visit countries that the couple mentioned were lost.; and he also could not recall
the must-visit countries as well as the starting country and ending country. Because
the flight-ticket are already booked, the first country and last country to visit cannot
be changed due to they would not like to pay for the cancellation fee; but the order of
the rest visiting countries are not important to them. No one country is planned to visit
twice. Because the deadline to deliver the travelling plan is almost due and the planer
cannot reach the couple with any method, he has no time to wait for contact them
again. Therefore, he decided to write a program with a graphical user interface which
allows the couple to select all the countries that they want to visit including the
starting and ending country. As return, the best travel plan will be shown to them.
6. 6
Literature Review
The travelling salesman problem (TSP) is a classic example of path planning. The
travelling salesman provides an optimal (shortest) path of the traveler to cover all
stated places. There is no specific starting or ending point. The traveler could start in
any place, but must return to the same place at the end of the journey. Except the
starting place (also the ending place), there is no other place can be visited more than
once. There is no limit on the sequence of the place to be visited. The next places can
be chosen from any remaining (has-not-been-visited) places. The distance between
any of the two places are known.
One of the popular method is solving TSP by simulated annealing. This
arithmetic is simulating annealing process in metallurgy. The entire process of
annealing includes heating and slow cooling stages. Temperature is an important
variable in simulated annealing algorithm, and temperature is usually manually set
high to enlarge the searching area in order to find the most optimal solution. The
internal energy is calculated at this temperature and recorded. Then, the cooling
process starts. With slowly decreasing temperature, internal energy is calculated at
each temperature and then comparing with the current minimum energy. The
minimum energy updates itself during each iteration. If energy at new temperature is
lower, the minimum energy gets updates; if the new temperature is higher, by
predefined possibility, it will choose either update or eject the new value. Either
iteration reaches its predefined number or the minimum energy decreases below the
desired energy threshold, the program will stopped. [2]
7. 7
There are two major problems in simulated annealing method. One is being the
initial temperature setup. If the temperature is set high, there is higher chance to
acquire the most optimal solution but taking longer computing time; or with
reasonable low temperature, it might not find the most optimal solution but saving
computational cost. Another major problem is rate of decreasing temperature. It
always needs several times experiments to determine a suitable cooling rate. [3, 4]
Overall, TSP problem could be solved by using simulated annealing algorithm,
and it gives better optimal solution than by greedy method [4].
Another method is done by ant colony optimization algorithm. This algorithm
simulates the ant finding shortest path to its colony during foraging. Ant returns
colony the earliest it chose the shortest path, and pheromone is left on the path earliest.
Following ants will select this path due to higher pheromone intensity, and this path
will be reinforced to attract more ants. Eventually, the longer paths will be abandoned.
Ant colony algorithm is a good candidate when dealing with problems such as
travelling salesman problem and 0-1 knapsack problem although computation cost is
relatively high. [5-9]
8. 8
Solve by GA
The real European map is used with manually marked European countries as
shown in Figure 1. Each black spot represents a country.
Figure 1 Marked European Country
In order to acquire the relative position of all the spotted countries on the map,
MatLab image toolbox is utilized to convince. First, the image is converted to a gray
scale image from a regular RGB image, the gray image can be seen in figure 2. Then,
the grayscale image is being further processed to be a binary image with threshold
0.99 as shown in figure 3. A matrix of x- y- coordinates of black spots are acquired,
and the distance between any two countries could be calculated based on x- y-
coordinates.
10. 10
Figure 4 Centroid to acquire x-y coordinates
Once all the countries’ coordinates are acquired, all data is transferred to an excel
file along with the corresponding country name to store the original data. In this excel
file, the numerical index (1, 2, 3…) can be used to index country name and
coordinate.
With the selection of user, all parameters are written to variables and these
variables are corresponding parameters in the genetic algorithm.
Starting country and ending country are passed on separately from must-visit
countries since starting and ending country are fixed variables once the user select and
the program is started. The coordinate and name of starting country and ending
country are pulled from the original data and written to four variables (start country
coordinate, start country name, end country coordinate, and end country name). User
selected must-visit countries are stored in a one-dimensional array, and there will be
no country index that the user did not select. Two new matrices are created by pulling
selected countries coordinates and name, one matrix (n by 2) stores coordinates and
11. 11
the other one (n by 1) stores name (n is the number of country selected). Selected
countries’ coordinates and names have new indexes. With all the coordinates, distance
between any two selected countries are calculated and stored for later use.
And here, genetic algorithm starts.
Initiation
Firstly, population size, mutation rate are defined to be 20 and 1%, respectively.
The gene used is the index of the country, and the chromosome (parent) is a string of
country index. 20 parents are randomly generated.
Evaluation
The fitness function is applied to each parent to calculate the total distance of
travelling based on the order of country index in the parent. All the fitness values are
gathered. In this case, lower fitness value is better because lower fitness value means
shorter distance.
Grouping
The fitness value is sorted from low to high in a row, and only the top ten lowest
total distance will be kept and used in the next step. The parent in the i-th row is
paired with the parent in the (11-i)th row to form five groups in total. Each group of
parents creates four children to keep the population remains the same for the next
generation. Children are created after mate and mutation.
12. 12
Mating
Two numbers are randomly generated: rand1 and rand2. Rand1 is responsable for
the selection of parent, and rand2 is for gene.
Parent 1: 0~0.4999
Parent 2: 0.5~0.9999
First Half Gene: 0~0.4999
Second Half Gene: 0.5~0.9999
If rand1 falls in the range of parent 1, then parent 1 is selected; otherwise parent 2
is selected. If rand2 falls in the first half gene’s range, then the first half gene is passed
on to the child; otherwise, the second half gene is passed on. For example,
rand1=0.2365 and rand2=0.9666, then the second half gene in parent 1 is passed on to
the child. The remaining gene of this child is selected from the other parent in the
group in the same order of this parent from available genes (numbers that have not
been appeared in the child).
Mutating
The rate of mutation is predefined as 1%. A link is chosen to be the place when
mutation happens. Whenever a mutation happens, the two numbers connected by the
link will be exchanged. If there are in total 12 selected must-visit countries, there will
be 12 numbers to represent each country and 11 links to connect all the numbers.
Therefore, for one child, there are 11 links that possibly a mutation happens. Similar
to select parent and gene, random numbers are generated to decide where the mutation
happens. 11 random numbers are created and any number is less than 0.01 (1%)
means mutation happens: switch two numbers connected by the corresponding link.
13. 13
Once the mutation process is over, one iteration is done. Children become parents
and next iteration starts. The entire process is repeated from evaluation to mutation
until the maximum iteration is reached.
In every iteration, after sorting the fitness value, the shortest fitness value in this
iteration is compared with the global minimum: if global minimum is greater than this
fitness value, then, the global minimum is updated to this fitness value and the
corresponding path (index sequence is stored); if global minimum is smaller, then the
process continues. The global minimum is initially set to be positive infinity to ensure
it is bigger than any total travel distance of any possible travel sequence.
After maximum iteration is reached, distances from starting country to the first
index country in optimal solution and from the last index country to ending country
are calculated and then added onto global minimum. In addition, starting and ending
country names are inserted in the optimal solution sequence in the first and last place.
Updated string of names and global minimum are returned to the user. String of names
displays the best travel sequence, while the global minimum is showing the optimal
travel distance.
Output
The output of this program is the sequence of visiting country. The path can be
either seen in the MatLab workspace or in an Excel file that created by the program.
In addition, a path map will also be shown for convenience.
14. 14
Conclusion
The genetic algorithm is quite suitable for traveling salesman problem. It is unlike
heuristic search which needs much computational cost. Although the genetic
algorithm method does not guarantee the best solution will be found, the result is
close enough to the best solution. It also has potential to get even closer to the best
answer. One method is adding more iterations. Because only the best results from
iteration will be kept, the solution gets closer and closer to its ultimate optimal
solution. So, by running more iterations, the answers become more optimal. Another
method is applying different mating method. This may cause improve the answer, but
also may decrease the performance. The mutation rate is another option to apply
change which may either advance or dis-advance the performance.
In conclusion, genetic algorithm suits problems that do not need the best solution,
but a good-enough solution. Path planning or travelling salesman problem is one of
the perfect example of genetic algorithm programming.
15. 15
Reference
[1] Hillier, Frederick S. and Lieberman, Gerald J. (2005). Introduction of Operations
Research. Toronto; Boston: McGraw Hill.
[2] Corana, A., Marchesi, M., Martini, C., & Ridella, S. (1987). Minimizing multimodal
functions of continuous variables with the "simulated annealing" algorithm corrigenda
ACM Transactions on Mathematical Software (TOMS), 13(3), 262-280.
doi:10.1145/29380.29864
[3] Randelman, R. E., & Grest, G. S. (1986). N-city traveling salesman problem: Optimization
by simulated annealings. Journal of Statistical Physics, 45(5-6), 885-890.
doi:10.1007/BF01020579
[4] Ismail, Z., & Ibrahim, W. R. W. (2008). Traveling salesman approach for solving petrol
distribution using simulated annealing. American Journal of Applied Sciences, 5(11),
1543-1546. doi:10.3844/ajassp.2008.1543.1546
[5] Ellis, J. F. (2002). Ant colony optimization for approximate solutions to the traveling
salesman problem
[6] Dorigo, M., & Blum, C. (2005). Ant colony optimization theory: A survey. Theoretical
Computer Science, 344(2), 243-278. doi:10.1016/j.tcs.2005.05.020
[7] Dorigo, M., Dorigo, M., Birattari, M., Birattari, M., Stutzle, T., & Stutzle, T. (2006). Ant
colony optimization. IEEE Computational Intelligence Magazine, 1(4), 28-39.
doi:10.1109/MCI.2006.329691
[8] Chaharsooghi, S. K., Chaharsooghi, S. K., Meimand Kermani, A. H., & Meimand
Kermani, A. H. (2008). An intelligent multi-colony multi-objective ant colony
optimization (ACO) for the 0-1 knapsack problem. 1195-1202.
doi:10.1109/CEC.2008.4630948
[9] Ke, L., Feng, Z., Ren, Z., & Wei, X. (2010). An ant colony optimization approach for the
multidimensional knapsack problem. Journal of Heuristics, 16(1), 65-83.
doi:10.1007/s10732-008-9087-x
19. 19
Program Output
Figure 8 Output to Workspace (Left) and to Excel File (Right)
Figure 9 Path Plan Graphical Result (Green dot is starting country, and blue is end country)
20. 20
Instruction of running the MatLab code
1. Download all the files including “data.xlsx”, “search,m”, “userfront.fig”,
“userfront.m”, and “ImageProcessing.m” and save under the same folder.
Copy the folder directory.
2. Start MatLab program
3. Open “search.m” file and replaced directory in xlsread command with
the directory just copied, and then save and close “search.m” file.
4. Open “userfront.m” and click run.
5. Choosing start and end country on user interface as well as the must-visit
country section.
6. Click on “start” to run.
7. Once the program finished, the result can be reviewed either on
workspace or in the excel file named “path.xls”.
Note:
Every time the program is opened, the user interface needs to be
“activated”. To do this, click on drop down menus and select any
countries to both starting and ending country, and check all the check box
followed by clicking the “start” button. Once the first run is done, the
following running does not require this step.
After each running, created “guidata.xls” and “path.xls” are necessary to
deleted or moved to another folder in order to run the program
functionally.