mirror of
https://github.com/ANL-CEEESA/MIPLearn.jl.git
synced 2025-12-06 08:28:52 -06:00
12 lines
247 B
Julia
12 lines
247 B
Julia
using Conda
|
|
using PyCall
|
|
|
|
function install_miplearn()
|
|
Conda.update()
|
|
pip = joinpath(dirname(pyimport("sys").executable), "pip")
|
|
isfile(pip) || error("$pip: invalid path")
|
|
run(`$pip install miplearn==0.4.4`)
|
|
end
|
|
|
|
install_miplearn()
|