AutoMovie API
    Preparing search index...

    Interface IAutoMovieQuadraticRefinementResult

    The solution refineAutoMovieQuadraticProgram returns for a diagonal quadratic program, with its residuals measured on every original row.

    primal and dual are the native solution unless polishing produced a finite candidate that passed the caller's threshold on every original row; then they are that candidate. status is always the native status, so an unsuccessful solve is never promoted. The caller admits the solution only when status is 1 and the three residuals are within its tolerance. All arrays are new and owned by the caller.

    interface IAutoMovieQuadraticRefinementResult {
        complementarityResidual: number;
        dual: number[];
        maximumViolation: number;
        nativeCalls: IAutoMovieQuadraticRefinementNativeCall[];
        polishing?: IAutoMovieQuadraticPolishingResult;
        primal: number[];
        reference: number[];
        refinements: number;
        rowGroups: number[][];
        stationarityResidual: number;
        status: number;
    }
    Index
    complementarityResidual: number

    Largest |y · (a·x − endpoint)| over the rows, using the endpoint the multiplier's sign selects, |y| when that endpoint is unbounded, and 0 for an equality row.

    dual: number[]

    Returned multipliers in original row order, positive on an active upper endpoint and negative on an active lower endpoint.

    maximumViolation: number

    Largest endpoint violation over all original rows, in row units.

    The single native solve the refinement started from.

    The polishing attempt; absent when the native status is not 1, the budget is 0, or the native solution already passed admission.

    primal: number[]

    Returned primal, one value per program variable.

    reference: number[]

    Copy of the native primal, kept even when a polished one is returned.

    refinements: number

    Polishing steps taken; 0 when polishing did not run.

    rowGroups: number[][]

    Original row numbers of each group of identical coefficient rows.

    stationarityResidual: number

    Infinity norm of H·x + q + Aᵀ·y, with every original row in A.

    status: number

    Native status, unchanged by polishing; 1 is Solved.