How can I show the task number or name on top of each task bar like the in the below photo (this photo taken from aimms help not my model)? For example I'm interested in showing i_task value on top of each task bar.
thank you inadvance
Page 1 / 1
Hello,
I created a small example in AIMMS 24.5 using WebUI 24.12, just to illustrate the basic mechanism - a Gantt Chart with 3 jobs, and a little bit of text in there. It looks as follows:
To create the above image, there is a set of job s_jobs with index i_job, a set of resources s_res with index i_res, a parameter with the start of each job p_start(i_job, i_res), a parameter with the duration of each job p_duration(i_job, i_res).
More to the point of your question, there is a string parameter sp_text(i_job, i_res) with the text for each task (i_job, i_res).
You can associate the text of that string parameter with the text shown in the task using the annotation webui::itemTextIdentifier on the duration parameter as follows:
Does this help?
Please find the example AIMMS 24.5 project attached.
With kind regards,
Chris
Thank you very much for your reply, it is very helpful.
Reply
Sign up
Already have an account? Login Please use your business or academic e-mail address to register