highs-js API reference
    Preparing search index...

    Type Alias HighsSolution

    HighsSolution:
        | GenericHighsSolution<
            true,
            HighsLinearSolutionColumn,
            HighsLinearSolutionRow,
        >
        | GenericHighsSolution<
            false,
            HighsMixedIntegerLinearSolutionColumn,
            HighsMixedIntegerLinearSolutionRow,
        >
        | GenericHighsSolution<
            boolean,
            HighsInfeasibleSolutionColumn,
            HighsInfeasibleSolutionRow,
            "Infeasible",
        >

    Legacy solve result. Rows use zero-based model order and Columns are keyed by column name. Always inspect Status before reading numerical data. The union fully models only Infeasible: at runtime Not Set, load/model/presolve/solve/postsolve errors, Empty, and Unknown also omit primal, dual, and basis fields. Limit and unbounded statuses can carry the best solution available, but do not imply one exists.