source: stable/1.14/Clp/README

Last change on this file was 1088, checked in by andreasw, 12 years ago

merging changes from Bug Squashing Party Aug 2007 to regular trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1NOTE: The information in this file might not yet include the changes introduced with the switch to the autotools.
2
3To build Clp see INSTALL file
4
5To use Clp you need the Clp and Coin libraries
6
7To make standalone executable do 'make Clp' in the Clp directory.
8This creates an executable clp in Clp/src.
9
10To run unitTest do 'make unitTest' in the Clp directory. This will
11do some minimal testing.
12
13To run clp on all netlib problems do 'make unitTest NETLIBDIR=<dirname>'
14dirname should be the path to the directory containing all the
15netlib files. If you have compiled Clp without zlib support then the
16files must be uncompressed.
17
18Running clp gives you some hints.  It can do a unit test (clp -unitTest) and solve netlib
19problems (-netlib or -netlibp using primal).  It can also solve problems and set tolerances etc.  Just do
20
21clp
22 
23and then try ? or setting various stuff.
24
25clp filename   reads file, does presolve and dual algorithm
26clp filename -primalsimplex would use primal instead
27
28On Linux clp can do file completion and line editing if it can find history, readline and termcap.. 
29
30If you want to stress the code you can set various stuff e.g. dantzig pricing
31 and then go into netlib testing.  I do not guarantee that it will solve all
32netlib if you get too creative.  For instance using presolve makes netlib
33solve faster - but pilot87 prefers a large infeasibility weight.  So
34
35clp -presolve on -dualbound 1.0e10 -netlib
36
37works well.
38
39There are samples in ./Samples.  To create an executable - testit do
40
41make DRIVER=minimum to use minimum.cpp
42
43or whichever driver you want.  A list is in Makefile.
44
45Three useful samples are:
46
47minimum.cpp  This is the simplest possible program to read an mps file.
48
49defaults.cpp.  This does not do much more, but it does it in much more
50complicated way by specifically setting defaults so it does give more
51useful information.  It also prints a solution in a format "similar" to that
52of MPSX.
53
54presolve.cpp.  This is a good driver for larger problems.
55
56Other ones can get complicated so start simple and work your way up.
Note: See TracBrowser for help on using the repository browser.