optionsCplexAPI: Function to parse options for CPLEX

Description Usage Arguments Value

View source: R/lp.R

Description

This function constructs a list of options to be parsed when solver is set to cplexapi.

Usage

1

Arguments

options

list. The name of each item must be the name of the function to set the option, and is case sensitive. The value assigned to each item is the value to set the option to. The env argument should always be omitted. If the option accepts a list of parameters, then these parameters should be passed as using a named vector (e.g. list(setLogFileNameCPLEX = c(filename = "cpx.log", mode = "w"))). If the function to set the option can be used multiple times, then the value submitted should be a a list, with each entry being a named vector (e.g. list(setDblParmCPLEX = list(c(parm = 1016, value = 1e-04), c(parm = 1084, value = 2)))). If the option only requires the env parameter, then an NA should be passed as the parameter value (e.g. list(setDefaultParm = NA)).

Value

list, each element being the command to evaluate to implement an option.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.