setColsBndsGLPK | R Documentation |
This is an advanced version of setColBndGLPK
.
Here, j
can be an integer vector, lb
and ub
can be numeric vectors.
setColsBndsGLPK(lp, j, lb, ub, type = NULL)
lp |
An object of class |
j |
Vector of column numbers. |
lb |
Vector of lower bounds. |
ub |
Vector of upper bounds. |
type |
Vector of variable types (default: NULL). For possible values, see
|
Interface to the C function setColsBnds
which calls the GLPK
function glp_set_col_bnds
.
If type
is set to NULL, the type of the variables will be estimated.
If lb[i] equals ub[i], variable j[i] is fixed, otherwise double bounded.
NULL
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Based on the package glpk by Lopaka Lee.
The GNU GLPK home page at http://www.gnu.org/software/glpk/glpk.html.
glpkConstants
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.