rank

Updated:

rank is used for defining rank constraints.

Syntax

r = rank(x)


Examples

The nonlinear operator rank is used to add rank constraints in SDP problems.

F = [F, rank(X)<=1];