Synchornization between cvx and cvxpy


(Tanmoy Sikder) #1

Recover the original image using total variation in-painting.

from cvxpy import *
U = Variable(rows, cols)
obj = Minimize(tv(U))
constraints = [mul_elemwise(Known, U) == mul_elemwise(Known, Ucorr)]
prob = Problem(obj, constraints)

prob.solve(verbose=True, solver=SCS)

Anyone can help me to convert this code in cvx for matlab?