HighsInfo

Scalar information about a solved model is communicated via an instance of the HighsInfo structure

valid

  • Indicates whether the values in a HighsInfo instance are valid
  • Type: bool

simplex_iteration_count

  • The number of simplex iterations performed
  • Type: integer

ipm_iteration_count

  • The number of interior point iterations performed
  • Type: integer

crossover_iteration_count

  • The number of crossover iterations performed
  • Type: integer

pdlp_iteration_count

  • The number of PDLP iterations performed
  • Type: integer

qp_iteration_count

  • The number of QP iterations performed
  • Type: integer

primal_solution_status

dual_solution_status

basis_validity

  • Comparison with BasisValidity gives the status of any basis information
  • Type: integer

objective_function_value

  • The optimal value of the objective function
  • Type: double

mip_node_count

  • The number of nodes generated by the MIP solver
  • Type: long integer

mip_dual_bound

mip_gap

  • The absolute value of the gap between the primal and bounds, relative to the primal bound.
  • Type: double

max_integrality_violation

  • The maximum deviation from an integer value over all the discrete variables
  • Type: double

num_primal_infeasibilities

max_primal_infeasibility

  • The maximum violation of a bound on a variable
  • Type: double

sum_primal_infeasibilities

  • The sum of violations of bounds by variables
  • Type: double

num_dual_infeasibilities

max_dual_infeasibility

  • The maximum violation of dual feasibility
  • Type: double

sum_dual_infeasibilities

  • The sum of violations of dual feasibility
  • Type: double

num_relative_primal_infeasibilities

max_relative_primal_infeasibility

  • The maximum relative violation of a bound on a variable
  • Type: double

num_relative_dual_infeasibilities

max_relative_dual_infeasibility

  • The maximum relative violation of dual feasibility
  • Type: double

num_primal_residual_errors

max_primal_residual_error

  • The maximum violation of primal equations
  • Type: double

num_dual_residual_errors

max_dual_residual_error

  • The maximum violation of dual equations
  • Type: double

num_relative_primal_residual_errors

max_relative_primal_residual_error

  • The maximum relative violation of primal equations
  • Type: double

num_relative_dual_residual_errors

max_relative_dual_residual_error

  • The maximum relative violation of dual equations
  • Type: double

num_complementarity_violations

  • The number of violations of primal-dual complementarity
  • Type: integer

max_complementarity_violation

  • The maximum primal-dual complementarity violation
  • Type: double

primal_dual_objective_error

  • The relative difference between the primal and dual objective values (LP only)
  • Type: double

primal_dual_integral

  • The primal-dual integral for MIPs
  • Type: double