cvxgrp/qcml

Indexing and slicing in QMCL problem strings

Closed this issue · 1 comments

Is there a way to slice and perform operations on the variables on the problem string.

I am looking for something similar to what is possible in CVXPY:
http://www.cvxpy.org/en/latest/tutorial/functions/index.html?highlight=slicing#indexing-and-slicing

I would like to add constraints that contain a norm of a subset of a variable. Something like:
norm(x[4:5],2)<=2

echu commented