How the Ant Colony Optimization algorithm works

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 155

  • @theodoregiannilias5140
    @theodoregiannilias5140 3 роки тому +31

    You are definetely what students want, pure and steady explained knowledge. Keep it up we really appreciate your work here !!

  • @narensenthilkumar2916
    @narensenthilkumar2916 5 років тому +27

    crisp and clear, everything would be easy, when there are teachers like you

  • @ns3lover779
    @ns3lover779 5 років тому +63

    You are a legend , you are a diamond , you are a hero even I stay here for the whole of my life I can't describe how a wonderfull teacher realy you are , thank you so much .

    • @thealimirjalili
      @thealimirjalili  5 років тому +5

      Thanks, the diamond is in your kind heart :)

  • @aabb12346
    @aabb12346 2 місяці тому

    You explained the complex ACO problem in such simple understandable way! Great job!

  • @huntershen5592
    @huntershen5592 5 років тому +7

    the best explanation of ACO ever

  • @iImranAkhtar
    @iImranAkhtar 4 роки тому +8

    great work
    specially the slides are too good to understand , thank you brother

  • @Shredding81
    @Shredding81 3 роки тому +3

    I believe this video is very helpful, expecially for those people approaching ACO for the first time. Having said that, I have a question about ACO. The heuristic information in your example is based on the cost of the single arc. But in many application the cost of a single component is influenced by the value assumed by the other componets. For istance, consider a problem of pump scheduling in water distribution networks, the actuation of a pump in a precise time interval produce a cost that depends on the pump state (on/off) during the preceding time intervals, and it influences the costs of the subsequent time intervals. In this case, how the pheromone trails can be updated? Because the cost function depends on the whole path the ant follows and not by a single component of the path.

  • @aiml_22_adityaghosh81
    @aiml_22_adityaghosh81 3 місяці тому

    At first I was having hard time understanding but then everything made so much sense ... that was some awesome explanation ... !!! good work man !

  • @ahoura94
    @ahoura94 3 роки тому

    thank you for your crystal and clear description of ACO. I hope you become hero of your life

  • @tahsinilkhas1692
    @tahsinilkhas1692 2 роки тому

    one of the best videos about ACO I have ever seen thanks a lot

  • @anthonyapm
    @anthonyapm 3 роки тому +1

    The best teacher......period

  • @mrbroom1559
    @mrbroom1559 4 роки тому +2

    Very, very good explanation and numerical examples helped me a lot to understand it even more. Amazing job!

  • @hamedmoghaddam9668
    @hamedmoghaddam9668 5 років тому +1

    Great and subtle explanation. The numerical examples and graphics are incredibly helpful. Thank you so much!

  • @artbyhedyeh
    @artbyhedyeh 4 роки тому +2

    Thanks a million for this video. You saved my grades

  • @radhika687
    @radhika687 5 років тому +1

    The content is really helpful and even the formatting of the video is very sorted. Thanks

  • @Gauravkr0071
    @Gauravkr0071 5 років тому +2

    wowwwwww mannnnnnnn, just god level teaching .god bless u bro

  • @misterbroda9872
    @misterbroda9872 3 роки тому

    Incredibly well explained. Especially with the visual and mathematical examples. Thank you very much Mister Mirjalili!
    I took the opportunity to subscribe to some of your udemy course. I hope, later this year, I will have enough time to learn more about this and the other algorithms.

  • @sbouiahmed1080
    @sbouiahmed1080 3 роки тому

    I really enjoyed this clearest way to explain things and making super simple and understandable. Thank you so much. this my first sight of your course and i will stay learning here

  • @civilengineeringwithdildaa4085
    @civilengineeringwithdildaa4085 5 років тому +1

    This lecture remained very use full. Thank you so much sir.
    Kindly upload a video, regarding how to program this algorithm (ACO) in any of the programming language like python, IBM LOG cplexx or matlab. Thanks

    • @thealimirjalili
      @thealimirjalili  5 років тому

      Thanks a lot. As far as I know, ACO has been implemented in a large number of programming languages.

  • @orhansari6550
    @orhansari6550 3 роки тому

    Perfect video explaining ant colony optimization. Thank you indeed.

  • @TheAndreve
    @TheAndreve 4 роки тому +9

    The clearest video on youtube about Ant Colony Optimization, thank you very much Dr. Ali. Just a little correction on [5:05](ua-cam.com/video/783ZtAF4j5g/v-deo.html), the formula for the total pheromone from edge i-j, (T^{i, j}) shouldn't have the K superscript.

  • @arpitasharma576
    @arpitasharma576 3 роки тому

    Wonderful explanation. All doubts have been cleared.

  • @DrLakshmiD
    @DrLakshmiD 3 роки тому

    Excellent visualization and presentation. Kudos

  • @dr.padmalayanayak1902
    @dr.padmalayanayak1902 3 роки тому

    Thank you so much Dr. Ali. Its quite clear tp proceed with an application. Huge respect for you. Really great!

  • @Manoj-of8nr
    @Manoj-of8nr 4 роки тому

    You have great teaching and presentation skill. Thank you for making this video.

  • @ankitmca03
    @ankitmca03 5 років тому +6

    Sir, please explain Antlion Optimization. I already emailed you about it. Please explain it with its mathematical function.

  • @kikiyunita7647
    @kikiyunita7647 4 роки тому

    Thank you, Ali.. your video is very helpful to finish my task. I didn't know before, this algorithm can be understood in an easy way. Hope to see more of your video. Thank you

  • @camilor5085
    @camilor5085 4 роки тому +1

    amazing video!!! very well explained!!
    Only suggestion, not trying to be rude, but some words at moments can be a tiny bit hard to understand, my suggestion is maybe type of the captions? Other than that great video!

  • @AlexeySilichenko
    @AlexeySilichenko Рік тому +1

    Great explanation, thank you very much!

  • @toshiro6589
    @toshiro6589 Рік тому

    Reminds me on Markov chains. Hard part is that every time concentration of feromon is different so probability changes. If also quality of road change I wonder how to calculate stationary distribution if there is any at all.

  • @cavi8779
    @cavi8779 2 роки тому

    Is thia guy the same Mirjalili who gave the fireflies,moth and crow optimization algorithm 😲😲...u are so awsm

  • @nitheeshashree216
    @nitheeshashree216 4 роки тому +1

    Thank you for the effective video 🤩.
    You made me clear so that I can handle my mini project!!!

    • @kolaneruprashanth4385
      @kolaneruprashanth4385 4 роки тому

      Hi Nitheesha shree i am working on route optimization. can you please share your project.

  • @lailataher44
    @lailataher44 5 місяців тому

    many thanx , amazing presentation.

  • @ayaan5540
    @ayaan5540 3 роки тому

    I have a question concerning evaporation rate - Why is time not a variable in the equation for pheromone levels?
    Additionally, how can one include more environmental variables such as temperature, terrain, humidity, light, etc. or colony variables such as speed of ants, density, distribution, type of ant, etc. into the algorithm? Is there any other type of communication that occurs between individuals?

  • @infoinfo6017
    @infoinfo6017 Рік тому

    Thank you very much. It is clear. I understand it very well

  • @AshutoshSahuMRM
    @AshutoshSahuMRM Рік тому

    You are a great teacher, thank you so much !!!!!

  • @amalieh9249
    @amalieh9249 5 років тому +2

    Shouldn't the kth tau equal the old tau plus the change in tau, if there is no vaporization? The way it is written now (6:10) means rho = 1, which equals maximum vaporization. Or am I misunderstanding something?

    • @thealimirjalili
      @thealimirjalili  5 років тому

      You are right, this should be written as : tau = ( 1 - rho ) .* tau;

  • @hunter21x
    @hunter21x 4 роки тому +1

    Wow, that made it so much clearer, thank you!!

  • @shalikaarora1298
    @shalikaarora1298 Рік тому

    Thanks you so much sir for this wonderful explanation...this help me alot🙏🙏

  • @akoabdullah5213
    @akoabdullah5213 5 років тому

    Thank you very much Dear Dr.Ali for this video

  • @incodewetrust8862
    @incodewetrust8862 3 роки тому

    guys please when we are talking about I,j, Is the current ant position and j is one of the next steps around it like the left to right ? or j is the final destination like nest or car and tree?

  • @deepthisehrawat9497
    @deepthisehrawat9497 4 роки тому

    Please upload videos on particle swarm optimisation

  • @swetasingh4645
    @swetasingh4645 5 років тому +1

    Sir I want implementation of exam time table problem using ant colony

  • @jubiaj2672
    @jubiaj2672 3 роки тому

    This helped me a lot. Thank you very much

  • @bharti9273
    @bharti9273 2 роки тому

    Wanna know whether the pheromone is updated locally on each arc visited by ant or the pheromone is updated globally after the ants visits all the arcs in a complete path....?

  • @rafiqullah1
    @rafiqullah1 4 роки тому

    very informative lecturer may be in future i will take some help regarding ACO

  • @amirajablaoui1466
    @amirajablaoui1466 3 роки тому

    the pheromone matrix depends on the length of the solution or the number of parameters of the problem ?

  • @uiuxshoaib
    @uiuxshoaib 4 роки тому +1

    Man, you are THE BEST !

  • @shanefeng3215
    @shanefeng3215 Рік тому

    If my problem is a combinatorial problem, but I can only calculate the cost once a full trail has been formed, how can I calculate the distance between two nodes? Or should I just ignore that part?

  • @fazilamalik3769
    @fazilamalik3769 2 роки тому

    Great explanation

  • @IsmaelSalih
    @IsmaelSalih Рік тому

    Thank you for the detailed explanation and the wonderful accuracy in explaining this algorithm. I hope you explain the gorilla algorithm as well.

  • @fazilamalik3769
    @fazilamalik3769 2 роки тому

    What is the time complexity of any optimization based evolutionary algorithm?

  • @abhishektaneja3626
    @abhishektaneja3626 4 роки тому +1

    you have upload your code inmatlab . i ma facing difficulty in running that code in matlab. can you help me in that . i tink i am facing a problem i calling function into other function in matlab. can you give some advise

  • @pavithrags
    @pavithrags 5 років тому

    Thanks for sharing the video.. understood the ACO

  • @piyushjaininventor
    @piyushjaininventor 3 роки тому

    shouldn't the evaporation be subtracted rather than added to current pheromone level? at 10:44 the pheromone level has increased from 0.1 to 0.6 with evaporation.

  • @haris525
    @haris525 4 роки тому

    Brilliant! I am wondering if you can use Bayes theorem for probability? Since you can observe the paths taken by the ants.

  • @SameerAhmed-1999
    @SameerAhmed-1999 3 місяці тому

    thanks , that was quite helpfull .

  • @farahmahmood1000
    @farahmahmood1000 3 роки тому

    at 6:44 in the video, you say if roh is equal to 1 the evaporation is at its maximum, but mathematically if roh is equal to 1 the first term of second equation will become zero and we will be left with the equation which is equal to pheromone level without evaporation. so what's going on here?

  • @vinayakchaple1492
    @vinayakchaple1492 4 роки тому

    Great video sir, can i use this model for optimization in scheduling of activities in a construction industry????

  • @bharti9273
    @bharti9273 3 роки тому

    How we can apply ant colony with clustering?

  • @sarahebal4391
    @sarahebal4391 4 роки тому

    Sir, thank you for the effective video, and for your effort, can you please explain to us the Artificial Bee Colony optimization, sir can I use the ABC algorithm to solve the shortest path problem? another question please, what are the meta-heuristics methods used to solve the shortest path problem? waiting for your response thank you in advance.

  • @trishanksingh6110
    @trishanksingh6110 3 роки тому

    How do you guarantee that the pheromone on the edge will not become 0?

  • @padmavathim3356
    @padmavathim3356 5 років тому

    Superb..fida hogaya..want to register for the course..getting problem in sign up..can u provide lecture on firefly algorithm please

  • @eashwarreddy1733
    @eashwarreddy1733 4 роки тому

    Sir,
    Is there any lecture on Sine-cosine algorithm, that will explain the working principle clearly?

  • @StudyKorner
    @StudyKorner 5 років тому

    Nicely explained.....
    The link in description is not working......

    • @thealimirjalili
      @thealimirjalili  5 років тому

      Thanks a lot. Ooops; I have updated the link.

  • @thankyouthankyou1172
    @thankyouthankyou1172 4 роки тому

    I like your video, it is very clear. thanks a lot

  • @mradlahdhiri8925
    @mradlahdhiri8925 4 роки тому

    please sir how to determine the matrix of pheromone

  • @bopon4090
    @bopon4090 3 роки тому

    why do we need to connect every node with every other node???

  • @9553954961
    @9553954961 5 років тому

    Hi Ali , First of all thank you for this amazing video and , my question is , how we can choose the destination city from a bunch of cities with equal probability values?

    • @anibaldk
      @anibaldk 5 років тому +1

      There are different models. Some, chose the closest city. Others, simply don't care.
      The idea is for the simulation to, eventually, show you the optimum path. So even when two have the same probability for a given time, in the long term, the one which favors the best path will end up with a higher value.
      If two paths are equally optimum, then your model - having same probabilities - will reveal it.

    • @9553954961
      @9553954961 5 років тому

      @@anibaldk many thanks . I got it.

  • @hypernarutouzumaki
    @hypernarutouzumaki 5 років тому +2

    The last equation at 6:41 is wrong

    • @thealimirjalili
      @thealimirjalili  5 років тому +2

      Yep, it is supposed to be tau = ( 1 - rho ) .* tau;

  • @aaronpumm
    @aaronpumm 3 роки тому

    shouldn't the vaporization be quadratic ? since its spreading in 2d space

  • @centa320
    @centa320 4 роки тому

    great explanation!

  • @mr.abdulrazakmechanical3477
    @mr.abdulrazakmechanical3477 3 роки тому

    Sir any multi objective optimization intergrated with artificial intelligence course on udemy?

  • @bombpiggy1782
    @bombpiggy1782 2 роки тому

    amazing video

  • @ValpoKnightTwister
    @ValpoKnightTwister 3 роки тому

    Ali, I've watched many UA-cam videos and yours is without a doubt the best explanation. I'm working on a small project using your algorithm to develope an app for iOS.
    At 9:21, what if there is a path that hasn't been taken yet? That path would have a Pheromone value of 0? Even with the evaporation model the value would be 0. How do you consider this path to be taken?
    Thank you.

    • @pabloescri2162
      @pabloescri2162 Рік тому

      I suppose that all the pheromones at the beginning will be set to 1

  • @aghabinabilabosaif2234
    @aghabinabilabosaif2234 5 років тому

    Thanks its very useful, please i want to know about a mathematical model of social spider optimization

  • @asraajalilsaeed7435
    @asraajalilsaeed7435 4 роки тому

    Can i use it to find area have more children but not have school??!

  • @lovebytoto
    @lovebytoto 3 роки тому

    Hi Professor, I was trying to look for this original math model in an official published resource... What is your resource please can you share it?

  • @ravitejaallu1921
    @ravitejaallu1921 5 років тому

    Excellent ....Thankyou Bro

  • @thaeermsahib2706
    @thaeermsahib2706 3 роки тому

    very good thank you so much

  • @mr.abdulrazakmechanical3477
    @mr.abdulrazakmechanical3477 3 роки тому

    Sir any good multi objective course on udemy?

  • @harishbattula9881
    @harishbattula9881 2 роки тому

    Thanks a lot.

  • @pawanjoshi4137
    @pawanjoshi4137 5 років тому +1

    brilliant man

  • @tejasrinigarneedi5939
    @tejasrinigarneedi5939 Рік тому

    How do we find and solve alpha and beta in that equation ? Please help me

    • @AlexeySilichenko
      @AlexeySilichenko Рік тому +1

      It's up to you. You can choose any. Just try different values and leave values that work the most effective.

  • @yicai7
    @yicai7 4 роки тому

    Great vid! Voted!

  • @AbdullahAAlwan
    @AbdullahAAlwan 3 роки тому +1

    Hi Prof. Ali
    Thanks for your explaining ACO.
    How can I find your email?

  • @farrukhshahzad1035
    @farrukhshahzad1035 3 роки тому

    How can i get these slides??

  • @bimaadamnugraha4752
    @bimaadamnugraha4752 5 років тому

    why do green ants choose that path? not others. there are 3 combinations using those 4 points. what is the reason?

    • @bimaadamnugraha4752
      @bimaadamnugraha4752 5 років тому

      where you get pheromone value without length of ant tour?

  • @mokhtarshouran3313
    @mokhtarshouran3313 4 роки тому

    could you make a video that explains the theory and the code of bees algorithm and we will be able to find it in udemy,

  • @mamunhasan5242
    @mamunhasan5242 5 років тому

    Very clear

  • @sudharakafernando4391
    @sudharakafernando4391 8 місяців тому

    Thank you !!!

  • @ralphsliger1325
    @ralphsliger1325 5 років тому

    can you resolve it using python?

  • @MrHardrocker98
    @MrHardrocker98 3 роки тому

    Do the ants have to be initialized from the same starting point? Or different?
    Cause I'm seeing both online

    • @ayaan5540
      @ayaan5540 3 роки тому

      I assume they would normally originate from a nest, but in reality there will of course be situations where scouts take random routes that eventually become solid paths. That's why most ant lines aren't the perfect shortest path from source to nest, but are shorter relative to routes taken by other scouts.

  • @tinesrensen3684
    @tinesrensen3684 5 років тому +2

    Thanks a lot! :D

  • @raviteja1013
    @raviteja1013 5 років тому

    what does the alpha and beta defins in that particular equation? please help me .

    • @thealimirjalili
      @thealimirjalili  5 років тому

      Those are some parameters to change the impact of pheromone and the quality of an edge on calculating the probability.

  • @nanithor5622
    @nanithor5622 4 роки тому

    Thanks alot Sir

  • @kannetisiva9977
    @kannetisiva9977 5 років тому

    how we can relize ant algaritham in ns2 simulater.can you help me ?

  • @welidbenchouche
    @welidbenchouche 5 років тому

    professor, great explanation, can i use this algorithm in model predictive control ? if yes, can you tell me how ?

    • @ShardulIyer
      @ShardulIyer 5 років тому

      If you intend to use ACO for model optimization then you need to implement each model as an ant & use the idea of pheromones either as penalty or dependent on your desired parameters. By doing so, you essentially put the models as ensemble & are optimizing the ensemble by favoring the best model. Having said that, it's not essential to implement ACO for optimization of predictive model control courtesy of requirements of high processing cost & nearly chance of not giving the correct output (ACO is notorious for not always giving best results). Thus, i suggest looking at other optimization methods or look into cost/error functions in terms of penalty for ensemble methods.

  • @AbhishekSingh-lf4xy
    @AbhishekSingh-lf4xy 4 роки тому

    I want to make project on Grasshopper Optimization algorithm please give me some ideas...

  • @carlwinkler3087
    @carlwinkler3087 4 роки тому

    Great video!