Matlab code using ant colony algorithm, MATLAB Programming

Assignment Help:

Ant Colony Optimization for Optimization of Route path taken

Ant Colony Algorithm is a potential candidate for coupled, 3D optimisation. Ant Colony Algorithm enjoys the overall optimization capacity and the parallel implementation. The purpose of this project is to use Ant Colony Algorithm to create a route optimization.

Ant Colony Optimization is a probabilistic technique for solving difficult combinatorial optimization problems. The main idea that is used in Ants Colony Algorithm is adapted from the ants' pheromone trails-laying behaviour, which is an indirect form of communication as a result of modifications of the environment. In the real world, ants communicate with one another through detecting pheromone trails. When an ant passes through a route, it deposits a sample amount of pheromone onto the path, marking the path with a trail of pheromones. However, these pheromones are temporary and the intensity of the pheromones will evaporate over time. The ants then determine their movements by gauging the density of the pheromones on a path, with the tendency of the ants to follow the paths where intensity of pheromones trails is higher. This means that the higher density of pheromone trails on a road, the more attractive that road will be to the ants. Pheromone density tends to be higher on a shorter path. As more ants follow a given trail, more pheromones is left on that trail, and the probability that other ants will follow the same trail will be higher. The main idea of this self-catalyzing activities is that the path that most approximates the optimal scenario carries more pheromone, which makes it more attractive in the next cycle.

Task:

Design a matlab code, using Ant Colony Algorithm, to obtain the most optimized path with the shortest distance taken from the starting node to the ending node. Your optimized path has to pass through nodal points to reach the final destination. (The coordinates of all the nodes are provided) and you have to vary the amount of pheromones to suit the path travelled.
• Create the model with the coordinates provided and treat this coordinates as your available nodes
• Allow user input to select starting node(departure) and ending node(destination)
• Create segments where your path may travel
• Include constraints to limit your random path to bearings of +-45degree from your current location to your destination
• Provide a simulation of the model created
• Compare data with Dijkstra Algorithm to check the path of convergence


Related Discussions:- Matlab code using ant colony algorithm

Implement a matlab function to calculate value, Implement a MatLab function...

Implement a MatLab function to calculate y.  The function should take two input arguments 1) A vector of parameters In the above example this would be of length 3, the first

Plot the pressure for oxygen and nitrogen, Non-Ideal Gas (van der Waals equ...

Non-Ideal Gas (van der Waals equation):  An equation of state for a non-ideal which is commonly used is the van der Waals equation for 1 mol of gas  P = (R*T)/(V-b) - a/(V^2)

Calculate sample mean and standard deviation, Make a vector of 500 random n...

Make a vector of 500 random numbers from a normal distribution with mean 2 and standard deviation 5(randn). a After you generate the vector, verify that the sample mean and stan

Expressions, Expressions: The Expressions can be formed using values, ...

Expressions: The Expressions can be formed using values, variables which have already been formed, operators, parentheses, and built-in functions. For numbers, these can invol

Batch reactor, how to wriet program for batch reactor

how to wriet program for batch reactor

how to call matlab in batch mode, This can be done from the command line o...

This can be done from the command line or from a makefile. You require a script (filename.m). Just type at the command line, or contain in the makefile: matlab

Aquifer simulation of the groundwater, An environmental consulting firm is ...

An environmental consulting firm is conducting a site investigation on an abandoned industrial site that is 200 m by 150 m in size (Fig. 1). A number of piezometers were installed

Generate a matlab error with a descriptive error message, Write a function ...

Write a function called threshold2 (in a file called 'threshold2.m'). The function takes an arbitrary number of input variables. The first input variable, t, is required and is the

Write a computer program using matlab, From A to B the inlet valve is open ...

From A to B the inlet valve is open and the steam pressure increases linearly from 0.1000 MPa absolute to 15.00 MPa absolute, 1000°C. The inlet valve closes and from B to C the

Homework, -The program should run always until the user enters -1 to exit f...

-The program should run always until the user enters -1 to exit from the program. - In the main, you should ask user to input any angles in degrees (Ad) and an integer number (N).

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd