lpx_create_prob {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_create_prob. The parameter names, associated types, and return values are identical to the GLPK function. Please see the GLPK documentation for more info.

Usage

    lpx_create_prob()

Details

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

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]