Changeset 1785 for trunk/Clp/src/ClpSimplexOther.hpp
 Timestamp:
 Aug 25, 2011 6:17:49 AM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Clp/src/ClpSimplexOther.hpp
r1780 r1785 103 103 /// Finds best possible pivot 104 104 double bestPivot(bool justColumns=false); 105 typedef struct { 106 double startingTheta; 107 double endingTheta; 108 double * lowerChange; // full array of lower bound changes 109 int * lowerList; // list of lower bound changes 110 double * upperChange; // full array of upper bound changes 111 int * upperList; // list of upper bound changes 112 char * markDone; // mark which ones looked at 113 int * backwardBasic; // from sequence to pivot row 114 } parametricsData; 105 115 106 116 private: … … 113 123 if event handler exists it may do more 114 124 */ 115 int parametricsLoop( double startingTheta, double & endingTheta, double reportIncrement,125 int parametricsLoop(parametricsData & paramData, double reportIncrement, 116 126 const double * changeLower, const double * changeUpper, 117 127 const double * changeObjective, ClpDataSave & data, 118 128 bool canTryQuick); 119 int parametricsLoop( double & startingTheta, double & endingTheta,129 int parametricsLoop(parametricsData & paramData, 120 130 ClpDataSave & data,bool canSkipFactorization=false); 121 131 /** Refactorizes if necessary … … 137 147 +3 max iterations 138 148 */ 139 int whileIterating(double & startingTheta, double & endingTheta, double reportIncrement, 140 const double * changeLower, const double * changeUpper, 149 int whileIterating(parametricsData & paramData, double reportIncrement, 141 150 const double * changeObjective); 142 151 /** Computes next theta and says if objective or bounds (0= bounds, 1 objective, 1 none). … … 144 153 type 1 bounds, 2 objective, 3 both. 145 154 */ 146 int nextTheta(int type, double maxTheta, 147 const double * changeLower, const double * changeUpper, 155 int nextTheta(int type, double maxTheta, parametricsData & paramData, 148 156 const double * changeObjective); 149 157 /// Restores bound to original bound … … 197 205 nonzero return code indicates minor problems 198 206 */ 199 int restoreFromDual(const ClpSimplex * dualProblem); 207 int restoreFromDual(const ClpSimplex * dualProblem, 208 bool checkAccuracy=false); 200 209 /** Does very cursory presolve. 201 210 rhs is numberRows, whichRows is 3*numberRows and whichColumns is 2*numberColumns.
Note: See TracChangeset
for help on using the changeset viewer.