API¶
Main Function¶
The main function provided by the package formulates a predictor in a Gurobi model. In most cases, it is the only function needed from the package.
Some formulations of the predictors can have additional options. These are documented in the specific functions for each regression model.
The main entry point gurobi_ml.add_predictor_constr() also accepts
advanced keyword arguments (verbose, no_debug, no_record) that are
forwarded to internal formulation builders.
|
Formulate predictor in gp_model. |
Scikit-learn API¶
Module for formulating a |
|
Module for formulating a |
|
Module for formulating a |
|
Module for formulating ordinary regression models into a |
|
Module for formulating a |
|
Module for formulating a |
|
Module for formulating a |
|
Module for formulating |
|
Module for formulating a |
|
Implementation for using sklearn preprocessing object in a Gurobi model. |
Keras API¶
PyTorch API¶
Module for formulating |
ONNX API¶
Module for formulating an ONNX MLP model into a |
XGBoost API¶
Module for formulating a XGBoost gradient boosting regressor into a |
LightGBM API¶
Module for formulating a LightGBM gradient boosting regressor into a |
Internal APIs