Riley Clement
-
Gurobi Staff
- Total activity 1955
- Last activity
- Member since
- Following 0 users
- Followed by 3 users
- Votes 14
- Subscriptions 792
Comments
Recent activity by Riley Clement-
Hi Tanmoy, If select[s, r] is a binary variable, then it can be no larger than 1. Consequently a constraint deploy[s, o, r] <= select[s, r] would mean that deploy[s, o, r] could also not be large...
-
Hi Nizar, Check out our Jupyter Notebook Modeling Example for an Intro to Mathematical Optimization Modeling.This will provide a good foundation for converting your mathematical formulation into py...
-
Hi Songtao, Thanks for the log output, but it will be hard to help without seeing the code, or math formulation, you used to produce your model. If you send it through, then someone may be able to ...
-
Hi Yi, Your understanding is correct. - Riley
-
Hi Harichai, Would constraints of the form gp_order_status.sum("*", order) == 1 for order in order_list work? Then an order could only be done on a specific date? As an aside, looking at the code ...
-
Hi Cedric, You will be able to change the MIPFocus parameter from a callback by following our example here:How do I change parameters in a callback? I tested the approach and it resumes the optimiz...
-
FYI, there are several modelling choices to be made here, all resulting in correct formulations.With one of the possible formulations I am able to achieve solutions with 4% gap rather quickly, but ...
-
Further to Jaromił's answer, the following may helpSome of the trig expressions can be simplified although I'm not sure it will help the solver.Once you have a solution you can plot with matplotlib...
-
Hi Fnu, You might find more useful advice in the CVX forum that can help in this case, for example http://ask.cvxr.com/t/how-to-install-gurobi-2/10898/4 - Riley
-
Hi Tanmoy, If you want a list of pairings (s,o) where Distance[s,o] is less than DistanceMax then you can create this like so [index for index,distance in Distance.items() if distance <= DistanceMa...