rLSfindBlockStructure: Examine the nonzero structure of the constraint matrix and...

Description Usage Arguments Details Value References

View source: R/rLindo.R

Description

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

Usage

1
  rLSfindBlockStructure(model,nBlock,nType)

Arguments

model

A LINDO API model object, returned by rLScreateModel.

nBlock

Number of blocks to decompose the coefficient matrix into.

nType

Type of decomposition requested. The possible values are identified with the following macros:

  • LS_LINK_BLOCKS_NONETry total decomposition (no linking rows or columns).

  • LS_LINK_BLOCKS_COLSThe decomposed model will have dual angular structure (linking columns).

  • LS_LINK_BLOCKS_ROWSThe decomposed model will have block angular structure (linking rows).

  • LS_LINK_BLOCKS_BOTHThe decomposed model will have both dual and block angular structure (linking rows and columns).

  • LS_LINK_BLOCKS_FREESolver decides which type of decomposition to use.

Details

If neither linking rows nor linking columns exist, then the model is called 'totally decomposable'. Unless total decomposition is requested, the user should specify as an input the number of blocks to decompose the matrix into.

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.