chiark / gitweb /
WIP routesearch; before try not using interior point
[ypp-sc-tools.web-live.git] / yarrg / rsmain.c
index ed176354e902ed8a402be49eed313240abb00bc9..49a59a4067ab42cee48f2f839c8b28607f47754b 100644 (file)
@@ -9,7 +9,7 @@ double distance_loss_factor_per_league;
 int main(int argc, const char **argv) {
   int ia[argc], ni=0;
 
-  debug_flags= ~0UL;
+  debug_flags= ~( dbg_sql2 );
   setup();
 
   max_mass= atof(*++argv);
@@ -24,6 +24,7 @@ int main(int argc, const char **argv) {
   while ((arg= *++argv)) {
     ia[ni++]= atoi(arg);
   }
-  value_route(ni, ia);
+  double val= value_route(ni, ia);
+  printf("route value is %g\n", val);
   return 0;
 }