Ignore:
Timestamp:
Jan 17, 2007 9:22:29 AM (14 years ago)
Author:
forrest
Message:

ranging

File:
1 edited

Legend:

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

    r754 r912  
    3939      which contains list of variables for which information is desired.  All other
    4040      arrays will be filled in by function.  If fifth entry in which is variable 7 then fifth entry in output arrays
    41       will information for variable 7.
     41      will be information for variable 7.
     42
     43      If valueIncrease/Decrease not NULL (both must be NULL or both non NULL) then these are filled with
     44      the value of variable if such a change in cost were made (the existing bounds are ignored)
    4245
    4346      When here - guaranteed optimal
    4447  */
    4548  void dualRanging(int numberCheck,const int * which,
    46                   double * costIncrease, int * sequenceIncrease,
    47                   double * costDecrease, int * sequenceDecrease);
     49                   double * costIncrease, int * sequenceIncrease,
     50                   double * costDecrease, int * sequenceDecrease,
     51                   double * valueIncrease=NULL, double * valueDecrease=NULL);
     52
    4853  /** Primal ranging.
    4954      This computes increase/decrease in value for each given variable and corresponding
    5055      sequence numbers which would change basis.  Sequence numbers are 0..numberColumns
    5156      and numberColumns.. for artificials/slacks.
     57      This should only be used for non-basic variabls as otherwise information is pretty useless
    5258      For basic variables the sequence number will be that of the basic variables.
    5359
     
    5561      which contains list of variables for which information is desired.  All other
    5662      arrays will be filled in by function.  If fifth entry in which is variable 7 then fifth entry in output arrays
    57       will information for variable 7.
     63      will be information for variable 7.
    5864
    5965      When here - guaranteed optimal
     
    7985                  const double * changeLowerRhs, const double * changeUpperRhs,
    8086                  const double * changeObjective);
     87private:
    8188  /** Parametrics - inner loop
    8289      This first attempt is when reportIncrement non zero and may
     
    134141  void checkPrimalRatios(CoinIndexedVector * rowArray,
    135142                         int direction);
     143  /// Returns new value of whichOther when whichIn enters basis
     144  double primalRanging1(int whichIn, int whichOther);
     145
     146public:
    136147    /** Write the basis in MPS format to the specified file.
    137148        If writeValues true writes values of structurals
Note: See TracChangeset for help on using the changeset viewer.