rLSloadCorrelationMatrix: Load a correlation matrix to be used by the sampling scheme...

Description Usage Arguments Value References

View source: R/rLindo.R

Description

R interface function for LINDO API function LSloadCorrelationMatrix. For more information, please refer to LINDO API User Manual.

Usage

1
2
  rLSloadCorrelationMatrix(model,nDim,nCorrType,nQCnnz,paiQCcols1,
                           paiQCcols2,padQCcoef)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nDim

Number of stochastic parameters involved in the correlation structure.

nCorrType

Correlation type. Possible values are:

  • LS_CORR_PEARSON

  • LS_CORR_SPEARMAN

  • LS_CORR_KENDALL

nQCnnz

Number of nonzero correlation coefficients.

paiQCcols1

An integer array containing the first index of variable the correlation term belongs to.

paiQCcols2

An integer array containing the second index of variable the correlation term belongs to.

padQCcoef

A double array containing the correlation terms.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com


rLindo documentation built on May 1, 2019, 10:11 p.m.