Changeset 1493
- Timestamp:
- Jul 30, 2010 2:40:39 PM (10 years ago)
- Location:
- trunk/Cbc/src/OsiCbc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cbc/src/OsiCbc/OsiCbcSolverInterface.cpp
r1464 r1493 233 233 234 234 //------------------------------------------------------------------ 235 std::vector<double*> OsiCbcSolverInterface::getDualRays(int maxNumRays) const 236 { 237 return modelPtr_->solver()->getDualRays(maxNumRays); 235 std::vector<double*> OsiCbcSolverInterface::getDualRays(int maxNumRays, 236 bool fullRay) const 237 { 238 return modelPtr_->solver()->getDualRays(maxNumRays,fullRay); 238 239 } 239 240 //------------------------------------------------------------------ -
trunk/Cbc/src/OsiCbc/OsiCbcSolverInterface.hpp
r1464 r1493 256 256 /** Get as many dual rays as the solver can provide. (In case of proven 257 257 primal infeasibility there should be at least one.) 258 258 259 The first getNumRows() ray components will always be associated with 260 the row duals (as returned by getRowPrice()). If \c fullRay is true, 261 the final getNumCols() entries will correspond to the ray components 262 associated with the nonbasic variables. If the full ray is requested 263 and the method cannot provide it, it will throw an exception. 264 259 265 <strong>NOTE for implementers of solver interfaces:</strong> <br> 260 266 The double pointers in the vector should point to arrays of length … … 265 271 vector using delete[]. 266 272 */ 267 virtual std::vector<double*> getDualRays(int maxNumRays) const; 273 virtual std::vector<double*> getDualRays(int maxNumRays, 274 bool fullRay = false) const; 268 275 /** Get as many primal rays as the solver can provide. (In case of proven 269 276 dual infeasibility there should be at least one.)
Note: See TracChangeset
for help on using the changeset viewer.