Ignore:
Timestamp:
Jul 9, 2007 4:52:34 PM (13 years ago)
Author:
forrest
Message:

for tighter linear constraints in bilinear

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcLinked.hpp

    r642 r678  
    115115  /// Analyze constraints to see which are convex (quadratic)
    116116  void analyzeObjects();
     117  /// Add reformulated bilinear constraints
     118  void addTighterConstraints();
    117119  /// Objective value of best solution found internally
    118120  inline double bestObjectiveValue() const
     
    842844  /// Compute lambdas (third entry in each .B is current value) (nonzero if bad)
    843845  double computeLambdas(const double xB[3], const double yB[3],const double xybar[4],double lambda[4]) const;
     846  /// Adds in data for extra row with variable coefficients
     847  void addExtraRow(int row, double multiplier);
    844848
    845849protected:
     
    899903  /// Convexity row
    900904  int convexity_;
     905  /// Number of extra rows (coefficients to be modified)
     906  int numberExtraRows_;
     907  /// Multiplier for coefficient on row
     908  double * multiplier_;
     909  /// Row number
     910  int * extraRow_;
    901911  /// Which chosen -1 none, 0 x, 1 y
    902912  mutable short chosen_;
Note: See TracChangeset for help on using the changeset viewer.