geometric_mean_hypo_cone
¶
CVXPY constraints for the matrix geometric mean hypograph cone.
geometric_mean_hypo_cone
¶
geometric_mean_hypo_cone(
A: Expression,
B: Expression,
T: Expression,
t: float = 1 / 2,
fullhyp: bool = True,
*,
hermitian: bool = False,
) -> list[Constraint]
Return CVX constraints for matrix geometric-mean hypograph cone 1.
The set of matrices that satisfy the constraints are A, B, T triples such
that
where G_t(A, B) is the matrix geometric mean function.
Parameters:
-
A(Expression) –A cvxpy expression representing a matrix.
-
B(Expression) –A cvxpy expression representing a matrix.
-
T(Expression) –A cvxpy expression representing a matrix.
-
t(float, default:1 / 2) –The weight in the range
[0, 1]. -
fullhyp(bool, default:True) –Whether to use the full hypograph or the restricted hypograph.
-
hermitian(bool, default:False) –Whether the matrices are Hermitian or symmetric.
Raises:
-
ValueError–If the weight is not in the range
[0, 1]. -
ValueError–If the matrices are not the same size.
-
ValueError–If the matrices are not 2D or not square.
Returns:
-
list[Constraint]–A list of CVX constraints.
References
1 Fawzi, Hamza and Saunderson, James. Lieb's concavity theorem, matrix geometric means and semidefinite optimization. (2015). link.