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.

Comments and Ratings (39)

ahmed hameed

not work need graph

Dim Man


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

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

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

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

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


young (view profile)

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

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


Bayina (view profile)

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?

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

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 ??


YAN (view profile)

failing to run this code...

anamika jain

good for all the students


Rene (view profile)

hello ¿how can i get the makespan?



how i can use tis codes for power signal processing.


m (view profile)

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?

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

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor