I am trying to work out centrality in a network using Freeman's network centrality. I have an in degree of 83 and an out degree of 110. I want to work out the network centrality using my out degree using the following formula: $$\frac{\sum_{i=1}^{g}[{C}^d ({n*})-C^{d}]} {[(N-1)(N-2)]}$$This is where $${n}$$is node in my graph and presuming the out- degree. Any suggestions on how to apply this formula?Thanks in advance!
Minimizing the following objective function with matrices
graph theory;graphs