Ignore:
Timestamp:
Jun 29, 2006 10:44:34 AM (14 years ago)
Author:
forrest
Message:

for ampl and version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r367 r391  
    428428        // allow for cliques etc
    429429        nOrig = CoinMax(nOrig,originalColumns[numberColumns-1]+1);
     430        // try and redo debugger
     431        OsiRowCutDebugger * debugger = const_cast<OsiRowCutDebugger *> (solver_->getRowCutDebuggerAlways());
     432        if (debugger)
     433          debugger->redoSolution(numberColumns,originalColumns);
    430434        originalObject = object_;
    431435        // object number or -1
     
    521525        if (!numberObjects_)
    522526          handler_->message(CBC_NOINT,messages_) << CoinMessageEol ;
     527      } else {
     528        int numberColumns = getNumCols();
     529        CglPreProcess * process = strategy_->process();
     530        assert (process);
     531        const int * originalColumns = process->originalColumns();
     532        // try and redo debugger
     533        OsiRowCutDebugger * debugger = const_cast<OsiRowCutDebugger *> (solver_->getRowCutDebuggerAlways());
     534        if (debugger)
     535          debugger->redoSolution(numberColumns,originalColumns);
    523536      }
    524537    } else {
Note: See TracChangeset for help on using the changeset viewer.