nonzero element read limit

Specifies a limit for the number of nonzero elements to read for an allocation of memory.

Purpose

Nonzero element read limit

API Parameter Name Name prior to V12.6.0
C 64-bit CPXPARAM_Read_Nonzeros CPX_PARAM_NZREADLIM (CPXLONG)
C 32-bit CPXPARAM_Read_Nonzeros CPX_PARAM_NZREADLIM (CPXINT)
C++ IloCplex::Param::Read::Nonzeros NzReadLim (CPXLONG)
Java IloCplex.Param.Read.Nonzeros NzReadLim (CPXLONG)
.NET Cplex.Param.Read.Nonzeros NzReadLim (CPXLONG)
OPL not available not available
Python parameters.read.nonzeros read.nonzeros
Interactive read nonzeros read nonzeros
Identifier 1024 1024

Description

Specifies a limit for the number of nonzero elements to read for an allocation of memory. This parameter does not restrict the size of a problem. Rather, it indirectly specifies the default amount of memory that will be pre-allocated before a problem is read from a file. If the limit is exceeded, more memory is automatically allocated.

Values

Any integer from 0 to CPX_BIGINT or CPX_BIGLONG, depending on integer type; default: 250 000.