Welcome to SeDuMi 1.03 !

***
Below are the installation instructions for UNIX workstations
(Linux, SunOS, hp900, dec-alpha, ibm-rs, sgi). The instructions for
DOS/Windows systems (NT,win95,etc) are in Install.dos.
***

Before proceeding, please make sure that you
own a copy of MATLAB Version 5 or later.

1) UNPACKING
Go to the directory from which you always start Matlab, say ~/matlab.
(But it may also be your home directory ~/)

% cd ~/matlab                   (assuming that it's called `matlab')

The following two lines unpack SeDuMi103, and place it in a subdirectory
called `SeDuMi103'

% gunzip SeDuMi103.tar.gz          (Beware of Upper and lower case !)
% tar -xvf SeDuMi103.tar

2) EDIT MAKEFILE
 Edit ./SeDuMi103/Makefile (using e.g. emacs or vi), locate the lines

# The USER should provide the root directory of the MATLAB installation:
MATLABROOT=/usr/local/matlab

Replace the path '/usr/local/matlab' by the location of the MATLAB 5 software
on your filesystem. Consult your system administrator if you are not sure of
the correct path.

Then locate the sequence of out-commented lines, starting with

#EXARCH=sol                        # Sun (sun4, sol2)

and remove the prefixed "#" (comment symbol) at the line that describes your
system. If you are not sure, just try the Makefile as it is.
It may also be possible to detect EXARCH automatically, by using GNUMakefile
instead of Makefile (then you only have to change MATLABROOT).

3) COMPILE C-SOURCE INTO MEX-FILES
Now you still have to translate the C-source into mex-files that can
be invoked from within Matlab:

% cd SeDuMi103
% make
% cd ..

4) UPDATE MATLAB'S STARTUP SETTINGS
Now you have to let MATLAB know where to find SeDuMi103.
To get SeDuMi103 in your search path (as a toolbox), update your `startup.m'
file in your ~/matlab directory.   A sample of `startup.m' is located in
`~/matlab/SeDuMi103/startup.m.sample'.
(If you don't want to edit startup.m right now, you can simply run Matlab,
 from your ~/matlab directory, and issue the command
             % addpath SeDuMi103
 within MATLAB, which makes the subdirectory SeDuMi103 known.)

That's it!  Simply startup Matlab, and type
% help SeDuMi103
to see your new user functions, and
% help sedumi
to get started with the solver. Again, beware of the Upper and lower case !

In the directory SeDuMi103/, there are 3 example files, viz.
  SeDuMi103/afiro.mat   a tiny feasible LP problem from the NETLIB test set
  SeDuMi103/forest6.mat a tiny infeasible LP problem from the NETLIB test set
  SeDuMi103/truss1.mat  a tiny Semi-definite programming problem from the
                        NYU test set.

In the directory SeDuMi103/doc/, you find a tutorial, called `guide.ps'.

==========> L e t   Se Du Mi   s e d u c e   y o u   t o o   ! <==========
Jos F. Sturm, August 1999.
