Skip to main content

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

Answered

Comments

1 comment

  • Jaromił Najman
    Gurobi Staff 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

Please sign in to leave a comment.