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

Description Usage Arguments Value Methods Author(s) See Also

Description

Get value of the objective function after optimization.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'optObj_clpAPI'
getObjVal(lp)

## S4 method for signature 'optObj_cplexAPI'
getObjVal(lp)

## S4 method for signature 'optObj_glpkAPI'
getObjVal(lp)

## S4 method for signature 'optObj_lpSolveAPI'
getObjVal(lp)

Arguments

lp

An object extending class optObj.

Value

Returns a single numeric value.

Methods

signature(lp = "optObj_clpAPI")

method to use with package optObj_clpAPI.

signature(lp = "optObj_cplexAPI")

method to use with package optObj_cplexAPI. For problems of type "mip": if no solution exists, the cplexAPI function getBestObjValCPLEX will be used.

signature(lp = "optObj_glpkAPI")

method to use with package optObj_glpkAPI.

signature(lp = "optObj_lpSolveAPI")

method to use with package optObj_lpSolveAPI.

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

See Also

Superclass optObj and constructor function optObj.


sybil documentation built on May 31, 2021, 5:08 p.m.