Changeset 997 for trunk


Ignore:
Timestamp:
Aug 11, 2013 7:21:38 PM (6 years ago)
Author:
pbelotti
Message:

setting bail-out-cpu-time to nonzero to avoid complaints

Location:
trunk/Couenne/src
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/bound_tightening/aggressiveBT.cpp

    r904 r997  
    145145      try {
    146146
    147         nlp -> options () -> SetNumericValue ("max_cpu_time", CoinMax (0., getMaxCpuTime () - CoinCpuTime ()));
     147        nlp -> options () -> SetNumericValue ("max_cpu_time", CoinMax (0.1, getMaxCpuTime () - CoinCpuTime ()));
    148148        nlp -> initialSolve ();
    149149      }
  • trunk/Couenne/src/heuristics/BonNlpHeuristic.cpp

    r886 r997  
    312312    // apply NLP solver /////////////////////////////////
    313313    try {
    314       nlp_ -> options () -> SetNumericValue ("max_cpu_time", CoinMax (0., couenne_ -> getMaxCpuTime () - CoinCpuTime ()));
     314      nlp_ -> options () -> SetNumericValue ("max_cpu_time", CoinMax (0.1, couenne_ -> getMaxCpuTime () - CoinCpuTime ()));
    315315      nlp_ -> initialSolve ();
    316316    }
  • trunk/Couenne/src/interfaces/BonCouenneInterface.cpp

    r940 r997  
    151151    if (is_feasible) {
    152152      try {
    153         options () -> SetNumericValue ("max_cpu_time", CoinMax (0., (p -> getMaxCpuTime () - CoinCpuTime ()) / 2));
     153        options () -> SetNumericValue ("max_cpu_time", CoinMax (0.1, (p -> getMaxCpuTime () - CoinCpuTime ()) / 2));
    154154
    155155        initialSolve ();
     
    240240
    241241            try {
    242               options () -> SetNumericValue ("max_cpu_time", CoinMax (0., p -> getMaxCpuTime () - CoinCpuTime ()));
     242              options () -> SetNumericValue ("max_cpu_time", CoinMax (0.1, p -> getMaxCpuTime () - CoinCpuTime ()));
    243243
    244244              resolve (); // solve with integer variables fixed
Note: See TracChangeset for help on using the changeset viewer.