SeqTG:通过顺序整数线性规划实现可扩展的组合测试生成
SeqTG: Scalable Combinatorial Test Generation via Sequential Integer Linear Programming
AI总结:
本文提出SeqTG框架,通过顺序整数线性规划解决组合测试中的NP难问题,有效减少测试套件冗余,提升测试紧凑性与约束满足度。
摘要:
组合测试(CT)对于检测交互触发故障至关重要,但生成满足复杂约束的最小覆盖数组仍是一个未解决的NP难挑战。当前贪心算法虽然可扩展性高,但存在严重的"边际效益递减"问题:它们在初期能高效覆盖交互,但当努力打包最终几个困难配对时会产生臃肿冗余的测试套件。尽管精确数学规划理论上能解决这一效率问题,但历史上由于组合爆炸而难以处理。本文首次将精确数学建模应用于CT,提出SeqTG框架,基于顺序整数线性规划(ILP)。为克服可扩展性障碍,SeqTG采用新颖的Warm-Start策略:快速贪心初始化首先清除"容易"的交互,使严谨的ILP求解器仅优化剩余的难以覆盖部分。该流程分为三个阶段:(1)约束优先阶段通过图划分组必须包含的要求;(2)增量优化阶段通过顺序ILP针对剩余交互;(3)全局最小化阶段通过集合覆盖消除冗余。在标准基准和200个大规模配置上的广泛评估验证了该框架的有效性。结果表明,SeqTG有效消除晚期膨胀,实现了最先进的测试套件紧凑性和严格约束满足度。
英文摘要:
Combinatorial Testing (CT) is essential for detecting interaction-triggered faults, yet generating minimal Covering Arrays under complex constraints remains an unresolved NP-hard challenge. Current greedy algorithms are highly scalable but suffer from severe ``diminishing returns'': they efficiently cover initial interactions but produce bloated, redundant test suites when struggling to pack the final few difficult pairs. While exact mathematical programming could theoretically address this inefficiency, it has historically been intractable due to combinatorial explosion. In this paper, we pioneer the application of exact mathematical modeling to CT by introducing SeqTG, a scalable framework based on Sequential Integer Linear Programming (ILP). To circumvent the scalability barrier, SeqTG employs a novel Warm-Start strategy: a rapid greedy initialization first clears the ``easy'' interactions, allowing the rigorous ILP solver to exclusively optimize the fragmented, difficult-to-cover remainder. The pipeline operates in three stages: (1) a Constraint-First phase grouping must-include requirements via graph partitioning; (2) an Incremental Optimization phase targeting the remaining interactions with sequential ILP; and (3) a Global Minimization phase eliminating redundancies via set-covering. Extensive evaluations across standard benchmarks and 200 large-scale configurations validate the framework's efficacy. The results demonstrate that SeqTG effectively eradicates late-stage bloat, achieving state-of-the-art test suite compactness and strict constraint adherence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。