Skip to content

Commit 299d3d3

Browse files
committed
recover original comment
Signed-off-by: Nicolas L. Guidotti <nguidotti@nvidia.com>
1 parent 71a2881 commit 299d3d3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cpp/src/mip_heuristics/mip_constants.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
#define CUOPT_MIP_BATCH_PDLP_REQUIRED_THREAD_COUNT 3
2323
#define CUOPT_MIP_CLIQUE_CUTS_REQUIRED_THREAD_COUNT 3
2424

25-
// Concurrent LP root solve from inside MIP: barrier runs as a third OMP task alongside PDLP
26-
// and dual simplex. Disabled below this thread count so the barrier work doesn't overshoot
27-
// the MIP solver's num_cpu_threads budget (need 1 PDLP + 1 dual simplex + 1 barrier).
28-
// Stand-alone LP always runs all three concurrently regardless of this gate.
25+
// MIP-only gate: skip the concurrent barrier when fewer threads are available than this
26+
// (1 PDLP + 1 dual simplex + 1 barrier). Stand-alone LP always runs all three.
2927
#define CUOPT_CONCURRENT_LP_BARRIER_REQUIRED_THREAD_COUNT 3

0 commit comments

Comments
 (0)