Skip to content

Commit

Permalink
Support CPLEX v22.1.1 in deps/build.jl (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t authored Jan 23, 2023
1 parent 6ea06b9 commit 023ce35
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const _CPX_VERS = [ # From oldest to most recent.
"1210", "12100",
"201", "2010", "20100",
"221", "2210", "22100",
"2211", "22110",
]
const _BASE_ENV = "CPLEX_STUDIO_BINARIES"

Expand Down Expand Up @@ -46,7 +47,7 @@ function get_error_message_if_not_found()
* 12.10
* 20.1
* 22.1
* 22.1 22.1.1
You must download and install one of these versions separately.
Expand All @@ -55,7 +56,7 @@ function get_error_message_if_not_found()
correct location):
```
ENV["CPLEX_STUDIO_BINARIES"] = "$(default_installation_path("CPLEX_Studio201"))"
ENV["CPLEX_STUDIO_BINARIES"] = "$(default_installation_path("CPLEX_Studio221"))"
import Pkg
Pkg.add("CPLEX")
Pkg.build("CPLEX")
Expand Down

0 comments on commit 023ce35

Please sign in to comment.