Ignore:
Timestamp:
Jun 12, 2012 3:59:47 PM (8 years ago)
Author:
pbelotti
Message:

accurate statistics of orbital branching. Skewed branching point -- takes into account orbit size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/main/BonCouenne.cpp

    r843 r859  
    4848#include "CouenneProblem.hpp"
    4949#include "CouenneJournalist.hpp"
     50#include "Nauty.h"
    5051
    5152#ifdef COIN_HAS_NTY
    5253int nOrbBr = 0; // FIXME: horrible global variable. Brrr.
     54int maxDepthOrbBranch = -1; // FIXME: horrible global variable. Brrr.
     55int nSGcomputations = 0; // FIXME: horrible global variable. Brrr.
    5356#endif
    5457
     
    183186
    184187    //////////////////////////////////
     188
     189    double symmGroupSize = prob -> getNtyInfo () -> getGroupSize ();
    185190
    186191    if (!infeasible)
     
    417422        printf ("Stats: %-15s %4d [var] %4d [int] %4d [con] %4d [aux] "
    418423                "%6d [root] %8d [tot] %6g [sep] %8g [time] %8g [bb] "
    419                 "%20e [lower] %20e [upper] %7d [nodes]\n",// %s %s\n",
     424                "%20e [lower] %20e [upper] %7d [nodes] %.0g [sg] %d [sgc]\n",// %s %s\n",
    420425                cp ? cp -> problemName (). c_str () : "unknown",
    421426                (cp) ? cp -> nOrigVars     () : -1,
     
    431436                //bb.bestBound (),
    432437                //bb.bestObj (),
    433                 infeasible ? 0 : bb.numNodes ());
     438                infeasible ? 0 : bb.numNodes (),
     439                symmGroupSize,
     440                nSGcomputations);
    434441                //bb.iterationCount ());
    435442                //status.c_str (), message.c_str ());
Note: See TracChangeset for help on using the changeset viewer.