MIP node limit

Sets the maximum number of nodes solved before the algorithm terminates without reaching optimality.

Purpose

MIP node limit

API Parameter Name Name prior to V12.6.0
C CPXPARAM_MIP_Limits_Nodes CPX_PARAM_NODELIM
C++ IloCplex::Param::MIP::Limits::Nodes NodeLim (long)
Java IloCplex.Param.MIP.Limits.Nodes NodeLim (long)
.NET Cplex.Param.MIP.Limits.Nodes NodeLim (long)
OPL nodelim
Python parameters.mip.limits.nodes mip.limits.nodes
MATLAB Cplex class compatible Cplex.Param.mip.limits.nodes mip.limits.nodes
MATLAB CPLEX Toolbox compatible mip.limits.nodes mip.limits.nodes
MATLAB Optimization Toolbox compatible MaxNodes MaxNodes
Interactive mip limits nodes mip limits nodes
Identifier 2017 2017

Description

Sets the maximum number of nodes solved before the algorithm terminates without reaching optimality. When this parameter is set to 0 (zero), CPLEX completes processing at the root; that is, it creates cuts and applies heuristics at the root. When this parameter is set to 1 (one), it allows branching from the root; that is, nodes are created but not solved.

Values

Any nonnegative integer; default: 9223372036800000000.