Print Solver Report

questions about GAMS' tools
Post Reply
opti_333
User
User
Posts: 1
Joined: 2 years ago

Print Solver Report

Post 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,
johneggers
User
User
Posts: 2
Joined: 2 years ago

Re: Print Solver Report

Post by johneggers »

Good luck, this is helpful.
Post Reply