Should I develop metaheuristics like GA, ACO, PSO etc. using Matlab, or MEX and C++, or purely C++, Java etc.
조회 수: 1 (최근 30일)
이전 댓글 표시
I have been working around solving different optimization problems, mostly NP hard combinatorial optimization problems, such as TSP, job shop scheduling, VRP etc. I'd like to develop metaheuristic algorithms. However, in many cases, loops cannot be avoided because iteration is needed. For some complex problems (such as flexible job shop scheduling), even in decoding of chromosomes in GA I have to use loops. Will it be more efficient if I write whese codes in C++ and use MEX to call them in Matlab? Or is it a better choice to switch to C++ or Java etc. for the entire project. I am familiar with Matlab and I can easily write Matlab versions of programs, and do vectorization as far as I could. It will take me some time to switch to C++ or Java etc, however they are definately more efficient with loops. Does it worth?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Direct Search에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!