question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Gurobi Cloud

See original GitHub issue

Currently, python-mip can be used to solve problems with Gurobi on the local machine. A recent mailing-list question asked about corresponding support for Gurobi Cloud.

It’s true that this still requires a local Gurobi installation and that a different call must be made to create a Gurobi environment. Namely, in place of GRBloadenv, the related GRBc_loadcloudenv should be called, passing the license details as strings.

It might make sense to create a specific constructor for this, or else add a separate SolverGurobiCloud class for that purpose. I’d like to work on a PR for this feature, but I don’t currently have a (cloud) license for testing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mattmiltencommented, Dec 7, 2020

A simpler way is to specify the cloud via the license file. This should work without changing the code - you just use a cloud license as your default license file and the environment should start as a cloud environment.

0reactions
rschwarzcommented, Feb 5, 2021

This can be closed as the feature is already available after all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gurobi Instant Cloud - Gurobi Optimization
Run Gurobi on your choice of Azure and AWS clouds. ... Support for Azure and AWS ... and the Gurobi Instant Cloud connects...
Read more >
The World's Fastest Solver - Gurobi Optimization
Support for All Major Problem Types. Responsive, Expert Support. Flexible Licensing. Web License Service. Gurobi Optimizer Delivers Unmatched Performance ...
Read more >
How do I start a Cloud environment? - Gurobi Support Portal
You can start a Gurobi Cloud environment by using the Env constructor and supplying it with the respective Cloud parameters as follows:
Read more >
Instant Cloud – Gurobi Help Center
How do I start a Cloud environment? How do I split my Instant Cloud usage by user or department? How do I switch...
Read more >
How do I switch to using Gurobi Instant Cloud?
Switching from using Gurobi locally on-premise to Gurobi Instant Cloud is typically quite seamless. If you have been using a license file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found