필터 지우기
필터 지우기

Implementation of PSO algorithm for vehicle routing problem

조회 수: 16 (최근 30일)
ANURAG DEEPAK
ANURAG DEEPAK 2020년 10월 26일
답변: Dewi 2023년 2월 3일
Respected Sir/Madam,
I am trying to implement PSO algorithm for capacitated vehicle routing problem and unable to get the idea how to intialize the particles?
  댓글 수: 1
Anastasiia Mikula
Anastasiia Mikula 2021년 5월 17일
편집: Anastasiia Mikula 2021년 5월 17일
I would suggest you to implement this function into your vehicle routing internal system in case you use any in your company. If you don`t, then developing a custom vehicle routing software would be an excellent solution to all types of vehicle routing problems. The benefit of custom development is that this solution will provide the functions that your company requires, including PSO algorithm.

댓글을 달려면 로그인하십시오.

채택된 답변

Saurav Chaudhary
Saurav Chaudhary 2020년 10월 29일
Go through the following video tutorial, it has implementation of Particle Swarm Optimization (PSO). In the first part, theoretical foundations of PSO is briefly reviewed. In the next two parts of this video tutorial, PSO is implemented line-by-line and from scratch, and every line of code is described in detail. Maybe this will give you fair idea about the initialization of particle.
Hope, this helps.

추가 답변 (3개)

Konstantinos Zervoudakis
Konstantinos Zervoudakis 2021년 1월 14일
To initialize the particles, just generate some random solution vectors

cesar djoumessi
cesar djoumessi 2021년 9월 23일
Hello, How to do the optimization with the PSO when we have an objective function which depends on two variables but the limits of variation of the two variables are different? for example -5 <x1 <3 and -100 <x2 <200
  댓글 수: 1
ANURAG DEEPAK
ANURAG DEEPAK 2021년 9월 24일
You can follow this link to understand and solve your optimization problem.
(https://www.youtube.com/watch?v=2VJl37RWvkw)

댓글을 달려면 로그인하십시오.


Dewi
Dewi 2023년 2월 3일
For CVRP, each particle can be initialized as a random solution to the problem, where each particle represents a different set of routes for the vehicles. It is recommended to experiment with different initialization methods and parameters to find the best solution for your specific problem.

카테고리

Help CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by