Forum Discussion
FICO
4 years agoCommunity Manager
different outputs using XPRSgetbasis and XPRSwritesol
Hi everyone,
While working on sensitivity analysis, I found that XPRSwritesol and XPRSgetbasis return different basis status values for non-basis rows.
For instance, let's assume the following lp
\Problem name: test
\FICO Xpress v8.14.2, Community, written 15:12:58, Nov 8, 2022
Minimize
- C1 - C2
Subject To
R1: C1 <= 1
R2: C2 <= 1
R3: C1 + 0.5 C2 <= 1
R4: - 0.4 C1 - C2 >= -1
Bounds
EndXPRSwritesol gives me :
1,"R1 ","L","BS",0.625,0.375,-1e+09,1,0,1
2,"R2 ","L","BS",0.75,0.25,-1e+09,1,0,1
3,"R3 ","L","UL",1,0,-1e+09,1,-0.75,1
4,"R4 ","G","LL",-1,0,-1,1e+09,0.625,-1
5,"C1 ","C","BS",0.625,-1,0,1e+09,0
6,"C2 ","C","BS",0.75,-1,0,1e+09,0While callinf XPRSgetbasis I get :
row status
R1 1 (slack, surplus or artificial is basic.)
R2 1 (slack, surplus or artificial is basic.)
R3 0 (slack, surplus or artificial is non-basic at lower bound.)
R4 2 (slack or surplus is non-basic at upper bound.)
col status
C1 1 (variable is basic.)
C2 1 (variable is basic.)(same results with xpress 8.13.3, 8.14.0 and 8.14.2, OS : debian 11)
Do I miss something while interpretating theses results ?
Thanks
No RepliesBe the first to reply
Related Content
Related Content
Different path taken by Xpress Optimizer for solving
We are using Xpress Optimizer version 9.4.0 and have observed differences in how the same problem is solved when: The model is constructed programmatically by creating constraints, variables, etc. ...1 year agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread1View0likes2CommentsCan we manage to import multiple DTAB from a single Excel which will have multiple sheet of different DTABs.
Suppose I have two DTABs named A and B. I want to maintain a single Excel workbook containing two sheets named A and B. Whenever I need to import a DTAB, it should be retrieved from the workbook by m...1View0likes3CommentsWhat is the difference between XPRS_TOP and XPRS_LPSTOP ?
We are using XPRS_TOP in the old mosel version and for newer version we are using XPRS_LPSTOP. we are not gettng the LP problem solved as expected is there any difference between both if there is wha...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum1 unread comment1 unread0Views0likes1Comment