Description Usage Arguments Value Author(s) References Examples

Set a column in an lpSolve linear program model object.

1 | ```
set.column(lprec, column, x, indices)
``` |

`lprec` |
an lpSolve linear program model object. |

`column` |
a single numeric value from the set |

`x` |
a numeric vector containing the elements (only the nonzero elements if |

`indices` |
optional for sparse |

a `NULL`

value is invisibly returned.

Kjell Konis [email protected]

http://lpsolve.sourceforge.net/5.5/index.htm

1 2 3 | ```
lps.model <- make.lp(4, 2)
set.column(lps.model, 2, c(6,2,4,9))
set.column(lps.model, 1, c(3,1,5), indices = c(1,2,4))
``` |

```
```

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.