JuliaCloud / JuliaBox

Juliabox continues to run, but this codebase is no longer current.
http://www.juliabox.org/
Other
185 stars 50 forks source link

MIP solver? #181

Open JesseJenkins opened 9 years ago

JesseJenkins commented 9 years ago

Hi all, Thanks for developing such a useful tool. I use IJulia on my computer, primarily to do linear optimization and mixed integer linear optimization work using the JuMP package. I'd love to take advantage of JuliaBox to shift my work to the cloud. But to do that, I need a mixed integer solver to use.

Currently I use Gurobi on my own machine. Is it possible to configure Gurobi to work on JuliaBox? Or if not, can you install another MIP solver package, like Cbc? Or is there already a MIP solver package installed that I'm missing.

Thanks, Jesse Jenkins MIT Engineering Systems Division

jiahao commented 9 years ago

cc: @IainNZ @joehuchette @mlubin

IainNZ commented 9 years ago

Gurobi isn't possible for licensing reasons, and GLPK is installed currently for LPs and MIPs. Cbc could be installed, but I think there might be issues with its size?

mlubin commented 9 years ago

Cbc is already installed. There's not much hope of setting up Gurobi since a license would cost into the tens of thousands of dollars per year. If there's a demand we might be able to chat with the Gurobi developers to see what we can arrange, but I wouldn't expect much in the short term.

JesseJenkins commented 9 years ago

Thanks. GLPK or Cbc will work for now. I can always transfer to my machine to run Gurobi for the real deal runs. Appreciate the rapid reply!

Jesse Jenkins


jesse.d.jenkins@gmail.com Twitter: @JesseJenkins http://twitter.com/jessejenkins

On Thu, Jan 8, 2015 at 4:39 PM, Miles Lubin notifications@github.com wrote:

Cbc is already installed. There's not much hope of setting up Gurobi since a license would cost into the tens of thousands of dollars per year. If there's a demand we might be able to chat with the Gurobi developers to see what we can arrange, but I wouldn't expect much in the short term.

Reply to this email directly or view it on GitHub https://github.com/JuliaLang/JuliaBox/issues/181#issuecomment-69254038.

ViralBShah commented 9 years ago

Do you have your own license for Gurobi? If so, you can install Gurobi in your own directory and use it. The current quota is 1GB, but if you need more, just create an issue and we will do so.

We are glad to hear you are increasingly planning to use the cloud version. We work really hard on backing things up, but please do take regular backups for the unforeseen events. We already do regular snapshotting, but I will open an issue for the ability to download your entire home directory as well.

JesseJenkins commented 9 years ago

I do have an academic license for Gurobi. I'll try installing it on my directory and see if that works.

Note that when I was trying to solve my MIP using GLPK on JuliaBox, it was taking a very long time to solve/stalling out. I couldn't tell which, but it definitely took much longer to solve than when running using IJulia with Gurobi on my own computer. How much processor assets do we have access to on JuliaBox? Is it better to crunch MIPs on my own machine?

Thanks.

Jesse Jenkins


jesse.d.jenkins@gmail.com Twitter: @JesseJenkins http://twitter.com/jessejenkins

On Fri, Jan 9, 2015 at 2:51 AM, Viral B. Shah notifications@github.com wrote:

Do you have your own license for Gurobi? If so, you can install Gurobi in your own directory and use it. The current quota is 1GB, but if you need more, just create an issue and we will do so.

We are glad to hear you are increasingly planning to use the cloud version. We work really hard on backing things up, but please do take regular backups for the unforeseen events. We already do regular snapshotting, but I will open an issue for the ability to download your entire home directory as well.

Reply to this email directly or view it on GitHub https://github.com/JuliaLang/JuliaBox/issues/181#issuecomment-69303554.

mlubin commented 9 years ago

To activate an academic Gurobi license you need to be connected to the MIT domain. So this means that every time you restart a JuliaBox session, you would need to set up a VPN connection to MIT and then activate a new license, which isn't too practical. If the MIPs are slow with GLPK, I would say that it's a much more efficient use of resources for you to run them locally with Gurobi.

JesseJenkins commented 9 years ago

Thanks. Ill plan to run locally then.

Jesse Jenkins


jesse.d.jenkins@gmail.com Twitter: @JesseJenkins http://twitter.com/jessejenkins

On Fri, Jan 9, 2015 at 11:41 AM, Miles Lubin notifications@github.com wrote:

To activate an academic Gurobi license you need to be connected to the MIT domain. So this means that every time you restart a JuliaBox session, you would need to set up a VPN connection to MIT and then activate a new license, which isn't too practical. If the MIPs are slow with GLPK, I would say that it's a much more efficient use of resources for you to run them locally with Gurobi.

Reply to this email directly or view it on GitHub https://github.com/JuliaLang/JuliaBox/issues/181#issuecomment-69360510.

mlubin commented 9 years ago

CC @cmaes

mlubin commented 9 years ago

FYI Gurobi offers special c3.2xlarge EC2 instances with gurobi licences set up, currently at $25/hour, down to $7/hour with bulk discounts. This is a bit prohibitive for academic users, but could be useful for commercial users who want to use JuliaBox.

ViralBShah commented 9 years ago

Thanks this is actually useful to know that there is a solution for using Gurobi on AWS, even though it sure is quite expensive for non-commercial users.

gdowdy3 commented 7 years ago

There's not much hope of setting up Gurobi since a license would cost into the tens of thousands of dollars per year. If there's a demand we might be able to chat with the Gurobi developers to see what we can arrange

I would also be highly interested in using Gurobi via JuliaBox. Just sayin'.