Changeset 2038 for trunk/Cbc


Ignore:
Timestamp:
Jun 11, 2014 11:16:06 PM (5 years ago)
Author:
mlubin
Message:

improve return types of Cbc_setInteger and Cbc_setContinuous

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/Cbc_C_Interface.cpp

    r2037 r2038  
    745745}
    746746/** Set this the variable to be continuous */
    747 COINLIBAPI Cbc_Model * COINLINKAGE
     747COINLIBAPI void COINLINKAGE
    748748Cbc_setContinuous(Cbc_Model * model, int iColumn)
    749749{
     
    755755
    756756    if (VERBOSE > 0) printf("%s return\n", prefix);
    757     return model;
    758757}
    759758/** Set this the variable to be integer */
    760 COINLIBAPI Cbc_Model * COINLINKAGE
     759COINLIBAPI void COINLINKAGE
    761760Cbc_setInteger(Cbc_Model * model, int iColumn)
    762761{
     
    768767
    769768    if (VERBOSE > 0) printf("%s return\n", prefix);
    770     return model;
    771769}
    772770/** Add SOS constraints to the model using row-order matrix */
  • trunk/Cbc/src/Cbc_C_Interface.h

    r2037 r2038  
    200200    ;
    201201    /** Set this variable to be continuous */
    202     COINLIBAPI Cbc_Model * COINLINKAGE
     202    COINLIBAPI void COINLINKAGE
    203203    Cbc_setContinuous(Cbc_Model * model, int iColumn)
    204204    ;
    205205    /** Set this variable to be integer */
    206     COINLIBAPI Cbc_Model * COINLINKAGE
     206    COINLIBAPI void COINLINKAGE
    207207    Cbc_setInteger(Cbc_Model * model, int iColumn)
    208208    ;
Note: See TracChangeset for help on using the changeset viewer.