INVERSE logo - click to load Inverse home

Download 


INVERSE Demo (version 3.18)

Installation instructions:

  1. Download file "ighome.zip". To download it, click right mouse button and then choose "Save link target as..."
  2. 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!
  3. 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).
  4. 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).
  5. 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. T
he 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.18 download


MS DOS, Win 9x, Win NT, Win XP
Linux

Program Inverse (packed directory):   ighome.zip 
  N/A*  
    
Sources (bas. lib + headers)
  c_source.zip 
  N/A*  
Test case (zipped directory):   test_case.zip 
  N/A*  
EditPlus syntax highlighting
  inverse.stx, setting.ini 
  N/A*  
Notebook for extension of Mathematica interface 
  opt_inverse.nb 
  N/A*  
Example and template for using the uniform file interface 
  filean.zip 
  N/A*  


   * Contact the author to find out about possibilities to port Inverse to other platforms.






  Older versions:

  Older versions of Inverse can be accessed from this page.