AutoMovie API
    Preparing search index...

    Measure homogeneous equations and original-coordinate termination quantities. Residual signs are rx=-Px-A'z-qtau and rz=Ax+s-btau. Costs divide by tau and undo objective scaling; infeasibility quantities remain homogeneous. Stable Euclidean norms retain the preceding solver's residual definitions. Product/addition corrections remain through sparse residuals and costs; the gap is formed before the two reported costs round to individual numbers.

    type IResult = {
        bz: number;
        dualInfeasibility: number;
        dualObjective: number;
        dualResidual: number;
        gap: number;
        objective: number;
        primalInfeasibility: number;
        primalResidual: number;
        qx: number;
        ratio: number;
        relativeGap: number;
        rt: number;
        rx: Float64Array;
        rz: Float64Array;
        sz: number;
        xpx: number;
    }
    Index
    bz: number

    bᵀ*z in the current equilibrated homogeneous coordinates, before objective rescaling.

    dualInfeasibility: number

    Maximum normalized certificate residual of Px and Ax+s, measured before adding the homogeneous right-hand sides.

    dualObjective: number

    Dual cost (-bᵀz/tau - xᵀPx/(2tau²))/c in the caller's original objective scale.

    dualResidual: number

    Euclidean dual equation norm after undoing variable, homogeneous and objective scaling, normalized by max(1, normq + (normx + normz)/tau).

    gap: number

    Absolute primal-minus-dual objective gap in original objective units, formed from compensated costs before each reported objective rounds.

    objective: number

    Primal cost (qᵀx/tau + xᵀPx/(2tau²))/c in the caller's original objective scale.

    primalInfeasibility: number

    Scaled norm of Aᵀz divided by max(1, normz), measured before adding Px and q*tau; a certificate residual, not a solved primal constraint error.

    primalResidual: number

    Euclidean primal equation norm after undoing row and homogeneous scaling, normalized by max(1, normb + (normx + norms)/tau).

    qx: number

    qᵀ*x in the current equilibrated homogeneous coordinates, before division by tau or objective scale c.

    ratio: number

    Current homogeneous embedding ratio kappa/tau, used with residuals for termination and infeasibility decisions.

    relativeGap: number

    gap divided by max(1, min(abs(objective), abs(dualObjective))); nonnegative when the measurement is finite.

    rt: number

    Homogeneous scalar residual qᵀx + bᵀz + xᵀPx/tau + kappa, retaining twofold dot-product corrections until publication.

    rx: Float64Array

    Homogeneous dual equation residual -Px - Aᵀz - q*tau in equilibrated solver coordinates; fresh array of n variable components.

    rz: Float64Array

    Homogeneous primal equation residual Ax + s - btau in equilibrated solver coordinates; fresh array of m expanded constraint components.

    sz: number

    sᵀ*z complementarity dot product in the current homogeneous cone coordinates.

    xpx: number

    xᵀPx in the current equilibrated homogeneous coordinates, before dividing by tau squared.