benchmark/edge_lookup_test
author kpeter
Sun, 05 Oct 2008 13:36:43 +0000
changeset 2619 30fb4d68b0e8
permissions -rwxr-xr-x
Improve network simplex algorithm

- Remove "Limited Search" and "Combined" pivot rules.
- Add a new pivot rule "Altering Candidate List".
- Make the edge selection faster in every pivot rule.
- Set the default rule to "Block Search".
- Doc improvements.

The algorithm became about 15-35 percent faster on various input files.
"Block Search" pivot rule proved to be by far the fastest on all inputs.
     1 #!/bin/bash
     2 
     3 for((i=1;i<50;i++))
     4 do
     5     echo -n $i ''
     6     edge_lookup 100 $i
     7 done