提出图模型方法快速定位伪布尔调度模型中的冲突约束
G-CSEA: A Graph-Based Conflict Set Extraction Algorithm for Identifying Infeasibility in Pseudo-Boolean Models
- 构建传播过程中的蕴含图,追踪冲突来源
- 仅需少量求解调用,比传统方法更高效
- 适合需要快速诊断调度模型不可行性的从业者
人员排班涉及多种基于规则的约束,如班次限制、人员配置政策和工时规定等,这些约束可能相互冲突导致模型不可行。识别不可行的根本原因对恢复可行性至关重要。常用诊断方法是计算不可约不可行子集(IIS):一组联合不可行但移除任意一个约束即变为可行的最小约束集。本文研究使用二值变量上的不等式关系表示的伪布尔约束模型,该形式自然表达排班逻辑。现有IIS提取方法如加性删除法和QuickXplain依赖大量重复可行性检查,常导致大量求解器调用。对线性规划模型有效的对偶射线分析,在松弛问题可行但原伪布尔模型不可行时可能失效。为此,本文提出基于图的冲突集提取算法(G-CSEA),受SAT求解器中冲突驱动子句学习(CDCL)启发。该方法在约束传播过程中构建蕴含图,一旦检测到冲突,便回溯追踪两个决策分支下所有贡献约束。所得冲突集可选地通过QuickXplain进一步最小化,生成IIS。
原文摘要 · Abstract (English)
Workforce scheduling involves a variety of rule-based constraints-such as shift limits, staffing policies, working hour restrictions, and many similar scheduling rules-which can interact in conflicting ways, leading to infeasible models. Identifying the underlying causes of such infeasibility is critical for resolving scheduling issues and restoring feasibility. A common diagnostic approach is to compute Irreducible Infeasible Subsets (IISs): minimal sets of constraints that are jointly infeasible but become feasible when any one is removed. We consider models formulated using pseudo-Boolean constraints with inequality relations over binary variables, which naturally encode scheduling logic. Existing IIS extraction methods such as Additive Deletion and QuickXplain rely on repeated feasibility checks, often incurring large numbers of solver calls. Dual ray analysis, while effective for LP-based models, may fail when the relaxed problem is feasible but the underlying pseudo-Boolean model is not. To address these limitations, we propose Graph-based Conflict Set Extraction Algorithm (G-CSEA) to extract a conflict set, an approach inspired by Conflict-Driven Clause Learning (CDCL) in SAT solvers. Our method constructs an implication graph during constraint propagation and, upon detecting a conflict, traces all contributing constraints across both decision branches. The resulting conflict set can optionally be minimized using QuickXplain to produce an IIS.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。