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

Remove nonworking problem modification functions. Update docs.

File:
1 edited

Legend:

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

    r2036 r2037  
    1313#include <stddef.h>
    1414
    15 /** This is a "C" interface to Cbc.
    16    Original verison contributed by Bob Entriken,
    17    significantly updated by Miles Lubin.
     15/*
     16 * Original verison contributed by Bob Entriken,
     17 * significantly updated by Miles Lubin.
    1818*/
     19
    1920
    2021#ifdef __cplusplus
     
    2324
    2425    /**@name Constructors and destructor
    25        The user does not need to know structure of Cbc_Model.
     26      This is a "C" interface to Cbc.
     27      The user does not need to know structure of Cbc_Model.
    2628    */
    2729    /*@{*/
     
    4042    /*@}*/
    4143
    42     /**@name Getting and setting model data */
     44    /**@name Getting and setting model data
     45     Note that problem access and modification methods,
     46       such as getColLower and setColLower,
     47       are *not valid* after calling Cbc_solve().
     48       Therefore it is not recommended to reuse a Cbc_Model
     49       object for multiple solves. A workaround is to call Cbc_clone()
     50       before solving.
     51     * */
    4352    /*@{*/
    4453    /** Loads a problem (the constraints on the
     
    8190    Cbc_setInitialSolution(Cbc_Model *model, const double * sol)
    8291    ;
    83     /** Deletes rows */
    84     COINLIBAPI void COINLINKAGE
    85     Cbc_deleteRows(Cbc_Model * model, int number, const int * which)
    86     ;
    87     /** Add rows */
    88     COINLIBAPI void COINLINKAGE
    89     Cbc_addRows(Cbc_Model * model, const int number, const double * rowLower,
    90                 const double * rowUpper,
    91                 const int * rowStarts, const int * columns,
    92                 const double * elements)
    93     ;
    94 
    95     /** Deletes columns */
    96     COINLIBAPI void COINLINKAGE
    97     Cbc_deleteColumns(Cbc_Model * model, int number, const int * which)
    98     ;
    99     /** Add columns */
    100     COINLIBAPI void COINLINKAGE
    101     Cbc_addColumns(Cbc_Model * model, int number, const double * columnLower,
    102                    const double * columnUpper,
    103                    const double * objective,
    104                    const int * columnStarts, const int * rows,
    105                    const double * elements);
    10692    /** Fills in array with problem name  */
    10793    COINLIBAPI void COINLINKAGE
Note: See TracChangeset for help on using the changeset viewer.