Ignore:
Timestamp:
Jul 25, 2007 11:57:53 AM (12 years ago)
Author:
forrest
Message:

out };

File:
1 edited

Legend:

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

    r754 r1055  
    100100      Entries at upper bound (really nonzero) never go out (at present).
    101101  */
    102   virtual void packDown(const int * in, int numberToPack) {};
     102  virtual void packDown(const int * in, int numberToPack) {}
    103103  /// Gets lower bound (to simplify coding)
    104104  inline double columnLower(int sequence) const
    105   { if (columnLower_) return columnLower_[sequence]; else return 0.0;};
     105  { if (columnLower_) return columnLower_[sequence]; else return 0.0;}
    106106  /// Gets upper bound (to simplify coding)
    107107  inline double columnUpper(int sequence) const
    108   { if (columnUpper_) return columnUpper_[sequence]; else return COIN_DBL_MAX;};
     108  { if (columnUpper_) return columnUpper_[sequence]; else return COIN_DBL_MAX;}
    109109
    110110  //@}
     
    150150  /// Status of row slacks
    151151  inline ClpSimplex::Status getStatus(int sequence) const
    152   {return static_cast<ClpSimplex::Status> (status_[sequence]&7);};
     152  {return static_cast<ClpSimplex::Status> (status_[sequence]&7);}
    153153  inline void setStatus(int sequence, ClpSimplex::Status status)
    154154  {
     
    156156    st_byte &= ~7;
    157157    st_byte |= status;
    158   };
     158  }
    159159  /// Number of sets (dynamic rows)
    160160  inline int numberSets() const
    161   { return numberSets_;};
     161  { return numberSets_;}
    162162  /// Whether flagged
    163163  inline bool flagged(int i) const {
    164164    return (dynamicStatus_[i]&8)!=0;
    165   };
     165  }
    166166  inline void setFlagged(int i) {
    167167    dynamicStatus_[i] |= 8;
    168   };
     168  }
    169169  inline void unsetFlagged(int i) {
    170170    dynamicStatus_[i]  &= ~8;;
    171   };
     171  }
    172172  inline void setDynamicStatus(int sequence, DynamicStatus status)
    173173  {
     
    175175    st_byte &= ~7;
    176176    st_byte |= status;
    177   };
     177  }
    178178  inline DynamicStatus getDynamicStatus(int sequence) const
    179   {return static_cast<DynamicStatus> (dynamicStatus_[sequence]&7);};
     179  {return static_cast<DynamicStatus> (dynamicStatus_[sequence]&7);}
    180180  /// Saved value of objective offset
    181181  inline double objectiveOffset() const
    182   { return objectiveOffset_;};
     182  { return objectiveOffset_;}
    183183  /// Starts of each column
    184184  inline CoinBigIndex * startColumn() const
    185   { return startColumn_;};
     185  { return startColumn_;}
    186186  /// rows
    187187  inline int * row() const
    188   { return row_;};
     188  { return row_;}
    189189  /// elements
    190190  inline float * element() const
    191   { return element_;};
     191  { return element_;}
    192192  /// costs
    193193  inline float * cost() const
    194   { return cost_;};
     194  { return cost_;}
    195195  /// ids of active columns (just index here)
    196196  inline int * id() const
    197   { return id_;};
     197  { return id_;}
    198198  /// Optional lower bounds on columns
    199199  inline float * columnLower() const
    200   { return columnLower_;};
     200  { return columnLower_;}
    201201  /// Optional upper bounds on columns
    202202  inline float * columnUpper() const
    203   { return columnUpper_;};
     203  { return columnUpper_;}
    204204  /// Lower bounds on sets
    205205  inline float * lowerSet() const
    206   { return lowerSet_;};
     206  { return lowerSet_;}
    207207  /// Upper bounds on sets
    208208  inline float * upperSet() const
    209   { return upperSet_;};
     209  { return upperSet_;}
    210210  /// size
    211211  inline int numberGubColumns() const
    212   { return numberGubColumns_;};
     212  { return numberGubColumns_;}
    213213  /// first free
    214214  inline int firstAvailable() const
    215   { return firstAvailable_;};
     215  { return firstAvailable_;}
    216216  /// first dynamic
    217217  inline int firstDynamic() const
    218   { return firstDynamic_;};
     218  { return firstDynamic_;}
    219219  /// number of columns in dynamic model
    220220  inline int lastDynamic() const
    221   { return lastDynamic_;};
     221  { return lastDynamic_;}
    222222  /// number of rows in original model
    223223  inline int numberStaticRows() const
    224   { return numberStaticRows_;};
     224  { return numberStaticRows_;}
    225225  /// size of working matrix (max)
    226226  inline int numberElements() const
    227   { return numberElements_;};
     227  { return numberElements_;}
    228228  inline int * keyVariable() const
    229   { return keyVariable_;};
     229  { return keyVariable_;}
    230230  /// Switches off dj checking each factorization (for BIG models)
    231231  void switchOffCheck();
    232232  /// Status region for gub slacks
    233233  inline unsigned char * gubRowStatus() const
    234   { return status_;};
     234  { return status_;}
    235235  /// Status region for gub variables
    236236  inline unsigned char * dynamicStatus() const
    237   { return dynamicStatus_;};
     237  { return dynamicStatus_;}
    238238  /// Returns which set a variable is in
    239239  int whichSet (int sequence) const;
Note: See TracChangeset for help on using the changeset viewer.