Ignore:
Timestamp:
Jan 31, 2014 12:06:42 AM (6 years ago)
Author:
stefan
Message:

add method Clp_freeRay to C interface to free a ray given by Clp_infeasibility/unboundedRay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.15/Clp/src/Clp_C_Interface.h

    r1902 r2017  
    213213     /** Integer information */
    214214     COINLIBAPI char * COINLINKAGE Clp_integerInformation(Clp_Simplex * model);
    215      /** Infeasibility/unbounded ray (NULL returned if none/wrong)
    216          Up to user to use free() on these arrays.  */
     215     /** Gives Infeasibility ray.
     216      *
     217      * Use Clp_freeRay to free the returned array.
     218      *
     219      * @return infeasibility ray, or NULL returned if none/wrong.
     220      */
    217221     COINLIBAPI double * COINLINKAGE Clp_infeasibilityRay(Clp_Simplex * model);
     222     /** Gives ray in which the problem is unbounded.
     223      *
     224      * Use Clp_freeRay to free the returned array.
     225      *
     226      * @return unbounded ray, or NULL returned if none/wrong.
     227      */
    218228     COINLIBAPI double * COINLINKAGE Clp_unboundedRay(Clp_Simplex * model);
     229     /** Frees a infeasibility or unbounded ray. */
     230     COINLIBAPI void COINLINKAGE Clp_freeRay(Clp_Simplex * model, double * ray);
    219231     /** See if status array exists (partly for OsiClp) */
    220232     COINLIBAPI int COINLINKAGE Clp_statusExists(Clp_Simplex * model);
Note: See TracChangeset for help on using the changeset viewer.