create_optim_matrices.RdCreates two i (solution) x j (site) matrices one containing costs one y. Where the number of solutions between sites differ, "empty" solutions are assigned maximum cost and maximum y (an will therefore never be selected)
create_optim_matrices(x, nopt, nsites, maxy, maxcost)
| x | Optimisation data filtered for dominant solutions |
|---|---|
| nopt | Maximum number of options per site |
| nsites | Number of sites |
| maxy | Maximum y over all sites |
| maxcost | Maximum cost over all sites |