Originally posted by: sds_rohit
Thanks for your reply.
In my model each TASK has a START-CITY and END-CITY. Workers travel from CITY A to B while doing their task.
Due to this CITY factor, Task 2 cannot follow Task 1 if END-CITY of Task 1 is not equal to START-CITY of Task 2. Furthermore, if the CITY were same, then after TASK-1 there is certain WAIT period (different and depending upon Tasks). In order to model this, I am trying to use Transition times (forbid transitions if CITY doesn't match) as detailed your following link :-
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14599503 Kindly, suggest in-case of any better method to model.
Now, I am facing a problem :- Rest for a worker after certain no of tasks( Total worktime >= MaxValue ) is allowed at certain CITIES only. Furthermore, simultaneous no of workers resting at any city is limited by the lodging facility available.
Model 1:- Modelling with Cumulative function :- I thought, I will consider REST also as a TASK.
a) Will make REST as a OPTIONAL variable for each CITY and each Worker.
b) Transition for forbidden and non-forbidden case can then be handled similar to other tasks.
c) Minimize the no of the REST period chosen.
d) Cumulative Function for each CITY :- pulse for REST tasks for that CITY :- Limited by lodging facility available.
Model 2 (as suggest by you) :- Modelling with Working Period with Rest in-between:- I am clueless about following :-
a) How to handle CITY effect as REST is not more a task its a time gap between two Working period. How to make sure REST happens only at allowed CITIES ?
b) How to limit the simultaneous REST by lodging facility ?
Please suggest how to solve these problems in MODEL 2 ?
#DecisionOptimization#OPLusingCPOptimizer