Eli Towle
-
Gurobi Staff
- Total activity 1295
- Last activity
- Member since
- Following 0 users
- Followed by 4 users
- Votes 3
- Subscriptions 508
Articles
Recent activity by Eli Towle-
How do I pointwise multiply a numpy vector with a (1,) MVar with the matrix-friendly Python API?
You can pointwise multiply a 1-D ndarray with a 1-D MVar of length one natively. This operation follows numpy's broadcasting rules. For example, the following expression:$$\begin{align} \begin{bmat...
-
How do I write an MPS model file from a third-party API?
Be careful when using a third-party API to write a model fileMany users call the Gurobi solver through third-party APIs like JuMP.jl, CVXPY, or Pyomo. Such tools may not provide a way to write an M...
-
How do I multiply two MLinExpr objects together with the matrix-friendly Python API?
You can natively multiply two MLinExpr objects together following normal matrix multiplication rules. For example, consider the following constraint:$$\begin{align} y &= (Ax + b)^\top (Ax + b). \en...
-
How do I multiply an array and a 2-D MVar object using the matrix-friendly Python API?
Operations on 2D MVar objects work natively, following the dimensionality conventions of numpy. For example, let \( a \in \mathbb{R}^m \), let \(b \in \mathbb{R}^n \), and let \(X\) be an \( m \tim...
-
Resolved in Gurobi v10.0.1: Incorrect objective value reported for some multi-objective problems
Affected versions: Gurobi v10.0.0Resolved in version: Gurobi v10.0.1IssueGurobi 10.0.0 includes a bug that can result in Gurobi printing an incorrect optimal objective value for multi-objective opt...
-
How do I access the left-hand side of a constraint?
It is sometimes necessary to query a constraint's left-hand side (LHS). Use cases include: Printing a constraint definition to verify it is written correctly Evaluating a constraint's LHS at the cu...
-
How do I check the availability of floating license tokens?
In floating license environments, it is possible that all of the tokens are in use. When this happens, no other applications will be able to use Gurobi to solve optimization problems until a token ...
-
How do I resolve the error "grbgetkey: command not found" or "'grbgetkey' is not recognized"?
NOTE for WLS users: The command grbgetkey is not used with WLS licenses. Please see How do I resolve an "ERROR 202" when running grbgetkey?The grbgetkey executable is located within the full Gurobi...
-
How do I configure an AWS EC2 instance so the license file remains valid?
A Gurobi license file set up on an AWS EC2 instance will remain valid if the EC2 instance is stopped and restarted. However, a Gurobi license file may become invalid after the EC2 instance is termi...