
Jaromił Najman
- Total activity 2267
- Last activity
- Member since
- Following 0 users
- Followed by 1 user
- Votes 6
- Subscriptions 828
Articles
Recent activity by Jaromił Najman-
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 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 pointwise multiply an array and an MVar with the matrix-friendly Python API?
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 \\ x_3 \end{bmatrix}= \begin{bmatrix}...
-
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 token server started with an academic floating site license. Please contact your ins...
-
Error 10024: Web license service only available for container environments
This error is caused by the fact that the latest versions of some Docker host systems have switched to cgroups v2 which causes a conflict with Gurobi's Web License Service (WLS). This issue is pres...
-
How do I resolve 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...
-
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...
-
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...
-
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...
-
How do I model multilinear terms in Gurobi?
Gurobi supports constraints containing bilinear terms like \( x \cdot y \). Although Gurobi does not directly support constraints containing more general multilinear terms, they can be modeled usin...