Skip to contents

Set the path to the GLPK library

Usage

set_glpk_path(path = NULL)

Arguments

path

character. Path to the GLPK library with `glpsol.*` executable.

Examples

set_glpk_path("/usr/local/bin/glpk") # Linux & Mac
#> Error: The path "/usr/local/bin/glpk" does not exist.
set_glpk_path("C:/Program Files/glpk/bin") # Windows
#> Error: The path "C:/Program Files/glpk/bin" does not exist.
get_glpk_path()
#> NULL