Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


sybil (version 1.1.2)

getColPrim-methods: Get Primal Value of Variables After Optimization

Description

Get primal value of variables after optimization.

Usage

## S3 method for class 'optObj_clpAPI,numeric':
getColPrim(lp, j)

## S3 method for class 'optObj_cplexAPI,numeric': getColPrim(lp, j)

## S3 method for class 'optObj_glpkAPI,numeric': getColPrim(lp, j)

## S3 method for class 'optObj_lpSolveAPI,numeric': getColPrim(lp, j)

Arguments

lp
An object extending class optObj.
j
A numeric vector containing the column (variable) indices.

Value

  • A numeric vector containing the desired primal values.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.