Get UNEXPLORED status after sometime, #526
Replies: 10 comments 5 replies
-
You have to give more details on how you do things. Are you using ExpressionsBasedModel? Which solver is used? |
Beta Was this translation helpful? Give feedback.
-
Yes I am using ExpressionsBasedModel and the default solver. |
Beta Was this translation helpful? Give feedback.
-
How do you set the solver? I assume ExpressionBasedModel selects the solver based on the problem. Am I wrong? |
Beta Was this translation helpful? Give feedback.
-
Yes, |
Beta Was this translation helpful? Give feedback.
-
What does UNEXPLORED mean exactly? On document I see it is New/changed problem. If there is result and it is UNEXPLORED status after time out, does it mean it is the best solution during that time? |
Beta Was this translation helpful? Give feedback.
-
It would typically mean that the solver hasn't done anything, or perhaps more specifically that it hasn't reached a point where it could set some other state like FEASIBLE, INFEASIBLE or OPTIMAL. You can turn on debug logging for the individual solver to see what goes on:
If you you do incremental updates, in-between solves, to the |
Beta Was this translation helpful? Give feedback.
-
@apete I created an instance of Intermediate by getModel().prepare() and then dispose it. I see dispose method in the Intermediate has some clearing for the solver also. It helps a lot and now I almost don't see an UNEXPLORED but a few time I still get UNEXPLORED. And when it get to UNEXPLORED it gets stuck. Seems it has something to do with the cleaning up. Is there another thing that I still need to do to clean the model and the solver? Could you please shed some light on this? |
Beta Was this translation helpful? Give feedback.
-
The binary part is not used now. I am pretty sure something is adding up. After I put the prepare through the Intermediate instance, it is much better. |
Beta Was this translation helpful? Give feedback.
-
You get a new solver every time you call minimise/maximise, and you say you do not re-use the models - I don't see what it is that could "add up". Try disabling the presolvers:
|
Beta Was this translation helpful? Give feedback.
-
No, there is no order like that. Adding/removing presolvers and integrations are "static" changes. Change it to how you want it to be, and leave it like that (until you want it to be different). In most use cases you don't change these things at all. Normal usage is simply:
|
Beta Was this translation helpful? Give feedback.
-
I am running almost the same problem each 5 minutes, just some inputs to the problem changes. At first it runs smoothly and after a while it times out (I set the abort time to 100 seconds) and get the UNEXPLORED status. Is there a flag or something that I need to set at the end of each round to fully restart the solver? Any help would be appriciated.
Omid
Beta Was this translation helpful? Give feedback.
All reactions