tools/dimacs-solver.cc
changeset 775 e2bdd1a988f3
parent 687 6c408d864fa1
parent 674 20dac2104519
child 919 9d380bf27194
child 1081 f1398882a928
child 1167 c5990f454032
equal deleted inserted replaced
11:47afd449c739 12:f51eb289c8b3
   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