06.08.2013 Views

A subgradient-based branch-and-bound algorithm for the ...

A subgradient-based branch-and-bound algorithm for the ...

A subgradient-based branch-and-bound algorithm for the ...

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.

* ---------------------------------------------------------------*/<br />

long flipCycle () {<br />

register long *ii ,* jj;<br />

<strong>for</strong> (ii = &A[1] , jj = &A [32]; jj 1);<br />

else seed >>= 1;<br />

next = mod_diff (next , seed );<br />

prev = A[i];<br />

}<br />

<strong>for</strong> (i = 0; i < 7; i ++) flipCycle ();<br />

}<br />

/* ---------------------------------------------------------------*/<br />

long unifR<strong>and</strong> ( long m) {<br />

register unsigned long t = two_to_<strong>the</strong>_31 - ( two_to_<strong>the</strong>_31 %m);<br />

register long r;<br />

do {<br />

r = RANDOM ();<br />

} while (t

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

Saved successfully!

Ooh no, something went wrong!