mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 00:18:51 -06:00
Add build.jl
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -8,3 +8,4 @@ deps/src/
|
||||
deps/usr/
|
||||
docs/build/
|
||||
docs/site/
|
||||
.ipy*
|
||||
|
||||
@@ -5,6 +5,7 @@ version = "0.1.0"
|
||||
|
||||
[deps]
|
||||
CPLEX = "a076750e-1247-5638-91d2-ce28b192dca0"
|
||||
Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
|
||||
Gurobi = "2e9cd046-0924-5485-92f1-d5272153d98b"
|
||||
JSON2 = "2535ab7d-5cd8-5a07-80ac-9b1792aadce3"
|
||||
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
|
||||
|
||||
6
deps/build.jl
vendored
Normal file
6
deps/build.jl
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
using Conda
|
||||
ENV["PATH"] *= ";" * joinpath(Conda.ROOTENV, "Scripts")
|
||||
ENV["PATH"] *= ";" * joinpath(Conda.ROOTENV, "Library", "bin")
|
||||
pip = joinpath(Conda.ROOTENV, "Scripts", "pip")
|
||||
run(`$pip install miplearn==0.1.0`)
|
||||
|
||||
Reference in New Issue
Block a user