Clear Filters
Clear Filters

GANTT Chart with ordering of jobs

5 views (last 30 days)
Toon Van Heusden
Toon Van Heusden on 3 Feb 2022
Answered: Sai Teja G ongeveer 6 uur ago
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?

Answers (1)

Sai Teja G
Sai Teja G ongeveer 6 uur ago
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!

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!