Skip to contents

Set the objective function direction in an LPproblem.

Usage

setObjDirection(lp, ...)

# S4 method for class 'LPproblem_glpk'
setObjDirection(lp, lpdir)

Arguments

lp

Object of class LPproblem

...

Additional parameters passed on to the specific method instance.

lpdir

Objective direction ("max" or "min")