rLScreateRG: Create a new instance of LINDO API random generator object.
Description
R interface function for LINDO API function LScreateRG
. For more information,
please refer to LINDO API User Manual.
Usage
rLScreateRG(env,nMethod)
Arguments
nMethod
An integer specifying the random number generator to use. Possible values are:
- LS_RANDGEN_FREE
- LS_RANDGEN_SYSTEM
- LS_RANDGEN_LINDO1
- LS_RANDGEN_LINDO2
- LS_RANDGEN_LIN1
- LS_RANDGEN_MULT1
- LS_RANDGEN_MERSENNE
Value
If successful, rLScreateRG returns a LINDO API random generator object;
Otherwise, it returns NULL.
Details
Before this function is called, rLScreateEnv
must be called to get a valid
LINDO API environment object.
References
LINDO SYSTEMS home page at www.lindo.com