Convert GurobiOpts() object to list.

# S3 method for GurobiOpts
as.list(x, ...)

Arguments

x

GurobiOpts() object.

...

not used.

Value

list

Note

This function will not include the NumberSolutions slot, the MultipleSolutionsMethod slot, or the TimeLimit slot if it is not finite.

See also

GurobiOpts.

Examples

# make GuboriOpts object x <- GurobiOpts() # convert to list as.list(x)
#> $Threads #> [1] 1 #> #> $MIPGap #> [1] 0.1 #> #> $Presolve #> [1] 2 #> #> $Method #> [1] 0 #>