1. Parse the q-rung orthopair (mu, nu) matrix, check the rung condition, and extend it with the anti-ideal (AAI) and ideal (AI) rows, each cell picked from its column by the score and the criterion direction.
X∗=[X;AAI;AI],AIj=argimaxS(xij) (j∈J+), argiminS(xij) (j∈J−),μq+νq≤1
2. Normalize the extended matrix: benefit cells stay as they are, cost cells take the complement (nu, mu).
nij=xij (j∈J+);nij=(νij,μij) (j∈J−)
3. Score every normalized cell and weight the score: v_ij = w_j * S(n_ij).
S(p)=21+μq−νq,vij=wjS(nij)
4. Sum each row of the weighted score matrix; the last two rows give S_AI and S_AAI.
Si=j=1∑nvij
5. Utility degrees of each alternative against the ideal and the anti-ideal row sum.
Ki+=SAISi,Ki−=SAAISi
6. Utility functions of the two utility degrees.
f(Ki+)=Ki++Ki−Ki−,f(Ki−)=Ki++Ki−Ki+
7. Final utility function and descending ranking.
f(Ki)=1+f(Ki+)1−f(Ki+)+f(Ki−)1−f(Ki−)Ki++Ki−