powered by
gpp creates input for sqlp to solve the graph partitioning problem.
gpp
gpp(B, alpha)
A weighted adjacency matrix
Any real value in (0,n^2)
A list containing the solution matrix to the primal problem
A list containing the solution vector to the dual problem
A list containing the solution matrix to the dual problem
The achieved value of the primary objective function
The achieved value of the dual objective function
Solves the graph partitioning problem. Mathematical and implementation details can be found in the vignette
# NOT RUN { data(Bgpp) alpha <- nrow(Bgpp) out <- gpp(Bgpp, alpha) # }
Run the code above in your browser using DataLab