Changeset 1228 for trunk


Ignore:
Timestamp:
Nov 26, 2017 3:26:13 PM (2 years ago)
Author:
pbelotti
Message:

added fixpoint LP missing constraints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/bound_tightening/FixPointGenCuts.cpp

    r1079 r1228  
    249249  }
    250250
    251   // finally, add consistency cuts, bL <= bU
     251  // Add zL <= zU constraints
     252
     253  for (int j=0; j<m; j++) { // for each row
     254
     255    int    ind [2] = {j,   m + j};
     256    double coe [2] = {1., -1.};
     257
     258    CoinPackedVector row (2, ind, coe);
     259    fplp -> addRow (row, -COIN_DBL_MAX, 0.);
     260  }
     261
     262  // Finally, add consistency cuts, bL <= bU
    252263
    253264  if (extendedModel_)
Note: See TracChangeset for help on using the changeset viewer.