Learn R Programming

sybil (version 1.1.2)

setSolverParm-methods: Set Parameters Used By The Optimization Software

Description

Set parameters used by the optimization software. Parameters are set on a key-value basis. Sets of parameters can be set via a named list or a named data frame. The names of the parameters itself and possible values differ from solver to solver. Please consult the documentation of your solver software to get information about available parameters.

Usage

## S3 method for class 'optObj_clpAPI':
setSolverParm(lp, solverParm)

## S3 method for class 'optObj_cplexAPI': setSolverParm(lp, solverParm)

## S3 method for class 'optObj_glpkAPI': setSolverParm(lp, solverParm)

## S3 method for class 'optObj_lpSolveAPI': setSolverParm(lp, solverParm)

Arguments

lp
An object extending class optObj.
solverParm
A named list or data frame containing sets of parameters. They must not contain NA values and every list or data frame element must have length one.

encoding

utf8

See Also

Superclass optObj and constructor function optObj.