I want to solve a SDP optimization problem using a nonlinear solver. Specifically I want to use Cholesky factorization to enforce positive definiteness of some decision variable A. That is I want to find a lower triangular matrix L such that A = LL’ and diag(L) > 0. How do I write these variables in JuMP?
What I have so far is the following
using JuMP
model = Model()
n = 5 @variable(model, A[1:n, 1:n]) @variable(model, L[1:n, 1:n]) # How to force this to be lower triangular? @constraint(model, const1, A == L * L’) @constraint(model, const2, minimum(diag(L)) > 0)