code: def _highs_to_scipy_status_message(highs_status, highs_message):
      """Converts HiGHS status number/message to SciPy status number/message"""
  
      scipy_statuses_messages = {
          None: (4, "HiGHS did not provide a status code. "),
          MODEL_STATUS_NOTSET: (4, ""),
          MODEL_STATUS_LOAD_ERROR: (4, ""),
          MODEL_STATUS_MODEL_ERROR: (2, ""),
          MODEL_STATUS_PRESOLVE_ERROR: (4, ""),
          MODEL_STATUS_SOLVE_ERROR: (4, ""),
          MODEL_STATUS_POSTSOLVE_ERROR: (4, ""),
          MODEL_STATUS_MODEL_EMPTY: (4, ""),
          MODEL_STATUS_RDOVUB: (4, ""),
          MODEL_STATUS_REACHED_OBJECTIVE_TARGET: (4, ""),
          MODEL_STATUS_OPTIMAL: (
              0,
              "Optimization terminated successfully. ",
          ),
          MODEL_STATUS_REACHED_TIME_LIMIT: (1, "Time limit reached. "),
          MODEL_STATUS_REACHED_ITERATION_LIMIT: (
              1,
              "Iteration limit reached. ",
          ),
          MODEL_STATUS_INFEASIBLE: (2, "The problem is infeasible. "),
          MODEL_STATUS_UNBOUNDED: (3, "The problem is unbounded. "),
          MODEL_STATUS_UNBOUNDED_OR_INFEASIBLE: (
              4,
              "The problem is unbounded " "or infeasible. ",
          ),
      }
      unrecognized = (4, "The HiGHS status code was not recognized. ")
      scipy_status, scipy_message = scipy_statuses_messages.get(
          highs_status, unrecognized
      )
      scipy_message = (
          f"{scipy_message}"
          f"(HiGHS Status {highs_status}: {highs_message})"
      )
      return scipy_status, scipy_message
  
file_path: scipy/scipy/optimize/_linprog_highs.py
imports: import inspect
  import numpy
  from ._optimize import OptimizeWarning, OptimizeResult
  from warnings import warn
  from ._highs._highs_wrapper import _highs_wrapper
  from ._highs._highs_constants import CONST_INF, MESSAGE_LEVEL_NONE, HIGHS_OBJECTIVE_SENSE_MINIMIZE, MODEL_STATUS_NOTSET, MODEL_STATUS_LOAD_ERROR, MODEL_STATUS_MODEL_ERROR, MODEL_STATUS_PRESOLVE_ERROR, MODEL_STATUS_SOLVE_ERROR, MODEL_STATUS_POSTSOLVE_ERROR, MODEL_STATUS_MODEL_EMPTY, MODEL_STATUS_OPTIMAL, MODEL_STATUS_INFEASIBLE, MODEL_STATUS_UNBOUNDED_OR_INFEASIBLE, MODEL_STATUS_UNBOUNDED, MODEL_STATUS_REACHED_DUAL_OBJECTIVE_VALUE_UPPER_BOUND, MODEL_STATUS_REACHED_OBJECTIVE_TARGET, MODEL_STATUS_REACHED_TIME_LIMIT, MODEL_STATUS_REACHED_ITERATION_LIMIT, HIGHS_SIMPLEX_STRATEGY_DUAL, HIGHS_SIMPLEX_CRASH_STRATEGY_OFF, HIGHS_SIMPLEX_EDGE_WEIGHT_STRATEGY_CHOOSE, HIGHS_SIMPLEX_EDGE_WEIGHT_STRATEGY_DANTZIG, HIGHS_SIMPLEX_EDGE_WEIGHT_STRATEGY_DEVEX, HIGHS_SIMPLEX_EDGE_WEIGHT_STRATEGY_STEEPEST_EDGE
  from scipy.sparse import csc_matrix, vstack, issparse
label_desc: Use image node_id 1 for calling a global function with example usage: _highs_to_scipy_status_message(highs_status, highs_message) and returns: scipy_status,  scipy_message