
Jaromił Najman
- Total activity 3736
- Last activity
- Member since
- Following 0 users
- Followed by 4 users
- Votes 11
- Subscriptions 1322
Articles
Recent activity by Jaromił Najman-
How do I model conditional statements in Gurobi?
This article is inspired by the Stack Exchange post How to write if else statement in Linear programming? Conditional statements such as if \(x > y\) then \(z = w_1\) else \(z = w_2\), where \(x,y,...
-
How do I create a cluster of distributed workers as an academic?
Prerequisites In order to set up a cluster of distributed workers as an academic user, you must have access to a license for which distributed optimization is enabled (in the User Portal for your p...
-
How do I pass an objective bound to Gurobi?
Currently, there is no direct way to set a lower bound for a minimization objective (or an upper bound in the case of maximization) in Gurobi. While providing an objective bound may seem like a goo...
-
How do I create and use a recording file?
Gurobi recording files enable a user to replay the exact model-building and solution process from one machine on another machine, independent of the underlying hardware. This can be helpful in iden...
-
How do I pointwise multiply an array and an MVar with the matrix-friendly Python API?
If you are using Gurobi 10 or later It is possible to pointwise multiply an array and an MVar object: $$\begin{align} \begin{bmatrix} a_1 \\ a_2 \\ a_3 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\...
-
How do I divide by a variable in Gurobi?
Gurobi does not support dividing by variables. However, one can model the expression \(\frac{1}{x}\) by introducing a continuous variable \( z \) and adding the constraint $$x \cdot z = 1.$$ By the...
-
What are the differences between Constraint Programming and MIP?
Constraint Programming (CP) is a field of mathematical programming which focuses on finding feasible solutions subject to some given constraints. Theoretically, it is as hard as mixed integer progr...
-
Error: Job queueing feature is disabled
Gurobi Instant Cloud allows you to offload optimization computations from one or more client programs onto a cluster of compute nodes. You can set a limit on the number of simultaneous jobs each co...
-
How do I resolve an "ERROR 10030: Job was rejected because the Compute Server feature is disabled"?
The error Job was rejected because the Compute Server feature is disabled on a client machine is often coupled with the information info : Compute Server Service not enabled - Distributed Worker se...
-
Error 10024: Web license service only available for container environments
There are two main reasons for this error: You are using a WLS license with a Gurobi version earlier than 10.0.0 natively on your Windows/MacOS/Linux machine. In this case, please update to Gurobi ...