Changeset 303


Ignore:
Timestamp:
Oct 29, 2009 5:52:47 PM (10 years ago)
Author:
bjarni
Message:

Added COIN_REAL_MIPFRACGAP option parameter which calls cbc->setAllowableFractionGap()

Location:
stable/1.4/CoinMP/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/1.4/CoinMP/src/CoinMP.cpp

    r302 r303  
    13771377        if (CoinGetOptionChanged(hProb, COIN_REAL_MIPCUTOFF))           pCoin->cbc->setDblParam(CbcModel::CbcCutoffIncrement,CoinGetRealOption(hProb, COIN_REAL_MIPCUTOFF));
    13781378        if (CoinGetOptionChanged(hProb, COIN_REAL_MIPABSGAP))           pCoin->cbc->setAllowableGap(CoinGetRealOption(hProb, COIN_REAL_MIPABSGAP));
     1379        if (CoinGetOptionChanged(hProb, COIN_REAL_MIPFRACGAP))          pCoin->cbc->setAllowableFractionGap(CoinGetRealOption(hProb, COIN_REAL_MIPFRACGAP));
    13791380        return 1;
    13801381}
     
    18441845          "MipInfeasWeight",        "MipInfWeight", GRP_MIPTOL,       0.0,      0.0,    0.0, MAXREAL,  OPT_REAL,   0,   COIN_REAL_MIPINFWEIGHT,
    18451846          "MipCutoffIncrement",     "MipCutIncr",   GRP_MIPTOL,      1e-5,     1e-5,    0.0,     1.0,  OPT_REAL,   0,   COIN_REAL_MIPCUTOFF,
    1846           "MipAllowableGap",        "MipAbsGap",    GRP_MIPTOL,     1e-10,    1e-10,    0.0, MAXREAL,  OPT_REAL,   0,   COIN_REAL_MIPABSGAP,
     1847          "MipAllowableGap",        "MipAbsGap",    GRP_MIPTOL,     1e-10,    1e-10,    0.0, MAXREAL,  OPT_REAL,   0,   COIN_REAL_MIPABSGAP,
     1848          "MipFractionalGap",       "MipFracGap",   GRP_MIPTOL,     1e-10,    1e-10,    0.0,     1.0,  OPT_REAL,   0,   COIN_REAL_MIPFRACGAP,
    18471849
    18481850          /* Probing */
  • stable/1.4/CoinMP/src/CoinMP.h

    r282 r303  
    421421#define COIN_REAL_MIPCUTOFF        32
    422422#define COIN_REAL_MIPABSGAP        33
     423#define COIN_REAL_MIPFRACGAP       34
    423424
    424425#define COIN_INT_MIPCUT_PROBING          110
Note: See TracChangeset for help on using the changeset viewer.