Ignore:
Timestamp:
Oct 8, 2006 7:33:47 PM (13 years ago)
Author:
forrest
Message:

towards common use with other solvers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/Cbc_C_Interface.h

    r2 r439  
    130130      4 - stopped due to errors
    131131  */
    132   COINLIBAPI int COINLINKAGE Cbc_status(Cbc_Model * model);
     132  COINLIBAPI int COINLINKAGE Cbc_LPstatus(Cbc_Model * model);
    133133  /** Set problem status */
    134   COINLIBAPI void COINLINKAGE Cbc_setProblemStatus(Cbc_Model * model, int problemStatus);
     134  COINLIBAPI void COINLINKAGE Cbc_setProblemLPStatus(Cbc_Model * model, int problemStatus);
    135135  /** Secondary status of problem - may get extended
    136136      0 - none
     
    139139      3 - scaled problem optimal - unscaled has dual infeasibilities
    140140      4 - scaled problem optimal - unscaled has both dual and primal infeasibilities
     141  */
     142  COINLIBAPI int COINLINKAGE Cbc_secondaryLPStatus(Cbc_Model * model);
     143  COINLIBAPI void COINLINKAGE Cbc_setSecondaryLPStatus(Cbc_Model * model, int status);
     144  /** Final status of BAB problem
     145      Some of these can be found out by is...... functions
     146      -1 before branchAndBound
     147      0 finished - check isProvenOptimal or isProvenInfeasible to see if solution found
     148      (or check value of best solution)
     149      1 stopped - on maxnodes, maxsols, maxtime
     150      2 difficulties so run was abandoned
     151      (5 event user programmed event occurred)
     152  */
     153  COINLIBAPI int COINLINKAGE Cbc_status(Cbc_Model * model);
     154  /** Set problem status */
     155  COINLIBAPI void COINLINKAGE Cbc_setProblemStatus(Cbc_Model * model, int problemStatus);
     156  /** Secondary status of BAB problem
     157      -1 unset (status_ will also be -1)
     158      0 search completed with solution
     159      1 linear relaxation not feasible (or worse than cutoff)
     160      2 stopped on gap
     161      3 stopped on nodes
     162      4 stopped on time
     163      5 stopped on user event
     164      6 stopped on solutions
     165      7 linear relaxation unbounded
    141166  */
    142167  COINLIBAPI int COINLINKAGE Cbc_secondaryStatus(Cbc_Model * model);
Note: See TracChangeset for help on using the changeset viewer.