Welcome to SeDuMi 1.03 !

***
Below are the installation instructions for DOS workstations/PCs
(NT,win95,etc). The instructions for UNIX systems are in Install.unix.
***

Before proceeding, please make sure that you
own a copy of MATLAB Version 5 or later, and
a C-compiler that can work with the MATLAB
mex-compiler (e.g. MicroSoft (Visual) C(++))

1) UNPACKING
Extract SeDuMi103.tar.gz to the root-directory of the MATLAB Toolboxes,
e.g. c:\MATLAB\toolbox\
(You may use e.g. the winzip utility to do this.)

2) SET UP MEX
 If you have NOT used the mex-compiler before, then from within MATLAB,
 issue the command

 >> mex -setup

 and answer the questions to install MATLAB with your C-compiler.

3) SET THE MATLABROOT AND MATLAB VARIABLES
 Start the program "MS-DOS Prompt", and issue the command

 SET MATLABROOT=C:\MATLAB

 (But then with the directory in which you installed the MATLAB 5 software.)
 Then define MATLAB to be synonymous to MATLABROOT (this variable is used
 by a certain script by The Mathworks, Inc.)

 SET MATLAB=%MATLABROOT%

4) COMPILE C-SOURCE INTO MEX-FILES
Now you still have to translate the C-source into dll-files that can
be invoked from within Matlab. Still at the MS-DOS Prompt, issue

 cd %MATLABROOT%\toolbox\SeDuMi103              (go to SeDuMi103-directory)
 nmake -f Makefile.mak                          (Compile C-source into .dll)

If this produces "Bad command or file name", then
a) when using MicroSoft C, you have to add the bin-directory of MicroSoft C
 to you search path, using the path-command.
b) when using a different C-compiler, simply try "make -f Makefile.mak",
 i.e. use the command "make" instead of "nmake".

5) 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 `matlabrc.m'
file in your %MATLABROOT%\toolbox\local\ directory.
At the bottom of this file, append the lines

MATLABROOT = 'c:\matlab\';
addpath([MATLABROOT 'toolbox\SeDuMi103',...
         MATLABROOT 'toolbox\SeDuMi103\conversion']);


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.
