Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
  • 1.  Cplex Python API, intermediate LB and UB printout

    Posted Tue July 28, 2020 04:12 PM

    I have built up a MILP model for TSP in python. I would like to develop something resembles the Statistics plot in CPLEX Optimisation Studio and print out lower and upper bounds for each feasible solution found. My initial idea is to apply "model.solve_details.mip_relative_gap" but it only prints out the final gap of the optimal solution. I wish to find out how to call this result back DURING the optimisation process, which I haven't succeed for having little experience with Python. Any hint would be appreciated.






    #DecisionOptimization
    #Support
    #SupportMigration


  • 2.  RE: Cplex Python API, intermediate LB and UB printout

    Posted Fri July 31, 2020 12:45 PM