File Exchange

image thumbnail

Ant Colony Optimization (ACO)

version (56.3 KB) by Dimas Aryo
Solve dynamic job shop scheduling problem with ant colony optimization (ACO).


Updated 29 Jun 2011

View License

Dynamic job shop scheduling problem is one form of a job shop scheduling problem with varying arrival time job or not concurrent. This problem can be represented in graph form, which is to seek the shortest path from start point to destination point. One solution that can be used is with the ant colony optimization algorithm. There are three method to input the job : xls file, matriks, and atrractive dialog.

Cite As

Dimas Aryo (2020). Ant Colony Optimization (ACO) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (42)

Oghenemaro Umuomo

Oghenemaro Umuomo


ahmed hameed

not work need graph

Dim Man

sawon pratiher


please mail me..


hello, can i get the code for Optimal sizing of Hybrid energy system (PV,wind, Diesel generator, battery) using ant colony optimization.
plz mail me at

webster chikamba

Hie i dont get you though can you asist me in trying to impliment material handling using ant colony

Wildan eko Nugroho

hi .. i need a toolbox for ant colony optimization and SVM, please help .. my email:

Wildan eko Nugroho

hi .. i need a toolbox for ant colony optimization and SVM, please help .. my email:

Please I need continuous orthogonal ant colony optimization source code for minimization in matlab. Email me on

Rajeswari Karunanithi

i wanna termite colony algorithm coding..plz help me out any one..


What are the requirements for parameters

hello can you give me one example to use this code
thanks !!

yimiao xie

can not run this code

yimiao xie

to work this code, need a lot of time


thank you how to run this code

idris anjolaiya

greatest engineers

Nimesh Nakum

i need your help.
how to know about ant colony method thoroughly.

Benard Lekura


I need an ant colony code for optimal power flow optimization precisely for 14 bus IEEE network.

Mail me on


hi..i tried to run this code..but i get this error..

??? Input argument "graph" is undefined.

Error in ==> ACO at 6
m = size(graph,2);

can someone tell me how to make this code works?

rafat alhanani

Could you please tell me what do input arguments in the ACO(graph,machine,nodes,Q,a,b,p,t,mactime,
jobtime) mean and their type?
Thank you very much.

payam baban

I do that, but failing again???

Xiaowei Shen

vimal gunasekaran

can any one help me to find ACO optimization codings

izzat aswad

help me to find ant colony coding

izzat aswad

can i gat work coding for ant colony

Rahul Prakash

What is he syntax to use dinamicjssp2 and dinamicjssp3 ??


Muhammad Habib

failing to run this code...

mattia barcellona


anamika jain

good for all the students


hello ¿how can i get the makespan?



how i can use tis codes for power signal processing.


sajad jashfar

Hi Dear wang h
I need to ant colony source codes (without TSP) to solve the another problems.
my problem is simple but their discrete variables are in constraint.
for example:
how can solve such above example using ACO?

universitas mataram

before I introduce myself, my university students agus Mataram are conducting research on "optimal power flow using the ant colony optimization" that I want to ask (firstjob, newjob, newjobtime) is the form of an excel file or something I am still confused on this data the mas guidance please ... if I may ask for phone no mas in order to communicate directly ... thank you

universitas mataram

sebelumnya saya memperkenalkan diri, saya agus mahasiswa universitas mataram sedang melakukan penelitian tentang "aliran daya optimal dengan menggunakan metode ant colony optimization" yang saya ingin tanyakan, (firstjob,newjob,newjobtime) ini bentuk filenya excel atau apa saya masih bingung di bagian datanya ini mas mohon bimbingannya... kalau boleh saya minta no telp mas agar bisa berkomunikasi langsung... terima kasih

Dimas Aryo

example command to using this code :


maza koka


MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!