Learn R Programming

sybil (version 1.1.2)

getObjVal-methods: Get Value of the Objective Function After Optimization

Description

Get value of the objective function after optimization.

Usage

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

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

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

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

Arguments

lp
An object extending class optObj.

Value

  • Returns a single numeric value.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.