This is a draft version of AMPLWin, and is not to be distributed
further.

This help file is a placeholder until some real help files are
written.  For full details on the AMPL language itself, you
should look at the book
	AMPL: A Modeling Language for Mathematical Programming
	Robert Fourer, David M. Gay, Brian W. Kernighan
	Duxbury Press, Belmont CA, www.duxbury.com
	ISBN 0-534-509835
or check the AMPL web page at http://www.ampl.com.

AMPLWin includes a commandline interface window so you can always
just type commands as if you were using AMPL on DOS or UNIX,
except that output can be scrolled over, searched, etc.  Type a
command in the top line next to the "ampl:" prompt; the result
shows up in the text area at the bottom, which is a transcript of
the dialog between the interface and AMPL.  Try
	display 1/3;

Each interaction between the interface and AMPL is marked in the
transcript with "== N ===================".  You can skip from
one of these to another with the Prev and Next buttons.

AMPLWin lets you work with one model and one data set at a time;
each of these has its own window.

You can load an existing model with File|Open model, or type a
new one with File|New; load a data file with File|Open data.  The
buttons below the menubar are shortcuts for these and other
menubar items.  Try loading diet.mod and diet.dat.

Once you have a model and data in place, you can solve the
problem with MINOS.  Push Solve.  Other solvers are available
from the web; a current list can be found at
	www.ampl.com/ampl/downloads.html.

You can view any model entity (set, parameter, etc.)  or show the
current value of any entity or expression by View|Display or
View|Show; there is a button for Display.  You can also invoke
Display by double-clicking on any name in any window.  In the
Model window, try double-clicking Buy, total_cost, and diet.

Under the Send menu item, you can send the selected text in the
current window with Send selected or with Control-S, or with the
right mouse button; you can send the contents of the model or
data windows with Send model or Send data.

The Find button and the text input area to its right can be used
to search the current window for occurrences of a literal string;
use the button or push Enter.  Searching wraps around from the
end to the beginning.  Upper and lower case are distinguished.

Use File|Save (As) to save model, data, or command interface
windows in files.

The C, M, and D buttons at the right end raise the command,
model, and data windows respectively.

You can select text from any text area, copy it with Control-C,
then paste it somewhere else with Control-V; this is sometimes
helpful in synthesizing commands.

Sadly, some things don't work.  Most serious, sometimes the AMPL
process will die or hang, leaving zombie-like AMPL processes.
These can usually be dispatched with ctl-alt-del, but
occasionally a reboot is necessary.

Please help us improve things by reporting troubles, suggestions,
etc., to Brian Kernighan, bwk@bell-labs.com.
 Thanks.
