highs-js API reference
    Preparing search index...

    Interface DetachedModelData

    Detached numerical model snapshot. It includes bounds, objective, matrix, integrality, and an optional Hessian, but not model/row/column names or auxiliary multi-objective definitions. Typed-array elements remain mutable; changing them never changes the native model.

    interface DetachedModelData {
        colCost: Float64Array;
        colLower: Float64Array;
        colUpper: Float64Array;
        hessian?: Hessian;
        integrality: Int32Array;
        matrix: SparseMatrix;
        numCols: number;
        numRows: number;
        offset: number;
        rowLower: Float64Array;
        rowUpper: Float64Array;
        sense: ObjectiveSense;
    }
    Index
    colCost: Float64Array

    Linear objective coefficients, length numCols.

    colLower: Float64Array

    Column lower bounds, length numCols.

    colUpper: Float64Array

    Column upper bounds, length numCols.

    hessian?: Hessian

    Lower-triangular Hessian when the model has a stored quadratic objective.

    integrality: Int32Array

    Variable types, length numCols; continuous entries are zero.

    matrix: SparseMatrix

    Detached constraint matrix in the requested orientation.

    numCols: number

    Number of columns represented by all column arrays.

    numRows: number

    Number of rows represented by all row arrays.

    offset: number

    Current constant objective term.

    rowLower: Float64Array

    Row lower bounds, length numRows.

    rowUpper: Float64Array

    Row upper bounds, length numRows.

    Current objective direction.