SCS.extract_dual_value function

Extracts the dual value for constraint starting at offset.

Extracts the dual value for constraint starting at offset.

Special cases PSD constraints, as per the SCS specification.

SCS.extract_dual_value(result_vec, offset, constraint)

Arguments

  • result_vec: The vector to extract dual values from.
  • offset: The starting point of the vector to extract from.
  • constraint: A Constraint object.

Returns

The dual values for the corresponding PSD constraints

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