Skip to main content

Prefix sum computation

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff 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?.
  • Daniel Espinoza

    Hi Bryce,

     

    For sure such a structure would be detected and handled in the algorithmic (C) layer, but not at the Python layer, so the sum of objects would be created over and over while building the expressions. Still, model building should be a small percentage of the overall optimization time.

    0

Post is closed for comments.