Changeset 1759 for branches/ClpForOsi2


Ignore:
Timestamp:
Jun 29, 2011 1:57:53 PM (8 years ago)
Author:
lou
Message:

Add a Clp_model routine to return the underlying ClpSimplex? object.

Location:
branches/ClpForOsi2/Clp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ClpForOsi2/Clp/src/Clp_C_Interface.cpp

    r1689 r1759  
    381381}
    382382
     383/* Underlying model */
     384COINLIBAPI void* COINLINKAGE
     385Clp_model(Clp_Simplex * model)
     386{
     387  return model->model_ ;
     388}
    383389/* Number of rows */
    384390COINLIBAPI int COINLINKAGE
  • branches/ClpForOsi2/Clp/src/Clp_C_Interface.h

    r1665 r1759  
    111111     /**@name gets and sets - you will find some synonyms at the end of this file */
    112112     /*@{*/
     113     /** The underlying ClpSimplex model */
     114     COINLIBAPI void* COINLINKAGE Clp_model(Clp_Simplex * model);
    113115     /** Number of rows */
    114116     COINLIBAPI int COINLINKAGE Clp_numberRows(Clp_Simplex * model);
Note: See TracChangeset for help on using the changeset viewer.