Forum Discussion
FICO
8 months agoCommunity Manager
Is there a way to monitor the solver's progress or see intermediate updates.
Hello, I am working in Xpress IVE on an optimization model. Sometimes the problem size becomes large, and the solver takes a long time. During this time, I only see a blank screen with no indication ...
FICO
8 months agoCommunity Manager
By adding this statement before the call to minimize/maximize you will enable the display of the solver log:
setparam("XPRS_verbose", true)If you are looking for more specific way of interacting with the solver, you can use the callback functionality of the solver to check its progress and possibly also implement some specific stopping criteria, please take a look at this example: FICO Xpress Optimization Examples Repository: Cut generation for an economic lot-sizing (ELS) problem (you can also find this file among the examples of Xpress distributions under examples/mosel/WhitePapers/MoselPar/elscb.mos and elscb_graph.mos).