pub const STATIONARITY_TOL: Number = 1e-12;Expand description
MINPACK’s gtol test: stop when every column of à is orthogonal to
c to within this cosine (the columns are normalized by D, so each
|Ã_jᵀc|/‖c‖ lies in [0, 1]), counting only directions the box lets
the iterate move in. Set at the noise level on purpose: it exists for the
exact case — degenerate_start_infeasible starts where J = 0, and
without it the method spends 57 iterations halving Δ at a point no
step can leave — and must never fire on the near-null directions of a
nearly singular but consistent system like square_flowsheet_resto.