Learn R Programming

sybil (version 1.1.2)

getObjDir-methods: Get Direction of Optimization.

Description

Get direction of optimization.

Usage

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

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

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

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

Arguments

lp
An object extending class optObj.

Value

  • Returns a single character string indicating the direction of optimization: "max": maximization, or "min": minimization.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.