rLSloadBlockStructure: Provide a block structure for the constraint matrix by specifying
block memberships of each variable and constraint.
Description
R interface function for LINDO API function LSloadBlockStructure
. For more information,
please refer to LINDO API User Manual.
Usage
rLSloadBlockStructure(model,nBlock,panRblock,panCblock,nType)
Arguments
nBlock
The name of the file from which to read the starting values.
panRblock
An integer array in which information about the block membership of the constraints is placed.
panCblock
An integer array in which information about the block membership of the variables is placed.
nType
The type of decomposition loaded. The possible values are identified with the following macros:
- LS_LINK_BLOCKS_COLSThe decomposed model has dual angular structure (linking columns).
- LS_LINK_BLOCKS_ROWSThe decomposed model has block angular structure (linking rows).
- LS_LINK_BLOCKS_BOTHThe decomposed model has both dual and block angular structure (linking rows and columns).
Value
An R list object with components:
- ErrorCode
- Zero if successful, nonzero otherwise.
References
LINDO SYSTEMS home page at www.lindo.com