Course software                                                                Updated:  2004.2.9

In the course we make use of the packages maple, lp_solve, cplex and lrs. All are installed on lab
machines in Trottier:     labi-j.cs.mcgill.ca,         1<=i<=9 and 1<=j<=30      (Try i=4 or 6 first).

You can connect remotely by ssh:   eg:    ssh lab6-4.cs.mcgill.ca
A full list of machine names in labs is here: http://www.cs.mcgill.ca/socsinfo/labs/

If you do not find the software,  try typing: %source /usr/socs/Cshrc
You will need to set the path for some of the software.

cplex    

You will  need to set the licence  variable to gain access:

tcsh:
setenv CPLEXLICDIR /usr/local/pkgs/cplexnfs/licdir
bash:
export CPLEXLICDIR=/usr/local/pkgs/cplexnfs/licdir

path: /usr/local/bin/cplex

Instructions for using cplex, a few examples and two small manuals can be found here.

maple        path: /usr/local/bin/maple
A maple session that shows how to solve systems of equations is here.

lp_solve         path: /usr/local/pkgs/lp_solve_4.0/lp_solve
This program can be used to solve linear or integer linear programs.
Usage: lp_solve < input_file
Some examples input and output files are here.
The man page is here.

The full package is available for download from the lp_solve  home page.

A nice help page with DOS executable is available at:
http://www.statslab.cam.ac.uk/~rrw1/opt/lp_solve/

lrs         path: /usr/local/pkgs/lrslib-041/lrs
This program computes all of the extreme points (and extreme rays if any) of the
feasible region of an LP. Home page is: http://cgm.cs.mcgill.ca/~avis/C/lrs.html