Previous Page: CPXfputsFirst PageNext Page: CPXfreeprob

CPXfree


Description

The routine CPXfree() is used to free pointers that are allocated and returned by the routines CPXmpsread(), CPXlpread(), CPXmpsmread(), CPXlpmread(), CPXmpsqread() and CPXlpqread(). It can also be used to free pointers returned by the functions CPXmalloc() and CPXrealloc(). It should not be used to free pointers returned by the system malloc() routines.

Return Value

This routine returns no result.

Synopsis

void CPXfree (void *ptr);

Arguments


void *ptr
A pointer to a block of memory allocated by CPLEX that should be returned to the system heap.

Example

CPXfree (matval);

Previous Page: CPXfputsFirst PageNext Page: CPXfreeprob