Skip to main content

Objective Function based on Interpolation/Look-Up Table

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Alison Cozad
    • Gurobi Staff

    It looks like you are looking to do a 2D piecewise linear approximation.  Gurobi has built-in 1D PWL approximations for constraints and objectives.  In general, 1D PWL approximation works quite well. However, things start to get challenging once you get beyond 1D.

    To help get you started, there are two options introduced in How do I model a piecewise-linear function of more than one variable? 

    0

Post is closed for comments.