Changeset 1866 for stable


Ignore:
Timestamp:
Jul 17, 2012 4:45:01 AM (7 years ago)
Author:
stefan
Message:

recompute reduced costs if factorization is reused but objective has changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.14/Clp/src/ClpSimplex.cpp

    r1849 r1866  
    83408340          } else {
    83418341               // using previous factorization - we assume fine
    8342                if ((moreSpecialOptions_ & 8) == 0) {
    8343                     // but we need to say not optimal
     8342               if ((moreSpecialOptions_ & 8) == 0 || !(whatsChanged_ & 64)) {
     8343                    // but we need to say not optimal (!(whatsChanged_ & 64) means that objective has changed)
    83448344                    numberPrimalInfeasibilities_ = 1;
    83458345                    numberDualInfeasibilities_ = 1;
Note: See TracChangeset for help on using the changeset viewer.