source: trunk/Clp/README @ 2470

Last change on this file since 2470 was 2430, checked in by stefan, 4 months ago

update README's and INSTALL

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