Changeset 1521
 Timestamp:
 Dec 15, 2009 9:17:20 AM (10 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

stable/1.1/Bonmin/src/Interfaces/BonOsiTMINLPInterface.cpp
r1516 r1521 2154 2154 const double * duals = getRowPrice() + 2*n; 2155 2155 assert(m==getNumRows()); 2156 double infty = si.getInfinity();2156 double infty = DBL_MAX;//si.getInfinity(); 2157 2157 double nlp_infty = infty_; 2158 2158 … … 2223 2223 else { 2224 2224 double value = jValues_[i] * getColSolution()[jCol_[i]]; 2225 rowLow[jRow_[i]] += value; 2226 rowUp[jRow_[i]] += value; 2225 if(rowLow[jRow_[i]] >  infty_) 2226 rowLow[jRow_[i]] += value; 2227 if(rowUp[jRow_[i]] < infty_) 2228 rowUp[jRow_[i]] += value; 2227 2229 } 2228 2230 }
Note: See TracChangeset
for help on using the changeset viewer.