Page 1 of 1

Print Solver Report

Posted: Mon Jul 26, 2021 9:48 pm
by opti_333
Hello everyone,

I am working with the PUT Writing Facility to create files in txt format to display the results of my model (GAMS version 25.1.2). Currently, I am creating .txt reports of infeasibilities where I print the .infeas attribute of the equations, but I would like to know if it is possible to print the "Solver Report" that appears in the .lst file (I use the following solvers: IPOPT, CONOPT, CONOPT4 and BARON).

For example, I would like to print these types of messages from the Solver Report when the solver finds an infeasible solution:

C O N O P T version 4.06
Copyright (C) ARKI Consulting and Development A / S
Bagsvaerdvej 246 A
DK-2880 Bagsvaerd, Denmark
Licensed to: GAMS / CONOPT OEM License


The user model has 878 constraints and 861 variables
with 1757 Jacobian elements, 0 of which are nonlinear.

** An equation in the pre-triangular part of the model cannot
be solved because the critical variable is at a bound.

I know that this information is printed in the .lst file using the "Sysout" command, but I have not found a way to get that same information/text into the .txt files that I am creating with the PUT Writing Facility.

Thanks,

Re: Print Solver Report

Posted: Tue Dec 21, 2021 12:49 pm
by johneggers
Good luck, this is helpful.