Download (older versions of Inverse)
INVERSE Demo (version 3.11)
Installation instructions:
- Download
file "inverse_3_11_windows.zip".
To download it, click right mouse button and then choose "Save link
target as..."
- Unpack the
directory "ighome"
contained in the downloaded file to a desired location. It is
recommendable that the directory where you put "ighome" in does not
contain spaces. Do not change the directory structure, delete its
contents or rename its files!
- Set the
environment variable IGHOME to hold the directory path of the
unpacked ighome directory
(e.g. if you have unpacked the directory to "C:\users\all\" and kept
its original name, the value of the variable IGHOME must be "C:\users\all\ighome").
On MS Windows you can usually set the environment variables by invoking
the Control Panel (Windows menu Start/Settings/Control Panel) and
double-clicking the System icon. In the window which appears, you
choose the Environment box. In the Variable entry at the bottom you
input IGHOME and in the Value entry the appropriate directory path
(note that if the directory name contains spaces, it must be in double
quotes).
- Now you can run Inverse executable, which is located
in the bin sub-directory of
ighome, namely %IGHOME%\bin\invmath.exe.
It is recommended to update the PATH
environment variable to include the directory "%IGHOME%\bin\". Executable can also be copied to another location
(e.g. into your personal program directory that is included in system
PATH).
- Now you can run Inverse. In the
most simple form, the progam is run with one command-line argument
defining its command file, e.g.
invmath
test.cm
Where to start:
You should first run some test examples,
e.g. from the directory test_case.zip. The file testinv.cm
contained in this directory can be run directly and contains
instructions for solution of a simple nonlinear constraint optimization
problem. The problem and its solution procedure are entirely defined in
the command file. Command file testinvmath.cm
is intended for running from the attached Mathematica notebook test.nb, which is an example of use
of interface between Inverse
and Mathematica.
Documentation and examples:
Inverse is normally run with a command file (usually with
extension .cm) that contains
instructions for the program. The program interprets this file and
performs actions according to instructions in the command file,
therefore all functionality of the program is accessible through
functions installed in the interpreter.
For first impression about Inverse,
it is advisable to read the Quick introduction (html version).
Manuals are available here.
The most relevant ones for running the test case included below
are "Solving optimization problems"
and "Interface between Inverse
and Mathematica".
You can test how program works by running test examples. You can find these in
%IGHOME%\inverse\ex\,
where %IGHOME% is the path at which you have stored the downloaded ighome directory. This directory
contains demonstrations for different specific modules of Inverse. More instructive examples
for somebody who wants to run something as quickly as possible are in
the test case directory, especially in its subdirectory igor. This directory contains a
simple optimization example that is defined and solved entirely by Inverse (i.e. no external
simulation modules are used), and demonstration of how the
interface with Mathematica is
used. Interface with mathematica enables definition of optimization
problems in Mathematica and
solution of these problems in Inverse,
or use of simulation software controlled by Mathematica, such as the
system of Jože Korelc, in combination with
Inverse.
In order to provide limited debugging
capabilities, the source
files for utility library iglib
on which Inverse is based are
provided. This makes possible to find and correct bugs that appear in
the basic utility library, but not in the core Inverse sources because these are
not publically available. After downloading and unpacking the sources,
read the c/readme.txt file for instructions. The core Inverse sources can still
eventually be provided (by special agreement) to our project partners
and potential contributors. Please contact
us if you are interested in obtaining them.
For editing command files
it is convenient to use editors with syntax highlighting such as
EditPlus. You can download Inverse syntax file for EditPlus here. File setting.ini shows how to sadd Inverse syntax definitions to
EditPlus. It is recommendable not to overwrite the original file in the
Editplus directrory, but to add Inverse section in the file manually.
An extension of interface with Mathematica
is available in the notebook opt_inverse.nb.
Version
3.11 download
Click the link for desired
version and save it to your local disk. In order to unzip the windows
version
just run a self-extracting archive file in
a desired folder. Linux and
HP-UNIX versions can be uncompressed by the standard 'uncompress'
command.
Add a location of the executable file to your $path system variable.
Execute the selected command
file by running 'inverse <-options> file' from the command prompt.
Manuals
First reading (short
introduction to INVERSE).pdf.
Complete manuals.
Sample
command files
You can download the
whole
collection of compressed sample command files:
Widows version is a
self
extracting archive file. Run it in a desired folder.
Linux
and HP-UNIX versions can be uncompressed by the standard 'uncompress'
and
'untar' commands.