RE: [AMPL 6830] About reading variable names of an 'Adjusted problem' when presolve is done

8 views
Skip to first unread message

Robert Fourer

unread,
Mar 30, 2013, 7:36:23 PM3/30/13
to am...@googlegroups.com

The command

 

   print {j in 1.._snvars}: _svarname[j];

 

gives a list of the names of the variables that are sent to the solver, after the presolve phase.  Hence this list corresponds to the adjusted problem described in the "show_stats 1" statistics.

 

Bob Fourer

4...@ampl.com

 

 

From: am...@googlegroups.com [mailto:am...@googlegroups.com]

On Behalf Of M I Shafique
Sent: Tuesday, March 26, 2013 12:56 PM
To: am...@googlegroups.com
Subject: [AMPL 6830] About reading variable names of an 'Adjusted problem' when presolve is done

 

Hello,
AMPL option 'show_stats 1' outputs statistics to reflect an adjusted problem. Is there any way to list all variable names in the adjusted problem?

Thanks!

 

Reply all
Reply to author
Forward
0 new messages