Skip to main content

Comments

2 comments

  • Maliheh Aramon
    • Gurobi Staff Gurobi Staff

    Hi Miroslav,

    Gurobi does not currently support direct optimization of black-box functions. If relevant, you can use the Gurobi Machine Learning Package to embed a trained regression model within a gurobipy model.

    Alternatively, you can approximate your black-box function with a piecewise-linear model. See the “Piecewise-Linear Objective” section of the documentation for details.

    Best regards,

    Maliheh

    0
  • Miroslav Karamanov
    • First Question
    • First Comment

    Thank you, Maliheh!

    0

Please sign in to leave a comment.