diff --git a/.gitignore b/.gitignore index cd393ee..bf3bd66 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ deps/src/ deps/usr/ docs/build/ docs/site/ +.ipy* diff --git a/Project.toml b/Project.toml index bc25b13..3c33ea0 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/deps/build.jl b/deps/build.jl new file mode 100644 index 0000000..7cf089b --- /dev/null +++ b/deps/build.jl @@ -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`) +