highs-js API reference
    Preparing search index...

    Type Alias HighsModelStatus

    HighsModelStatus:
        | "Not Set"
        | "Load error"
        | "Model error"
        | "Presolve error"
        | "Solve error"
        | "Postsolve error"
        | "Empty"
        | "Optimal"
        | "Infeasible"
        | "Primal infeasible or unbounded"
        | "Unbounded"
        | "Bound on objective reached"
        | "Target for objective reached"
        | "Time limit reached"
        | "Iteration limit reached"
        | "Unknown"

    Human-readable terminal or error state reported by the legacy solver.

    Type Declaration

    • "Not Set"

      No solve status has been established.

    • "Load error"

      Input could not be loaded.

    • "Model error"

      Model data is invalid.

    • "Presolve error"

      Presolve failed.

    • "Solve error"

      The selected solver failed.

    • "Postsolve error"

      Mapping the presolved solution back failed.

    • "Empty"

      The model has no rows or columns requiring optimization.

    • "Optimal"

      An optimal solution was proved.

    • "Infeasible"

      Infeasibility was proved.

    • "Primal infeasible or unbounded"

      Presolve could not distinguish infeasibility from unboundedness.

    • "Unbounded"

      Primal unboundedness was proved.

    • "Bound on objective reached"

      The configured objective bound stopped the solve.

    • "Target for objective reached"

      The configured MIP objective target was reached.

    • "Time limit reached"

      The configured wall-clock limit stopped the solve.

    • "Iteration limit reached"

      A solver iteration limit stopped the solve.

    • "Unknown"

      HiGHS could not classify the final state.