Forum Discussion
FICO
5 months agoCommunity Manager
MIP solution status
Hello, I've been using code like this to get the solution status of a MIP: case getprobstat of XPRS_OPT: status:="Optimum found" XPRS_UNF: status:="Unfinished" XPRS_INF: status:="Infeasib...
FICO
4 months agoCommunity Manager
The statuses you mentioned are both mapped to XPRS_UNF.
XPRS_MIP_* are values for the MIPSTATUS attribute that you can query directly as described here:
mipstatus := getparam("XPRS_mipstatus")This way you can get the more detailed status information that is specific to MIP. The most detailed information you can get by querying attributes SOLVESTATUS and SOLSTATUS. This tells you why Xpress stopped and what kind of solution is available.
Related Content
Related Content
How can I use ODH for solving a MIP model using Xpress Python API?
Hi everyone, I want to play a bit with ODH for Xpress Solver. I did run ODH from the command line but now I want to integrate it in the whole pipeline of a Python program. What should I import? What...1 month agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread4Views0likes2CommentsHow to load a MIP solution?
Dear all, Currently, I am trying to provide an initial solution to my IP that has three multidimensional (binary) decision variables (x(N), y(N,M) and z(M)). I know that there are the two functions ...7 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum5 unread comments5 unread0Views0likes5CommentsLoading an MIP solution
I'm having trouple loading an existing MIP solution into XPRESS using C++. The documentation for "load MIP solution" has the following example based on C: XPRBprob expl2;double vals[] = {1.5, 1, 0...14 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment