Gurobi Support Portal Help Center home page
Community Submit a request
Sign in
  1. Gurobi Support Portal
  2. Knowledge Base
  3. Modeling

Modeling

Follow New articles New articles and comments

Reading, building, and writing models with Gurobi

General

  • What types of models can Gurobi solve?
  • Where can I learn more about building optimization models?

Model Files

  • What are the differences between LP and MPS file formats?
  • How do I export a model from Gurobi?
  • How do I use a model file from lp_solve with Gurobi?
  • Why is Gurobi unable to read my LP model file?
  • Why does my MPS file produce different objectives with different solvers?
See all 6 articles

Modeling Functions and Expressions

  • How do I divide by a variable in Gurobi?
  • How do I model multilinear terms in Gurobi?
  • How do I model piecewise-linear functions?
  • How do I model a piecewise-linear function of more than one variable?
  • How do I model logical expressions?

Python Matrix API

  • How do I multiply an array and a 2-D MVar object using the matrix-friendly Python API?
  • How do I multiply two MLinExpr objects together with the matrix-friendly Python API?
  • How do I pointwise multiply two MVars with the matrix-friendly Python API?
  • How do I pointwise multiply a numpy vector with a (1,) MVar with the matrix-friendly Python API?
Gurobi Optimization
Powered by Zendesk