매일 아침, 어제의 AI를 한 통으로 정리해 보내드립니다메일로 받아보기

METAL LAB

Learning Early-to-Final Solution Consistency for MILP Acceleration

arXiv:2608.199532026-08-21

MILP 풀이에서 '초반에 나온 답'을 믿어도 되는지를 학습시켜 최적화 속도를 크게 높였다

혼합정수계획법(MILP)은 물류, 스케줄링 등에 널리 쓰이지만 어려운 문제는 풀이 시간이 매우 오래 걸린다. 이 연구는 솔버가 초반에 빠르게 찾아낸 임시 해답이 최종 정답과 상당 부분 일치한다는 점에 착안해, '이 변수 값이 최종까지 유지될지'를 예측하는 방식(EnCore)을 제안했다. Gurobi 기준 기존 방법 대비 평균 56.9% 성능 격차를 줄였고, 다른 솔버(SCIP)에 재학습 없이 옮겨도 36.4% 개선 효과가 유지됐다.

무엇을 했나

  1. MILP는 변수 중 일부가 정수여야 하는 최적화 문제로, 어려운 경우 유명 솔버(Gurobi, SCIP 등)로도 정해진 시간 안에 좋은 답을 찾기 힘들다.
  2. 기존 AI 기반 가속 방법들은 문제의 구조 정보만 보고 처음부터 완전한 해답을 예측하려 했는데, 이는 매우 어려운 과제였다.
  3. 연구팀은 솔버가 짧게 돌려서 얻은 '초기 해'가 오래 돌린 뒤의 '최종 해'와 변수 값이 대부분(예: 워크로드 분배 문제에서 95.63%) 같다는 사실을 발견했다.
  4. 그래서 완전한 해를 새로 예측하는 대신, 초기 해의 각 변수 값이 '최종까지 그대로 유지될지 아닌지'만 예측하도록 학습 목표를 바꿨다. 이렇게 하면 신뢰할 만한 값은 고정하고, 불확실한 소수의 변수에만 탐색을 집중시킬 수 있다.
  5. 추론 시에는 초기 단계에서 나온 여러 개의 후보 해를 종합(앙상블)해 예측을 더 안정적으로 만들었고, Gurobi 기준 조합경매(combinatorial auction) 문제에서는 정답과의 격차를 완전히 없앴다.
Figure 1: Evolution of the primal gap over the solving process with Gurobi (left) and SCIP (right) on set covering instances. The time axis is scaled to highlight the early phase −200​s. Results on other problem classes are provided in App. A.
Figure 1: Evolution of the primal gap over the solving process with Gurobi (left) and SCIP (right) on set covering instances. The time axis is scaled to highlight the early phase −200​s. Results on other problem classes are provided in App. A.
Table 1: Main results with Gurobi. Obj is the final feasible objective and Gap is the absolute gap to the in-study BKS. Arrows indicate the preferred objective direction; bold marks the best learning-based result or a positive gap reduction.
CA ↑ (BKS 98627.99)SC ↓ (BKS 123.37)WA ↓ (BKS 706.86)IP ↓ (BKS 11.72)
MethodObjGapObjGapObjGapObjGap
Gurobi (3600s)98448.84179.15123.370.00706.860.0011.720.00
Gurobi (1000s)97311.691316.30123.640.27707.360.5013.772.05
ND94340.634287.36123.620.25707.100.2414.152.43
PS97906.20721.79123.600.23707.090.2312.080.36
Apollo98083.79544.20123.560.19707.060.2011.970.25
EnCore-ND97847.92780.70123.580.21707.030.1713.471.75
EnCore-PS98627.990.00123.500.13706.980.1211.950.23
EnCore-Apollo98491.40136.59123.570.20707.030.1711.820.10
Best Gap Reduction721.79100.0%0.1043.5%0.1147.8%0.1560.0%
Figure 2: Distributions of flipped integer variables between early and full-budget solutions. ‘CA’ and ‘WA’ stand for combinatorial auction and workload apportionment, respectively.
Figure 2: Distributions of flipped integer variables between early and full-budget solutions. ‘CA’ and ‘WA’ stand for combinatorial auction and workload apportionment, respectively.
Table 2: Zero-shot transfer from Gurobi to SCIP under a 1,000-second total budget. Bold marks the best result. The BKS is presented in Table 1.
MethodCA ↑SC ↓WA ↓IP ↓
SCIP(1000s)94701.91127.99709.0623.49
ND94342.12125.14707.3318.19
PS97097.46125.03708.4917.02
Apollo97335.92124.97708.4316.21
EnCore-ND96641.43124.75707.2414.91
EnCore-PS97707.64125.04708.2216.13
EnCore-Apollo97293.51125.38707.9117.39
Best Gap Reduction53.6%22.0%33.1%50.7%
(b) Gurobi on WA
(b) Gurobi on WA
Table 3: Ablation study of key components under the Predict-and-Search pipeline. Average objective values are reported.
VariantCA ↑SC ↓WA ↓IP ↓
Predict-and-Search97906.20123.60707.0912.08
+ early solution as feature98318.22123.55707.0412.17
+ consistency prediction target98616.65123.53706.9911.90
+ early-solution ensemble98627.99123.50706.9811.95
(c) SCIP on CA
(c) SCIP on CA
Table 4: Graph features for input.
IndexFeatureDescription
Variable-node features
0ObjectiveNormalized objective coefficient.
1Variable coefficientAverage variable coefficient across all constraints.
2Variable degreeDegree of the variable node in the bipartite graph.
3Maximum coefficientMaximum variable coefficient across all constraints.
4Minimum coefficientMinimum variable coefficient across all constraints.
5Variable typeIndicator of whether the variable is integer.
6–17Position embeddingBinary encoding of the variable’s order among all variables.
18Early-solution valueValue of the variable in the early solution collected as described in Appendix C.
Constraint-node features
0Constraint coefficientAverage of the nonzero coefficients in the constraint.
1Constraint degreeDegree of the constraint node in the bipartite graph.
2BiasNormalized right-hand side of the constraint.
3SenseSense of the constraint.
Edge features
0CoefficientCoefficient connecting the constraint and variable nodes.
(d) SCIP on WA
(d) SCIP on WA
Table 5: Statistical information of the benchmark instances.
CASCIPWA
Constraint Number2590.33300019564306
Variable Number15005000108361000
Binary Variables Number1500500010501000
Continuous Variables Number003360000
Integer Variables Number0000
Figure 3: Average primal gap to the BKS versus time under a 1,000-second time limit. EnCore starts after the early solution collection. Each curve is shown only after all test instances have obtained a feasible solution.
Figure 3: Average primal gap to the BKS versus time under a 1,000-second time limit. EnCore starts after the early solution collection. Each curve is shown only after all test instances have obtained a feasible solution.
Table 6: Zero-shot cross-family transfer to the MIPLIB IIS subset. Mean Obj is the mean of the per-instance final objectives. Feas. reports the number of instances with a finite feasible objective. † means computed only over its three feasible instances.
PredictorDownstreamMean Obj ↓Feas.
OriginNeural Diving243.00†3/11
EnCoreNeural Diving173.4511/11
OriginPredict-and-Search172.0011/11
EnCorePredict-and-Search171.7311/11
OriginApollo-MILP172.9111/11
EnCoreApollo-MILP172.8211/11
Figure 4: Average final objective of EnCore-PS under different maximum early-solution collection times.
Figure 4: Average final objective of EnCore-PS under different maximum early-solution collection times.
Table 7: Final objectives on the eleven MIPLIB IIS instances. All instances are minimization problems. Bold marks the lowest objective in each row; a dash indicates that no finite feasible solution was found.
NDPSApollo-MILP
InstanceGCNOursGCNOursGCNOurs
ex1010-pi242.00237.00236.00241.00238.00
fast0507174.00174.00174.00174.00174.00
glass-sc23.0023.0023.0023.0023.00
iis-glass-cov21.0021.0021.0021.0021.00
iis-hc-cov17.0017.0017.0017.0017.00
ramos3235.00229.00226.00231.00233.00
scpj4scip132.00132.00132.00132.00132.00132.00
scpk4328.00330.00326.00327.00330.00330.00
scpl4269.00269.00269.00269.00269.00269.00
seymour423.00423.00423.00423.00423.00
v150d30-2hopcds42.0041.0041.0041.0041.00
(b) SC
(b) SC
Table 8: The partial solution size parameters (k0,k1) and neighborhood parameter Δ.
BenchmarkCASCIPWA
PS+Gurobi(600,0,20)(2000,0,100)(400,5,10)(0,500,10)
PS+SCIP(400,0,20)(2000,0,100)(400,5,1)(0,600,5)
(d) IP
(d) IP
Table 9: Hyperparameters (k0(i),k1(i),Δ(i)) for Apollo-MILP.
CASCIPWA
Iteration 1(400,0,60)(1000,0,200)(100,20,50)(20,200,100)
Iteration 2(200,0,30)(500,0,100)(40,15,20)(10,100,50)
Iteration 3(100,0,15)(250,0,50)(20,15,10)(10,5,5)
Iteration 4(50,0,10)(10,0,5)(5,50,30)(1,10,5)
(b) SC
(b) SC

왜 중요한가

MILP 최적화는 물류, 생산계획, 통신망 설계 등 산업 현장의 의사결정에 폭넓게 쓰이는데, 이 방법은 기존 AI 가속 기법 위에 얹어 쓸 수 있고 다른 솔버로도 재학습 없이 옮길 수 있어 실용성이 크다. 완전한 해를 처음부터 만드는 대신 '이미 나온 답을 믿을지 말지'만 판단하게 함으로써 학습 난이도를 낮췄다는 점에서 문제 해결 접근 자체가 새롭다.

(d) IP
(d) IP

이 논문의 용어

  • MILP(혼합정수계획법) · 일부 변수가 정수여야 하는 선형 최적화 문제. 스케줄링, 물류 등에 쓰인다.
  • 브랜치앤바운드 · 가능한 해의 공간을 나누고 가지치기하며 최적해를 찾는 MILP solver의 기본 탐색 방법.
  • primal gap · 현재 찾은 해와 알려진 최선의 해 사이의 격차. 작을수록 좋은 해에 가깝다는 뜻.
  • 그래프 신경망(GNN) · 변수와 제약조건을 노드로 표현한 그래프를 입력받아 패턴을 학습하는 인공신경망 구조.
  • Predict-and-Search / Neural Diving · AI 예측값으로 일부 변수를 고정하거나 탐색 범위를 줄여 solver 속도를 높이는 기존 방법들.
(b) Aggregate flip distribution.
(b) Aggregate flip distribution.

논문 원문 초록 (영문)

Mixed-Integer Linear Programming (MILP) is a fundamental problem class in operations research and combinatorial optimization, with broad applications to industrial decision-making. Owing to their NP-hardness, however, modern solvers may struggle to find high-quality solutions for challenging MILP instances within practical time limits. Recent learning-based approaches seek to accelerate MILP solving by directly predicting high-quality solutions from static instance-level features, such as variable-constraint bipartite graphs. Yet accurate solution prediction from instance features alone is difficult, and these methods largely overlook the information revealed during the solver's search process. In this paper, we find that solutions produced at the early search stage of MILP solvers, which are computationally cheap to obtain, are often structurally close to the solutions found after full-budget search. Motivated by this observation, we propose a new solver-informed paradigm that shifts the learning target from variable assignment to early-to-final consistency: for each variable, we predict whether its early-stage assignment should persist in full-budget solutions. The predicted consistency naturally guides downstream search, for instance by fixing the assignments deemed consistent. At inference time, we further ensemble consistency predictions across multiple early-stage solutions to improve robustness. Experiments across four MILP benchmarks show our method improves prediction-guided search across diverse downstream pipelines. With Gurobi, our proposed method reduces the primal gap by 56.9% on average and closes it completely on combinatorial auction instances. Besides, we transferred the Gurobi-trained model zero-shot to SCIP without adaptation, achieving a 36.4% average gap reduction across benchmarks.

저자 · Guanlin Li, Chengrui Gao, Chenguang Wang, Haopu Shang, Zherong Zhang, Ke Xue, Jixiang Lu, Weiyong Yang, Chao Qian

arXiv에서 원문 보기

최신 논문

논문 전체 보기 →

METAL LAB 최신 기사

그림 출처: Guanlin Li et al., arXiv:2608.19953, CC BY 4.0