get_dual_values function

Gets the values of the dual variables.

Gets the values of the dual variables.

get_dual_values(result_vec, parse_func, constraints)

Arguments

  • result_vec: A vector containing the dual variable values.
  • parse_func: Function handle for the parser.
  • constraints: A list of the constraints in the problem.

Returns

A map of constraint ID to dual variable value.

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07