Changeset 193


Ignore:
Timestamp:
Oct 12, 2005 10:27:58 AM (16 years ago)
Author:
forrest
Message:

for debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Test/CoinSolve.cpp

    r189 r193  
    3333#include "ClpPresolve.hpp"
    3434#include "CbcOrClpParam.hpp"
     35#include "OsiRowCutDebugger.hpp"
    3536#ifdef DMALLOC
    3637#include "dmalloc.h"
     
    212213    probingGen.setMaxLook(10);
    213214    probingGen.setMaxLookRoot(50);
     215    probingGen.setMaxLookRoot(10);
    214216    // Only look at rows with fewer than this number of elements
    215217    probingGen.setMaxElements(200);
     
    970972                model.initialSolve();
    971973              }
    972               //std::string problemName ;
    973               //model.solver()->getStrParam(OsiProbName,problemName) ;
    974               //model.solver()->activateRowCutDebugger(problemName.c_str()) ;
     974              if (0) {
     975                // for debug
     976                std::string problemName ;
     977                model.solver()->getStrParam(OsiProbName,problemName) ;
     978                model.solver()->activateRowCutDebugger(problemName.c_str()) ;
     979                twomirGen.probname_=strdup(problemName.c_str());
     980                // checking seems odd
     981                //redsplitGen.set_given_optsol(model.solver()->getRowCutDebuggerAlways()->optimalSolution(),
     982                //                         model.getNumCols());
     983              }
    975984              // FPump done first as it only works if no solution
    976985              CbcHeuristicFPump heuristic4(model);
Note: See TracChangeset for help on using the changeset viewer.