Changeset 590 for branches/devel


Ignore:
Timestamp:
Mar 30, 2007 11:46:40 AM (13 years ago)
Author:
forrest
Message:

new scheme doesn't like batch files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcSolver.cpp

    r589 r590  
    12551255    if (goodModel)
    12561256      solver1=originalSolver;
     1257    /*int kkkkkk=0;
     1258    while (kkkkkk==0) {
     1259      time2=CoinCpuTime();
     1260      if (time2-time1>10.0) {
     1261        printf("time %g\n",time2);
     1262        time1=time2;
     1263      }
     1264      }*/
     1265
    12571266    CoinSighandler_t saveSignal=SIG_DFL;
    12581267    // register signal handler
     
    16501659      // next command
    16511660      field=CoinReadGetCommand(argc,argv);
     1661      // adjust field if has odd trailing characters
     1662      char temp [200];
     1663      strcpy(temp,field.c_str());
     1664      int length = strlen(temp);
     1665      for (int k=length-1;k>=0;k--) {
     1666        if (temp[k]<' ')
     1667          length--;
     1668        else
     1669          break;
     1670      }
     1671      temp[length]='\0';
     1672      field=temp;
    16521673      // exit if null or similar
    16531674      if (!field.length()) {
Note: See TracChangeset for help on using the changeset viewer.