HighsSolution

The solution of a model is communicated via an instance of the HighsSolution class

  • value_valid: Scalar of type bool - Indicates whether the column and row values are valid
  • dual_valid: Scalar of type bool - Indicates whether the column and row duals are valid
  • col_value: Vector of type double - Values of the columns (variables)
  • col_dual: Vector of type double - Duals of the columns (variables)
  • row_value: Vector of type double - Values of the rows (constraints)
  • row_dual: Vector of type double - Duals of the rows (constraints)