Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xpress mip:basis=1 output #222

Open
4er4er4er opened this issue Aug 21, 2023 · 0 comments
Open

Xpress mip:basis=1 output #222

4er4er4er opened this issue Aug 21, 2023 · 0 comments
Assignees

Comments

@4er4er4er
Copy link
Contributor

There are some issues with Xpress output when mip:basis=1 and tech:outlev=1. The attached example MDXoptimalmarkets.zip produces a listing that ends as follows:

Setup time = 2.929898s
Solution time = 224.029981s
Output time = 1805.603075s
XPRESS 9.0.3 (41.01.04): optimal solution; objective 196040.6327
37882 simplex iterations
38 barrier iterations
Fixed MIP for mip:basis: 562267 simplex iterationsabsmipgap=2755.82, relmipgap=0.0140574

*******
_solve_elapsed_time = 2033.33
_ampl_elapsed_time = 843.172
*******
  1. Fixed MIP for mip:basis: 562267 simplex iterations appears in the middle of AMPL's solve_message.
  2. The Output time = 1805.603075s is much larger than what one sees when using mip:basis=0. Possibly the time to solve the fixed MIP is being included in the output time rather than the solution time.
  3. When tech:outlev=1 is specified, it would be valuable for diagnostic purposes to see the log lines for the solver's progress on the fixed MIP. (In this particular example, the user wants to understand why the fixed MIP is taking so long to solve.)

The xpress_options settings are as given by the user who provided this example. Also, to avoid showing the model, the user wrote an MPS file and then converted it to a generic AMPL model file and data file. As a result, after include mdx_issue.run is invoked, there is a long delay without any output while the lengthy data file is read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants