Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcEventHandler.hpp

    r1986 r1987  
    4646
    4747*/
     48
    4849#include <cstddef>
    4950#include <map>
     
    99100        /*! After failed heuristic. */
    100101        afterHeuristic,
     102        /*! On entry to small branch and bound. */
     103        smallBranchAndBound,
     104        /*! After a pass of heuristic. */
     105        heuristicPass,
     106        /*! When converting constraints to cuts. */
     107        convertToCuts,
    101108        /*! End of search. */
    102109        endSearch
     
    121128        addCuts,
    122129        /*! Pretend solution never happened. */
    123         killSolution
     130        killSolution,
     131        /*! Take action on modified data. */
     132        takeAction
    124133
    125134    } ;
     
    140149    */
    141150    virtual CbcAction event(CbcEvent whichEvent) ;
     151
     152    /*! \brief Return the action to be taken for an event - and modify data.
     153
     154      Return the action that should be taken in response to the event passed as
     155      the parameter. The default implementation simply reads a return code
     156      from a map.
     157    */
     158    virtual CbcAction event(CbcEvent whichEvent, void * data) ;
    142159
    143160    //@}
Note: See TracChangeset for help on using the changeset viewer.