lpx_read_cpxlp {glpk}R Documentation

Low-level interface to the GLPK function

Description

This function is a low-level interface to the GNU Linear Programming Kit (GLPK) function lpx_read_cpxlp. The parameter names, associated types, and return values are identical to the GLPK function. Please see the GLPK documentation for more info.

Usage

    lpx_read_cpxlp(fname)

Arguments

fname see GLPK doc

Details

This function is the interface to the R-glpk C function R_lpx_read_cpxlp which converts R objects and calls GLPK lpx_read_cpxlp.

Value

Returns an external pointer object. This pointer is opaque but is of type LPX *. It can be used in related GLPK methods. Any allocated memory associated with this pointer is handled by the R garbage collector. However, you may also call the GLPK destructor method of this class to free the memory and nullify the pointer.

Note

The generation of this function code, documentation, and R-API code has largely been automated. Therefore, not all functions have been fully tested. Beware and please report any bugs or inconsistencies.

The full documentation for GLPK has not been converted to Rd format – it is available in the GLPK source distribution.

Inquiries regarding this interface (R-GLPK) should NOT be sent to GNU GLPK mailing lists.

Author(s)

Lopaka Lee <rclee@usgs.gov> (R-GLPK)

Andrew Makhorin <mao@gnu.org> (GLPK)

References

The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html


[Package glpk version 4.8-0.5 Index]