Ignore:
Timestamp:
Dec 12, 2006 4:22:19 PM (14 years ago)
Author:
forrest
Message:

qudaratic stuff

File:
1 edited

Legend:

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

    r500 r501  
    9191  /// Update coefficients - returns number updated if in updating mode
    9292  int updateCoefficients(ClpSimplex * solver, CoinPackedMatrix * matrix);
     93  /// Analyze constraints to see which are convex (quadratic)
     94  void analyzeObjects();
    9395  /// Objective value of best solution found internally
    9496  inline double bestObjectiveValue() const
     
    181183  /// Pointer back to CbcModel
    182184  CbcModel * cbcModel_;
     185  /// Number of rows with nonLinearities
     186  int numberNonLinearRows_;
     187  /// Starts of lists
     188  int * startNonLinear_;
     189  /// Row number for a list
     190  int * rowNonLinear_;
     191  /** Indicator whether is convex, concave or neither
     192      -1 concave, 0 neither, +1 convex
     193  */
     194  int * convex_;
     195  /// Indices in a list/row
     196  int * whichNonLinear_;
    183197  /// Model in CoinModel format
    184198  CoinModel coinModel_;
     
    189203  /**
    190204     0 bit (1) - don't do mini B&B
    191      1 bit (2) - quadratic only in objective
     205     1 bit (2) - quadratic only in objective (add OA cuts)
    192206     2 bit (4) - convex
     207     4 bit (8) - try adding OA cuts
    193208  */
    194209  int specialOptions2_;
Note: See TracChangeset for help on using the changeset viewer.