Aivora
NVIDIA DeveloperAI ResearchAdvanced

Scaling to 100 Million Variables: NVIDIA cuOpt Introduces mPDLP Multi-GPU LP Solver

突破億級變數極限!NVIDIA cuOpt 推出多 GPU 線性規劃求解器 mPDLP

2 min read
Scaling to 100 Million Variables: NVIDIA cuOpt Introduces mPDLP Multi-GPU LP Solver
The 30-second version

NVIDIA cuOpt introduces mPDLP (Multi-GPU Primal-Dual hybrid gradient for Linear Programming) to solve ultra-large-scale decision optimization problems. Traditional single-GPU solvers struggle with memory capacity and speed when scaling to hundreds of millions of variables. By distributing linear programming problems across NVLink-connected GPUs and utilizing 'min-cut partitioning' on the constraint matrix, mPDLP keeps highly dependent data localized. This drastically reduces inter-GPU communication overhead. In benchmarks, mPDLP achieved up to a 6x reduction in peak GPU memory usage and significant speedups on problems exceeding 10 million nonzeros.

Key points

01

Multi-GPU Distributed Architecture

Distributes LP problems across multiple GPUs connected via NVLink, bypassing single-GPU memory bottlenecks.

02

Min-Cut Graph Partitioning

Models the constraint matrix as a bipartite graph and partitions it to minimize cross-GPU communication.

03

Memory Efficiency & Speedup

Delivers up to 6x lower peak memory usage per GPU and scaling speedups on problems with over 10 million nonzeros.

How it works

mPDLP Multi-GPU Solve Workflow
Build graphReduce cutsMap hardwareStart iterationsCross-GPU syncUpdate vectorsMeet toleranceLP Constraint Matrix AConvergence & OutputBipartite GraphRepresentationMin-Cut Partitioning(k-ways)Distribute to GPUsNCCL Edge-CutCommunicationSpMV Iterative Loop

Why it matters

In real-world scenarios like global supply chains and power grids, planning windows are strictly limited. mPDLP enables enterprises to solve complex models with hundreds of millions of variables in minutes rather than hours. This permits continuous, large-scale scenario planning and uncertainty analysis, pushing the boundaries of real-time operational decision-making.

Who it affects

  • AI Developer
  • AI Researcher
  • Enterprise Leader

How to use it

  1. 1Global supply chain and production planning, such as Kinaxis optimizing a CPG model with over 135M variables on its Maestro platform.
  2. 2Large-scale energy system capacity expansion modeling, such as PSR optimizing a stochastic expansion model with 185M variables.

Limitations & caveats

  • For smaller problems (fewer than 10M nonzeros), inter-GPU synchronization and communication overhead can outweigh parallel compute benefits.
  • Performance is highly dependent on the matrix sparsity structure; high edge-cut ratios post-partitioning can lead to severe communication bottlenecks.

Related