### Generating Starting Parameters with startpars Source: https://github.com/alexiosg/rsolnp/blob/main/man/startpars.Rd This example demonstrates setting up a parallel cluster, defining objective and equality constraint functions, and using startpars to generate initial parameters for the solnp solver. ```R # Windows cl = makePSOCKcluster(2) # Linux: # makeForkCluster(nnodes = getOption("mc.cores", 2L), ...) gofn = function(dat, n) { x = dat[1:n] y = dat[(n+1):(2*n)] z = dat[(2*n+1):(3*n)] ii = matrix(1:n, ncol = n, nrow = n, byrow = TRUE) jj = matrix(1:n, ncol = n, nrow = n) ij = which(ii