course
home page
assignments
lecture summaries
2005.10.25 For the third assignment, you will need the following package that solves linear programs:
lp_solve path: /usr/bin/lp_solve in Gentoo Linux
lp_solve path: /usr/local/bin/lp_solve in FreeBSD
This program can be used to solve linear or integer linear programs.
Usage: lp_solve < input_file
An example session is here.
lp_solve is installed on machines in the Trottier labs:
labi-j.cs.mcgill.ca,
1<=i<=9 and 1<=j<=30
(lab2-2 ,
lab2-4, lab2-5, lab2-6 all worked 2005.10.31).
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 windows executable is available at:Full text available on-line at: http://www.library.mcgill.ca/lists/books247.html
This page can only be opened within the McGill intranet.
To access from home follow the instructions on this page to set up the VPN:
http://www.mcgill.ca/ncs/products/network/remote/vpn/
Where to get help:
For questions about lectures:
Instructor: David Avis
McConnell 308 avis@cs.mcgill.ca
http://www.cs.mcgill.ca/~avis
Office Hours: Tu, Th
10:00 - 11:00
Teaching Assistants: For
questions about assignments and exercises: