Forum Discussion
FICO
1 year agoCommunity Manager
Is it possible to output the used solving algorithm?
I'm usually working with Xpress Workbench or the optimizer via bash on Linux. Out of curiosity I compared its performances with the Xpress IVE 64bit and there I noticed the statistics tab with details about the used algorithms. So I'm wondering wether it is possible to get these informations and have them outputed via writeln for the Linux usage.
Best regards
6 Replies
- FICOCommunity Manager
Here is a snippet of Mosel code for checking the value of the ALGORITHM attribute:
case getparam("XPRS_ALGORITHM") of 1: writeln("No LP optimization yet") 2: writeln("Dual simplex") 3: writeln("Primal simplex") 4: writeln("Newton barrier or hybrid gradient") 5: writeln("Network simplex") else writeln("unknown value") end-case - FICOCommunity Manager
Thank you both! That is what I was looking for. This leads to three more questions:
- What does "No LP optimization yet" implies for the solution been found?
- Does picture 1 imply show in some way how the solution is found?
- Does picture 2 mean that there has happened LP relaxation to solve via dual simplex and what is implied by the status "unfinished"?
- FICOCommunity Manager
I accidentaly swapped the two pictures
- FICOCommunity Manager
IVE is a very old product that is no longer being maintained. Therefore it did not keep up with recent changes in the optimizer and some of the information displayed may be off. Some of the information provided in the statistics display is not read from attributes but instead collected from callback invocations throughout the solve. The "Status: Unfinished" for the LP is a bit unexpected here but may result from a very easy model that is solved already in presolve (with 0 simplex iterations).
I suggest you don't focus too much on the output of IVE for your model but instead check the relevant attributes directly. For example, the way to check the solve and solution status these days is via attributes SOLVESTATUS and SOLSTATUS.
- FICOCommunity Manager
Okay, thanks for clarification.
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 unread7Views0likes2CommentsIs it possible to configure the linear relaxation simplex solve of an MIP problem?
I have created a complex MIP program and during testing I have noticed that the final solution does not always converge to the same answer after several tests. I understand that simplex algorithms ar...2 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum5 unread comments5 unread0Views0likes5Comments