defineLPMod: defineLPMod Specify an lp_model (mainly for internal use)

Description Usage Arguments Value

View source: R/defineLPMod.R

Description

defineLPMod Specify an lp_model (mainly for internal use)

Usage

1
2
defineLPMod(A, b, C = NULL, v = NULL, presolve = c("rows", "lindep",
  "cols"), lower = NULL)

Arguments

A

a matrix of inequality constraints A x <=b

b

a vector A x <=b

C

a matrix of equality constraints C x = v, should be null in the absence of such constraints

v

a vector of equality constraints C x = v, should be null in the absence of such constraints

presolve

argument send to lp.control

lower

minimal bounds for paramaters, by default set to zero

Value

a vector corresponding to the centroid of the polytope


Irstea/cpgsR documentation built on Jan. 25, 2020, 5:36 p.m.