Originally posted by: jmogali
Hi,
I have 2 Interval vars A, B whose respective start and end times need to be determined. I am provided with minimum lengths for both A and B. The constraint is that, the end time of A must exactly coincide with the start time of B i.e. A and B are contiguous (there are additional non overlapping constraints imposed on A, B with other interval variables which I have not posted). I am new to CP, and by looking at the class definition of IloIntervalVar (https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.ide.help/refcppopl/html/classes/IloIntervalVar.html), I couldn't quite figure out as to how I may be able to constrain the end time of A with the start time of B to be equal. Any relevant previous posts or code snippets showing how I may be able to do this is deeply appreciated.
Thanks
#CPOptimizer#DecisionOptimization