Changeset 2462


Ignore:
Timestamp:
Jan 1, 2019 10:38:17 AM (7 weeks ago)
Author:
unxusr
Message:

MIPStart in C API

Location:
trunk/Cbc/src
Files:
2 edited

Legend:

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

    r2460 r2462  
    11211121}
    11221122
     1123
     1124COINLIBAPI void COINLINKAGE
     1125Cbc_setMIPStart( Cbc_Model * model, int count, const char **colNames, const double colValues[] )
     1126{
     1127    model->model_->setMIPStart( count, colNames, colValues );
     1128}
     1129
    11231130/** Print the solution */
    11241131COINLIBAPI void  COINLINKAGE
  • trunk/Cbc/src/Cbc_C_Interface.h

    r2461 r2462  
    219219    ;
    220220
     221    /** @brief Enter initial feasible solution
     222     *
     223     * Enter an initial feasible solution. Only the non-zero main
     224     * binary/integer decision variables need to be informed.
     225     * Auxiliary and/or continuous variables are computed
     226     * automatically.
     227     *
     228     * @param model problem object
     229     * @param count number of variables
     230     * @param colNames names of variables
     231     * @param colValues variable values
     232     *
     233     **/
     234    COINLIBAPI void COINLINKAGE
     235    Cbc_setMIPStart( Cbc_Model * model, int count, const char **colNames, const double colValues[] );
     236
    221237    /** @brief Creates a copy of the current model
    222238     *
Note: See TracChangeset for help on using the changeset viewer.