V_bound function

Objective Variable Bounds

Objective Variable Bounds

Constructs a variable bounds object.

V_bound(li, ui, lb, ub, nobj, ld = 0, ud = Inf, names = NULL) as.V_bound(x) is.V_bound(x)

Arguments

  • li: an integer vector specifying the indices of non-standard (i.e., values != 0) lower bounds.
  • ui: an integer vector specifying the indices of non-standard (i.e., values != Inf) upper bounds.
  • lb: a numeric vector with lower bounds.
  • ub: a numeric vector with upper bounds.
  • nobj: an integer representing the number of objective variables
  • ld: a numeric giving lower default bound.
  • ud: a numeric giving upper default bound.
  • names: a character vector giving the names of the bounds.
  • x: object to be coerced or tested.

Returns

An S3 object of class "V_bound" containing lower and upper bounds of the objective variables.

Details

This function returns a sparse representation of objective variable bounds.

Examples

V_bound(li=1:3, lb=rep.int(-Inf, 3)) V_bound(li=c(1, 5, 10), ui=13, lb=rep.int(-Inf, 3), ub=100, nobj=20)
  • Maintainer: Stefan Theussl
  • License: GPL-3
  • Last published: 2023-04-20