Ignore:
Timestamp:
Sep 7, 2010 6:26:41 PM (9 years ago)
Author:
lou
Message:

Make simplex mode 1 (tableau access) work properly with maximisation. Note
that mode 2 (single pivot) is still minimisation only, though it shouldn't be
too hard to extend the fix.

File:
1 edited

Legend:

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

    r1525 r1602  
    2020     //@{
    2121
    22      /** Returns gradient.  If Linear then solution may be NULL,
    23          also returns an offset (to be added to current one)
    24          If refresh is false then uses last solution
    25          Uses model for scaling
    26          includeLinear 0 - no, 1 as is, 2 as feasible
     22     /** Returns objective coefficients.
     23       
     24       Offset is always set to 0.0. All other parameters unused.
    2725     */
    2826     virtual double * gradient(const ClpSimplex * model,
Note: See TracChangeset for help on using the changeset viewer.