Greg Glockner
Gurobi Staff Total activity 180
 Last activity
 Member since
 Following 0 users
 Followed by 1 user
 Votes 21
 Subscriptions 67
Articles
Recent activity by Greg Glockner
How do I use a model file from lp_solve with Gurobi?
Model files produced by lp_solve may be written in a format that Gurobi does not expect. LP files (.lp) created by lp_solve: These files have many differences to the LP format supported by Gurobi...

Why does my MPS file produce different objectives with different solvers?
The MPS file format does not indicate whether the objective should be maximized or minimized. Solvers may interpret this lack of an objective sense differently. By default, Gurobi assumes the objec...

Why is Gurobi unable to read my LP model file?
The LP file format is not standardized. For example, some solvers, including Gurobi, require spaces between variables, coefficients, and operators in an LP file. That is, the constraint \( x + y + ...

What are the differences between LP and MPS file formats?
The LP file format is designed to be humanreadable. Gurobi writes coefficients in LP files with fewer decimal digits. Also, the LP file format does not necessarily preserve the ordering of variabl...

Does using more threads make Gurobi faster?
Continuous models (LP, QP, SOCP) When solving continuous models with the barrier algorithm (Method = 2), the matrix factorization is faster with more threads. However, more threads will not make th...

Where can I learn more about building optimization models?
"Model Building in Mathematical Programming" by H.P. Williams is a classic text in math programming that covers general modeling principles and a wide variety of industrial applications. Below are ...

What types of models can Gurobi solve?
Gurobi versions 11.0 and later can solve models with linear constraints, quadratic constraints (both convex and nonconvex), secondorder cone constraints, and nonlinear function constraints. This ...

How do I model logical and general expressions?
General Constraints can be used to model many types of logical expressions, like AND and OR relationships. More complex logical expressions can be created via combinations of general constraints. F...

How does log rotation work with Gurobi Compute Server?
Two grb_rs.cnf configuration properties control the rotation of log files: LOGFILE_MAX_SIZE is the maximum size in megabytes of the log file before it gets rotated. The default is 500 megabytes. ...

Why does Gurobi ignore the parameter values that I set?
Each model gets its own copy of the Gurobi environment; this allows each model to have its own parameter values. However, this means that you must set parameters on the model, rather than on the ma...