14.07.2013 Views

X - UWSpace - University of Waterloo

X - UWSpace - University of Waterloo

X - UWSpace - University of Waterloo

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

k denoces an index <strong>of</strong> SubProblern to which column j belongs.<br />

Starting fram the first col-, decide che row part number <strong>of</strong> the nonzero<br />

coefficient: nonlinking constraint's coefficient belongs to the same part<br />

number which the colirmn belongs to; linking constraint's coefficient<br />

should have a column part nuber and row part number.<br />

Note chat chere are 2*nb,subs subproblems in original SET but should be<br />

converted CO nb-subs subproblems. iii and ppp accumulates the nuber <strong>of</strong><br />

rows above each part, so can find correct row number.<br />

for (jcl = O; jcl < Deconrp->n; jci+-1 {<br />

j = inv-clg[jcl];<br />

k = colinfo[jl;<br />

if ( j != objeccive,column 1 E<br />

phd = (k+l)/2; k = phd ;<br />

for iipos = LpG->3collj]; ipos < LpG->jcol[j+L]; ipos++) (<br />

F = LpG->irow[ipos];<br />

i-v = row_pem[i] ;<br />

Ffirowinfo[i]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!