inputLatticeSize

The number of distinct points in the input box lattice — the product over the input variables of the number of grid values each can take on (see InputDefinition.numGranularPoints). This is an upper bound on the number of distinct input-feasible points: the linear and functional constraints can only reduce it.

Returns null when the count is effectively unbounded: at least one input is continuous (granularity == 0.0), or the product would exceed Long.MAX_VALUE. Returns 0 when some input has no grid value within its bounds (a granularity too coarse for its range).

Useful as a diagnostic without running the model: a request for more distinct feasible points than this value — e.g. a solver population or space-filling design larger than the lattice — cannot be satisfied (sampleInputFeasiblePoints will return fewer). It is computed in closed form and does not enumerate the lattice, so it is safe to call on a large problem.