Changeset 1088 for trunk/Clp/src/ClpDynamicMatrix.hpp
 Timestamp:
 Aug 20, 2007 12:05:19 AM (12 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Clp/src/ClpDynamicMatrix.hpp
r1055 r1088 40 40 virtual double * rhsOffset(ClpSimplex * model,bool forceRefresh=false, 41 41 bool check=false); 42 43 using ClpPackedMatrix::times ; 42 44 /** Return <code>y + A * scalar *x</code> in <code>y</code>. 43 45 @pre <code>x</code> must be of size <code>numColumns()</code> … … 93 95 void initialProblem(); 94 96 /** Adds in a column to gub structure (called from descendant) and returns sequence */ 95 int addColumn(int numberEntries,const int * row, const float* element,96 float cost, float lower, floatupper, int iSet,97 int addColumn(int numberEntries,const int * row, const double * element, 98 double cost, double lower, double upper, int iSet, 97 99 DynamicStatus status); 98 100 /** If addColumn forces compression then this allows descendant to know what to do. … … 188 190 { return row_;} 189 191 /// elements 190 inline float* element() const192 inline double * element() const 191 193 { return element_;} 192 194 /// costs 193 inline float* cost() const195 inline double * cost() const 194 196 { return cost_;} 195 197 /// ids of active columns (just index here) … … 197 199 { return id_;} 198 200 /// Optional lower bounds on columns 199 inline float* columnLower() const201 inline double * columnLower() const 200 202 { return columnLower_;} 201 203 /// Optional upper bounds on columns 202 inline float* columnUpper() const204 inline double * columnUpper() const 203 205 { return columnUpper_;} 204 206 /// Lower bounds on sets 205 inline float* lowerSet() const207 inline double * lowerSet() const 206 208 { return lowerSet_;} 207 209 /// Upper bounds on sets 208 inline float* upperSet() const210 inline double * upperSet() const 209 211 { return upperSet_;} 210 212 /// size … … 272 274 double objectiveOffset_; 273 275 /// Lower bounds on sets 274 float* lowerSet_;276 double * lowerSet_; 275 277 /// Upper bounds on sets 276 float* upperSet_;278 double * upperSet_; 277 279 /// Status of slack on set 278 280 unsigned char * status_; … … 318 320 int * row_; 319 321 /// elements 320 float* element_;322 double * element_; 321 323 /// costs 322 float* cost_;324 double * cost_; 323 325 /// ids of active columns (just index here) 324 326 int * id_; … … 326 328 unsigned char * dynamicStatus_; 327 329 /// Optional lower bounds on columns 328 float* columnLower_;330 double * columnLower_; 329 331 /// Optional upper bounds on columns 330 float* columnUpper_;332 double * columnUpper_; 331 333 //@} 332 334 };
Note: See TracChangeset
for help on using the changeset viewer.