rLSloadQCData: Load quadratic program data into a model structure.

Description Usage Arguments Value References

Description

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

Usage

1
rLSloadQCData(model,nQCnnz,paiQCrows,paiQCcols1,paiQCcols2,padQCcoef)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nQCnnz

The total number of nonzeros in quadratic coefficient matrices.

paiQCrows

An integer array containing the index of the constraint associated with each nonzero quadratic term.

paiQCcols1

An integer array containing the index of the first variable defining each quadratic term.

paiQCcols2

An integer array containing the index of the second variable defining each quadratic term.

padQCcoef

A double array containing the nonzero coefficients in the quadratic matrix.

Value

An R list object with components:

ErrorCode

Zero if successful, nonzero otherwise.

References

LINDO SYSTEMS home page at www.lindo.com



Search within the rLindo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.