The independence number of a square matrix A, denoted by α(A), is
the maximum order of its principal zero submatrices. Let Sn+​ be the set
of n×n nonnegative symmetric matrices with zero trace, and let Jn​ be
the n×n matrix with all entries equal to one. Given any integers n,t
with 2≤t≤n−1, we prove that a linear map ϕ:Sn+​→Sn+​
satisfies ϕ(Jn​−In​)=Jn​−In​ and α(ϕ(X))=t ⟺α(X)=t    for all X∈Sn+​ if and only if there is a permutation matrix
P such that \phi(X)=P^TXP{~~~~\rm for~ all~}X\in S_n^+.$