Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Model
Gurobi model object. Commonly used methods on the model object in the Gurobi shell include optimize (optimizes the model), printStats (prints statistics about the model), printAttr (prints the values of an attribute), and write (writes information about the model to a file). Commonly used methods when building a model include addVar (adds a new variable), addVars (adds multiple new variables), addConstr (adds a new constraint), and addConstrs (adds multiple new constraints).
Subsections
- Model()
- Model.addConstr()
- Model.addConstrs()
- Model.addGenConstrXxx()
- Model.addGenConstrMax()
- Model.addGenConstrMin()
- Model.addGenConstrAbs()
- Model.addGenConstrAnd()
- Model.addGenConstrOr()
- Model.addGenConstrIndicator()
- Model.addLConstr()
- Model.addQConstr()
- Model.addRange()
- Model.addSOS()
- Model.addVar()
- Model.addVars()
- Model.cbCut()
- Model.cbGet()
- Model.cbGetNodeRel()
- Model.cbGetSolution()
- Model.cbLazy()
- Model.cbSetSolution()
- Model.cbUseSolution()
- Model.chgCoeff()
- Model.computeIIS()
- Model.copy()
- Model.discardConcurrentEnvs()
- Model.discardMultiobjEnvs()
- Model.feasRelaxS()
- Model.feasRelax()
- Model.fixed()
- Model.getAttr()
- Model.getCoeff()
- Model.getCol()
- Model.getConcurrentEnv()
- Model.getConstrByName()
- Model.getConstrs()
- Model.getGenConstrMax()
- Model.getGenConstrMin()
- Model.getGenConstrAbs()
- Model.getGenConstrAnd()
- Model.getGenConstrOr()
- Model.getGenConstrIndicator()
- Model.getGenConstrs()
- 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.presolve()
- Model.printAttr()
- Model.printQuality()
- Model.printStats()
- Model.read()
- Model.relax()
- Model.remove()
- Model.reset()
- Model.resetParams()
- Model.setAttr()
- Model.setObjective()
- Model.setObjectiveN()
- Model.setPWLObj()
- Model.setParam()
- Model.terminate()
- Model.tune()
- Model.update()
- Model.write()