Ignore:
Timestamp:
Mar 13, 2014 2:09:41 PM (5 years ago)
Author:
mlubin
Message:

Allow passing arbitrary command-line parameters using the C interface

File:
1 edited

Legend:

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

    r2019 r2020  
    112112    /**@name gets and sets - you will find some synonyms at the end of this file */
    113113    /*@{*/
    114     /** Objective offset */
    115     COINLIBAPI double COINLINKAGE
    116     Cbc_objectiveOffset(Cbc_Model * model)
    117     ;
    118     COINLIBAPI void COINLINKAGE
    119     Cbc_setObjectiveOffset(Cbc_Model * model, double value)
     114    /** Set parameter "name" to value "value". Note that this
     115     * translates directly to using "-name value" as a
     116     * command-line argument to Cbc.*/
     117    COINLIBAPI void COINLINKAGE
     118    Cbc_setParameter(Cbc_Model * model, const char * name, const char * value)
    120119    ;
    121120    /** Fills in array with problem name  */
     
    128127    */
    129128    COINLIBAPI int COINLINKAGE
    130     Cbc_setProblemName(Cbc_Model * model, int maxNumberCharacters, char * array)
     129    Cbc_setProblemName(Cbc_Model * model, const char * array)
    131130    ;
    132131    /** Status of problem:
Note: See TracChangeset for help on using the changeset viewer.