Changeset 0fc536 in git
- Timestamp:
- Apr 21, 2006, 4:19:16 PM (17 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 6b503cf35c050c03092ac141a3f9b454cd8c8bc9
- Parents:
- 3460fe4e8dcecac2c6c9ac0f5b8683d18ac5d08f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
IntegerProgramming/solve_IP.cc
r3460fe r0fc536 68 68 69 69 // When reaching this line, the version argument was invalid. 70 cerr<<"ERROR: invalid version argument "<<endl71 <<"Type `solve_IP --help' for help on options. "<<endl;70 cerr<<"ERROR: invalid version argument\n" 71 <<"Type `solve_IP --help' for help on options.\n"; 72 72 return 1; 73 73 } … … 142 142 // argument was no float 143 143 { 144 cerr<<"ERROR: invalid argument for interreduction percentage "<<endl145 <<"Type `solve_IP --help' for help on options. "<<endl;144 cerr<<"ERROR: invalid argument for interreduction percentage\n" 145 <<"Type `solve_IP --help' for help on options.\n"; 146 146 return 1; 147 147 } … … 165 165 166 166 // When reaching this line, the algorithm argument was invalid. 167 cerr<<"ERROR: unkwon algorithm "<<endl168 <<"Type `solve_IP --help' for help on options. "<<endl;167 cerr<<"ERROR: unkwon algorithm\n" 168 <<"Type `solve_IP --help' for help on options.\n"; 169 169 return 1; 170 170 } 171 171 172 172 // When reaching this line, the argument is no legal option. 173 cerr<<"ERROR: invalid option "<<argv[i] <<endl174 <<" Type `solve_IP --help' for help on options."<<endl;173 cerr<<"ERROR: invalid option "<<argv[i] 174 <<"\nType `solve_IP --help' for help on options.\n"; 175 175 return 1; 176 176 } … … 184 184 if(!first_input) 185 185 { 186 cerr<<"ERROR: cannot open first input file, possibly not found "<<endl;186 cerr<<"ERROR: cannot open first input file, possibly not found\n"; 187 187 return 1; 188 188 } … … 193 193 if(!second_input) 194 194 { 195 cerr<<"ERROR: cannot open second input file, possibly not found "<<endl;195 cerr<<"ERROR: cannot open second input file, possibly not found\n"; 196 196 return 1; 197 197 } … … 207 207 { 208 208 cerr<<"ERROR: first input file is a MATRIX file;\n" 209 "algorithm has to be specified "<<endl;209 "algorithm has to be specified\n"; 210 210 return 1; 211 211 } … … 241 241 { 242 242 cerr<<"ERROR: could not perform required IP-algorithm,\n" 243 "no GROEBNER file created "<<endl;243 "no GROEBNER file created\n"; 244 244 return 1; 245 245 } … … 272 272 // GROEBNER file 273 273 cerr<<"WARNING: program called with a GROEBNER file,\n" 274 "specified options will not have any effect "<<endl;274 "specified options will not have any effect\n"; 275 275 return(!solve(argv[argc-1],argv[argc-2])); 276 276 } … … 291 291 else 292 292 // invalid arguments 293 cerr<<"USAGE: solve_IP [options] toric_file problem_file "<<endl294 <<"Type `solve_IP --help' for help on options. "<<endl;293 cerr<<"USAGE: solve_IP [options] toric_file problem_file\n" 294 <<"Type `solve_IP --help' for help on options.\n"; 295 295 296 296 return 1;
Note: See TracChangeset
for help on using the changeset viewer.