Changeset 393 for trunk/include/ClpLinearObjective.hpp
 Timestamp:
 Jul 21, 2004 4:36:05 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/include/ClpLinearObjective.hpp
r225 r393 22 22 also returns an offset (to be added to current one) 23 23 If refresh is false then uses last solution 24 Uses model for scaling 25 includeLinear 0  no, 1 as is, 2 as feasible 24 26 */ 25 virtual double * gradient(const double * solution, double & offset,bool refresh); 27 virtual double * gradient(const ClpSimplex * model, 28 const double * solution, double & offset,bool refresh, 29 int includeLinear=2); 30 /** Returns reduced gradient.Returns an offset (to be added to current one). 31 */ 32 virtual double reducedGradient(ClpSimplex * model, double * region, 33 bool useFeasibleCosts); 34 /** Returns step length which gives minimum of objective for 35 solution + theta * change vector up to maximum theta. 36 37 arrays are numberColumns+numberRows 38 Also sets current objective, predicted and at maximumTheta 39 */ 40 virtual double stepLength(ClpSimplex * model, 41 const double * solution, 42 const double * change, 43 double maximumTheta, 44 double & currentObj, 45 double & predictedObj, 46 double & thetaObj); 26 47 /// Resize objective 27 48 virtual void resize(int newNumberColumns) ; 28 49 /// Delete columns in objective 29 50 virtual void deleteSome(int numberToDelete, const int * which) ; 51 /// Scale objective 52 virtual void reallyScale(const double * columnScale) ; 30 53 31 54 //@}
Note: See TracChangeset
for help on using the changeset viewer.