highs-js API reference
    Preparing search index...

    Interface Solution

    Detached dense solution buffers. Their presence does not prove that they are valid: primal and dual availability are independent and depend on model and solve status. Inspect primal_solution_status and dual_solution_status through model.info, as well as model.getModelStatus(), before using them. MIP dual vectors are not meaningful. The arrays are JavaScript-owned copies.

    interface Solution {
        colDual: Float64Array;
        colValue: Float64Array;
        rowDual: Float64Array;
        rowValue: Float64Array;
    }
    Index
    colDual: Float64Array

    Column dual values, length numCols; not meaningful for MIP solutions.

    colValue: Float64Array

    Primal column values, length numCols.

    rowDual: Float64Array

    Row dual values, length numRows; not meaningful for MIP solutions.

    rowValue: Float64Array

    Primal row activities, length numRows.