# Modeling

Reading, building, and writing models with Gurobi

### General

### 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?

### Modeling Functions and Expressions

- How do I print a constraint definition in Python?
- How do I model conditional statements in Gurobi?
- Why doesn't Gurobi support strict inequality constraints like x < a?
- How do I divide by a variable in Gurobi?
- How do I model multilinear terms in Gurobi?

### Python Matrix API

- How do I pointwise multiply an array and an MVar with the matrix-friendly Python 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?