chiark / gitweb /
Use more glpk's more advanced MIP solver and enable various options; limit cpu
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 17 Sep 2009 00:12:37 +0000 (01:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 17 Sep 2009 00:12:37 +0000 (01:12 +0100)
yarrg/web/routetrade

index 73740ea346621e5b678a9641e2b9ef5911afc412..199101728344aa9329b343d1d7c5b6599e0f5fdf 100644 (file)
@@ -488,7 +488,8 @@ if ($qa->{'debug'}) {
        my $input= pipethrough_prep();
        print $input $cplex or die $!;
        my $output= pipethrough_run_along($input, undef, 'glpsol',
-               qw(glpsol --cpxlp /dev/stdin -o /dev/stdout));
+               qw(glpsol --tmlim 2 --memlim 5 --intopt --cuts --bfs
+                         --cpxlp /dev/stdin -o /dev/stdout));
        print "<pre>\n" if $qa->{'debug'};
        my $found_section= 0;
        my $glpsol_out= '';