Description Usage Arguments Value References
R interface function for LINDO API function LSloadInstruct
. For more information,
please refer to LINDO API User Manual.
1 2 3 4 | rLSloadInstruct(model,nCons,nObjs,nVars,nNumbers,panObjSense,pszConType,
pszVarType = NULL,panInstruct,nInstruct,paiVars = NULL,
padNumVal,padVarVal,paiObjBeg,panObjLen,paiConBeg,
panConLen,padLB = NULL,padUB = NULL)
|
model |
A LINDO API model object, returned by |
nCons |
Number of constraints in the model. |
nObjs |
Number of objectives in the model. |
nVars |
Number of variables in the model. |
nNumbers |
Number of real numbers in the model. |
panObjSense |
An integer array containing the indicator stating whether the objective is to be maximized or minimized.
Valid values are |
pszConType |
A character array containing the type of each constraint. Each constraint is represented by a single byte in the array. Valid values for each constraint are 'L', 'E', 'G', or 'N' for less-than-or-equal-to, equal to, great-than-or-equal-to, or neutral, respectively. |
pszVarType |
A character array containing the type of each variable. Valid values for each variable are 'C', 'B', or 'I', for continuous, binary, or general integer, respectively. |
panInstruct |
An integer array containing the instruction list. |
nInstruct |
Number of items in the instruction list. |
paiVars |
An integer array containing the variable index. |
padNumVal |
A double array containing the value of each real number in the model. |
padVarVal |
A double array containing starting values for each variable in the given model. |
paiObjBeg |
An integer array containing the beginning positions on the instruction list for each objective row. |
panObjLen |
An integer array containing the length of instruction code (i.e., the number of individual instruction items) for each objective row. |
paiConBeg |
An integer array containing the beginning positions on the instruction list for each constraint row. |
panConLen |
An integer array containing the length of instruction code (i.e., the number of individual instruction items) for each constraint row. |
padLB |
A double array containing the lower bound of each variable. |
padUB |
A double array containing the upper bound of each variable. |
An R list object with components:
ErrorCode |
Zero if successful, nonzero otherwise. |
LINDO SYSTEMS home page at www.lindo.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.