Try our new documentation site (beta).
Gurobi Optimizer Reference Manual
This is the reference manual for the GurobiTM Optimizer. It contains documentation for the following Gurobi language interfaces:
The Gurobi interactive shell is also documented in the Python section.
Additional Topics
This document covers a number of additional topics, which are listed here:
- Detailed Release Notes
- Variables and Constraints and Objectives
- Environments
- Attributes
- Parameters
- Optimization Status Codes
- Callback Codes
- Error Codes
- File Formats
- Logging
- Command-Line Tool
- Solution Pool
- Multiple Objectives
- Multiple Scenarios
- Batch Optimization
- Recording API Calls
- Concurrent Optimizer
- Parameter Tuning Tool
- Instant Cloud
- Guidelines for Numerical Issues
Additional Resources
You can consult the Gurobi Quick Start for a high-level overview of the Gurobi Optimizer, or the Gurobi Example Tour for a quick tour of the examples provided with the Gurobi distribution, or the Gurobi Remote Services Reference Manual for an overview of Gurobi Compute Server, Distributed Algorithms, and Gurobi Remote Services.
Getting Help
If you have a question that is not answered in this document, please visit the Gurobi support site at https://support.gurobi.com. There, you can read knowledge base articles and join the community discussion forum. Also, if you have a current maintenance contract, you can use the Gurobi support site to submit a request to the Gurobi support team.
- Detailed Release Notes 10
- C API Overview
- C API Details
- Environment Creation and Destruction
- Model Creation and Modification
- GRBloadmodel
- GRBnewmodel
- GRBcopymodel
- GRBaddconstr
- GRBaddconstrs
- GRBaddgenconstrXxx
- GRBaddgenconstrMax
- GRBaddgenconstrMin
- GRBaddgenconstrAbs
- GRBaddgenconstrAnd
- GRBaddgenconstrOr
- GRBaddgenconstrNorm
- GRBaddgenconstrIndicator
- GRBaddgenconstrPWL
- GRBaddgenconstrPoly
- GRBaddgenconstrExp
- GRBaddgenconstrExpA
- GRBaddgenconstrLog
- GRBaddgenconstrLogA
- GRBaddgenconstrLogistic
- GRBaddgenconstrPow
- GRBaddgenconstrSin
- GRBaddgenconstrCos
- GRBaddgenconstrTan
- GRBaddqconstr
- GRBaddqpterms
- GRBaddrangeconstr
- GRBaddrangeconstrs
- GRBaddsos
- GRBaddvar
- GRBaddvars
- GRBchgcoeffs
- GRBdelconstrs
- GRBdelgenconstrs
- GRBdelq
- GRBdelqconstrs
- GRBdelsos
- GRBdelvars
- GRBsetobjectiven
- GRBsetpwlobj
- GRBupdatemodel
- GRBfreemodel
- GRBXaddconstrs
- GRBXaddrangeconstrs
- GRBXaddvars
- GRBXchgcoeffs
- GRBXloadmodel
- Model Solution
- Model Queries
- GRBgetcoeff
- GRBgetconstrbyname
- GRBgetconstrs
- GRBgetenv
- GRBgetgenconstrMax
- GRBgetgenconstrMin
- GRBgetgenconstrAbs
- GRBgetgenconstrAnd
- GRBgetgenconstrOr
- GRBgetgenconstrNorm
- GRBgetgenconstrIndicator
- GRBgetgenconstrPWL
- GRBgetgenconstrPoly
- GRBgetgenconstrExp
- GRBgetgenconstrExpA
- GRBgetgenconstrLog
- GRBgetgenconstrLogA
- GRBgetgenconstrLogistic
- GRBgetgenconstrPow
- GRBgetgenconstrSin
- GRBgetgenconstrCos
- GRBgetgenconstrTan
- GRBgetjsonsolution
- GRBgetpwlobj
- GRBgetq
- GRBgetqconstr
- GRBgetqconstrbyname
- GRBgetsos
- GRBgetvarbyname
- GRBgetvars
- GRBsinglescenariomodel
- GRBXgetconstrs
- GRBXgetvars
- Input/Output
- Attribute Management
- GRBgetattrinfo
- GRBgetintattr
- GRBsetintattr
- GRBgetintattrelement
- GRBsetintattrelement
- GRBgetintattrarray
- GRBsetintattrarray
- GRBgetintattrlist
- GRBsetintattrlist
- GRBgetdblattr
- GRBsetdblattr
- GRBgetdblattrelement
- GRBsetdblattrelement
- GRBgetdblattrarray
- GRBsetdblattrarray
- GRBgetdblattrlist
- GRBsetdblattrlist
- GRBgetcharattrelement
- GRBsetcharattrelement
- GRBgetcharattrarray
- GRBsetcharattrarray
- GRBgetcharattrlist
- GRBsetcharattrlist
- GRBgetstrattr
- GRBsetstrattr
- GRBgetstrattrelement
- GRBsetstrattrelement
- GRBgetstrattrarray
- GRBsetstrattrarray
- GRBgetstrattrlist
- GRBsetstrattrlist
- GRBgetbatchattrinfo
- Parameter Management and Tuning
- Monitoring Progress - Logging and Callbacks
- Modifying Solver Behavior - Callbacks
- Batch Requests
- Error Handling
- Advanced simplex routines
- C++ API Overview
- C++ API Details
- GRBEnv
- GRBModel
- GRBModel()
- GRBModel::addConstr()
- GRBModel::addConstrs()
- GRBModel::addGenConstrXxx()
- GRBModel::addGenConstrMax()
- GRBModel::addGenConstrMin()
- GRBModel::addGenConstrAbs()
- GRBModel::addGenConstrAnd()
- GRBModel::addGenConstrOr()
- GRBModel::addGenConstrNorm()
- GRBModel::addGenConstrIndicator()
- GRBModel::addGenConstrPWL()
- GRBModel::addGenConstrPoly()
- GRBModel::addGenConstrExp()
- GRBModel::addGenConstrExpA()
- GRBModel::addGenConstrLog()
- GRBModel::addGenConstrLogA()
- GRBModel::addGenConstrLogistic()
- GRBModel::addGenConstrPow()
- GRBModel::addGenConstrSin()
- GRBModel::addGenConstrCos()
- GRBModel::addGenConstrTan()
- GRBModel::addQConstr()
- GRBModel::addRange()
- GRBModel::addRanges()
- GRBModel::addSOS()
- GRBModel::addVar()
- GRBModel::addVars()
- GRBModel::chgCoeff()
- GRBModel::chgCoeffs()
- GRBModel::computeIIS()
- GRBModel::discardConcurrentEnvs()
- GRBModel::discardMultiobjEnvs()
- GRBModel::feasRelax()
- GRBModel::fixedModel()
- GRBModel::get()
- GRBModel::getCoeff()
- GRBModel::getCol()
- GRBModel::getConcurrentEnv()
- GRBModel::getConstrByName()
- GRBModel::getConstrs()
- GRBModel::getGenConstrXxx()
- GRBModel::getGenConstrMax
- GRBModel::getGenConstrMin
- GRBModel::getGenConstrAbs
- GRBModel::getGenConstrAnd
- GRBModel::getGenConstrOr
- GRBModel::getGenConstrNorm
- GRBModel::getGenConstrIndicator
- GRBModel::getGenConstrPWL
- GRBModel::getGenConstrPoly
- GRBModel::getGenConstrExp
- GRBModel::getGenConstrExpA
- GRBModel::getGenConstrLog
- GRBModel::getGenConstrLogA
- GRBModel::getGenConstrLogistic
- GRBModel::getGenConstrPow
- GRBModel::getGenConstrSin
- GRBModel::getGenConstrCos
- GRBModel::getGenConstrTan
- GRBModel::getGenConstrs()
- GRBModel::getJSONSolution()
- GRBModel::getMultiobjEnv()
- GRBModel::getObjective()
- GRBModel::getPWLObj()
- GRBModel::getQCRow()
- GRBModel::getQConstrs()
- GRBModel::getRow()
- GRBModel::getSOS()
- GRBModel::getSOSs()
- GRBModel::getTuneResult()
- GRBModel::getVarByName()
- GRBModel::getVars()
- GRBModel::optimize()
- GRBModel::optimizeasync()
- GRBModel::optimizeBatch()
- GRBModel::presolve()
- GRBModel::read()
- GRBModel::remove()
- GRBModel::reset()
- GRBModel::setCallback()
- GRBModel::set()
- GRBModel::setObjective()
- GRBModel::setObjectiveN()
- GRBModel::setPWLObj()
- GRBModel::singleScenarioModel()
- GRBModel::sync()
- GRBModel::terminate()
- GRBModel::tune()
- GRBModel::update()
- GRBModel::write()
- GRBVar
- GRBConstr
- GRBQConstr
- GRBSOS
- GRBGenConstr
- GRBExpr
- GRBLinExpr
- GRBLinExpr()
- GRBLinExpr::addTerms()
- GRBLinExpr::clear()
- GRBLinExpr::getConstant()
- GRBLinExpr::getCoeff()
- GRBLinExpr::getValue()
- GRBLinExpr::getVar()
- GRBLinExpr::operator=
- GRBLinExpr::operator+
- GRBLinExpr::operator-
- GRBLinExpr::operator+=
- GRBLinExpr::operator-=
- GRBLinExpr::operator*=
- GRBLinExpr::remove()
- GRBLinExpr::size()
- GRBQuadExpr
- GRBQuadExpr()
- GRBQuadExpr::addTerm()
- GRBQuadExpr::addTerms()
- GRBQuadExpr::clear()
- GRBQuadExpr::getCoeff()
- GRBQuadExpr::getLinExpr()
- GRBQuadExpr::getValue()
- GRBQuadExpr::getVar1()
- GRBQuadExpr::getVar2()
- GRBQuadExpr::operator=
- GRBQuadExpr::operator+
- GRBQuadExpr::operator-
- GRBQuadExpr::operator+=
- GRBQuadExpr::operator-=
- GRBQuadExpr::operator*=
- GRBQuadExpr::remove()
- GRBQuadExpr::size()
- GRBTempConstr
- GRBColumn
- GRBCallback
- GRBCallback()
- GRBCallback::abort()
- GRBCallback::addCut()
- GRBCallback::addLazy()
- GRBCallback::getDoubleInfo()
- GRBCallback::getIntInfo()
- GRBCallback::getNodeRel()
- GRBCallback::getSolution()
- GRBCallback::getStringInfo()
- GRBCallback::proceed()
- GRBCallback::setSolution()
- GRBCallback::stopOneMultiObj()
- GRBCallback::useSolution()
- GRBException
- GRBBatch
- Non-Member Functions
- Attribute Enums
- Parameter Enums
- Java API Overview
- Java API Details
- GRBEnv
- GRBModel
- GRBModel()
- GRBModel.addConstr()
- GRBModel.addConstrs()
- GRBModel.addGenConstrXxx()
- GRBModel.addGenConstrMax()
- GRBModel.addGenConstrMin()
- GRBModel.addGenConstrAbs()
- GRBModel.addGenConstrAnd()
- GRBModel.addGenConstrOr()
- GRBModel.addGenConstrNorm()
- GRBModel.addGenConstrIndicator()
- GRBModel.addGenConstrPWL()
- GRBModel.addGenConstrPoly()
- GRBModel.addGenConstrExp()
- GRBModel.addGenConstrExpA()
- GRBModel.addGenConstrLog()
- GRBModel.addGenConstrLogA()
- GRBModel.addGenConstrLogistic()
- GRBModel.addGenConstrPow()
- GRBModel.addGenConstrSin()
- GRBModel.addGenConstrCos()
- GRBModel.addGenConstrTan()
- GRBModel.addQConstr()
- GRBModel.addRange()
- GRBModel.addRanges()
- GRBModel.addSOS()
- GRBModel.addVar()
- GRBModel.addVars()
- GRBModel.chgCoeff()
- GRBModel.chgCoeffs()
- GRBModel.computeIIS()
- GRBModel.discardConcurrentEnvs()
- GRBModel.discardMultiobjEnvs()
- GRBModel.dispose()
- GRBModel.feasRelax()
- GRBModel.fixedModel()
- GRBModel.get()
- GRBModel.getCoeff()
- GRBModel.getCol()
- GRBModel.getConcurrentEnv()
- GRBModel.getConstrByName()
- GRBModel.getConstrs()
- GRBModel.getGenConstrXxx()
- GRBModel.getGenConstrMax
- GRBModel.getGenConstrMin
- GRBModel.getGenConstrAbs
- GRBModel.getGenConstrAnd
- GRBModel.getGenConstrOr
- GRBModel.getGenConstrNorm
- GRBModel.getGenConstrIndicator
- GRBModel.getGenConstrPWL
- GRBModel.getGenConstrPoly
- GRBModel.getGenConstrExp
- GRBModel.getGenConstrExpA
- GRBModel.getGenConstrLog
- GRBModel.getGenConstrLogA
- GRBModel.getGenConstrLogistic
- GRBModel.getGenConstrPow
- GRBModel.getGenConstrSin
- GRBModel.getGenConstrCos
- GRBModel.getGenConstrTan
- GRBModel.getGenConstrs()
- GRBModel.getJSONSolution()
- GRBModel.getMultiobjEnv()
- GRBModel.getObjective()
- GRBModel.getPWLObj()
- GRBModel.getQCRow()
- GRBModel.getQConstrs()
- GRBModel.getRow()
- GRBModel.getSOS()
- GRBModel.getSOSs()
- GRBModel.getTuneResult()
- GRBModel.getVarByName()
- GRBModel.getVars()
- GRBModel.optimize()
- GRBModel.optimizeasync()
- GRBModel.optimizeBatch()
- GRBModel.presolve()
- GRBModel.read()
- GRBModel.remove()
- GRBModel.reset()
- GRBModel.setCallback()
- GRBModel.set()
- GRBModel.setLogCallback()
- GRBModel.setObjective()
- GRBModel.setObjectiveN()
- GRBModel.setPWLObj()
- GRBModel.singleScenarioModel()
- GRBModel.sync()
- GRBModel.terminate()
- GRBModel.tune()
- GRBModel.update()
- GRBModel.write()
- GRBVar
- GRBConstr
- GRBQConstr
- GRBSOS
- GRBGenConstr
- GRBExpr
- GRBLinExpr
- GRBQuadExpr
- GRBColumn
- GRBCallback
- GRBCallback()
- GRBCallback.abort()
- GRBCallback.addCut()
- GRBCallback.addLazy()
- GRBCallback.getDoubleInfo()
- GRBCallback.getIntInfo()
- GRBCallback.getNodeRel()
- GRBCallback.getSolution()
- GRBCallback.getStringInfo()
- GRBCallback.proceed()
- GRBCallback.setSolution()
- GRBCallback.stopOneMultiObj()
- GRBCallback.useSolution()
- GRBException
- GRBBatch
- GRB
- .NET API Overview
- .NET API Details
- GRBEnv
- GRBModel
- GRBModel()
- GRBModel.AddConstr()
- GRBModel.AddConstrs()
- GRBModel.AddGenConstrXxx()
- GRBModel.AddGenConstrMax()
- GRBModel.AddGenConstrMin()
- GRBModel.AddGenConstrAbs()
- GRBModel.AddGenConstrAnd()
- GRBModel.AddGenConstrOr()
- GRBModel.AddGenConstrNorm()
- GRBModel.AddGenConstrIndicator()
- GRBModel.AddGenConstrPWL()
- GRBModel.AddGenConstrPoly()
- GRBModel.AddGenConstrExp()
- GRBModel.AddGenConstrExpA()
- GRBModel.AddGenConstrLog()
- GRBModel.AddGenConstrLogA()
- GRBModel.AddGenConstrLogistic()
- GRBModel.AddGenConstrPow()
- GRBModel.AddGenConstrSin()
- GRBModel.AddGenConstrCos()
- GRBModel.AddGenConstrTan()
- GRBModel.AddQConstr()
- GRBModel.AddRange()
- GRBModel.AddRanges()
- GRBModel.AddSOS()
- GRBModel.AddVar()
- GRBModel.AddVars()
- GRBModel.ChgCoeff()
- GRBModel.ChgCoeffs()
- GRBModel.ComputeIIS()
- GRBModel.DiscardConcurrentEnvs()
- GRBModel.DiscardMultiobjEnvs()
- GRBModel.Dispose()
- GRBModel.FeasRelax()
- GRBModel.FixedModel()
- GRBModel.Get()
- GRBModel.GetCoeff()
- GRBModel.GetCol()
- GRBModel.GetConcurrentEnv()
- GRBModel.GetConstrByName()
- GRBModel.GetConstrs()
- GRBModel.GetGenConstrXxx()
- GRBModel.GetGenConstrMax
- GRBModel.GetGenConstrMin
- GRBModel.GetGenConstrAbs
- GRBModel.GetGenConstrAnd
- GRBModel.GetGenConstrOr
- GRBModel.GetGenConstrNorm
- GRBModel.GetGenConstrIndicator
- GRBModel.GetGenConstrPWL
- GRBModel.GetGenConstrPoly
- GRBModel.GetGenConstrExp
- GRBModel.GetGenConstrExpA
- GRBModel.GetGenConstrLog
- GRBModel.GetGenConstrLogA
- GRBModel.GetGenConstrLogistic
- GRBModel.GetGenConstrPow
- GRBModel.GetGenConstrSin
- GRBModel.GetGenConstrCos
- GRBModel.GetGenConstrTan
- GRBModel.GetGenConstrs()
- GRBModel.GetJSONSolution()
- GRBModel.GetMultiobjEnv()
- GRBModel.GetObjective()
- GRBModel.GetPWLObj()
- GRBModel.GetQConstr()
- GRBModel.GetQConstrs()
- GRBModel.GetQCRow()
- GRBModel.GetRow()
- GRBModel.GetSOS()
- GRBModel.GetSOSs()
- GRBModel.GetTuneResult()
- GRBModel.GetVarByName()
- GRBModel.GetVars()
- GRBModel.Optimize()
- GRBModel.OptimizeAsync()
- GRBModel.OptimizeBatch()
- GRBModel.Presolve()
- GRBModel.Read()
- GRBModel.Remove()
- GRBModel.Reset()
- GRBModel.SetCallback()
- GRBModel.Set()
- GRBModel.SetObjective()
- GRBModel.SetObjectiveN()
- GRBModel.SetPWLObj()
- GRBModel.SingleScenarioModel()
- GRBModel.Sync()
- GRBModel.Terminate()
- GRBModel.Tune()
- GRBModel.Update()
- GRBModel.Write()
- GRBVar
- GRBConstr
- GRBQConstr
- GRBSOS
- GRBGenConstr
- GRBExpr
- GRBLinExpr
- GRBQuadExpr
- GRBTempConstr
- GRBColumn
- Overloaded Operators
- GRBCallback
- GRBCallback()
- GRBCallback.Abort()
- GRBCallback.AddCut()
- GRBCallback.AddLazy()
- GRBCallback.GetDoubleInfo()
- GRBCallback.GetIntInfo()
- GRBCallback.GetNodeRel()
- GRBCallback.GetSolution()
- GRBCallback.GetStringInfo()
- GRBCallback.Proceed()
- GRBCallback.SetSolution()
- GRBCallback.StopOneMultiObj()
- GRBCallback.UseSolution()
- GRBException
- GRBBatch
- GRB
- Python API Overview
- Python API Details
- Global Functions
- Model
- Model()
- Model.addConstr()
- Model.addConstrs()
- Model.addGenConstrXxx()
- Model.addGenConstrMax()
- Model.addGenConstrMin()
- Model.addGenConstrAbs()
- Model.addGenConstrAnd()
- Model.addGenConstrOr()
- Model.addGenConstrNorm()
- Model.addGenConstrIndicator()
- Model.addGenConstrPWL()
- Model.addGenConstrPoly()
- Model.addGenConstrExp()
- Model.addGenConstrExpA()
- Model.addGenConstrLog()
- Model.addGenConstrLogA()
- Model.addGenConstrLogistic()
- Model.addGenConstrPow()
- Model.addGenConstrSin()
- Model.addGenConstrCos()
- Model.addGenConstrTan()
- Model.addLConstr()
- Model.addMConstr()
- Model.addMQConstr()
- Model.addMVar()
- Model.addQConstr()
- Model.addRange()
- Model.addSOS()
- Model.addVar()
- Model.addVars()
- Model.cbCut()
- Model.cbGet()
- Model.cbGetNodeRel()
- Model.cbGetSolution()
- Model.cbLazy()
- Model.cbProceed()
- Model.cbSetSolution()
- Model.cbStopOneMultiObj()
- Model.cbUseSolution()
- Model.chgCoeff()
- Model.computeIIS()
- Model.copy()
- Model.discardConcurrentEnvs()
- Model.discardMultiobjEnvs()
- Model.dispose()
- Model.feasRelaxS()
- Model.feasRelax()
- Model.fixed()
- Model.getA()
- Model.getAttr()
- Model.getCoeff()
- Model.getCol()
- Model.getConcurrentEnv()
- Model.getConstrByName()
- Model.getConstrs()
- Model.getGenConstrMax()
- Model.getGenConstrMin()
- Model.getGenConstrAbs()
- Model.getGenConstrAnd()
- Model.getGenConstrOr()
- Model.getGenConstrNorm()
- Model.getGenConstrIndicator()
- Model.getGenConstrPWL()
- Model.getGenConstrPoly()
- Model.getGenConstrExp()
- Model.getGenConstrExpA()
- Model.getGenConstrLog()
- Model.getGenConstrLogA()
- Model.getGenConstrLogistic()
- Model.getGenConstrPow()
- Model.getGenConstrSin()
- Model.getGenConstrCos()
- Model.getGenConstrTan()
- Model.getGenConstrs()
- Model.getJSONSolution()
- Model.getMultiobjEnv()
- Model.getObjective()
- Model.getParamInfo()
- Model.getPWLObj()
- Model.getQConstrs()
- Model.getQCRow()
- Model.getRow()
- Model.getSOS()
- Model.getSOSs()
- Model.getTuneResult()
- Model.getVarByName()
- Model.getVars()
- Model.message()
- Model.optimize()
- Model.optimizeBatch()
- Model.presolve()
- Model.printAttr()
- Model.printQuality()
- Model.printStats()
- Model.read()
- Model.relax()
- Model.remove()
- Model.reset()
- Model.resetParams()
- Model.setAttr()
- Model.setMObjective()
- Model.setObjective()
- Model.setObjectiveN()
- Model.setPWLObj()
- Model.setParam()
- Model.singleScenarioModel()
- Model.terminate()
- Model.tune()
- Model.update()
- Model.write()
- Var
- MVar
- Constr
- MConstr
- MQConstr
- QConstr
- SOS
- GenConstr
- LinExpr
- QuadExpr
- GenExpr
- MLinExpr
- MQuadExpr
- TempConstr
- Column
- Callbacks
- GurobiError
- Env
- Batch
- GRB
- tuplelist
- tupledict
- General Constraint Helper Functions
- MATLAB API Overview
- MATLAB API Details
- Common Arguments
- Solving a Model
- Input/Output
- Using Gurobi within MATLAB's Problem-Based Optimization
- Setting up the Gurobi MATLAB interface
- R API Overview
- R API Details
- Variables and Constraints and Objectives
- Environments
- Session boundaries
- Configuration parameters
- Algorithmic parameters
- Concurrent environments
- Multi-objective environments
- Attributes
- Model Attributes
- NumConstrs
- NumVars
- NumSOS
- NumQConstrs
- NumGenConstrs
- NumNZs
- DNumNZs
- NumQNZs
- NumQCNZs
- NumIntVars
- NumBinVars
- NumPWLObjVars
- ModelName
- ModelSense
- ObjCon
- Fingerprint
- ObjVal
- ObjBound
- ObjBoundC
- PoolObjBound
- PoolObjVal
- MIPGap
- Runtime
- Work
- Status
- SolCount
- IterCount
- BarIterCount
- NodeCount
- ConcurrentWinMethod
- IsMIP
- IsQP
- IsQCP
- IsMultiObj
- IISMinimal
- MaxCoeff
- MinCoeff
- MaxBound
- MinBound
- MaxObjCoeff
- MinObjCoeff
- MaxRHS
- MinRHS
- MaxQCCoeff
- MinQCCoeff
- MaxQCLCoeff
- MinQCLCoeff
- MaxQCRHS
- MinQCRHS
- MaxQObjCoeff
- MinQObjCoeff
- OpenNodeCount
- Kappa
- KappaExact
- FarkasProof
- TuneResultCount
- NumStart
- LicenseExpiration
- Variable Attributes
- Linear Constraint Attributes
- SOS Attributes
- Quadratic Constraint Attributes
- General Constraint Attributes
- Quality Attributes
- MaxVio
- BoundVio
- BoundSVio
- BoundVioIndex
- BoundSVioIndex
- BoundVioSum
- BoundSVioSum
- ConstrVio
- ConstrSVio
- ConstrVioIndex
- ConstrSVioIndex
- ConstrVioSum
- ConstrSVioSum
- ConstrResidual
- ConstrSResidual
- ConstrResidualIndex
- ConstrSResidualIndex
- ConstrResidualSum
- ConstrSResidualSum
- DualVio
- DualSVio
- DualVioIndex
- DualSVioIndex
- DualVioSum
- DualSVioSum
- DualResidual
- DualSResidual
- DualResidualIndex
- DualSResidualIndex
- DualResidualSum
- DualSResidualSum
- ComplVio
- ComplVioIndex
- ComplVioSum
- IntVio
- IntVioIndex
- IntVioSum
- Multi-objective Attributes
- Multi-Scenario Attributes
- Batch Attributes
- Attribute Examples
- Model Attributes
- Parameters
- Parameter Guidelines
- Parameter Descriptions
- AggFill
- Aggregate
- BarConvTol
- BarCorrectors
- BarHomogeneous
- BarIterLimit
- BarOrder
- BarQCPConvTol
- BestBdStop
- BestObjStop
- BQPCuts
- BranchDir
- CliqueCuts
- CloudAccessID
- CloudHost
- CloudSecretKey
- CloudPool
- ComputeServer
- ConcurrentJobs
- ConcurrentMIP
- ConcurrentSettings
- CoverCuts
- Crossover
- CrossoverBasis
- CSAPIAccessID
- CSAPISecret
- CSAppName
- CSAuthToken
- CSBatchMode
- CSClientLog
- CSGroup
- CSIdleTimeout
- CSManager
- CSPriority
- CSQueueTimeout
- CSRouter
- CSTLSInsecure
- CutAggPasses
- Cutoff
- CutPasses
- Cuts
- DegenMoves
- Disconnected
- DisplayInterval
- DistributedMIPJobs
- DualReductions
- FeasibilityTol
- FeasRelaxBigM
- FlowCoverCuts
- FlowPathCuts
- FuncPieceError
- FuncPieceLength
- FuncPieceRatio
- FuncPieces
- FuncMaxVal
- GomoryPasses
- GUBCoverCuts
- Heuristics
- IgnoreNames
- IISMethod
- ImpliedCuts
- ImproveStartGap
- ImproveStartNodes
- ImproveStartTime
- InfProofCuts
- InfUnbdInfo
- InputFile
- IntegralityFocus
- IntFeasTol
- IterationLimit
- JobID
- JSONSolDetail
- LazyConstraints
- LicenseID
- LiftProjectCuts
- LPWarmStart
- LogFile
- LogToConsole
- MarkowitzTol
- MemLimit
- Method
- MinRelNodes
- MIPFocus
- MIPGap
- MIPGapAbs
- MIPSepCuts
- MIQCPMethod
- MIRCuts
- ModKCuts
- MultiObjMethod
- MultiObjPre
- MultiObjSettings
- NetworkAlg
- NetworkCuts
- NLPHeur
- NodefileDir
- NodefileStart
- NodeLimit
- NodeMethod
- NonConvex
- NoRelHeurTime
- NoRelHeurWork
- NormAdjust
- NumericFocus
- OBBT
- ObjNumber
- ObjScale
- OptimalityTol
- OutputFlag
- PartitionPlace
- PerturbValue
- PoolGap
- PoolGapAbs
- PoolSearchMode
- PoolSolutions
- PreCrush
- PreDepRow
- PreDual
- PreMIQCPForm
- PrePasses
- PreQLinearize
- Presolve
- PreSOS1BigM
- PreSOS1Encoding
- PreSOS2BigM
- PreSOS2Encoding
- PreSparsify
- ProjImpliedCuts
- PSDCuts
- PSDTol
- PumpPasses
- QCPDual
- Quad
- Record
- ResultFile
- RINS
- RelaxLiftCuts
- RLTCuts
- ScaleFlag
- ScenarioNumber
- Seed
- ServerPassword
- ServerTimeout
- Sifting
- SiftMethod
- SimplexPricing
- SoftMemLimit
- SolutionLimit
- SolutionTarget
- SolFiles
- SolutionNumber
- StartNodeLimit
- StartNumber
- StrongCGCuts
- SubMIPCuts
- SubMIPNodes
- Symmetry
- Threads
- TimeLimit
- TokenServer
- TSPort
- TuneBaseSettings
- TuneCleanup
- TuneCriterion
- TuneJobs
- TuneMetric
- TuneOutput
- TuneResults
- TuneTargetMIPGap
- TuneTargetTime
- TuneTimeLimit
- TuneTrials
- UpdateMode
- UserName
- VarBranch
- WLSAccessID
- WLSSecret
- WLSToken
- WLSTokenDuration
- WLSTokenRefresh
- WorkerPassword
- WorkerPool
- WorkLimit
- ZeroHalfCuts
- ZeroObjNodes
- Parameter Examples
- Optimization Status Codes
- Batch Status Codes
- Callback Codes
- Error Codes
- Model File Formats
- MPS format
- REW format
- DUA format
- LP format
- RLP format
- DLP format
- ILP format
- OPB format
- MST format
- HNT format
- ORD format
- BAS format
- SOL format
- JSON solution format
- ATTR format
- PRM format
- Logging
- Header
- Simplex Logging
- Barrier Logging
- Sifting Logging
- MIP Logging
- Solution Pool and Multi-Scenario Logging
- Multi-Objective Logging
- Distributed MIP Logging
- IIS Logging
- Gurobi Command-Line Tool
- Solution Pool
- Multiple Objectives
- Multiple Scenarios
- Definition of a Multi-Scenario Model
- Specifying Multiple Scenarios
- Logging
- Retrieving Solutions for Multiple Scenarios
- Tips and Tricks
- Limitations and Additional Considerations
- Batch Optimization
- Setting Up a Batch Environment
- Tagging Variables or Constraints
- Submitting a Batch Optimization Request
- Interacting with Batch Requests
- Interpreting the JSON Solution
- A Complete Example
- Limitations
- Recording API Calls
- Concurrent Optimizer
- Parameter Tuning Tool
- Gurobi Instant Cloud
- Guidelines for Numerical Issues
- Avoid rounding of input
- Real numbers are not real
- Tolerances and user-scaling
- Models at the edge of infeasibility
- Gurobi tolerances and the limitations of double-precision arithmetic
- Why scaling and geometry is relevant
- Recommended ranges for variables and constraints
- Improving ranges for variables and constraints
- Advanced user scaling
- Avoid hiding large coefficients
- Dealing with big-M constraints
- Does my model have numerical issues?
- Solver parameters to manage numerical issues
- Instability and the geometry of optimization problems
- Further reading
- Source code examples:
- Copyright Notices for 3rd Party Libraries