While i was reading the article, which can be viewed at article. the writer says that (2) formula is a typical Semidefinite problem. but how can I transform it into the standard form so that I can solve it by some software package?
the form is: $$\underset{M,s}{\text{min}} \quad -s\\ subject\;{to}\quad Tr(D_{ij}M)\geq{s}\quad 1\leq{i}<j\leq{c}\\ Tr(M)=1\\ 0\preceq{M}\preceq{I} $$
By the way, what if $M=ww^T$ where $w$'s elements are all positive, which means $w\succeq{0}$. then how I should add this into the SDP formed constraint