GANTT Chart with ordering of jobs

6 Ansichten (letzte 30 Tage)
Toon Van Heusden
Toon Van Heusden am 3 Feb. 2022
Beantwortet: Sai Teja G am 23 Jul. 2024
I have made an adaptive scheduler, such that 4 routes are available through the machines as M1/M2 -> M3/M4 -> M5, thus every job need to go through machine 5. Therefore, ordering is added to machine 5. Now I want to put the starting and end times of every job into a GANTT chart. Though the legend of the GANTT chart only letting me put all the jobs in chronological order such that:
Machine 1/2(depends on the route) - times job 1 - times job 2 - times job 3
Machine 3/4(depends on the route) - times job 1 - times job 2 - times job 3
Though in Machine 5, due to the ordering, it could occur that job 2/3 skips or does not wait for job 1:
Machine 5 - times job 2 - times job 3 - times job 1
Now the GANTT chart is making the Machine 5 - times job 2 the same color as the Machine 1/2 - times job 1. Anyone know how to give positions in a matrix the same color and legend?

Antworten (1)

Sai Teja G
Sai Teja G am 23 Jul. 2024
Hi Tonn,
I understand that you are getting the Machine 5 – times job 2 the same color as the Machine 1/2 - times job 1.
To assign positions, change colors, or modify the legend for each job over time, regardless of the machine, I suggest utilizing a file exchange that offers the functionality you require. One such option is to use the "ganntChart(_, Name, Value)" function, which allows you to assign different colors to each job.
Here is the link to the MATLAB File Exchange:
Hope this resolves your query!

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by