Description Usage Arguments Value References See Also
R interface function for LINDO API function LSaddConstraints
. For more information,
please refer to LINDO API User Manual.
1 2 | rLSaddConstraints(model,nNumaddcons,pszConTypes,paszConNames = NULL,
paiArows,padAcoef,paiAcols,padB)
|
model |
A LINDO API model object, returned by |
nNumaddcons |
Number of constraints to append. |
pszConTypes |
A character array containing the type of each constraint to be added to the model. |
paszConNames |
A string array containing the names of each new constraint. |
paiArows |
An integer array containing the index of the first nonzero element in each new constraint. |
padAcoef |
A double array containing the nonzero coefficients of the new constraints. |
paiAcols |
An integer array containing the column indices of the nonzeros in the new constraints. |
padB |
A double array containing the right-hand side coefficients for each new constraint. |
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.