Learn R Programming

sybil (version 1.1.2)

getRedCosts-methods: Get Reduced Costs of all Variables After Optimization

Description

Get reduced costs of all variables after optimization.

Usage

## S3 method for class 'optObj_clpAPI':
getRedCosts(lp)

## S3 method for class 'optObj_cplexAPI': getRedCosts(lp)

## S3 method for class 'optObj_glpkAPI': getRedCosts(lp)

## S3 method for class 'optObj_lpSolveAPI': getRedCosts(lp)

Arguments

lp
An object extending class optObj.

Value

  • A numeric vector containing the reduced costs of all variables.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.