公共接口IloNoOverlap 扩展IloConstraint
IloNoOverlap实例表示无重叠约束。 区间变量集合 "{a1,...,an}的无重叠约束条件是:该集合中所有存在的区间都是成对不重叠的。 It means that whenever both interval variables ai and aj, i!=j are present, ai is constrained to end before the start of aj or aj is constrained to end before the start of ai.
如果无重叠约束建立在区间序列变量上,则表示无重叠约束作用于序列的区间变量集 "{a1,...,an},序列的区间变量顺序将描述无重叠区间的顺序。 也就是说,如果 "ai和 "aj、"i!=j都存在,并且如果 "ai出现在序列值中的 "aj"之前,那么 "ai就必须在 "aj开始之前结束。 If a transition distance tdist is specified and if tpi and tpj respectively denote the types of interval variables ai and aj in the sequence, it means that a minimal distance tdist[tpi,tpj] is to be maintained between the end of ai and the start of aj.
您必须将此限制添加到模型中,并将模型提取到算法中,才能将其考虑在内。
有关无重叠约束的更多信息,请参阅《C++ 参考手册》中的概念 "区间变量排序"。
getName, setName