Ignore:
Timestamp:
Apr 7, 2019 12:56:40 AM (2 months ago)
Author:
stefan
Message:

add Clp_modifyCoefficient to C interface

  • as suggested in #102
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/Clp_C_Interface.cpp

    r2441 r2446  
    375375  model->model_->chgObjCoefficients(objIn);
    376376}
     377/* Change matrix coefficients */
     378COINLIBAPI void COINLINKAGE
     379Clp_modifyCoefficient(Clp_Simplex *model, int row, int column, double newElement,
     380  bool keepZero)
     381{
     382  model->model_->modifyCoefficient(row, column, newElement, keepZero);
     383}
    377384/* Drops names - makes lengthnames 0 and names empty */
    378385COINLIBAPI void COINLINKAGE
Note: See TracChangeset for help on using the changeset viewer.