Changeset 135 for trunk


Ignore:
Timestamp:
Feb 25, 2003 11:11:28 AM (17 years ago)
Author:
forrest
Message:

allSlackBasis synonym

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ClpSimplex.hpp

    r119 r135  
    4848public:
    4949
    50   /// enums for status of various sorts (matches CoinWarmStartBasis)
     50  /** enums for status of various sorts.
     51      First 4 match CoinWarmStartBasis,
     52      isFixed means fixed at lower bound and out of basis
     53  */
    5154  enum Status {
    5255    isFree = 0x00,
     
    5457    atUpperBound = 0x02,
    5558    atLowerBound = 0x03,
    56     superBasic = 0x04
     59    superBasic = 0x04,
     60    isFixed = 0x05
    5761  };
    5862
     
    598602  inline Status getColumnStatus(int sequence) const
    599603  {return static_cast<Status> (status_[sequence]&7);};
    600   inline void setFixed( int sequence)
    601   { status_[sequence] |= 32;};
    602   inline void clearFixed( int sequence)
    603   { status_[sequence] &= ~32; };
    604   inline bool fixed(int sequence) const
    605   {return (((status_[sequence]>>5)&1)!=0);};
    606604  inline void setFlagged( int sequence)
    607605  {
     
    617615      Also can be used to set up all slack basis */
    618616  void createStatus() ;
     617  inline void allSlackBasis()
     618  { createStatus();};
    619619   
    620620  /// So we know when to be cautious
Note: See TracChangeset for help on using the changeset viewer.