Description Usage Arguments Details Value Author(s) References

Low level interface function to the IBM ILOG CPLEX function
`CPXaddindconstr`

. Consult the IBM ILOG CPLEX documentation for more
detailed information.

1 2 | ```
addIndConstrCPLEX(env, lp, indvar, complemented,
nzcnt, rhs, sense, linind, linval, indname = NULL)
``` |

`env` |
An object of class |

`lp` |
An object of class |

`indvar` |
The binary variable that acts as the indicator for this constraint. |

`complemented` |
A Boolean value that specifies whether the indicator variable is complemented. |

`nzcnt` |
An integer that specifies the number of nonzero coefficients in the linear portion of the indicator constraint. |

`rhs` |
The righthand side value for the linear portion of the indicator constraint. |

`sense` |
The sense of the linear portion of the indicator constraint. |

`linind` |
A vector that with |

`linval` |
A vector that with linind defines the linear portion of the indicator constraint. |

`indname` |
The name of the constraint to be added (optional). |

Interface to the C function `addIndConstr`

which calls the CPLEX
function `CPXaddindconstr`

.

Zero if successful, otherwise nonzero.

Gabriel Gelius-Dietrich <[email protected]>

Maintainer: Claus Jonathan Fritzemeier <[email protected]>

The IBM ILOG CPLEX home page at https://www.ibm.com/developerworks/university/academicinitiative/.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.