Forum Discussion
FICO
3 years agoCommunity Manager
Infeasible model after consecutive invocation
We have the following workflow implemented in Java with Xpress 9.2.2 8.14.5: 1. Build BCL MIP model 2. Fix subset of variables (xprbVar.fix(.)). This simplified model is referred to as model A 3...
FICO
3 years agoCommunity Manager
First of all, I suggest to export the models to LP files and compare them, just to be sure that the changes are indeed what you suspect them to do. I.e., do XPRBprob.getXPRSprob().writeProb("stage.lp", "l").
I suggest to do that in three different points:
- For the original model (model1.lp)
- After fixing the variables and calling loadmat (model2.lp)
- After unfixing the variables and calling loadmat (model3.lp)
model1.lp and model3.lp should be the same.
Then, when analyzing model B (model3.lp) instead of setting PRESOLVE=0 you could play with the PRESOLVEOPS control to figure out whether this can be blamed easily on a particular reduction.
I am not sure I understood correctly: are you saying that model B is found infeasible only if it is solved right after model A in your application but when solved standalone then it is found feasible? In particular, if you solve the original model before even creating model B, is that found feasible?
Could you share the offending model? If not here, then maybe by email? Preferably as a file created by XPRBprob.getXPRSprob().saveAs(...) right before solving model B. That might tell whether there is something bad "left" from solving A in the model state.
Related Content
Related Content
Help with consecutive binarys
I'm trying to model a constraint that tells me that my binary variable (index in months) can't be 1 in more than 2 consecutive periods of time. Here is a picture of a smilar constraint. Thank you so ...8 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1CommentQCQP model doomed infeasible in presolve, however it is not
Hi, I am trying to solve a QCQP model, which is doomed infeasible by the pre-solver. However, when solving with presolve deactivated it solves fine - just takes a very long time! Calling the IIS doe...1 year agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum12 unread comments12 unread0Views0likes12CommentsI'd like to increase the diagnostics to know the cause of an infeasibility.
Hi. I am trying to optimize the attached model. However, it is infeasible. When running the diagnostics, the displayed information is not useful. I would like to see the cause of the infeasibility, e...1 year agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread0Views0likes4Comments