chiark / gitweb /
routesearch: use presolver
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Mon, 5 Oct 2009 00:05:03 +0000 (01:05 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Mon, 5 Oct 2009 00:05:03 +0000 (01:05 +0100)
yarrg/rsvalue.c

index 3bf98b4..30e5612 100644 (file)
@@ -198,6 +198,7 @@ double value_route(int nislands, const int *islands, int exclude_arbitrage) {
   lp= lpx_create_prob();
   lpx_set_obj_dir(lp, LPX_MAX);
   lpx_set_int_parm(lp, LPX_K_MSGLEV, DEBUGP(lp) ? 3 : 1);
+  lpx_set_int_parm(lp, LPX_K_PRESOL, 1);
 
   if (DEBUGP(value)) {
     lpx_set_prob_name(lp,(char*)"value_route");