tools/dimacs-solver.cc
changeset 681 4629e096e3af
parent 661 19b6f20e0ea2
child 691 8d289c89d43e
equal deleted inserted replaced
9:38fc7b0f1a2a 10:27c2194429a5
   198            "If either the INFILE or OUTFILE file is missing the standard\n"
   198            "If either the INFILE or OUTFILE file is missing the standard\n"
   199            "     input/output will be used instead.")
   199            "     input/output will be used instead.")
   200     .boolOption("q", "Do not print any report")
   200     .boolOption("q", "Do not print any report")
   201     .boolOption("int","Use 'int' for capacities, costs etc. (default)")
   201     .boolOption("int","Use 'int' for capacities, costs etc. (default)")
   202     .optionGroup("datatype","int")
   202     .optionGroup("datatype","int")
   203 #ifdef HAVE_LONG_LONG
   203 #ifdef LEMON_HAVE_LONG_LONG
   204     .boolOption("long","Use 'long long' for capacities, costs etc.")
   204     .boolOption("long","Use 'long long' for capacities, costs etc.")
   205     .optionGroup("datatype","long")
   205     .optionGroup("datatype","long")
   206 #endif
   206 #endif
   207     .boolOption("double","Use 'double' for capacities, costs etc.")
   207     .boolOption("double","Use 'double' for capacities, costs etc.")
   208     .optionGroup("datatype","double")
   208     .optionGroup("datatype","double")
   265     
   265     
   266   if(ap.given("double"))
   266   if(ap.given("double"))
   267     solve<double>(ap,is,os,desc);
   267     solve<double>(ap,is,os,desc);
   268   else if(ap.given("ldouble"))
   268   else if(ap.given("ldouble"))
   269     solve<long double>(ap,is,os,desc);
   269     solve<long double>(ap,is,os,desc);
   270 #ifdef HAVE_LONG_LONG
   270 #ifdef LEMON_HAVE_LONG_LONG
   271   else if(ap.given("long"))
   271   else if(ap.given("long"))
   272     solve<long long>(ap,is,os,desc);
   272     solve<long long>(ap,is,os,desc);
   273 #endif
   273 #endif
   274   else solve<int>(ap,is,os,desc);
   274   else solve<int>(ap,is,os,desc);
   275 
   275