Concepts
Features
Reference
This section documents the Gurobi C interface. This manual begins with aquick overview of the functions in the interface, andcontinues with detailed descriptions of all of the available interface routines.
If you are new to the Gurobi Optimizer, we suggest that you start with theGetting Started Knowledge Base article for general information. This alsoincludesTutorials for the different Gurobi APIs. Additionally, ourExample Tour provides concrete examples of howto use the routines described here. We will point to sections or examples ofthis tour whenever it fits in this overview.
Contents
GRBloadmodelGRBnewmodelGRBcopymodelGRBcopymodeltoenvGRBaddconstrGRBaddconstrsGRBaddgenconstrMaxGRBaddgenconstrMinGRBaddgenconstrAbsGRBaddgenconstrAndGRBaddgenconstrOrGRBaddgenconstrNormGRBaddgenconstrNLGRBaddgenconstrIndicatorGRBaddgenconstrPWLGRBaddgenconstrPolyGRBaddgenconstrExpGRBaddgenconstrExpAGRBaddgenconstrLogGRBaddgenconstrLogAGRBaddgenconstrLogisticGRBaddgenconstrPowGRBaddgenconstrSinGRBaddgenconstrCosGRBaddgenconstrTanGRBdelgenconstrsGRBaddqconstrGRBaddqptermsGRBaddrangeconstrGRBaddrangeconstrsGRBaddsosGRBaddvarGRBaddvarsGRBchgcoeffsGRBdelconstrsGRBdelqGRBdelqconstrsGRBdelsosGRBdelvarsGRBsetobjectivenGRBsetpwlobjGRBupdatemodelGRBfreemodelGRBXaddconstrsGRBXaddrangeconstrsGRBXaddvarsGRBXchgcoeffsGRBXloadmodelGRBgetcoeffGRBgetconstrbynameGRBgetconstrsGRBgetenvGRBgetgenconstrMaxGRBgetgenconstrMinGRBgetgenconstrAbsGRBgetgenconstrAndGRBgetgenconstrOrGRBgetgenconstrNormGRBgetgenconstrNLGRBgetgenconstrIndicatorGRBgetgenconstrPWLGRBgetgenconstrPolyGRBgetgenconstrExpGRBgetgenconstrExpAGRBgetgenconstrLogGRBgetgenconstrLogAGRBgetgenconstrLogisticGRBgetgenconstrPowGRBgetgenconstrSinGRBgetgenconstrCosGRBgetgenconstrTanGRBgetjsonsolutionGRBgetpwlobjGRBgetqGRBgetqconstrGRBgetqconstrbynameGRBgetsosGRBgetvarbynameGRBgetvarsGRBsinglescenariomodelGRBXgetconstrsGRBXgetvarsGRBgetattrinfoGRBgetintattrGRBsetintattrGRBgetintattrelementGRBsetintattrelementGRBgetintattrarrayGRBsetintattrarrayGRBgetintattrlistGRBsetintattrlistGRBgetdblattrGRBsetdblattrGRBgetdblattrelementGRBsetdblattrelementGRBgetdblattrarrayGRBsetdblattrarrayGRBgetdblattrlistGRBsetdblattrlistGRBgetcharattrelementGRBsetcharattrelementGRBgetcharattrarrayGRBsetcharattrarrayGRBgetcharattrlistGRBsetcharattrlistGRBgetstrattrGRBsetstrattrGRBgetstrattrelementGRBsetstrattrelementGRBgetstrattrarrayGRBsetstrattrarrayGRBgetstrattrlistGRBsetstrattrlistGRBgetbatchattrinfoHelp and Feedback