Ignore:
Timestamp:
Jan 20, 2011 12:00:28 PM (9 years ago)
Author:
forrest
Message:

For GUB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/ClpDynamicMatrix.hpp

    r1665 r1676  
    9595     /// Does gub crash
    9696     void gubCrash();
     97     /// Writes out model (without names)
     98     void writeMps(const char * name);
    9799     /// Populates initial matrix from dynamic status
    98100     void initialProblem();
     
    166168          st_byte = static_cast<unsigned char>(st_byte | status);
    167169     }
     170     /// Whether flagged slack
     171     inline bool flaggedSlack(int i) const {
     172          return (status_[i] & 8) != 0;
     173     }
     174     inline void setFlaggedSlack(int i) {
     175          status_[i] = static_cast<unsigned char>(status_[i] | 8);
     176     }
     177     inline void unsetFlaggedSlack(int i) {
     178          status_[i] = static_cast<unsigned char>(status_[i] & ~8);
     179     }
    168180     /// Number of sets (dynamic rows)
    169181     inline int numberSets() const {
    170182          return numberSets_;
    171183     }
     184     /// Number of possible gub variables
     185     inline int numberGubEntries() const
     186     { return startSet_[numberSets_];}
     187     /// Sets
     188     inline int * startSets() const
     189     { return startSet_;}
    172190     /// Whether flagged
    173191     inline bool flagged(int i) const {
Note: See TracChangeset for help on using the changeset viewer.