source: stable/1.3/Clp/README @ 1799

Last change on this file since 1799 was 797, checked in by andreasw, 14 years ago

updated INSTALL and README file; reran autotools to get latest changes in BuildTools?

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