pub const MAX_ITERATIONS: usize = 1_000_000;
Maximum solver iterations to prevent runaway computation.