Program in sparse-row form; it is only read.
Kernel input whose columns, rowIndices, values, lower and
upper are new arrays, while diagonal, linear and initial are the
caller's own arrays, so mutating them later changes the assembled program.
Admits a sparse-row quadratic program and lays its constraint matrix out in the compressed sparse column form the engine numerical kernel reads.
Admission is
admitAutoMovieQuadraticProgram, so an inadmissible program throws before anything is built. Columncholds its nonzeros atcolumns[c]up tocolumns[c + 1], in ascending row order, and a weight of exactly zero is kept as an explicit entry. A null row endpoint becomes-AUTOMOVIE_QUADRATIC_INFINITYorAUTOMOVIE_QUADRATIC_INFINITY, the kernel's unbounded sentinel.