Skip to main content

Facility Location Optimization with capacity constraints- Customers -1000 & Potential facilities 1000 - not reaching solutions

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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Jaromił Najman
    • Gurobi Staff

    You model is pretty large and even after presolve it has ~2 million non zeros, which might be an indicator that the problem is very complex even thou it has "only" 993 binary variables.

    When the input file has more than 1000 potential customers and warehouses, the code never reaches to the solution.

    What exactly do you mean by "never"? Usually problems of this size and complexity require more than an hour to converge to satisfactory MIPGap. For this particular model, you could increase the desired MIPGap to, e.g., 0.1% or 1%, instead of the default 0.01%. This is usually enough for most practical applications.

    In addition, you should try experimenting with the Sifting parameter. You could also experiment with the MIPFocus parameter to test different optimization strategies and the No Relaxation Heuristic to find feasible points earlier. You can find a list of most important parameters for MIPs in our documentation.

    Best regards, 
    Jaromił

     

    0

Post is closed for comments.