Learn R Programming

sybil (version 1.1.2)

setObjDir-methods: Set Direction of Optimization

Description

Set direction of optimization.

Usage

## S3 method for class 'optObj_clpAPI,character':
setObjDir(lp, lpdir)

## S3 method for class 'optObj_clpAPI,numeric': setObjDir(lp, lpdir)

## S3 method for class 'optObj_cplexAPI,character': setObjDir(lp, lpdir)

## S3 method for class 'optObj_cplexAPI,integer': setObjDir(lp, lpdir)

## S3 method for class 'optObj_cplexAPI,numeric': setObjDir(lp, lpdir)

## S3 method for class 'optObj_glpkAPI,character': setObjDir(lp, lpdir)

## S3 method for class 'optObj_glpkAPI,integer': setObjDir(lp, lpdir)

## S3 method for class 'optObj_glpkAPI,numeric': setObjDir(lp, lpdir)

## S3 method for class 'optObj_lpSolveAPI,character': setObjDir(lp, lpdir)

## S3 method for class 'optObj_lpSolveAPI,numeric': setObjDir(lp, lpdir)

Arguments

lp
An object extending class optObj.
lpdir
A single character string, numeric or integer value. Can be set to "max" or -1 for maximization, or "min" or 1 for minimization. For packages cplexAPI and glpkAPI it is al

encoding

utf8

See Also

Superclass optObj and constructor function optObj.