Forum Discussion
FICO
3 years agoCommunity Manager
What does it mean when the parameter XPRS_MIPINFEAS takes the value -1?
Printing getparam("XPRS_MIPINFEAS") produces "-1". What does this mean?
FICO
3 years agoCommunity Manager
Cuts can be added only from the optnode, cutmgr, and nodelpsolved callbacks (this is documented for the C api here).
Can you take a look at the examples/mosel/Solving/els.mos example shipped with Xpress? This illustrates how to add cuts from a callback (see the cb_node callback there).
Usually, what you do in a situation like this are two things:
- in the preintsol callback you check whether the solution for feasibility and reject it, if it is infeasible.
- in an optnode callback, you check whether MIPINFEAS is <=0. If so, then you check again and separate and add violated constraints, if there are any.
With this, the preintsol callback makes sure that no bad nodes are accepted, the optnode callback make sure that these solutions are actually cut off.
Related Content
Related Content
Error with Knitro tolerance parameters
Years ago, I used Knitro tolerance parameters XKTR_PARAM_OPTTOL and XKTR_PARAM_FEASTOL successfully. Now (FICO Xpress Mosel 64-bit v6.4.4, FICO Xpress v9.3.0), there seems to be an issue. setparam...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum7 unread comments7 unread0Views0likes7CommentsParameter Threads
Hi, I'm using Fico Xpress and I have a question about the parameter THREADS. According to the documentation, THREADS > 0 means the "number of threads to use". Let suppose THREADS = 4. In this ca...7 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Comments
