Changeset 592


Ignore:
Timestamp:
Jun 12, 2007 1:15:31 AM (12 years ago)
Author:
andreasw
Message:

enabling compilation on MSVC++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bonmin/experimental/Bcp/BM_lp.cpp

    r530 r592  
    1616#include "BonEcpCuts.hpp"
    1717#include "BonOaNlpOptim.hpp"
     18
     19// The following is included for "min"
     20#include "CoinFinite.hpp"
    1821
    1922//#############################################################################
     
    239242            const double psol = primal_solution_[i];
    240243            const double frac = psol - floor(psol);
    241             const double dist = std::min(frac, 1.0-frac);
     244            const double dist = min(frac, 1.0-frac);
    242245            if (dist >= integerTolerance_)
    243246                break;
Note: See TracChangeset for help on using the changeset viewer.